Computation, Not Memory: Chain-of-Thought and State Tracking in LLM Agents
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Language-model agents often reason before they act, and the value of monitoring that reasoning depends on how it relates to their actions. We ask how an agent's actions depend on its reasoning when the correct action depends on a changing state. In a small file-system task, background events announce which file's lock has been toggled but not its new value. The agent therefore has to reconstruct the current locks from its history before it can move files safely. With Qwen3-8B and Qwen3.5-9B, we separate two roles of reasoning: generating it before each action, and retaining earlier reasoning in the prompt. Most of the reduction in lock-violating commands comes from reasoning written at the moment of action. Retaining earlier reasoning adds little when the agent also reasons at each step, but it helps an agent that does not reason, and it helps in longer episodes. Retained notes have a limit: when a later event makes a note wrong, an agent without current reasoning responds little, while current reasoning makes the action follow the event. The benefit depends on what the reasoning says. Filler text, reasoning written for another history and an accurate table of the state do not reproduce it. When we give the agent reasoning written for a history that differs in one lock value, the agent acts on that reasoning even against its own history. For Qwen3-8B, this holds also when that value has since been toggled. Without reasoning, state readouts are less reliable after toggles, and Qwen3-8B's answers about the state favor the outdated value. The state answer and the action also depend on different parts of the prompt. In this setting, the benefit of reasoning for rule-following comes mainly from generating it at each step, where it makes the action respond to later events. The state that can be read out without reasoning is a limited guide to how the agent acts.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 36 of its 41 references that are in the map. Submitted 19 Oct 2026.
Builds on
36 of 41 references.
References · 36
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2025Qwen3 Technical Reportcited by 9,994
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,324
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 971
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 786
24 more
- 2019Designing and Interpreting Probes with Control Taskscited by 736
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 578
- 2025Reasoning Models Don't Always Say What They Thinkcited by 503
- 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 472
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 462
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 345
- 2025Chain of Thought Monitorability: A New and Fragile Opportunity for AI Safetycited by 315
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 299
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 278
- 2024How to use and interpret activation patchingcited by 252
- 2024Let's Think Dot by Dot: Hidden Computation in Transformer Language Modelscited by 209
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 186
- 2024Analyzing the Generalization and Reliability of Steering Vectorscited by 168
- 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 165
- 2025Thought Anchors: Which LLM Reasoning Steps Matter?cited by 147
- 2023How do Language Models Bind Entities in Context?cited by 124
- 2023Is This the Subspace You Are Looking for? An Interpretability Illusion for Subspace Activation Patchingcited by 105
- 2023Entity Tracking in Language Modelscited by 53
- 2025(How) Do Language Models Track State?cited by 39
- 2023Learning to Reason and Memorize with Self-Notescited by 31
- 2025Thought Branches: Interpreting LLM Reasoning Requires Resamplingcited by 17
- 2026Quantifying the Necessity of Chain of Thought through Opaque Serial Depthcited by 11
- 2026Post-Hoc Reasoning in Chain of Thought: Decoding and Steering Pre-Committed Answerscited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Testing the Planning Claims of LLM-Based Agents against Formal Semantics
- 2026Noticing the Watcher: LLM Agents Can Infer CoT Monitoring from Blocking Feedback
- 2024Latent State Estimation Helps UI Agents to Reason
- 2026Many Steps into One: Reasoning Contraction and the Limits of Safe Memory Reuse for LLM Agents
- 2026How Strongly Should Task State Influence an LLM Agent?
- 2026Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents
- 2026Plans Don't Persist: Why Context Management Is Load Bearing for LLM Agents
- 2026Track, Rank, Crack: Epistemic Working Memory Scales Multi-Hop Reasoning in Language Agents