mlsanityData to 14 Oct 2026

Momentum Point-Perplexity Mechanics in Large Language Models

arXiv 2508.08492 ↗First posted 11 Aug 2025cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

We take a physics-based approach to studying how the internal hidden states of large language models change from token to token during inference. Across 20 open-source transformer models (135M-3B parameters), we find that a quantity combining the rate of change in hidden states and the model's next-token certainty, analogous to energy in physics, remains nearly constant. Random-weight models conserve this "energy" more tightly than pre-trained ones, while training shifts models into a faster, more decisive regime with greater variability. Using this "log-Lagrangian" view, we derive a control method called Jacobian steering, which perturbs hidden states in the minimal way needed to favor a target token. This approach maintained near-constant energy in two tested models and produced continuations rated higher in semantic quality than the models' natural outputs. Viewing transformers through this mechanics lens offers a principled basis for interpretability, anomaly detection, and low-risk steering. This could help make powerful models more predictable and aligned with human intent.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 13 references that are in the map. First posted on arXiv 11 Aug 2025.

Builds on

7 of 13 references.

References · 7

  1. 2017Deep reinforcement learning from human preferencescited by 3,912
  2. 2018Neural Ordinary Differential Equationscited by 3,779
  3. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  4. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  5. 2019Hamiltonian Neural Networkscited by 712
  6. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  7. 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Modelscited by 23

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.