Transformers Linearly Represent Constrained-based World Models in Sudoku
Update NeurIPS 2026 submission 8RPfEpnyrk: 10 notes
@openreview[bot] · 2026-11-24 15:46 UTC · 5f4743994059 ·
reviews/openreview/8rpfepnyrk/notes/2bscagktpl.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/2bscagktpl.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "2bSCAgkTPL",+ "replyTo": "8JFNC8nOxY",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer UGsF",+ "content": {+ "comment": "Thank you for the additional clarification. You have addressed most of my concerns with your answers and the corresponding changes promised to be made to the manuscript.\n\n> Broadly, the conclusion is that while we know that transformers have emergent world models, they don’t need to reconstruct the world at its presented granularity, but may encode the task-sufficient variables that determine valid actions.\n\nI still find it difficult to judge whether the specific scope of the paper in the context of the existing prior work meets the \"novelty\" bar but I do think that this is an important conclusion that can be drawn from this work. Conditioned on the title being changed to \"Transformers Linearly Represent Constraint-based World Models in Sudoku\", I am raising my score to a borderline accept."+ },+ "createdAt": "2026-08-03T14:05:43.385Z",+ "modifiedAt": "2026-11-19T17:15:34.076Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=2bSCAgkTPL",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/8jfnc8noxy.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/8jfnc8noxy.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "8JFNC8nOxY",+ "replyTo": "JmFo8si5Zb",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the follow-up. Prior work on Othello and chess found world models with units that represent the surface state (i.e. one feature per cell or square). Our contribution is evidence for a different regime, when the goal and valid actions are defined by a different, more compact constraint structure. In this regime, a transformer represents and uses this structure instead. Broadly, the conclusion is that while we know that transformers have emergent world models, they don’t need to reconstruct the world at its presented granularity, but may encode the task-sufficient variables that determine valid actions."+ },+ "createdAt": "2026-07-30T14:38:22.510Z",+ "modifiedAt": "2026-11-19T17:15:34.311Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=8JFNC8nOxY",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/bjfqgiffro.json modified
+++ b/reviews/openreview/8rpfepnyrk/notes/bjfqgiffro.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair 8dMA","content": {- "metareview": "This is a well-conducted paper trying to unveil mechanisms underlying the abilities of a Transformer trained on reasoning traces that showcase how to solve Sudoku problems. The authors demonstrate a the Transformer learns a structured world model that reflects the constraints of the domain (i.e., Sudoku) and a sparse circuit is involved in prediction over this world model. The toolkit used to arrive at these claims is bread-and-butter interpretability infrastructure: probes, patching, and behavioral validation. Overall, the results are cleanly derived, as noted by the reviewers as well.\n\nHaving said the above, I currently lean towards a reject stance on this paper. Such toy scenarios have been studied several times over in the interpretability community to understand whether Transformers learn to represent the world they operate in [1,2], and interpretability of decision-making models in such toy models has also been explored [3]. There is nothing wrong with using toy systems to better understand how Transformers reason, but I am currently unclear what novel insights I am able to derive from this paper that were not already available (or at least easily inferable) from existing literature. As the reviewers suggested, including other domains and showing a non-trivial mechanism transfer (e.g., the constraint world model being a general preference of the Transformer architecture) would be great. I am open to revising my opinion based on rebuttals, but currently I believe this paper meets the bar for a very good workshop paper and needs more scope expansion to warrant a full paper accept.\n\n[1] https://arxiv.org/abs/2210.13382\n\n[2] https://aclanthology.org/2023.blackboxnlp-1.2/\n\n[3] https://github.com/jbloomAus/DecisionTransformerInterpretability"+ "metareview": "This is a well-conducted paper trying to unveil mechanisms underlying the abilities of a Transformer trained on reasoning traces that showcase how to solve Sudoku problems. The authors demonstrate a the Transformer learns a structured world model that reflects the constraints of the domain (i.e., Sudoku) and a sparse circuit is involved in prediction over this world model. The toolkit used to arrive at these claims is bread-and-butter interpretability infrastructure: probes, patching, and behavioral validation. Overall, the results are cleanly derived, as noted by the reviewers as well.\n\nHaving said the above, I currently lean towards a reject stance on this paper. Such toy scenarios have been studied several times over in the interpretability community to understand whether Transformers learn to represent the world they operate in [1,2], and interpretability of decision-making models in such toy models has also been explored [3]. There is nothing wrong with using toy systems to better understand how Transformers reason, but I am currently unclear what novel insights I am able to derive from this paper that were not already available (or at least easily inferable) from existing literature. As the reviewers suggested, including other domains and showing a non-trivial mechanism transfer (e.g., the constraint world model being a general preference of the Transformer architecture) would be great. I am open to revising my opinion based on rebuttals, but currently I believe this paper meets the bar for a very good workshop paper and needs more scope expansion to warrant a full paper accept.\n\n[1] https://arxiv.org/abs/2210.13382\n\n[2] https://aclanthology.org/2023.blackboxnlp-1.2/\n\n[3] https://github.com/jbloomAus/DecisionTransformerInterpretability",+ "final_justification": "Despite an originally reject-leaning view, I concur with the reviewers that the results of this paper can be meaningfully appealing to a NeurIPS audience. I hence recommend the paper for accept."},"createdAt": "2026-07-24T08:05:54.329Z",- "modifiedAt": "2026-11-18T15:23:34.222Z",+ "modifiedAt": "2026-11-19T05:02:15.138Z","url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=bJfQGifFRO","license": "CC-BY-4.0"}
reviews/openreview/8rpfepnyrk/notes/g2zznqazp4.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/g2zznqazp4.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "G2ZznqaZp4",+ "replyTo": "Jm9svGGCcF",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "**W2.** Indeed, prior work used two-player game transcripts. In Othello, player turns create a parity-based symmetry and Nanda et al. found representations based on the current player (mine-yours) rather than absolute colors (black-white). Sudoku traces have no such symmetry: the meaning of a placement does not depend on token position. These traces instead have, \\[push\\] and \\[pop\\] tokens that encode the control flow (i.e. branching and rollback). We agree that this mechanism may favor explicit representation of the constraint state since the model is given examples of constraint violation in failed branches. We did not inspect the representations of a model trained on solution-only traces since it achieved only approximately 60% grid accuracy, so we leave a controlled comparison of representation geometry across training formats to future work.\n\n**Q2**. In the work-allocation experiment, an assignment action is represented by one atomic token $(J\\_j, W\\_w, M\\_m)$, denoting the assignment of job (j) to worker (w) and machine (m), and there are 45 of each. Each job $J\\_j$ admits three workers and three machines, with the triples defined as follows: $(J\\_j, W\\_{(j+d\\_w)\\\\mod 45}, M\\_{(j+d\\_m) \\\\mod 45})$ with $d\\_w\\\\in(0,1,3), d\\_m\\\\in(0, 3, 7)$, so there are 405 assignments in total. Incompatible triples have no assignment token. The initial part of the trace contains several preassignments (17 on average). As in the Sudoku case, traces additionally use \\[push\\], \\[pop\\], and \\[success\\] to encode backtracking. The constraint is that every job, worker and machine should be used exactly once. There’s no explicit encoding of the constraint on the level of traces. We then train 9 binary logistic regression probes per job, each predicting if one of the 9 assignments was used for this job. This is similar to the cell-level probes in Sudoku. We also train a binary logistic regression probe per worker and a probe per machine that predict if that worker or machine is assigned. This is similar to the substructure-level probes in Sudoku. From this experiment we get that the model represents the set of used workers and machines linearly in the residual stream, but does not represent the set of used assignments.\n\nIn graph coloring, we consider a fixed graph consisting of 48 vertices, forming 12 4-vertex cliques, with some edges between the cliques so that every vertex has degree 6\\. The goal is to color the graph in four colors. Every (vertex,color) assignment is a token, so there are 192 assignments in total. The rest is similar. The probes we consider are as follows. For every vertex we train a binary probe that predicts if the vertex is colored with color c. So there are 4 probes per vertex, 192 in total. For the constraint-level probes, we consider 4 probes per edge, one per color, each predicting if there is a vertex of that color on the edge. Both of the probes give \\~0.5 exact-match accuracy.\n\n**Q3**. The truncated traces are valid in the sense that they are simply a prefix of a full trace. Since they are truncated, they don’t end with a \\[success\\] token, and a branch can stay open (i.e. \\[push\\] without a \\[pop\\]). During early experimentation, we found that including these truncated traces did not affect the performance substantially, so we didn’t exclude them from the dataset."+ },+ "createdAt": "2026-07-30T14:40:36.004Z",+ "modifiedAt": "2026-11-19T17:15:34.248Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=G2ZznqaZp4",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/jmfo8si5zb.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/jmfo8si5zb.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "JmFo8si5Zb",+ "replyTo": "3NKSUzf7iG",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer UGsF",+ "content": {+ "comment": "Thank you for answering my questions. I think the new suggested title,\"Transformers Linearly Represent Constraint-based World Models in Sudoku\", reflects the paper's contributions much better.\n\nMy main concern remains the relatively incremental nature of the contribution (see weaknesses). Could you try to summarize, what you believe are the main novel insights your submission contributes over existing work and contextualize their significance? What can we learn (maybe beyond specifically Sudoku playing transformers) that wasn't previously known?"+ },+ "createdAt": "2026-07-29T14:11:35.809Z",+ "modifiedAt": "2026-11-19T17:15:34.858Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=JmFo8si5Zb",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/lud4w8aqvf.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/lud4w8aqvf.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "lUd4W8AQVf",+ "replyTo": "nyHC1a41Ql",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We will be happy to include this to the discussion of the results together with the results on work allocation and graph coloring, with a full description of the additional domains in the appendix."+ },+ "createdAt": "2026-07-30T14:37:07.267Z",+ "modifiedAt": "2026-11-19T17:15:34.312Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=lUd4W8AQVf",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/nyhc1a41ql.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/nyhc1a41ql.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "nyHC1a41Ql",+ "replyTo": "7GGXGlsFGm",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer tmTr",+ "content": {+ "comment": "Thank you for your considered response. \n\n\"We think the main implication is that transformers trained on sequential reasoning traces do not necessarily encode the trace in the format in which it was presented, but instead, they build a constraint-sufficient state, that is, a representation of the information needed to determine which actions remain possible. These constraints can be represented more clearly than the individual surface facts, while the surface state remains only partially decodable from the constraints. This matters for interpretability: probing (or simply measuring against) only the obvious state-level decomposition may underestimate what the model has learned, and researchers should also look for representations organized around the task’s constraints.\" \n\nI think this is very compelling and would love to see this point made explicitly alongside the results from work allocation and graph colouring, to demonstrate broader applicability. Nice work."+ },+ "createdAt": "2026-07-29T22:30:01.102Z",+ "modifiedAt": "2026-11-19T17:15:34.323Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=nyHC1a41Ql",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/toprh7cbkd.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/toprh7cbkd.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "tOPRH7cBkD",+ "replyTo": "G2ZznqaZp4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer bEYY",+ "content": {+ "title": "Thank you for rebuttal, keeping the score",+ "comment": "I thank the authors for their engagement and for describing additional details. The reassessed conclusion seems much more grounded in the experimental results, particularly regarding the narrower scope of the constraint-based world model claim. With that, however, the significance of the paper's contribution became a bit more questionable.\n\nFor these reasons, while I still believe the paper presents solid research (and wouldn't object to an overall acceptance of the paper), I have to keep my rating at 4, borderline accept."+ },+ "createdAt": "2026-08-03T08:53:20.731Z",+ "modifiedAt": "2026-11-19T17:15:34.207Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=tOPRH7cBkD",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/u1b4ejx4mp.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/u1b4ejx4mp.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "u1b4EJx4mp",+ "replyTo": "Jm9svGGCcF",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer bEYY",+ "content": {+ "title": "Clarifications and further questions",+ "comment": "I have a few further questions/notes:\n\n**W2:**\n\nWhile my first bullet point is addressed in response to Q2 (see below), the second point on *prior work using game transcripts* hasn't been addressed at all. Could you elaborate on how the difference between game-transcript- and solve-trace-training influences the geometry of learned representations?\n\n**Q2:** \n\nI appreciate your adjustment of the conclusion; it makes sense, especially for the Sudoku setting. Regarding the preliminary experiments, could you elaborate on the exact format and encoding of both the actions and the constraints? While you mentioned the binary setup for work allocation, what exact classifiers and metrics were used for Graph Coloring? I am asking this in the context of Q1 \"fairness discussion\" on the inherent complexity of state vs. constraint probes.\n\n**Q3:**\n\nWhile I understand that this issue is not related to the paper's main claims, could you please explicitly address the second part of my Q3 regarding why such traces weren't discarded? Also, what exactly do you mean by `valid` truncated trace? Does it have to end with a `[success]` token, or can the branch stay \"open\" (e.g., cutting off after a `[push]` token)?"+ },+ "createdAt": "2026-07-29T12:38:24.134Z",+ "modifiedAt": "2026-11-19T17:15:34.326Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=u1b4EJx4mp",+ "license": "CC-BY-4.0"+}
reviews/openreview/8rpfepnyrk/notes/wmsqfipudw.json added
+++ b/reviews/openreview/8rpfepnyrk/notes/wmsqfipudw.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "WMsQFIpUDW",+ "replyTo": "bJfQGifFRO",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Summary of contribution and planned revisions",+ "comment": "Dear Area Chair,\n\nAs the discussion phase closes, we would like to summarize what we believe the paper contributes in light of the discussion, and list the concrete revisions we commit to for the final version.\n\n**A new phenomenon, not previously observable in earlier toy domains.** We do not dispute that toy settings have been studied extensively to understand emergent world models; that literature is our starting point. Our claim is that the phenomenon we report is new within it. In Othello, chess, and mazes, the unit that determines legal moves coincides with the surface unit of the input (a cell or a square), so the world models found in prior work were necessarily at surface granularity: there was no gap between the natural representation and the task-relevant one for a model to bridge. Sudoku is, to our knowledge, the first domain studied in this way where the two diverge: a compact constraint state (digit-per-substructure occupancy) determines which actions are legal without determining the full surface state. We find that the model represents this constraint state linearly and nearly perfectly, uses it causally, and represents the surface state only partially. The general insight, which Reviewer tmTr described as very compelling, is that transformers trained on reasoning traces need not reconstruct the world at its presented granularity; they can instead build a constraint-sufficient state. For interpretability practice, this means that probing only the obvious surface decomposition of a task can systematically underestimate what a model has learned.\n\n**Replication in two additional domains.** Following the suggestion in the meta-review and by Reviewers bEYY and tmTr, we ran the same pipeline on two further constraint-satisfaction domains during the discussion period. In work allocation (405 job-worker-machine assignment tokens, exactly-once constraints on jobs, workers, and machines), the representational dissociation replicates with binary probes at both levels: per-job assignment probes reach 0.94 mean accuracy but only 0.504 joint exact match, while the full 45 worker coverage constraint state is recovered at 0.977 exact match. In graph coloring, the attention-organization finding replicates: attention heads organize around cliques, the groups of variables linked by a shared constraint, mirroring Sudoku's substructure-aligned heads. Together with Sudoku, these results support the regime-level claim the meta-review asked for: when a task has a compact constraint state that diverges from its surface state, the transformer preferentially represents the constraint state. Disentangling the individual roles of architecture and training protocol remains future work, though preliminary indications suggest the effect is not sensitive to transformer hyperparameters.\n\n**Planned revisions.** Consolidating the commitments made across the individual responses:\n\n1. New title, \"Transformers Linearly Represent Constraint-based World Models in Sudoku\", agreed with Reviewers tmTr and UGsF. \n2. Reframed contribution and a new discussion of constraint-sufficient states, as endorsed by Reviewer tmTr. \n3. The two additional domains, work allocation and graph coloring, fully described in the appendix and summarized in the discussion. \n4. A fairer probe comparison: 729 binary cell probes (0.57 exact match, AUC 0.972) reported alongside the substructure probes, addressing Reviewer bEYY's W1. \n5. The top-1 flip rates under patching (95.3 to 99.7 percent) moved from the appendix into Section 3.3, together with the clean unpatched top-1 validity baseline computed on the same 300 states. \n6. An expanded main-text explanation of the probe-threshold artefact, with direct reference to the AUC analysis. \n7. An explicit statement that mid-layers resolve the digit and the final MLP commits the cell. \n8. A non-aligned attention head added to Figure 3 for representativeness. \n9. An analysis of the 10 cells covered by two naked-single neurons (redundancy versus partition, and error-rate comparison). \n10. A concrete formulation of the robustness limitation, naming resample ablation and path patching as the alternative protocols. \n11. Clarifications on trace truncation, and a discussion of solving traces versus game transcripts, including the observation that a solution-only model reaches only about 60 percent grid accuracy.\n\nWe believe these changes directly address the significance concern: the paper reports a phenomenon that earlier toy domains could not have revealed, now replicated beyond Sudoku, with claims scoped accordingly. We thank the Area Chair and the reviewers for a discussion that materially improved the paper."+ },+ "createdAt": "2026-08-03T11:23:58.300Z",+ "modifiedAt": "2026-11-19T17:15:34.859Z",+ "url": "https://openreview.net/forum?id=8RPfEpnyrk¬eId=WMsQFIpUDW",+ "license": "CC-BY-4.0"+}