- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This submission performs a mechanistic interpretability case study of a small transformer reasoning model trained to solve Sudoku puzzles. It tries to specifically answer the question how the model represents the state of a Sudoku puzzle (what the authors refer to as the "world model"). Through a series of task-informed analyses using standard mechanistic intepretability methods such as probing, patching and general model inspection, it finds that the model uses a particular data structure that directly reflects the constraint structure of Sudoku puzzles and allows to linearly decode candidates for blank cells.
Strengths and weaknesses
Strengths
The analyses performed in the submission are well exectued and clearly communicated. I found the manuscript easy to follow and the presented results convincing within their scope.
Weaknesses
The contribution of this submission is relatively narrowly scoped: Prior work has performed a similar analysis for a different game [1, 2], prior work has trained small reasoning transformers to solve Sudoku tasks [3, 4] and the analysis methods used are all standard tools -- although their use is of course informed by the particular task. The manuscript clearly communicates these points but it is nevertheless difficult to decide whether collectively they cross the threshold to justify a full paper. The manuscript did specifically restrict itself to analysing how the sudoku state is represented but did for example not investigate how the model reasons through each task, e.g. how it decides to backtrack etc.
[1] Li et al. (2023): Emergent world representations: Exploring a sequence model trained on a synthetic task.
[2] Nanda et al. (2023): Emergent linear representations in world models of self-supervised sequence models.
[3] Giannoulis et al. (2026): Teaching transformers to solve combinatorial problems through efficient trial & error.
[4] Shah et al. (2024): Causal language modeling can elicit search and reasoning capabilities on logic puzzles.
Questions
As shown in Fig. 1 (right), the target logit drops across all layers, peaking at layer 4 with a mean drop of approximately 25 logits
- It's hard to tell whether a 25 logits difference is large or not without reference to other logits. It would be useful to report the fraction of times where the prediction flips as a result of the logit drop.
The patched top-1 is itself a valid placement on the original board in 73–76% of cases at L3–L4, suggesting that the patched state remains coherent.
- What is the reference value for the validity of the unpatched top-1 prediction (given that backtracking is possible it's not 1 I guess)?
However, this drop is an artefact of the probes’ decision threshold, not the underlying representation.
-
I think this is an interesting finding and deserves a bit more space in the main text, it took me a few attempts reading this section to understand what is going on, especially given that the figure dedicated to it shows the "artifact".
-
Is my understanding correct that the final MLP layer selects the cell to be filled in but not the specific digit to place. The latter had at that point already been computed by the prior layers? If this understanding is correct, I think it would help to clarify in the manuscript that this is what the "final decision" entails.
-
Figure 3 gives the impression that all attention patterns are highly aligned with the substructures. It would maybe be more representative to include also a non aligned example from the corresponding appendix figure.
The coverage is complete: 71 cell have a single associated neuron and 10 cells have two
- For the cells sharing a neuron, how does the network delineate them? Does it make characteristic errors specifically with respect to these cells?
Finally, our causal evidence for the world-model directions relies on a single patching protocol; alternative interventions could probe the robustness of these findings.
I found this point in the limitations section confusing. What kind of alternative patching protocols or interventions do you have in mind here? What assumptions does your patching protocol make that might be unjustified or in what way might it lead to incorrect conclusions?
Limitations
I find that the title "Transformers Linearly Represent Highly Structured World Models" is overly general and not well supported by the presented results. In my opinion, it would be more accurate to title it more descriptively, e.g., "Mechanistic analysis of state representations in a Sudoku-solving transformer" or something along those lines.
Paper formatting concerns
None
Final justification
While the submission is relatively narrow in terms of novelty, focusing on world models in sudoku-solving transformers, it is well executed and the finding that the internal world model only encodes task-relevant information is interesting.
We thank the reviewer for the close reading and the specific, actionable questions. We address each point below.
Q1. On the title. We agree with the reviewer that our experiments being restricted to Sudoku, it would be more accurate to include them in the title. Following Reviewer tmTr’s suggestion we propose “Transformers Linearly Represent Constraint-based World Models in Sudoku”.
Q2. Fraction of flipped predictions under patching. We report on this question in Table 4 (Appendix B.4), under "Changed top-1": the patched top-1 differs from the clean top-1 in 95.3–99.7% of cases across layers, peaking above 99% from layer 2 onward. We agree this number belongs in the main text next to Figure 1 (right) rather than only in the appendix, since a 25-logit drop is hard to interpret in isolation but a near-total flip rate is immediately legible. We will move this figure into Section 3.3.
Q3. Reference value for unpatched top-1 validity. The reviewer is correct that this isn't 1, since backtracking traces mean the "correct" next move is not unique at every state. We did not report the clean baseline directly; we will add it in the revision. Given the model's 98.4% per-cell accuracy on held-out puzzles, we expect the unpatched, clean top-1 prediction to be a valid placement well over 90% of the time. Against that baseline, the 73–76% figure represents a real drop in coherence caused by the intervention, rather than a number close to baseline that would suggest the patch had little effect. We will compute and report the exact clean baseline on the same 300-state sample used for Table 4, so the comparison is clean.
Q4. The probe-threshold artefact. We agree this section is under-explained. To restate plainly: as the puzzle fills in, a digit becomes present in almost every substructure simply because there are fewer empty cells left, not because the model's internal encoding of "is d present in S" has degraded. The probes' decision thresholds were fixed at training time on an early, sparse distribution, so they misfire late in the trace even though the underlying direction is still perfectly linearly separable, which is exactly what the ROC-AUC analysis in Appendix B.3 (Figure 8) shows: AUC stays at approximately 1.0 across the whole trace for mid-layers, only exact-match accuracy degrades. We will expand this passage in Section 3.4 and forward-reference Figure 8 directly, rather than leaving the resolution to the appendix.
Q5. Does the final MLP select the cell or the digit? The reviewer's understanding is exactly right, and we agree the manuscript should say so explicitly rather than leaving it implicit. Section 5.1 shows the correct digit is already ranked first in 98.77% of unique-NS states before the final MLP acts. Section 5.2 shows the final MLP's contribution is a boost that is essentially digit-uniform (standard error 0.10 across the 9 target digits, versus a mean boost of +3.00), meaning it amplifies all placement logits for a cell equally rather than discriminating between digits. So the digit identity is resolved by the mid-layers; the final MLP's role is to detect "this cell is now a naked single" and commit to filling it, not to decide which digit. We will add a sentence stating this reading directly in Section 5.2.
Q6. Figure 3 and representativeness of attention alignment. Appendix Figure 10 already contains the full 8-layer-by-8-head grid of attention patterns, and several heads there are not substructure-aligned (for instance, some heads at layers 2–4 spread attention broadly with no concentrated pattern, and some concentrate weakly at under 5% mass on any single region). We will pull one such non-aligned example into Figure 3 alongside the aligned example already there, so the figure doesn't overstate uniformity.
Q7. Cells sharing a neuron. This is a genuinely open question we had not investigated. To clarify the setting first: 10 of the 91 cells are each covered by two dedicated neurons rather than one, so there is redundancy for individual cells. We will check whether the two neurons associated with a cell are redundant copies or whether they partition the cell’s naked single cases in two different scenarios, like partitioning on digits.
Q8. "Alternative patching protocols" in the limitations. This sentence was too vague and we will either cut it or make it concrete. What we had in mind: our current protocol transplants probe directions between paired (G1, G2) states that differ by exactly one placement, which assumes the probe direction itself is the correct causal handle and that the intervention's effect is well approximated by a linear addition to the residual stream. A resample-ablation protocol, patching in the corresponding activation from an unrelated puzzle state rather than a paired next-step state, would test whether the effect depends on the paired-state construction. Path patching, isolating the contribution of specific attention heads or MLP sublayers rather than patching the full residual stream at a layer, would test whether the effect is concentrated in the components we identified in Section 4 or is more diffuse than our single-protocol result suggests.