Transformers Linearly Represent Constrained-based World Models in Sudoku
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:46 UTC · 6855e8869b87 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,22 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "8RPfEpnyrk"- }- ],- "title": "Transformers Linearly Represent Constrained-based World Models in Sudoku",- "authors": [- "Roman Kniazev",- "Nathanaël Fijalkow"- ],- "abstract": "Do transformers, when trained on sequential reasoning traces, build internal models of the underlying task? And if so, does the structure of those internal representations mirror the structure of the domain?\n\nWe train an 8-layer transformer on Sudoku solving traces and perform a mechanistic analysis of its internal computation. We find a linearly represented substructure world model: it does not represent the board state cell by cell, as a human analyst would expect, but organizes information around the rows, columns, and boxes that Sudoku's constraints act on. We see that mid-layer attention heads organize around Sudoku's substructures, suppressing placement logits for digits already present and promoting those for absent digits. We identify a naked-single circuit: a small set of dedicated neurons in the final MLP layer, each individually detecting when exactly one digit remains possible for a specific cell, and reliably promoting that digit.\n\nThese findings suggest that transformers trained on solving traces may encode constraint-relevant information more cleanly than individual surface facts. For interpretability, probing only the obvious surface decomposition of a task may therefore underestimate what the model has learned.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "30f06101-0368-47f7-aa4d-d4b1bfff7345"}
paper.json added
+++ b/paper.json@@ -0,0 +1,12 @@+{+ "title": "Transformers Linearly Represent Constrained-based World Models in Sudoku",+ "authors": [+ "Roman Kniazev",+ "Nathanaël Fijalkow"+ ],+ "abstract": "Do transformers, when trained on sequential reasoning traces, build internal models of the underlying task? And if so, does the structure of those internal representations mirror the structure of the domain?\n\nWe train an 8-layer transformer on Sudoku solving traces and perform a mechanistic analysis of its internal computation. We find a linearly represented substructure world model: it does not represent the board state cell by cell, as a human analyst would expect, but organizes information around the rows, columns, and boxes that Sudoku's constraints act on. We see that mid-layer attention heads organize around Sudoku's substructures, suppressing placement logits for digits already present and promoting those for absent digits. We identify a naked-single circuit: a small set of dedicated neurons in the final MLP layer, each individually detecting when exactly one digit remains possible for a specific cell, and reliably promoting that digit.\n\nThese findings suggest that transformers trained on solving traces may encode constraint-relevant information more cleanly than individual surface facts. For interpretability, probing only the obvious surface decomposition of a task may therefore underestimate what the model has learned.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}