Solving a Rubik's Cube Using its Local Graph Structure

Shunyu Yao, Mitchy Lee
8/15/2024
cs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

The Rubix Cube is a 3-dimensional single-player combination puzzle attracting attention in the reinforcement learning community. A Rubix Cube has six faces and twelve possible actions, leading to a small and unconstrained action space and a very large state space with only one goal state. Modeling such a large state space and storing the information of each state requires exceptional computational resources, which makes it challenging to find the shortest solution to a scrambled Rubix cube with limited resources. The Rubix Cube can be represented as a graph, where states of the cube are nodes and actions are edges. Drawing on graph convolutional networks, we design a new heuristic, weighted convolutional distance, for A star search algorithm to find the solution to a scrambled Rubix Cube. This heuristic utilizes the information of neighboring nodes and convolves them with attention-like weights, which creates a deeper search for the shortest path to the solved state.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2024solving,
  title  = {Solving a Rubik's Cube Using its Local Graph Structure},
  author = {Shunyu Yao and Mitchy Lee},
  year   = {2024},
  eprint = {2408.07945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07945v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.07945.svg)](https://codeofpaper.com/paper/2408.07945)

Discussion