Potential emergence in LLM agents: a statistical physics perspective

Zhuo-Yang Song, Hua Xing ZhuarXiv 2026

TL;DR

Ever wonder why an LLM agent suddenly "clicks" and starts following a strategy after reinforcement learning? This paper suggests that post-training doesn't just tweak tokens; it carves a physical landscape—a "potential"—into the agent's state space. By borrowing tools from statistical physics, the authors show that training transforms a chaotic "flat" landscape of choices into a structured "valley" that pulls the agent toward high-reward behaviors.

What Problem Does This Paper Address?

We’ve become quite good at training LLM agents using Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). We know the models get "better," but we often lack a quantitative map of how their internal logic changes.

When an agent moves through a task—say, debugging code or planning a scientific experiment—it transitions between different "states" (e.g., "identifying the bug" $\rightarrow$ "proposing a fix"). Why does a model choose one path over another? Why does it sometimes get stuck in "idea basins" where it repeats the same mistake?

Current methods usually look at token-level statistics or human preferences. This paper argues that to truly understand agent behavior, we need to look at the state level and treat the agent like a physical system moving through an energy landscape.

Methods

The authors treat the agent's decision-making process as a Markov process governed by a partition function—a cornerstone of statistical physics.

  1. Defining States: They map unstructured token sequences into a finite set of "agent states" using a parser.
  2. The Potential ($\Phi$): They propose that post-training induces a global "potential" on these states. Think of this as a height map: the agent wants to roll "downhill" toward states with lower potential (which correspond to higher rewards).
  3. The Temperature ($\beta$): In physics, temperature controls randomness. Here, $\beta$ acts as the KL-regularization coefficient. High "temperature" means the agent explores wildly; low "temperature" means it settles into the most rewarded paths.
  4. The Order Parameter ($r$): To measure how "organized" the agent has become, they define an order parameter $r$. If $r \approx 1$, the agent's behavior is perfectly explained by the underlying potential landscape.
Schematic of potential emergence. As training progresses (moving right on the x-axis), the "flat" landscape on the left develops a deep well, guiding the agent's flow.

Datasets

The researchers tested their theory on two custom-designed tasks using the Qwen3.5-9B model family:

  • T1: Safety-Test Selection: An agent must choose the next safety test to run on an AI assistant. It has 8 possible states based on different test attributes.
  • T2: Physics-Reasoning Auditing: An agent audits a multi-step solution to a heat-conduction problem. It moves through 12 checkpoints arranged in a ring.

They also validated the findings across different model sizes (Qwen3.5-4B) and families (Gemma-4-E4B).

Key Insights and Ideas

  • Training as Landscape Gardening: Post-training (via PPO/RL) is mathematically equivalent to "annealing" the model. It progressively strengthens a global potential that wasn't there (or was very weak) in the base model.
  • The "Aha!" Moment in the Data: The authors found that a potential estimated without using any reward information could accurately predict the transition probabilities of the trained model. This suggests the "potential" is a fundamental emergent property of the training process.
  • Reward-Entropy Symmetry: In a beautiful display of physical consistency, the authors showed that as the mean reward increases, the state entropy (the "spread" of choices) must decrease following specific curves predicted by their partition function.
Quantitative evidence of potential strengthening. Panel (b) shows the order parameter $r$ rising as training progresses, indicating the emergence of a clear strategy.

Key Results

  • Predictive Power: The theoretical model's predictions for how transition probabilities would change matched the actual measured changes with high Pearson correlations: 0.76 for the safety task (T1) and 0.89 for the physics task (T2).
  • Order Parameter Rise: In both tasks, the order parameter $r$ increased significantly during training, proving that the models were becoming more "physically" organized over time.
  • Robustness: The trends held true even when changing the "thinking mode" of the model, varying the sampling temperature, or using different prompt variants. This suggests the "potential" is tied to the task logic itself, not just specific wording.
Consistency tests showing how mean reward (top) and state entropy (bottom) follow the theoretical "physics" curves during the training trajectory.

Limitations and Future Work

  • Simplified State Spaces: The states in this study were predefined and relatively simple (8-12 states). Real-world agent tasks might involve thousands of abstract or continuous states.
  • Fixed Representations: The paper focuses on how training organizes transitions within a fixed state space. It doesn't yet explain how the model "discovers" or "forms" these state spaces in the first place during pre-training.
  • Equilibrium Assumption: The partition function approach assumes the system reaches a sort of "equilibrium." However, real-world training is often "out of equilibrium," and capturing those fast, non-linear dynamics remains a challenge for future research.

Summary updated

Abstract

There has been significant recent interest in understanding the behaviour of LLM agents from the perspective of human preferences or corpus statistics. In this paper we propose agent states as intermediate variables through which post-training can be measured and predicted. From a statistical physics perspective, we study the emergence of a global potential which governs the transition of state in LLM agent reasoning. We introduce a partition function to model the ideal KL-regularised transition distribution and track potential structure, mean reward and state entropy. We demonstrate our approach in two Qwen3.5-9B tasks: safety-test selection and physics-reasoning auditing. We observe that the potential structure strengthens during post-training as predicted from our framework, while joint changes in reward and state entropy provide consistency evidence. States thus provide a quantitative description of how post-training organises agent behaviour.
BibTeX
@misc{song2026potential,
  author = {Zhuo-Yang Song and Hua Xing Zhu},
  title = {{Potential emergence in LLM agents: a statistical physics perspective}},
  year = {2026},
  eprint = {2611.27618},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27618},
}
Figure