Many Right Answers at the Peak: A Tiny Recursive Model as a Guide for Exact Solvers on Hard Latin-Square Completion
Year: 2026
Type: preprint
Abstract: Tiny recursive networks solve Sudoku and other puzzles well, and recent work has used them to guide exact solvers, but only on instances that solvers already finish in milliseconds. We test whether such a model helps on instances that are hard for modern solvers: quasigroup completion (Latin squares with holes) of order 40 at the hardness peak, where CaDiCaL needs seconds to minutes. A 300k-parameter recursive model with axial attention predicts a value for every empty cell; the predictions become CaDiCaL's preferred phases, and optionally its most confident half becomes a set of retractable assumptions. On 100 unseen puzzles, phase hints make CaDiCaL 1.99x [1.52, 2.64] faster and the assumption mode 2.73x [2.03, 3.70], while a non-learned Sinkhorn baseline with the same top-1 accuracy gives almost nothing. Counting the model's inference time, the gain remains on puzzles that take an independent solver more than a second (1.60x [1.23, 2.08]) and disappears on easy ones. It does not transfer to order 44, just outside the training sizes, and CP-SAT gains nothing from any hint source. We then show why accuracy is a poor guide at the peak: puzzles there have many valid completions, and the solution CaDiCaL returns matches the planted square on only 25-45% of the empty cells once 32% or more of the cells are empty, so even 90%-accurate hints about the planted square drop from a 200x speedup to about 2x. The model's hints contain fewer row and column clashes than Sinkhorn's, but training it to avoid clashes cuts them 7-fold without making the solver any faster. Code, trained models and per-solve results: https://github.com/masooddahmedd/recursive-solver-guidance
Author: Ahmed, Masood
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7237816071
Cites:
Cited by:
Related to:
