Lune

AAAI2022Top-tier venue

Towards Automated Discovery of God-Like Folk Algorithms for Rubik's Cube

Garrett E. Katz, Naveed Tahir

Abstract

We present a multi-objective meta-search procedure that constructs candidate algorithms for state-space search puzzles like Rubik's cube. The candidate algorithms take the form of macro databases, i.e., rule tables that specify sequences of actions to perform in different states. Rules are repeatedly applied until the puzzle is solved. The objectives favor candidates that are god-like (solving the puzzle in fewer steps) and folk-like (having fewer rules in the macro database). We build each candidate with a non-deterministic rule table construction, and then optimize over the non-deterministic choice points to find candidates near the Pareto-optimal trades-offs between godliness and folksiness. We prove that the rule table construction is correct: it always terminates and solves every state at termination. This is verified empirically on the full 2x2x2 "pocket" cube, where correct (but unoptimized) constructions take under one hour and the total number of rules is less than 10% the number of possible states. We also empirically assess the multi-objective optimization on restricted variants of the cube with up to 29K possible states, showing relative improvements in the objectives between 14-20%. Avenues for scaling up the method in future work are discussed.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Multi-Fidelity Multi-Objective Bayesian Optimization: An Output Space Entropy Search ApproachSyrine Belakaria, Aryan Deshwal, Janardhan Rao DoppaAAAI 2020 · 48 citations
  2. Designing actuation systems for animatronic figures via globally optimal discrete searchSimon Huber, Roi Poranne, Stelian CorosSIGGRAPH 2021 · 4 citations
  3. MOSS: Multi-Objective Optimization for Stable Rule SetsBrian Liu, Rahul MazumderKDD 2025
  4. Uncertainty-Aware Search Framework for Multi-Objective Bayesian OptimizationSyrine Belakaria, Aryan Deshwal, Nitthilan Kannappan Jayakodi, Janardhan Rao DoppaAAAI 2020 · 112 citations
  5. Heuristic Search for Multi-Objective Probabilistic PlanningDillon Ze Chen, Felipe W. Trevizan, Sylvie ThiébauxAAAI 2023 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines