Nature · 2023 · 161 citations · 30 references
ComputingComputer ScienceAlgorithmsArtificial IntelligenceMachine LearningAutomated SortingDeep LearningGame PlayingReinforcement LearningSorting AlgorithmsAgent Reinforcement LearningArtificial Intelligence For SortingArtificial Intelligence In GamesDeep Reinforcement LearningGame-playing AgentsMachine Learning For SortingReinforcement Learning For Game PlayingReinforcement Learning For Sorting
Abstract Fundamental algorithms such as sorting or hashing are used trillions of times on any given day 1 . As demand for computation grows, it has become critical for these algorithms to be as performant as possible. Whereas remarkable progress has been achieved in the past 2 , making further improvements on the efficiency of these routines has proved challenging for both human scientists and computational approaches. Here we show how artificial intelligence can go beyond the current state of the art by discovering hitherto unknown routines. To realize this, we formulated the task of finding a better sorting routine as a single-player game. We then trained a new deep reinforcement learning agent, AlphaDev, to play this game. AlphaDev discovered small sorting algorithms from scratch that outperformed previously known human benchmarks. These algorithms have been integrated into the LLVM standard C++ sort library 3 . This change to this part of the sort library represents the replacement of a component with an algorithm that has been automatically discovered using reinforcement learning. We also present results in extra domains, showcasing the generality of the approach.
30
Mastering the game of Go with deep neural networks and tree search
David Silver, Aja Huang, Chris J. Maddison et al. · Nature · 2016 · 15.8K citations
A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play
David Silver, Thomas Hubert, Julian Schrittwieser et al. · Science · 2018 · 3.5K citations · Full text
Mastering Atari, Go, chess and shogi by planning with a learned model
Language to Logical Form with Neural Attention
Li Dong, Mirella Lapata · 2016 · 655 citations · Full text