Learning Dynamics of Chain-of-Thought State Tracking in a Solvable Transformer Model
Add the PDF
@openreview[bot] · 2026-11-22 21:38 UTC · 3947691e49aa ·
versions/v_tm6ebpxv.json modified
+++ b/versions/v_tm6ebpxv.json@@ -15,8 +15,12 @@}],"title": "Learning Dynamics of Chain-of-Thought State Tracking in a Solvable Transformer Model","url": "https://openreview.net/forum?id=6bXdhIQJVO",+ "pdf": {+ "source": "https://openreview.net/forum?id=6bXdhIQJVO",+ "license": "CC-BY-4.0"+ },"evidence": ["https://openreview.net/forum?id=6bXdhIQJVO"],"abstract": "Chain-of-thought generation can turn a multi-step computation into a sequence of locally checkable state updates, but the training dynamics of such state tracking remain poorly understood.\n We study this question in a solvable setting: a simplified one-block transformer trained by supervised next-token prediction on state sequences generated by composing permutations.\n The architecture separates fixed-lag token retrieval from a specialized MLP logic module that applies the retrieved permutation to the current state.\n Using a statistical-physics mean-field description, we derive dynamics for three order parameters measuring correct-token retrieval in attention as well as on- and off-target logic alignment.\n These solutions quantitatively match simulations for the order parameters and, combined with a Gaussian approximation to the logit distribution, qualitatively predict the sharp transition in final rollout accuracy.\n The analysis reveals staged learning: the logic module first learns a mixed heuristic, after which attention locks onto the relevant tokens and efficient MLP alignment is enabled.\n The same mechanism emerges in standard one-block transformers and is missing when either subsystem is frozen at initialization.\n Together, these results provide a controlled mechanistic account of how attention-based retrieval and MLP-based logic co-develop during chain-of-thought state tracking."
versions/v_tm6ebpxv.pdf added
+++ b/versions/v_tm6ebpxv.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:ec7a10a526bc695c2e8a497dada3996835eb2a0febe69e6f6f1e917a6b5afcf8+size 2346395