Self-Supervision is All You Need for Solving Rubik's Cube
While combinatorial problems are of great academic and practical importance, previous approaches like explicit search and reinforcement learning have been complex and costly. We therefore propose a simple and robust method to solve combinatorial problems whose goals are predefined. Assuming that more optimal moves occur more frequently as a path of random moves connecting two combinatorial states, we show that a Deep Neural Network can generate near-optimal solutions merely by training it to predict the last move of a random scramble based on the problem state. When solving 1,000 test cases of Rubik's Cube, our method outperformed DeepCubeA with a mean solution length of 21.27 moves, also achieving over 10 times higher efficiency for training and 2.0 times for inference. The proposed method may apply to other goal-predefined combinatorial problems, though it has a few constraints.