https://gifsofthe80s.tumblr.com/post/86207831508/happy-40th-birthday-rubiks-cube-1980-invented
https://gifsofthe80s.tumblr.com/post/86207831508/happy-40th-birthday-rubiks-cube-1980-invented

The AI solving Rubik's cubes in reverse

Embargoed until: Publicly released:

An algorithm developed by international researchers to solve complex puzzles in the shortest number of moves possible, such as Rubik's Cubes, has been solving them in reverse. The algorithm is called DeepCubeA and starts from the completed puzzle, working backwards using techniques known as reinforcement learning and path-finding to solve the puzzle. This method uses less memory than most traditional algorithms, and the researchers suggest it could be used to help scientists understand complicated puzzles in nature, such as the complex way proteins are folded.

Journal/conference: Nature Machine Learning

Link to research (DOI): 10.1038/s42256-019-0070-z

Organisation/s: University of California, USA

Funder: No funding declared

Media Release

From: Springer Nature

AI solves Rubik’s cube

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.

News for:

International

Media contact details for this story are only visible to registered journalists.