mlsanityData to 14 Oct 2026

Scaling Laws for State Dynamics in Large Language Models

arXiv 2505.14892 ↗First posted 20 May 2025cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are increasingly used in tasks requiring internal state tracking, yet their ability to model state transition dynamics remains poorly understood. We evaluate how well LLMs capture deterministic state dynamics across 3 domains: Box Tracking, Abstract DFA Sequences, and Complex Text Games, each formalizable as a finite-state system. Across tasks, we find that next-state prediction accuracy degrades with increasing state-space size and sparse transitions. GPT-2 XL reaches about 70% accuracy in low-complexity settings but drops below 30% when the number of boxes or states exceeds 5 or 10, respectively. In DFA tasks, Pythia-1B fails to exceed 50% accuracy when the number of states is > 10 and transitions are < 30. Through activation patching, we identify attention heads responsible for propagating state information: GPT-2 XL Layer 22 Head 20, and Pythia-1B Heads at Layers 10, 11, 12, and 14. While these heads successfully move relevant state features, action information is not reliably routed to the final token, indicating weak joint state-action reasoning. Our results suggest that state tracking in LLMs emerges from distributed interactions of next-token heads rather than explicit symbolic computation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 20 May 2025.

Builds on

17 of 27 references.

References · 17

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2022Emergent Abilities of Large Language Modelscited by 2,512
  3. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  4. 2018World Modelscited by 1,513
  5. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
  6. 2018Learning Latent Dynamics for Planning from Pixelscited by 1,264
  7. 2023Mastering Diverse Domains through World Modelscited by 1,253
  8. 2023Reasoning with Language Model is Planning with World Modelcited by 861
  9. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
  10. 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
  11. 2023On the Planning Abilities of Large Language Models : A Critical Investigationcited by 312
  12. 2024Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity Trackingcited by 149
5 more
  1. 2023Generalized Planning in PDDL Domains with Pretrained Large Language Modelscited by 139
  2. 2023Explicit Planning Helps Language Models in Logical Reasoningcited by 12
  3. 2013Selecting the State-Representation in Reinforcement Learningcited by 6
  4. 2021Feature-Based Interpretable Reinforcement Learning based on State-Transition Modelscited by 6
  5. 2023Towards a Better Understanding of Representation Dynamics under TD-learningcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Exploring State Tracking Capabilities of Large Language Models
  2. 2025On the Limits of Innate Planning in Large Language Models
  3. 2025On the Failure of Latent State Persistence in Large Language Models
  4. 2026Dissecting Failure Dynamics in Large Language Model Reasoning
  5. 2026State Rank Dynamics in Linear Attention LLMs
  6. 2025Tracking World States with Language Models: State-Based Evaluation Using Chess
  7. 2026Spatiotemporal Hidden-State Dynamics as a Signature of Internal Reasoning in Large Language Models
  8. 2026Rethinking State Tracking in Recurrent Models Through Error Control Dynamics