Rubik's Cube Solved in 1.2 Seconds by AI Program

Researchers at the University of California, Irvine have managed to successfully program and create an artificially intelligent program capable of solving a Rubik’s cube with an average time clocking in at an astounding 1.2 seconds. The average number of moves required to achieve this time was twenty moves. The AI program managed to solve the Rubik’s cube two seconds faster than the current (human) world record which stands at 3.47 seconds. Most people who are capable of finishing a Rubik’s cube at a faster than average time take approximately fifty moves before solving it.

Although you may think that this robot now technically hold the world record for solving a Rubik’s cube in the least amount of time, chances are you might be wrong. The world record for solving a Rubik’s cube in the least amount of time is actually held by another artificially intelligent program, dubbed min2phase, made by researchers at the Massachusetts Institute of Technology. Their robot actually managed to solve the Rubik’s cube in an astounding 0.38 seconds. However, the robot was not built using artificial intelligence. The robot was actually designed to solve the Rubik’s cube using specific algorithms which were made specifically for the purpose of achieving the fastest time. Conversely, the DeepCubeA AI actually had to determine its own method and path for solving the cube, which is obviously a far more complex process.

AI known as DeepCubeA can solve a Rubik's cube, averaging out a time of 1.2 seconds

AI known as DeepCubeA can solve a Rubik's cube, averaging out a time of 1.2 seconds

Interestingly enough, the researchers who designed the artificial intelligence program are not actually sure as to how the DeepCubeA AI managed to differentiate between different solid blocks of colours in order to match each face with the same colour. There are billions of different combinations for arranging the solid blocks in different orders but only one combination which results in a complete Rubik’s cube. The researchers showed the artificial intelligence program what the Rubik’s cube should look like when complete but the program itself had to figure out a way of developing a strategy to get to the end point.

The DeepCubeA program takes advantage of a neural network alongside various other machine learning techniques in which artificial intelligence program learns by detecting patterns, analysing, interpreting and then making a conclusion with a final output. This is very much similar to that of a human brain.

There is still so much we don’t understand about the world of artificial intelligence. However, we are slowly but surely progressing into an era where AI’s full capabilities and potential will be utilised in order to provide human beings with access to easier and more efficient solutions to just about anything and everything.

Zacharia Sharif