NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Learning How to Cube

Ferhat Erata, Sam Kouteili, Thanos Typaldos, Timos Antonopoulos, Robert B Jones, Byron Cook, Ruzica Piskac

NeurIPS page · Open on the map

Category: Optimization & Federated Learning › Neural SAT Solving · Type: new method · Keywords: SAT solving, transformer fine-tuning, Monte Carlo tree search, preference optimization, neuro-symbolic AI

Areas: LLM Reasoning › Efficient Reasoning › Efficient Reasoning

Summary

A neuro-symbolic post-training framework teaches a 4B-parameter transformer to make effective cubing decisions for SAT, achieving a pass@5 score of 53 on competition benchmarks.

Explained to a 5-year-old

A big computer brain was taught to help solve tricky puzzles called SAT. It learned by looking at many puzzle examples and seeing which parts were important. The computer used a special way to pick the right pieces, like a game of picking cards. After learning, it could solve the puzzles almost as well as the best human-made rules. This shows that computers can learn to do hard thinking jobs that people usually do by hand.

Explained to a 5-year-old, longer

There are puzzles called SAT where you have to figure out if a set of rules can all be true at the same time. Solving these puzzles is hard, so people made special rules called heuristics to help. Usually these heuristics are written by experts, but nobody had tried to teach a computer to do it. The researchers gave a very large computer program lots of puzzle examples and told it which choices were better. They used a method that explores many possible choices like a game tree to collect good examples. Then they trained the computer in two steps: first by copying the right answers, then by learning from preferences. After training, the computer could solve the puzzles and got a score of 53 out of 100. This is as good as the best expert rule and better than other big language models. By looking at what the computer did, they saw that the first step of learning helped it make varied choices. The second step added a few extra solved puzzles but didn't change the variety much. This work shows that computers can learn to make smart decisions in areas where people usually think. It opens the door for using AI to help solve many kinds of difficult problems.

For a technical reader

The paper shows how to fine-tune a large transformer model to act as a heuristic for SAT solvers. They generate training data by running a Monte-Carlo tree search on many SAT instances and recording which variable choices lead to good solutions. The model is first supervised-fine-tuned on this data and then refined with direct preference optimization to improve its decisions. The resulting system achieves a pass@5 score of 53 on standard SAT benchmark suites, matching the best hand-crafted heuristics. Ablation experiments reveal that the supervised stage is the main driver of performance, while the preference stage adds only a few extra solved instances.

Problem

Existing Cube-and-Conquer methods rely on symbolic heuristics, but transformer models have not been shown to learn effective cubing heuristics for SAT. There is a need for a way to train transformers to make good splitting decisions in this domain.

Method

The approach uses an MCTS-based data curation pipeline that leverages symbolic heuristics to generate preference data over SAT formulas, then applies a two-stage post-training process of supervised fine-tuning followed by direct preference optimization to teach the transformer.

Results

The approach achieves a pass@5 score of 53 on 100 SAT competition benchmarks, matching the best symbolic heuristic and surpassing frontier LLMs such as Claude-Sonnet-4 (50). Ablation studies show that supervised fine-tuning contributes most of the improvement, with direct preference optimization adding two extra benchmarks.

Contributions

The work demonstrates that transformers can be trained to produce effective cubing decisions for SAT, providing a neuro-symbolic post-training pipeline that generates preference data via MCTS and symbolic heuristics. It also provides empirical evidence that supervised fine-tuning drives decision diversity, complementing deterministic symbolic methods.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction