Solving Rubik's Cube Without Tricky Sampling
Not on the map. Why?
Abstract (arXiv)
The Rubiks Cube, with its vast state space and sparse reward structure, presents a significant challenge for reinforcement learning (RL) due to the difficulty of reaching rewarded states. Previous research addressed this by propagating cost-to-go estimates from the solved state and incorporating search techniques. These approaches differ from human strategies that start from fully scrambled cubes, which can be tricky for solving a general sparse-reward problem. In this paper, we introduce a novel RL algorithm using policy gradient methods to solve the Rubiks Cube without relying on near solved-state sampling. Our approach employs a neural network to predict cost patterns between states, allowing the agent to learn directly from scrambled states. Our method was tested on the 2x2x2 Rubiks Cube, where the cube was scrambled 50,000 times, and the model successfully solved it in over 99.4% of cases. Notably, this result was achieved using only the policy network without relying on tree search as in previous methods, demonstrating its effectiveness and potential for broader applications in sparse-reward problems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 6 of its 15 references that are in the map. First posted on arXiv 29 Nov 2024.
Builds on
6 of 15 references.
References · 6
- 2017Attention Is All You Needcited by 59,932
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2017Hindsight Experience Replaycited by 1,096
- 2018Learning by Playing - Solving Sparse Reward Tasks from Scratchcited by 164
- 2014Approximate Policy Iteration Schemes: A Comparisoncited by 39
- 2024Revisiting Sparse Rewards for Goal-Reaching Reinforcement Learningcited by 12
Built on by
Not cited yet.