scimeatlas

Research map / Large language models / Reasoning and chain of thought

Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking

Yifan Zhang, Wenyu Du, Dongming Jin, Jie Fu, Zhi Jin

ACL 2025Large language models › Reasoning and chain of thoughtapproach: Theory of autoregressive reasoningopen problems in this approach23 citations (OpenAlex)

Peking University · Key Laboratory of High Confidence Software Technology · The University of Hong Kong · Shanghai AI Laboratory

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
4improved
4no clear effect
2hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Chain-of-thought prompting

Add chain-of-thought scratchpad to a transformer · A5, A4xZ5, Z60 word problems · sequence accuracy Improved

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add chain-of-thought scratchpad to a transformerGPT2 transformer · A5, A4xZ5, Z60 word problemssequence accuracyImproved
Use CoT instead of pause tokens (implicit CoT)Transformer · state tracking word problemssequence accuracyImproved
Train on one subset of group elements, test on full setTransformer+CoT · Z60, A4xZ5, A5 out-of-distributionsequence accuracy: perfect generalizationNo clear effect
Inject false previous state q_{i-1} into scratchpad at test timeTransformer+CoT · A5 scratchpad noisenext-token accuracy: approx 0.017 accuracyHurt
Inject false states other than q_{i-1} into scratchpadTransformer+CoT · A5 scratchpad noisenext-token accuracyNo clear effect
Add noisy-scratchpad (false q_{i-1}) examples to training data (ablation)Transformer+CoT · A5 scratchpad noisenext-token accuracy: 0.017 -> 0.896Improved
Add skipped-step examples to training data (ablation)Transformer+CoT · A5 skipping stepsprobe of q_i, q_{i+1}, q_{i+2}Improved
Mask q_{i-2} in final layer (ablation)Transformer+CoT trained with noise · A5 noisy scratchpadprobe accuracy of q_i: above 0.9 -> nearly zeroHurt
Mask q_{i-2} in final layer (ablation)Transformer+CoT trained without noise · A5 noisy scratchpadprobe accuracy of q_iNo clear effect
Replace absolute positional embedding with NoPETransformer+CoT · length generalizationsequence accuracy: 0.99 at length 20 -> 0.00 at 30Mixed
Scale GPT2-small to GPT2-largeTransformer+CoT · A5 FSA recoverycompression/distinctionNo clear effect

Open problems this paper states

Open problems in theory of autoregressive reasoning

Do results on small synthetic models and idealized theory carry over to real reasoning LLMs?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy