A Statistical Physics of Language Model Reasoning

Jack David Carson, Amir Reisizadeh
6/4/2025
cs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Transformer LMs show emergent reasoning that resists mechanistic understanding. We offer a statistical physics framework for continuous-time chain-of-thought reasoning dynamics. We model sentence-level hidden state trajectories as a stochastic dynamical system on a lower-dimensional manifold. This drift-diffusion system uses latent regime switching to capture diverse reasoning phases, including misaligned states or failures. Empirical trajectories (8 models, 7 benchmarks) show a rank-40 projection (balancing variance capture and feasibility) explains ~50% variance. We find four latent reasoning regimes. An SLDS model is formulated and validated to capture these features. The framework enables low-cost reasoning simulation, offering tools to study and predict critical transitions like misaligned states or other LM failures.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carson2025statistical,
  title  = {A Statistical Physics of Language Model Reasoning},
  author = {Jack David Carson and Amir Reisizadeh},
  year   = {2025},
  eprint = {2506.04374},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.04374v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.04374.svg)](https://codeofpaper.com/paper/2506.04374)

Discussion