AI solves Rubik’s cube
Nature Machine Intelligence
July 16, 2019

A deep-learning algorithm that can solve the Rubik’s Cube and other combinatorial puzzles is published this week in Nature Machine Intelligence. Solving puzzles that have a large number of combinations can provide insights into how scientific problems are solved, such as protein folding.
Finding the shortest solution for a combinatorial puzzle is hard. Solutions to such puzzles generally cannot be found by making random moves. Traditional algorithms can solve combinatorial puzzles but their computational and memory requirements make them impractical for large puzzles.
Pierre Baldi and colleagues developed DeepCubeA from their prior project DeepCube. DeepCubeA starts from the goal state and works backwards using a combination of reinforcement learning and path-finding methods to solve the puzzles. DeepCubeA is able to identify the shortest path for puzzles in most cases and can do so using less memory than traditional algorithms. The authors show that it can solve the Rubik’s Cube, Lights Out, Sokoban and larger problems, including a 48-tile sliding puzzle.
The authors suggest that the wide range of games solved using the same approach means that it could be used on larger problems to find close to optimal solutions.
doi: 10.1038/s42256-019-0070-z
Research highlights
-
Jan 13
Genetics: Correcting for genetic associations between alcohol and diseaseNature Communications
-
Dec 23
Biomedical engineering: Tiny device goes with the (blood) flowNature Communications
-
Dec 21
Epidemiology: Underdetection of COVID-19 after the first lockdown in FranceNature
-
Dec 18
Geology: Alpine summits may have been ice-free during life of Tyrolean IcemanScientific Reports
-
Dec 17
Epidemiology: Mapping gaps in measles vaccination coverageNature
-
Dec 17
Neuroscience: When you’re smiling, the whole world smiles with youNature