Trace as State: Reasoning Traces as Conditional States for Long-Context Transformers
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Transformers process information causally, but long-context reasoning may depend on task state discovered only later. We formalize this mismatch through conditional state update tasks. For causal state update processors, providing the condition first can require exponentially less memory in the worst case than providing it last. Motivated by this principle, we introduce Trace as State. We use collected reasoning traces as a textual proxy for task state and place it before the long-context block on a fresh pass, allowing information derived previously to guide rereading. We conduct extensive experiments on Trace as State and Trace Append, a matched control that uses the same task state proxy but put it after the context. Across three models and three long-context datasets, Trace as State outperforms Trace Append in 26 of 27 reported combinations of model, task, and metric. On GraphWalks Parents, exact match lifts DeepSeek V4 Pro Preview from 29.2% on the initial pass and 43.0% with Trace Appendto 81.8% with Trace as State, and from 66.4% and 83.2% to 100.0% for GLM-5.2. These results show that placing traces before the context can improve long-context reasoning while retaining the causal transformer structure.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 9 of its 39 references that are in the map. First posted on arXiv 2 Sep 2026.
Builds on
9 of 39 references.
Closest ancestors · 2
Same direction, newest first
- 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning2 Jul
- 2025State over Tokens: Characterizing the Role of Reasoning Tokens14 Dec
Other references · 7
- 2025Qwen3 Technical Reportcited by 8,820
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 587
- 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 88
- 2026IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reusecited by 31
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026After the Fix: Transfer of Corrected Agent Experiencecited by 0
- 2026After the Fix: Transfer of Corrected Agent Experience28 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026The Shape of Overthinking: Backtracking Bursts in Long Reasoning Traces
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokens
- 2026TRACES: Tagging Reasoning Steps for Adaptive Cost-Efficient Early-Stopping
- 2026Hidden States as Early Signals: Step-level Trace Evaluation and Pruning for Efficient Test-Time Scaling
- 2026From Explanations to Interventions: Execution-Guided Counterfactual Synthesis in Temporal Graphs
- 2026TRACE: An Evidence-Grounded Benchmark for Safety Evaluation of Large Reasoning Models
- 2026Parsing the Stream: A Live Trace Model for Long-Horizon Agents and Their Observers
- 2026Reasoning Primitives in Hybrid and Non-Hybrid LLMs: Do Architectural Differences Yield Advantages in State-Tracking and Recall?