potentialpaper

Lattice Deduction Transformers

Liam Davis, Leopold Haller, Alberto Alfarano, Mark Paul Santolucito

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. This paper introduces theLattice Deduction Transformer, which uses abstract interpretation to guide neural reasoning.

Abstract. We introduce the Lattice Deduction Transformer (LDT), a recurrent transformer that approximates logically sound deduction by projecting its latent state through a lattice between forward passes. We train on-policy in a process that mirrors deduction in a search-based constraint solver and supervise training via a domain-agnostic approximation of the set of solution candidates based on abstract interpretation. An 800800K-parameter LDT outperforms prior small recurrent reasoners on Sudoku-Extreme with under 22% of their estimated training FLOPs, solving 99.99999.999% of the 422,786422{,}786 test puzzles. The model is nearly always sound, in that it gives a wrong answer for 44 of 1.271.27M puzzle evaluations, and otherwise returns a correct answer or abstains. A 1.81.8M-parameter LDT variant reaches 99.899.8% accuracy on Maze-Hard. Our code is available at github.com/lcrh/lattice-deduction-transformers.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
15 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors use a transformer to solve very deep, long-chain combinatorial reasoning problems, which are known to be challenging for even large frontier models. The results are good; for the given problems, the trained models provide good answers reliably.

Pre-author response:

I am left unclear about the potential impact of the work, and in particular how one would deliver it to a user. Furthermore, frontier-models are getting increasingly better at tool-use, and various frontier-model vendors have published papers where combinatorial problems such as the ones used as benchmarks are identified as such, and then a suitable tool is installed (say based on a constraint solver) and executed, and then the frontier model simply reads the outcome of that tool back to the user. I would appreciate the authors' view on this alternative, but accept that chatbots aren't the only use-case.

Final justification

Post-author response:

The AC is grateful for the authors' response and the engagement with the reviews, which has enabled the reviewers to make a high-confidence decision to accept the paper. The AC and the reviewers will appreciate their comments to be taken into account when revising the paper.

All reviewers appreciate the problem, the approach, and the evaluation.

Area Chair eghT · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The authors use a transformer to solve very deep, long-chain combinatorial reasoning problems, which are known to be challenging for even large frontier models. The results are good; for the given problems, the trained models provide good answers reliably.

Pre-author response:

I am left unclear about the potential impact of the work, and in particular how one would deliver it to a user. Furthermore, frontier-models are getting increasingly better at tool-use, and various frontier-model vendors have published papers where combinatorial problems such as the ones used as benchmarks are identified as such, and then a suitable tool is installed (say based on a constraint solver) and executed, and then the frontier model simply reads the outcome of that tool back to the user. I would appreciate the authors' view on this alternative, but accept that chatbots aren't the only use-case.

Final justification

Post-author response:

The AC is grateful for the authors' response and the engagement with the reviews, which has enabled the reviewers to make a high-confidence decision to accept the paper. The AC and the reviewers will appreciate their comments to be taken into account when revising the paper.

All reviewers appreciate the problem, the approach, and the evaluation.

Reviewer Yf8fOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The presented approach, Lattice Deduction Transformers, uses the concept of Abstract Interpretation to frame input problems with abstract representations that can be more efficiently solved. A transformer takes as input an abstract representation and computes the candidates of the abstract representation that can be removed to attempt to bring the existing representation closer to a solved state. The transformer may also detect that the candidates removed has lead to a state where no solution can be derived from it and thus abstain to answer. This iterative update of the state space towards a solution reflects navigation of a lattice structure following a deduction operator. Empirically, LDT leads to improved performance on structured reasoning tasks compared to similar recursive models.

Strengths and weaknesses

The strengths of the paper are:

The proposed approach combing Abstract Interpretation with transformers is novel to the best of my knowledge. This approach is very interesting because it demonstrates how structured reasoning can be integrated into transformer models computational path maintaining the ability for end-to-end learning. The fact that this method is sound in that all answers produced are correct is a key benefit of the model despite the approach not being necessarily complete. However, unlike with traditional LLM approaches, this method would refuse to answer than provide a wrong answer which is a key strength.

The paper is written well with clear explanations and a useful example of the Sudoku puzzle to explain its methodology which was helpful.

Areas for improvement:

In the introduction, the paper is motivated by drawing a connection to diffusion models in the first paragraph, but the paper's contributions are independent of diffusion processes. I understand that both diffusion models and the presented approach use iterative updates to refine the solution to a target but that connection should be left to the discussion of the related work. Instead, the work should be motivated by the problem space it addresses.

It is not clear to me why the transformer needs to be recurrent. The transformer operates by identifying which candidates in the solution space can be eliminated. This is an autoregressive use of the transformer, where the input space matches the output space and latent embeddings are not as far as I'm aware carried over from one lattice state to the next. That structure does not inherently require a recurrent transformer and the choice to use one was not motivated beyond what related work has done. But the HRM relies on a recurrent structure inherently. In this method, a standard transformer may also work. A discussion of what recurrent architectures add or an ablation showing model performance differs without the recurrent architecture would be beneficial.

Figure 2 does not accurately represent what is happening in Algorithm 2 and lead to confusion in my understanding. The figure reads as if the candidate values in each cell is directly set to output of the transformer at each step, i.e. the state includes the confidence score for each candidate value in its representation. However, in Algorithm 2 and the description in the Lattice encoding paragraph (line 129), the transformer is used for deciding which cells to eliminate. So, if I understand correctly, the transformer does not output the next state directly, it outputs confidence scores that can then be used with thresholds and random sampling to update to the next state. It would be beneficial to modify the figure to reflect that these thresholding and sample steps.

I suspect that there are still gains to be had for an improved search process. In Algorithm 1, a conflict state automatically leads to termination of the algorithm. But you may be able to better achieve a result using some form of backtracking with explicit tracking of visited states. The parallel solve approach described suggests backtracking may implicitly occur but you may end up revisiting states that are already guaranteed to not lead to a solution. Using better structure for the replay buffer, like a stack, combined with tracking of states that cannot possibly lead to a solution, may allow for more efficiency.

Similarly, in Algorithm 2, random uniform sampling is used to select a cell and then sampling with the logits is used to decide which candidate to pin. The uniform sampling seems like it could be inefficient, if for example you select a cell where the set of candidates has high entropy. In that case, all candidates for the selected cell are equally likely, so picking one at random may not be particularly useful. You may instead be better first picking a cell with candidates where there is lower entropy. I'd also be interested to see how well a greedy policy compares against your approach wherein you always select the cell with the candidates that have the lowest entropy and then select the solution with the largest logit so there is no random sampling (for parallel execution, you could also select the second largest and third largest and so on for the size of the batch). This would allow the reader to determine whether the random sampling approach proposed is a more efficient search heuristic than the purely greedy approach.

For the benchmarks, comparing the model trained directly on the benchmark against LLMs evaluated in a zero-shot setting may not be a like-for-like comparison. You should justify why this comparison was used. I know related work does the same, but these works also extend to the ARC-AGI benchmark, demonstrating more general reasoning capabilities. The LLM comparisons in this work felt unnecessary.

Other improvements and suggestions:

  1. The optimiser step in Algorithm 1 could be moved to inside the step function after line 9 - I think it would make the algorithm clearer.
  2. The domain P (line 109) is not defined.
  3. P(S)\mathcal{P}(S) and 2S2^S are both used for powerset notation.
  4. A minimal version of Figures 5 and 6 in Appendix A would be beneficial for inclusion in Section 3.
  5. Line 178 - "Adding L_{CE} helps the model learn faster". It is not explained why that is or any results given to showcase this empirically.
  6. Line 196 - "We address this, we sample" -> "To address this, we sample"
  7. Inference trick (i) confused me. It says you omit the augmentation during training but then says dataset-level augmentation performed better.
Questions
  1. Given that the model is optimised to navigate the lattice structure towards a solution, is the recurrent architecture necessary? Could the same results be achieved without any recurrent unfolding?
  2. Are there any other search heuristics or approaches that could lead to improved performance?
Limitations

yes

Final justification

The reviewers have adequately addressed my concerns with additional experiments, specifically i) an ablation study demonstrating recurrence provides greater performance gains with a lower parameter cost, ii) experiments with additional search policies, with a commitment to changing their reported results with the outcome from this experiment, iii) additional experiments on fine-tuned LLMs and iv) examining the effect of λce\lambda_{ce}. All new results greatly improve the quality and significance of the paper. My concerns regarding the broader applicability of the approach, given that it does not currently extend to tasks such as ARC-AGI.

Formatting concerns

No concerns

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their insightful feedback.

In the introduction, the paper is motivated by drawing a connection to diffusion models in the first paragraph, but the paper's contributions are independent of diffusion processes.

Thank you for the recommendation, we will revise the introduction to motivate the problem with the problem space.

It is not clear to me why the transformer needs to be recurrent.

We have now run a systematic single-factor recurrence ablation on Sudoku-Extreme (3 seeds per configuration), shown in the tables below; full tables will also be added to the camera-ready appendix. The direct answer is that at the same ~800K parameter budget with 2,000 training steps, a single-pass transformer reaches 17% vs. 99.2% for the recurrent model, and no depth/width reallocation of that budget exceeds 30% accuracy. The same results can in principle be achieved without recurrent unfolding, but only with 4x parameters, 4x compute and unrestricted data. Recurrence is thus not an absolute requirement, but does give a large parameter, compute and data-efficiency advantage.

Table: effect of internal iterations L (fixed ~800K params, 2,000 training steps)

Iterations L Accuracy % Calls per solve
1 17.1 665
2 41.6 204
4 91.9 34
8 98.8 12
16 (baseline) 99.1 10
32 99.0 10

Table: non-recurrent models at the baseline's parameter budget (~800K), varying depth/width (2,000 training steps)

Model (layers × width) Accuracy % Calls per solve
4 × 128 17.1 665
8 × 92 29.8 330
16 × 64 6.0 2,935
32 × 44 4.3 15,340
Recurrent baseline (4 × 128, L = 16) 99.2 10

Table: non-recurrent models with larger parameter budgets (all rows match the baseline's total training compute except the last, which uses 4x compute and the full training split; baseline is 2,000 training steps)

Model (layers × width) Params Training compute Accuracy % Calls per solve
8 × 128 1.6M 1x 85.8 46
16 × 128 3.2M 1x 96.7 21
4 × 256 3.2M 1x 31.2 310
16 × 128, 4x compute, full data 3.2M 4x 99.9 4.4
Recurrent baseline (800K, L = 16) 0.8M 1x 99.2 10

Parameter count alone doesn't explain it (the 4×256 model has the same 3.2M parameters as the 16×128 model but only reaches 31.2%); depth of sequential computation does, and recurrence is the cheapest way to buy it.

I suspect that there are still gains to be had for an improved search process.

We have run a detailed study of search policies, shown in the tables below, covering ten decision policies and five backtracking rules on both a well-trained model and a deliberately undertrained one. The suggested greedy digit choice appears to outperform our sampled choice, and we plan to adopt it: on the well-trained model it slightly improves accuracy at roughly half the model calls per solve (4.6 vs. ~10), and on the undertrained model the gains are large, with accuracy rising from 83.3% to 99.8% and calls per solve falling from 57.9 to 9.3, largely without retraining. The other half of the suggested policy, lowest-entropy cell selection, helps the undertrained model but remains worse than uniform cell selection. More complex backtracking similarly helps the undertrained model under our original decision rule, but adds nothing once the greedy digit choice is in place. The full study will be added to the camera-ready appendix. As a side note, we really appreciate the detailed engagement: the experiments on these suggestions are very promising and will likely improve our results for the final paper.

Table: cell/digit decision policies (baseline trained for 2,000 steps, weaker model for 1,000; evaluated on both since the weaker model needs more guessing and differences between policies show up more clearly)

Cell / digit policy Acc % (baseline) Calls (baseline) Acc % (weaker model) Calls (weaker model)
Random / highest score 100 4.6 99.8 9.3
Fewest candidates / sample 100 6.5 96.8 21.6
Lowest uncertainty / sample 99.8 11.2 96.0 24.0
Random / sample (original) 99.2 12.5 83.3 57.9
Fewest candidates / highest 96.5 14.2 94.8 22.8
Highest uncertainty / sample 90.7 34.1 45.1 184
Lowest uncertainty / highest 78.7 49.6 77.2 53.4
Ranked digits (best variant) 70.9 85.0 46.2 180

Table: backtracking policies (after a conflict, what state to restore) (baseline trained for 2,000 steps, weaker model for 1,000; Unsafe % = rate of candidate eliminations that exclude the reference solution)

After conflict, restore Acc % (baseline) Calls (baseline) Unsafe % (baseline) Acc % (weaker) Calls (weaker) Unsafe % (weaker)
Original puzzle (paper) 99.5 10.6 0.8 81.2 58.3 1.7
Random earlier decision 99.8 14.7 9.0 90.7 46.3 16.8
Geometric earlier choice 99.8 25.9 13.9 93.2 49.8 20.0
Last choice, then exclude 98.8 27.4 12.8 84.5 66.1 20.0
Most recent decision 75.6 68.9 17.3 54.0 143 22.0

The reviewer's specific suggestion (lowest-entropy/MRV cell choice) does beat the original random-cell policy on the weak model, but a simpler change wins outright: keep cell choice random, just take the highest-scoring digit instead of sampling it. Partial backtracking (the stack/dead-end-tracking suggestion) does recover accuracy for the weak model, but its unsafe-elimination rate is roughly an order of magnitude higher than full-restart — so we're keeping restart-from-root in the paper and adopting the greedy-digit change as the inference improvement; combining the two reaches 99.5% accuracy in 10.7 calls on the weak model.

For the benchmarks, comparing the model trained directly on the benchmark against LLMs evaluated in a zero-shot setting may not be a like-for-like comparison.

We agree that zero-shot LLMs are not a like-for-like baseline and have now run a fine-tuned comparison, shown in the table below: we fully fine-tuned Qwen3.5-0.8B (~1,000x our parameter count) on the identical 1,000-puzzle training set (supervising direct output of the target grid, no chain-of-thought) and evaluated with pass@32 per held-out puzzle. It solves 0% at every checkpoint through 16 epochs; note that Sudoku-Extreme is selected for hardness. Even on much easier synthetic puzzles, generated by placing random blanks, the fine-tuned model performs poorly. The full comparison will be included in the final paper, and we will deemphasize the zero-shot comparison in the updated version. We do find it noteworthy, however: it surprised us that frontier models fail to solve a single Snowflake puzzle, since some of them are quite easy.

Table: fine-tuned Qwen3.5-0.8B on Sudoku-Extreme, by puzzle difficulty (full-parameter BF16 fine-tune, not LoRA; identical 1,000-puzzle training subset; best checkpoint over 16 epochs; pass@32 credits the model if any of 32 sampled answers is exactly correct)

Blanks (random) pass@1 pass@32
1 99.6 100
2 99.4 100
4 89.7 100
8 65.0 96.9
16 29.8 84.4
32 10.5 37.5
~56 (natural puzzles) 0 0

Line 178 — "Adding L_{CE} helps the model learn faster".

This is a fair request, and our new ablation study, shown in the table below, quantifies it: removing L_CE reduces accuracy from 99.2% to 24%, so it does considerably more than speed up learning. We had fixed its weight at 0.2 early during research exploration, and were surprised to find that raising it to 1 further improves accuracy, albeit on a smaller 2,000 step probe. We will include this ablation in the camera-ready version.

Table: effect of auxiliary cross-entropy weight λ_ce (2,000 training steps)

λ_ce Accuracy % Calls per solve
0 24.4 424
0.2 (baseline) 99.2 10
1 99.9 1.8

Without L_CE the model solves only a quarter of puzzles, and all of the failures are abstentions rather than wrong answers — this is the empirical support the reviewer asked for.

Inference trick (i) confused me.

For Sudoku-Extreme we tested against both dataset-level augmentations and no augmentations, for Snowflake Sudoku we did not use augmentations and for Maze-Hard we used augmentations. We will make this distinction clearer in the camera-ready version.

The optimiser step in Algorithm 1 could be moved to inside the step function after line 9 - I think it would make the algorithm clearer.

The domain P (line 109) is not defined.

℘ and 𝒫 are both used for powerset notation.

A minimal version of Figures 5 and 6 in Appendix A would be beneficial for inclusion in Section 3.

Line 196 - "We address this, we sample" -> "To address this, we sample"

Thank you, we will apply these fixes in the revision.

Reviewer Yf8f · CommentOpenReview ↗

Thank you for these experiments, they address my major concerns and provide satisfactory justifications for the design choices.

Given that the approach does not apply more broadly, (for example to ARC-AGI) as currently proposed, are you able to comment on the types of problems Lattice Deduction is most useful for and if there is the possibility of applying it to tasks like ARC-AGI?

Authors · CommentOpenReview ↗

Thank you for the response, and the question.

Presently, the LDT is suited to fixed-rule combinatorial domains, much like sudoku and maze problems. These domains require long chains of deductive reasoning, and the rules are constant across the domain. In the case of sudoku and maze problems, the rules are interpretable, which makes them good benchmarks to test this type of reasoning. But most domains of this nature, such as scheduling problems, have numerous interacting constraints. This makes it incredibly difficult to hand a traditional solver a complete rule set to search over. We expect the LDT architecture to perform well in these domains, as it can learn to solve by example rather than needing a complete set of rules upfront.

ARC-AGI adds another dimension, as it requires inferring the rule from a few example input/output pairs. There are a couple clear limitations of the current LDT architecture in this case. As described in Appendix A.1, the grid powerset lattice is non-relational, which means cross-variable relationships can't be represented. In this case, we chose the grid powerset lattice because it is conceptually the simplest for the first work in this direction. But, the formal setting of abstract interpretation extends to relational lattices, and using these lattices is a natural next step that will allow the model to reason about structural relationships between variables. This allows for the relationships between the different input/output pairs to be represented in the lattice.

We are also interested in lattices in the latent space, not just the token space. Broadly, we consider this work as a step towards a research program of building language models whose latent space carries an explicit algebraic structure, emitting logical operations. If neural networks can be trained to operate over lattices, then automated reasoning algorithms can be applied to network internals, which could would enable more powerful search that what's currently used in neural models. This paper takes a first step in this direction and focuses on the case where the lattice is constructed entirely from the output space.

Reviewer 4DCbOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces Lattice Deduction Transformers, a recurrent transformer architecture that performs iterative deduction by projecting model states through a lattice representation. The method combines learned deduction, stochastic branching/search, and supervision from an alpha operator over valid remaining solutions. The paper evaluates the method on Sudoku-Extreme, Snowflake Sudoku, and Maze-Hard, showing strong results with small models.

Strengths and weaknesses

Strengths:

  • The idea is well-motivated as passing the recurrent state through an explicit lattice gives the model a more interpretable and structured reasoning process than a purely latent recurrent model.
  • Using on-policy lattice states and the alpha operator provides useful state-dependent supervision, especially for tasks with multiple valid solutions.
  • The empirical results are strong on the evaluated domains, especially Sudoku-Extreme and Snowflake Sudoku, where the model achieves high accuracy with relatively small parameter counts and training budgets.
  • The paper is well-written and easy to follow.

Weaknesses:

  • The soundness claim should be stated more carefully. The paper shows empirical soundness on some domains, but the learned elimination step itself is not formally guaranteed to be sound, and Maze-Hard includes incorrect/suboptimal outputs rather than abstentions.
  • The evaluation is focused on fixed-rule combinatorial puzzle domains.
  • Some comparisons are difficult to interpret because the training-cost columns in Tables 1 and 3 mix B200, H100, and L40S results, so the wall-clock gaps conflate method efficiency with hardware generation which could be better supported by normalizing to GPU-hours or FLOPs.
  • The frontier LLM comparison is useful as context but zero-shot LLMs are not the strongest baseline for trained puzzle-specific solvers.
Questions
  1. Can the authors clarify the distinction between formal soundness and empirical soundness? What part of the system is guaranteed by the lattice representation, and what part depends on the learned model behaving correctly?
  2. For Maze-Hard, can the authors discuss why the method sometimes returns valid but suboptimal paths instead of abstaining, and whether this can be fixed with verification?
  3. Can the authors provide more detail on the offline cost of generating solutions or solution samples used by the alpha operator?
  4. Could the authors provide one stronger out-of-distribution test like training on smaller Snowflake orders and testing on larger ones, or changing the constraint family? This would increase my score.
Limitations

yes

Final justification

Given the presented results I am maintaining my already high score.

Resolved in rebuttal:

  • The ablation separates what the lattice guarantees from what the model learns. Removing the conflict head turns abstentions into wrong answers on 79% of puzzles, while weakening the loss asymmetry collapses accuracy but fails safely.
  • A full fine-tune of Qwen3.5-0.8B on the same 1,000-puzzle set scores 0% at pass@32, a far stronger baseline than the zero-shot comparison.
  • The per-order zero-example table with three seeds and error bars isolates held-out-order transfer.
  • The offline cost of the alpha operator was confirmed negligible.

Unresolved:

  • Evaluation stays within fixed-rule combinatorial puzzles which authors acknowledge.

Most of my concerns have been addressed and I believe the core contribution and rebuttal experiments support acceptance, and I would encourage the authors to include the corrected size-generalization results in the camera-ready version.

Formatting concerns

N/A

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their insightful feedback.

The soundness claim should be stated more carefully.

We do not claim to achieve formal soundness, rather we claim to approximate a sound deduction operator, and we use "empirical soundness" as shorthand for observing no unsound deductions over our test set, which holds in some domains.

The division of labor is as follows: the lattice enables soundness insofar as it enables complete or partial abstention. The model is never forced to commit to a full information state, but can stop at an earlier partial state. The scaffolding guarantees monotone tightening and termination, and guarantees that the surviving candidate set contains the true solution provided every elimination is correct. The eliminations and conflict predictions themselves are learned and carry no formal guarantee, which is not possible as inference is stochastic. More generally, the lattice provides the structure of claims the model is able to make, and ours is only one instantiation. Given an appropriate lattice, a model could for example commit that a cell holds an even number without selecting which one, so the potential for abstention is not limited to a binary choice per candidate.

We think this abstention property is easy to underweight. We are careful not to claim logical soundness, but abstention is a property previous approaches lack. Near-soundness with abstention is consequential, as it makes ensembling far more effective, further increasing solve rates and soundness.

Empirically, our new ablations (shown in the table below) show which mechanisms carry the soundness property. Removing the conflict head turns abstentions into wrong answers on 79% of puzzles, while weakening the asymmetric elimination loss collapses accuracy but fails safely, with zero wrong answers. We will state these distinctions in the camera-ready version.

Table: elimination-loss asymmetry and the CLS conflict head (2,000 training steps; a wrong answer is an incorrect returned solution, as opposed to an abstention; counts are totals over all seeds)

Model Accuracy % Calls per solve Wrong answers
Symmetric loss (1x) 24.7 389 0
Asymmetry 2x 50.3 157 0
Asymmetry 8x (baseline) 99.2 10 0
Asymmetry 32x 97.8 15 1 of 3,000
No conflict head (8x) 21.2 27 2,365 of 3,000

The two mechanisms play different, separable roles. The CLS conflict head is what makes failures safe. Remove it and the model confidently returns a wrong grid on 79% of puzzles instead of abstaining, i.e., soundness is empirical/learned, not lattice-guaranteed. The loss asymmetry is what makes the deduction operator useful, and weakening it collapses accuracy via timeouts, not wrong answers.

The evaluation is focused on fixed-rule combinatorial puzzle domains.

We agree that the evaluation focuses on fixed-rule combinatorial domains, and that the demonstrated advantages are currently limited to them. We chose these domains deliberately, since they demand long chains of dependent inference and make soundness exactly measurable. In follow-on work we hope to explore whether learned lattices in latent space can extend the potential of the technique.

Some comparisons are difficult to interpret because the training-cost columns in Tables 1 and 3 mix B200, H100, and L40S results.

We agree, and we will train the HRM and TRM baselines from scratch on B200s, so tables 1 and 3 will be normalized to common hardware and FLOPs in the camera-ready version.

The frontier LLM comparison is useful as context but zero-shot LLMs are not the strongest baseline for trained puzzle-specific solvers.

We agree, and have now run a fine-tuned comparison, shown in the table below: we fully fine-tuned Qwen3.5-0.8B (~1,000x our parameter count) on the identical 1,000-puzzle training set (supervising direct output of the target grid, no chain-of-thought) and evaluated with pass@32 per held-out puzzle. It solves 0% at every checkpoint through 16 epochs. We note that Sudoku-Extreme is selected for hardness. Even on much easier synthetic puzzles, generated by placing random blanks, the fine-tuned model performs poorly. The full comparison will be included in the final paper.

Table: fine-tuned Qwen3.5-0.8B on Sudoku-Extreme, by puzzle difficulty (full-parameter BF16 fine-tune, not LoRA; identical 1,000-puzzle training subset; best checkpoint over 16 epochs; pass@32 credits the model if any of 32 sampled answers is exactly correct)

Blanks (random) pass@1 pass@32
1 99.6 100
2 99.4 100
4 89.7 100
8 65.0 96.9
16 29.8 84.4
32 10.5 37.5
~56 (natural puzzles) 0 0

Task-specific fine-tuning alone — at 1,000x the parameters and with a 32-sample oracle verifier — does not close the gap.

For Maze-Hard, can the authors discuss why the method sometimes returns valid but suboptimal paths instead of abstaining?

Suboptimal paths arise when the conflict head misses that a shorter path is still available, so a near-optimal path slips through. We note that recognizing suboptimality is qualitatively harder than Sudoku-style constraints, since it involves quantifier alternation (a path is optimal iff there exists no shorter one) while our algorithm is propositional in style. It is somewhat surprising to us that the technique works as well on Maze as it does. If by verification the reviewer means an exact external check of path optimality, that would indeed eliminate the remaining wrong answers, at the cost of a domain-specific symbolic component. Where higher soundness is required, ensembling should also help.

Can the authors provide more detail on the offline cost of generating solutions or solution samples used by the alpha operator?

The offline cost is negligible. For Sudoku and Snowflake the solution is unique (K = 1) and comes with the dataset, so nothing needs to be generated. For Maze, we construct the all-shortest-paths DAG with a single BFS pass per instance and sample paths uniformly from it, with each sample a linear-time walk over the DAG; this is a vanishing fraction of the cost of training. The train-time overhead of multi-solution supervision is similarly small: K = 512 is roughly 2% slower per step than K = 1 (Section 3). We will spell this out in the camera-ready version.

Could the authors provide one stronger out-of-distribution test like training on smaller Snowflake orders and testing on larger ones?

We ran this test and find that training on smaller Snowflake orders transfers to larger ones, albeit not perfectly, shown in the table below. Trained on orders 4-6 with no examples at all of a order that is higher, the model solves 82.7% at the unseen orders 7-10, with accuracy decreasing with distance from the training boundary. In a complementary setup, a small share of higher-order examples largely closes the gap: with 2.5% of the training set covering orders 6-8, the model solves 96.7% at the larger orders, rising to 100% at a 5% share with longer training. Full tables will be added to the camera-ready appendix.

Table: size generalization on Snowflake Sudoku — accuracy (%) on orders 6–8 (all runs train on 1,000 puzzles, with either 12, 25, or 50 examples drawn from orders 6–8 and the remainder from orders 4–5; orders 4–5 are solved at 100% in every condition)

Steps Positions 12 examples 25 examples 50 examples
1,000 Learned 51 71 82
1,000 RoPE 70 86 92
4,000 Learned 73 90 91
4,000 RoPE 87 100 97
8,000 Learned 91 98.5 100

Under strict omission (0 examples) the model solves none of the unseen-order puzzles regardless of the positional encoding, but a small number of higher-order examples changes the picture entirely, climbing to 100% at 50 examples / 8,000 steps. RoPE improves nearly every cell over learned position embeddings.

Authors · CommentOpenReview ↗

We realized we made a mistake with this statement.

Under strict omission (0 examples) the model solves none of the unseen-order puzzles regardless of the positional encoding, but a small number of higher-order examples changes the picture entirely, climbing to 100% at 50 examples / 8,000 steps.

The corrected statement is that under strict omission (0 examples) the model already solves 82.7% of the unseen-order puzzles, and a small number of higher-order examples closes most of the remaining gap, climbing to 100% at 50 examples / 8,000 steps.

Reviewer 4DCb · CommentOpenReview ↗

Thank you for your clarifications and comprehensive rebuttal.

Most of my concerns have been addressed but the 82.7% strict-omission figure does not appear in the table provided, where every condition includes 12 to 50 examples from orders 6-8 in training while evaluating on orders 6-8, so held-out-order generalization is not yet isolated. A per-order breakdown of the zero-example run with seed count and a note on how orders 9-10 were generated would close this issue.

I am maintaining my already high score. I believe the core contribution and rebuttal experiments support acceptance, and I would encourage the authors to include the corrected size-generalization results in the camera-ready version.

Reviewer 6aH6OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors use a recurrent transformer very similar to TRM to solve long-chain combinatorial reasoning problems from scratch (Maze, Sudoku). Their Lattice Deduction Transformer (LDT) method improves TRM performance while using fewer parameters and requiring much less training compute. The keys ideas of LDT are (1) solution pruning: at every cell they maintain a set of candidate digits (what they call lattice encoding) and make separate predictions for every digit where digits are removed from subsequent iterations if their predicted probability falls below a threshold (if nothing falls below threshold, sample digit from softmax); and (2) a "conflict" module which predicts whether all valid solutions have been eliminated from current candidates. If so, backtrack to a previous cached "valid" state. The authors devised techniques to deal with multi-solution supervision which is often the case for combinatorial problems, and parallel training where they solve a puzzle many times in parallel from different states of lattice encodings. They also experimentally show how training time can traded off for inference time.

Strengths and weaknesses

Strengths

  • Novel combination of ideas from recursion reasoning models and combinatorial search. Recursive reasoning provides the inductive bias of iterative refinement. "Lattice deduction" scaffolding provides an incremental algorithm to gradually move towards correct solution.
  • Well engineered solution that solved various problems when considering this combination of ideas:
    • How to deal with multiple solutions? They supervise with solution still compatible with current candidate set.
    • How to "branch" when no further elimination? They softmax sample from digit probabilities.
    • How to predict a "conflict" and how to backtrack a previously cached feasible state.
  • Impressive results. TRM/HRM results were already quite impressive, vastly outperforming LLM solutions. There have been very recent papers showing similarly strong results (e.g., https://arxiv.org/html/2605.19376v1) but they are concurrent with this submission and should not be considered. In the probabilistic TRM paper (https://arxiv.org/abs/2605.19943), they show that noise injection during inference was enough to boost Sudoku performance from 87.4% to 98.75%.

Weaknesses

  • May only apply to combinatorial problems with variables with small bounded domains, like Sudoku and Maze. Authors say does not help for ARC, for example. This lattice encoding only models the product of unary domains. This approach cannot eliminate richer dependencies between variables. Example: LDT can eliminate a 9 from domain of cell but can't model cell X not being 2 at the same time Cell Y is 5 and Cell Z is 10.
  • The authors don't explicitly show that the recursion is necessary (no non-recursive ablation). I assume would perform poorly as in TRM, but perhaps not given the scaffolding is already incremental (eliminate variable possibilities), whereas TRM has to learn to do something like this from scratch and so recursive bias may be important to learn such an incremental procedure.
  • Missing trained LLM baseline. Showed that LLMs perform very poorly out of the box. If you finetuned open sourced model (e.g., Qwen3), you could distinguish whether it is truly the recursive architecture + Lattice deduction that allows this to work. LLMs may have not specifically been trained on the kind of data you are specializing your model for.
Questions
  • Am I correct that you don't carry forward latents across steps? The fact that this works is especially interesting because TRM does much worse on Sudoku if don't carry latents forwards (I think because latents store a lot of complex counterfactual reasoning. Perhaps it is implicitly doing something like lattice deduction in its latents and keeping track of candidate answers per cell. That would explain why your method does as well as it does without it.)
  • Clarification on loss with multi solutions: at a given stage, alpha operator computes the valid solutions still compatible with current state. What does it mean to supervise against those multiple solutions? If that variable is assigned that way in one of the possible solutions, it is marked as correct?
  • For maze, is each cell a binary (whether or not belongs to shortest path)? In that case, eliminating a variable seems identical to selecting a variable. Why do think this is still helpful for maze?
  • Have you tried scaling # loops within a single inference step? If so, do more digits tend to be eliminated?
Limitations

yes

Final justification

The authors have included the two important baselines I think are crucial (finetuning LLM) and non-recursive transformer and the empirical story remains the same. They adequately answered all of my methodological clarifications. I will maintain my already high score.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their insightful feedback.

Impressive results. TRM/HRM results were already quite impressive, vastly outperforming LLM solutions.

We appreciate the reviewer flagging this comparison, and would like to highlight a property of our results that we think is easy to underweight when reading solve rates as raw percentage points. In the high solve-rate regime, it is more useful to read percentage points on a log scale. For instance, moving from 99% to 99.9% eliminates nine out of ten remaining failures, equal to moving from 90% to 99%. Measured in errors rather than percentage points, the gap between our solve rates and those of previous approaches is large. The probabilistic TRM [0] impressively lifts TRM from 87.4% to 98.75% on Sudoku-Extreme, yet measured in errors our method yields greater overall improvement.

[0] Sghaier, A., Parviz, A., & Jolicoeur-Martineau, A. "Probabilistic Tiny Recursive Model." arXiv:2605.19943.

May only apply to combinatorial problems with variables with small bounded domains, like Sudoku and Maze.

This is correct, the grid powerset lattice is non-relational, and the demonstrated advantages of LDTs are so far limited to small combinatorial domains (see also Appendix A.1). The formal setting of lattices and abstract interpretation does extend to relational domains, which are heavily studied in the abstract interpretation literature, although we do not demonstrate this empirically in the present submission. The framing around lattices and the alpha operator is there precisely to admit such future generalizations, including richer existing lattice structures and learned lattices.

We see our contribution as showing that even with the conceptually simplest choice of lattice (the powerset lattice), techniques from constraint solving let us substantially outperform prior work.

The authors don't explicitly show that the recursion is necessary (no non-recursive ablation).

The reviewer is right that this ablation was missing. We have now run a systematic single-factor ablation on Sudoku-Extreme (3 seeds per configuration) that is shown below, and will be added to the camera-ready version. At the same ~800K parameter budget and 2,000 training steps, a single-pass transformer reaches 17% vs. 99.2% for the recurrent model, and no depth/width reallocation of that budget exceeds 30% accuracy; a non-recurrent model matches the baseline only with 4x parameters, 4x compute and unrestricted data. Recurrence is thus not an absolute requirement, but a large parameter, compute and data-efficiency advantage.

Table: effect of internal iterations L (fixed ~800K params, 2,000 training steps)

Iterations L Accuracy % Calls per solve
1 17.1 665
2 41.6 204
4 91.9 34
8 98.8 12
16 (baseline) 99.1 10
32 99.0 10

Table: non-recurrent models at the baseline's parameter budget (~800K), varying depth/width (2,000 training steps)

Model (layers × width) Accuracy % Calls per solve
4 × 128 17.1 665
8 × 92 29.8 330
16 × 64 6.0 2,935
32 × 44 4.3 15,340
Recurrent baseline (4 × 128, L = 16) 99.2 10

Table: non-recurrent models with larger parameter budgets (baseline is 2,000 training steps)

All rows match the baseline's total training compute except the last, which uses 4x compute and the full training split.

Model (layers × width) Params Training compute Accuracy % Calls per solve
8 × 128 1.6M 1x 85.8 46
16 × 128 3.2M 1x 96.7 21
4 × 256 3.2M 1x 31.2 310
16 × 128, 4x compute, full data 3.2M 4x 99.9 4.4
Recurrent baseline (800K, L = 16) 0.8M 1x 99.2 10

Parameter count alone doesn't explain the gap (the 4×256 model has the same 3.2M params as the 16×128 model but only reaches 31.2%); depth of sequential computation does, and recurrence is the cheapest way to buy it. As a related check, supervising every internal iteration (deep supervision) rather than only the final one is also worth +3pp at half the search cost:

Table: supervising all internal iterations vs. final iteration only (2,000 training steps)

Supervision Accuracy % Calls per solve
All 16 iterations (baseline) 99.2 10
Final iteration only 96.1 22

Missing trained LLM baseline.

We have now run this comparison, shown in the table below, and will include the full comparison in the final paper: we fully fine-tuned Qwen3.5-0.8B (~1,000x our parameter count) on the identical 1,000-puzzle training set (supervising direct output of the target grid, no chain-of-thought) and evaluated with pass@32 per held-out puzzle. It solves 0% at every checkpoint through 16 epochs, with performance appearing to decline by that point; note that Sudoku-Extreme is selected for hardness. We further find that even on much easier synthetic puzzles, generated by placing random blanks and far below a typical Sudoku in difficulty, the fine-tuned model performs poorly.

Table: fine-tuned Qwen3.5-0.8B on Sudoku-Extreme, by puzzle difficulty (full-parameter BF16 fine-tune, not LoRA; identical 1,000-puzzle training subset; best checkpoint over 16 epochs; pass@32 credits the model if any of 32 sampled answers is exactly correct)

Blanks (random) pass@1 pass@32
1 99.6 100
2 99.4 100
4 89.7 100
8 65.0 96.9
16 29.8 84.4
32 10.5 37.5
~56 (original sudoku-extreme) 0 0

The pipeline demonstrably works, perfect pass@32 at 1–4 random blanks, so the zero at the bottom isn't a broken setup. It reflects that natural Sudoku-Extreme puzzles are both blanker and curated to need long deduction chains rather than short local inference.

Am I correct that you don't carry forward latents across steps?

Correct, we do not carry forward latents across steps; we input only the lattice state from the previous iteration. We share the reviewer's hypothesis: if TRM's carried latents implicitly track candidate sets, then the lattice makes exactly that state explicit, which is why nothing essential is lost by discarding the activations. We have since ablated this choice directly (3 seeds, matched training budget), shown in the table below. The lattice-only baseline reaches 97.9% at 12.8 model calls per solve, while carrying the final hidden state forward collapses to 31.7% and a TRM-style continuous scratchpad to 38.8%, with failures that are almost entirely timeouts. Under the tested regime the lattice alone is the better outer-loop state. We do expect that continuous memory could serve a useful role, but its integration would need to be carefully considered; for example, search decisions could confuse a carried latent reasoning state. The full ablation will be included in the camera-ready appendix.

Table: carrying continuous state across Sudoku-Extreme solve steps (all variants trained for 2,000 steps; "Unsafe" = % of eliminations that remove the reference digit; † = accuracy over an early-stopped evaluated prefix, not the full 1,000/seed, due to repeated timeouts)

State carried Accuracy % Evaluated/seed Wrong Calls/solve Unsafe %
Lattice only (paper) 97.9 1,000 0 12.8 0.92
Final hidden state 31.7† 79–89 0 311 0.07
Dedicated scratchpad 38.8† 77–124 0 265 0.09
Zeroed scratchpad (control) 74.9† 321–1,000 413 37.3 2.46

Clarification on loss with multi solutions: at a given stage, alpha operator computes the valid solutions still compatible with current state.

Yes, with one refinement: a candidate is marked correct if some solution that is still compatible with the current state assigns it that way. At each step, the alpha operator computes the compatible solutions and joins them into a single lattice state. Candidates appearing in no compatible solution are supervised toward elimination. For example, if two compatible solutions assign cell X the values 3 and 5, the supervision target for X is {3, 5} and all other candidates at X are pushed toward elimination; once the search commits to a branch where only the second solution survives, the target tightens to {5}.

For maze, is each cell a binary (whether or not belongs to shortest path)?

Yes, shown in the tables below. Holding the trained weights fixed and increasing evaluation loops through 1/2/4/8/16/32 raises the solve rate from 0/2.5/40.3/82.8/99.5/99.8%, while model calls per solved puzzle fall from 2,571 at 2 loops to 5.3 at 32. Accuracy saturates around the paper's 16-loop setting. The full loop-scaling ablation will be added to the camera-ready appendix.

Table: internal iterations at evaluation time (backbone trained for 2,000 steps; weights fixed thereafter, since the backbone's weights are tied across internal iterations, this can be changed at evaluation time without retraining)

Internal iterations Accuracy % Calls per solve
1 0 —
2 2.5 2,571
4 40.3 221
8 82.8 55
16 (paper) 99.5 11.2
32 99.8 5.3

Table: repeated full-model deduction passes before each guess (backbone trained for 2,000 steps)

Passes before guessing Accuracy % Calls Avg. restarts Unsafe %
1 (paper) 99.5 11.2 662 0.82
2 100 13.0 388 1.30
4 100 21.8 307 1.95
Until unchanged (fixed point) 99.0 57.9 172 3.46
4, no augmentation 99.5 30.4 424 1.54

Repeating full deduction passes before guessing (rather than adding internal iterations) buys a small accuracy gain (99.5% → 100% at 2 passes) but compounds unsafe eliminations, and iterating to a fixed point is strictly worse — the paper's single-pass rule is the best accuracy/cost/safety tradeoff.

Reviewer 6aH6 · CommentOpenReview ↗

Thanks for your detailed response. The authors adequately addressed all but one of my comments. Your last response references this question "For maze, is each cell a binary (whether or not belongs to shortest path)?" but the response is unrelated and I'm assuming refers to my last question. I am still curious why this idea would be effective in maze where each variable domain is binary. I will maintain my already high score.

Authors · CommentOpenReview ↗

Thank you for the question. To answer the remaining comment, yes, in maze each cell is binary. This makes eliminating a variable identical to selecting one. In this case, the main purpose of the lattice here is abstention, where the model can leave a cell undecided rather than being forced to choose.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…