Case study · Deep learning, DNU Labs research

Rubik's Cube Solve-Style Prediction

Every cuber solves differently. I built models that watch a solve's move sequence and predict the solver's style and skill level, trained on hundreds of thousands of simulated solves and topped up with real data from smart cubes.

99%+accuracy predicting solving style and skill level
350K+solve permutations for training
10K+real smart-cube solves collected automatically
+18%model improvement from real timestamped data
01Question

A solve is a sequence of moves and timings. Can a model read that sequence and tell who is solving, meaning what method they use and how skilled they are? First the cube had to become data a model can learn from, and there had to be enough of it.

02Approach

The cube as six matrices

Each face is a 3×3 NumPy matrix. A move permutes entries across them.

Unfolded net: up, left, front, right, back, down.

Represent6-matrix cube stateBuilt in NumPy
SimulateAST-based move parserTurns any move sequence into state changes, so training data can be generated
Scale350,000+ permutationsSynthetic solves for training
Ground truth10,000+ real solvesCollected automatically from smart cubes, with timestamps
Model15 RNNs & DNNsTrained in PyTorch
03Findings

Over 99% accuracy

The model suite predicts solving style and skill level at over 99% accuracy.

Real timing data matters

Adding timestamped move sequences from real smart-cube solves to the training pipeline improved the model by 18%.

Simulation unlocks scale

The matrix representation and move parser made it possible to generate training data programmatically instead of collecting every solve by hand.