Proximal Targets: Training Looped Refiners on Problems with Many Correct Answers
Summary (Overview)
- Core problem: Looped refiners (HRM, TRM) trained with deep supervision fail catastrophically when puzzles have multiple correct answers—solving only 2.5% of Sudoku puzzles with 2–64 answers versus 96% with unique answers.
- Key diagnosis: When the stored training answer cannot be predicted from the input, the loss-minimizing pass blends answers into invalid mixtures, creating an irreducible loss floor that no model capacity can overcome (Lemma 1).
- Proposed fix: The proximal target—train each pass toward the correct answer nearest to its own input draft—removes blending, makes every answer a fixed point, and guarantees loop convergence.
- Results: With the same 1.7M-parameter network, the proximal target solves 98.8% of multi-answer Sudoku puzzles, 93.8% of sparse puzzles with >10,000 answers (no answer list needed), and 90.9% of 200-node 3-colourings (trained on ≤50 nodes).
- Additional contributions: Three target sources (answer list scan, warm-started solver, quality knob), theoretical guarantees validated on 40.3M drafts, and favorable comparison against GRAM, MinLoss, PTRM-style noise, and ConsFormer.
Introduction and Theoretical Foundation
Background
Looped refiners apply one small shared network repeatedly to a draft answer, with each pass reading the puzzle and current draft to produce an improved draft. Training uses deep supervision: every pass is scored against a target answer. This works when answers are unique, but fails for underconstrained problems (Sudoku with multiple solutions, graph colourings, schedules, game moves) where the standard choice—one stored answer per puzzle—is problematic.
The Blending Problem
A two-cell example illustrates the core issue: given answers (1,2) and (2,1), the prediction minimizing training loss puts 50% probability on each digit in each cell, decoding to invalid mixtures (1,1) or (2,2). The network hasn't failed to learn; it has learned the optimal response to an arbitrary target.
Formal Setting
A puzzle has a set of free cells and a set of correct answers. A draft fills every free cell, and counts cells where and differ. The training loss is:
\mathcal{L} = \sum_{t=1}^{N} \sum_{i \in F} -\log p_{t,i}(y_{t,i}) \tag{1} ### Key Theoretical Result **Lemma 1 (blending, and a floor)**: If the target is drawn independently of the draft from a distribution $q_x$ over $S(x)$, then the loss-minimizing pass outputs per-cell marginals $p_{t,i}^{\star}(v) = q_x(y_i = v)$, with expected loss at least:F(x) = \sum_{i \in F} H_{q_x}(y_i)
This floor is 35.5 bits per multi-answer Sudoku puzzle on the test set. The lemma rules out obvious fixes: more capacity doesn't lower the floor, and resampling the stored answer keeps it independent of the draft. ## Methodology ### The Proximal Target **Definition 1**: For a cost $c: S(x) \to \mathbb{R} \cup \{+\infty\}$, the proximal target of a draft $s$ is:T_c(s) = \arg\min_{y \in S(x)} \left[ d(s, y) + c(y) \right] \tag{2}
With , this is the nearest-answer target: the correct answer closest to the current draft. Training follows Algorithm 1, where each pass is trained toward computed on the model's own drafts.
Three Target Sources
-
Answer list: When all answers can be enumerated, the nearest-answer target is a scan over the list (must be complete—partial lists reintroduce blending).
-
Search solver started at the draft: When answers are too numerous to list, depth-first search picks the most constrained cell first and tries the draft's value first. This needs no answer list and costs only 55–75 search nodes on Sudoku.
-
Ranking and knob: For problems where answers differ in quality, the network receives a knob input , with cost if and otherwise, where is the quality rank of answer .
Theoretical Guarantees
Lemma 2 (every answer is a fixed point): for every draft . With , every correct answer is a fixed point.
Lemma 3 (target stability during repair): If sets any subset of cells where differs from target to 's values, then . Partial repairs accumulate rather than chase a moving target.
Proposition 1 (progress without solving): For decoded output with errors against its own target:
where . Under argmax decoding, , the pass's loss in bits. The loop progresses whenever a pass leaves fewer errors than its input had.
Empirical Validation / Results
Main Results
| Task | Proximal Target | Standard Target |
|---|---|---|
| Sudoku (2–64 answers) | 98.8 ± 0.3% | 2.5 ± 0.2% |
| Sparse Sudoku (>10,000 answers) | 93.8 ± 0.7% | 0.0% |
| Nandwani benchmark | 89.3 ± 1.1% | 6.3 ± 4.0% |
| 3-colouring (200 nodes) | 90.9 ± 1.0% | 36.9 ± 5.6% |
Comparison with Other Methods (Sudoku, 2–64 answers)
| Method | Solved (%) | Found (%) |
|---|---|---|
| Standard target (TRM) | 2.5 ± 0.2 | 0.8 ± 0.0 |
| 4× parameters | 2.4 ± 0.1 | 0.8 ± 0.0 |
| + test-time noise (PTRM-style) | 4.5† | 8.8 |
| Solver's first answer, fixed | 51.3 ± 0.7 | 8.3 ± 0.1 |
| MinLoss | 98.3 ± 0.3 | 14.7 ± 0.2 |
| GRAM (KL 0.045) | 57.7 ± 5.7 | 37.4 ± 1.9 |
| ConsFormer (1,000 iterations) | 92.5 ± 0.5 | 64.3 ± 0.3 |
| Proximal: solver (no list) | 97.0 ± 0.2 | 31.5 ± 1.3 |
| Proximal: nearest answer | 98.8 ± 0.3 | 53.6 ± 0.4 |
†Share of noisy runs that are valid; with 20 runs, 24.4% of puzzles have at least one.
Theory Measured in Trained Loops
- Floor: Standard-target models sit at 42.7–46.1 bits versus the 35.5-bit floor; proximal target reaches 0.5 bits.
- Progress: The nearest-answer loop leaves 0.28–0.49× as many errors as its input in passes 1–6 (contracting); standard and fixed-solver targets exceed 1× from pass 3 and stall.
- Displacement: Fixed targets still ask for 13.6 (standard) and 8.7 (solver's first answer) changed cells at pass 8, versus 0.18 for the proximal target.
Key Findings
- Target must depend on input: Targets fixed per puzzle blend or solve half; targets from output solve but find few answers (14.7–17.1%); targets from input solve and find most (31.5–56.7%).
- Fixed-point test: Given a correct answer as draft, the nearest-answer model returns it unchanged for 100.0% of answers, versus <1% for other targets.
- Weak repairer iterated: Each pass fixes 33.8 cells versus breaking 1.3; wrong cells fall from 45.2 to 0.66 after 4 passes.
- Complete answer set needed: With random answer per puzzle, solving drops to 6.1%; with and , it's 27.7% and 75.9%. A rules checker (verified target) recovers most of the gap.
Scrabble Quality Knob
The knob follows the request (Spearman 0.76 vs. 0.63 for temperature), plays fewer bottom-10% moves at equal strength (3.0% vs. 9.1%), and wins 5.8%, 14.7%, 42.5%, and 62.9% of games against MAGPIE's static-equity bot at .
Theoretical and Practical Implications
Theoretical Contributions
-
Precise diagnosis: Lemma 1 formalizes why standard deep supervision fails with multiple answers—the blending floor is a property of the target choice, not model capacity.
-
Guaranteed convergence: Lemmas 2–3 and Proposition 1 provide the first convergence guarantees for looped refiners on many-answer problems: every answer is a fixed point, targets stay stable during repair, and training loss bounds per-pass progress.
-
Connection to DAgger: Training on the model's own drafts toward a correction of each draft is DAgger with a projection as the expert, explaining why training visits test-time states.
Practical Implications
- No architectural changes needed: The fix is purely in the training target—the same 1.7M-parameter network solves 98.8% versus 2.5%.
- No answer list required: The warm-started solver target works for problems with >10,000 answers, making the approach applicable to real-world constraint satisfaction.
- Quality control: The knob mechanism enables calibrated strength adjustment in game AI, with potential applications in difficulty scaling.
- Broad applicability: The principle extends to any iterative model trained with deep supervision on non-unique outputs (scheduling, game moves, constraint satisfaction).
Conclusion
The proximal target—choosing each pass's training target from its own input—removes the blending floor that cripples looped refiners on problems with many correct answers. It makes every answer a fixed point, turns training loss into guaranteed progress, and requires no extra networks or explicit rules. The approach solves 98.8% of multi-answer Sudoku puzzles (vs. 2.5% for standard target), handles problems with >10,000 answers without an answer list, and provides a calibrated quality knob for game AI.
Limitations: Requires the full answer set or a way to reach it (complete list, warm-started solver, or ranking); problems studied are small (≤6.9M parameters); finds 53.6% of answers (below the target's 64.3% ceiling); and cannot create answers of kinds never seen in training (99.9% on seen solution families vs. 2.7% on held-out ones for N-Queens).
Future directions: The choice of per-pass target is expected to matter wherever iterative models are trained with deep supervision on non-unique outputs, suggesting broad applicability beyond puzzle solving to scheduling, game playing, and other combinatorial optimization tasks.
Related papers
- Numina Fuse: Interactive Autoformalization in Lean 4
Numina Fuse shows proof search can route to cheap models with equal accuracy, while durable infrastructure, not orchestration, drives long-term formalization success.
- Shared Weights, Selected Computations: How Looped Transformers Route What Each Loop Does
Looped Transformers perform state-dependent computation, not fixed one-loop-one-step algorithms, and a learned linear layer can steer frozen shared weights via attention routing.
- When Can Self-Play Fix a False Belief? Answer Keys, Pass Bands and Replacement Rules in an Execution-Grounded Loop
Self-play with execution-grounded keys cannot correct false beliefs because the generator's own code inherits its misreadings, and decorrelated keys are necessary but insufficient for correction.