Physics of Agents: Statistical Mechanics Predicts Collective Behavior of AI Agents

Batu El, Jinhee Paeng, Fatih Dinc, Shiye Su, Mete Erdogan, Aneesh Pappu, Haotian Ye, Wanjia Zhao, Surya Ganguli, James ZouarXiv 2026

TL;DR

As multi-agent AI systems become standard for complex tasks like scientific discovery and coding, predicting their collective behavior is crucial. This paper demonstrates that communities of interacting language-model agents follow compact dynamical laws that can be accurately predicted using statistical mechanics. By mapping agent interactions to the classic Ising model, the researchers successfully forecast individual opinion trajectories, group consensus, and polarization across thousands of agent communities.

What Problem Does This Paper Address?

When multiple AI agents interact—exchanging messages, debating, and refining decisions—they often achieve better results than a single agent operating in isolation. However, these interactions can also lead to unintended collective phenomena like herding, polarization, or the amplification of shared biases.

Currently, understanding how a multi-agent network will evolve requires running computationally expensive, full-scale simulations. This paper addresses the lack of a compact, predictive framework capable of forecasting collective multi-agent dynamics given only the agents' initial opinions and the communication network structure.

Methods

The authors introduce a theoretical framework that maps multi-agent opinion dynamics to the Ising model from statistical mechanics, traditionally used to describe ferromagnetism.

In this setup:

  • Each agent's opinion is treated as a binary variable ($+1$ or $-1$).
  • The evolution of an agent's opinion is governed by two forces: an intrinsic field (the agent's persona-based predisposition) and social pressure (the influence of neighboring agents in the network).
  • Opinions are updated stochastically using Glauber-style dynamics to minimize total social pressure.

To capture the nuances of LLM interactions, the authors extend the standard Ising model into a three-coupling model that separately parameterizes:

  1. The baseline effect of simply having a connection ($\beta_0$).
  2. The attractive pull of friendly/concordant ties ($\beta^+$).
  3. The repulsive push of unfriendly/discordant ties ($\beta^-$).

They also evaluate a continuous-time extension using a mean-field ordinary differential equation (ODE) to model asynchronous agent updates.

Datasets

The authors simulated approximately 10,000 agent communities using four open-weight and frontier language models (GPT-4o-mini, Gemma-3n-E4B-it, Qwen3.5-9B, and Llama-3.1-8B-Instruct). They tested these communities across two distinct task types:

  • Objective Questions: Competition mathematics problems from the MATH dataset, recast as binary multiple-choice questions. Agent personas here encoded specific domain expertise by providing them with ground-truth solutions to different math problems.
  • Subjective Questions: Political statements adapted from the Political Questions Dataset for LLM Bias Evaluation. Agent personas consisted of free-text profiles from TWIN-2K-500, describing diverse demographics, political alignments, and personality traits.

Key Insights and Ideas

  • Operating Below Critical Temperature: The fitted model parameters reveal that AI agent communities operate below a "critical social temperature." In physics, this means the system favors order over randomness. For AI agents, this explains the observed "conviction buildup"—agents start relatively indifferent but steadily grow more strongly committed to their positions as they interact.
  • Asymmetry in Social Ties: Attractive (concordant) ties are substantially stronger than repulsive (discordant) ones. Because the push from discordant connections is too weak to keep groups separated, social pressure naturally drives communities toward consensus rather than persistent polarization.
  • The Pull of the Truth: On objective math questions, agents holding the correct answer exert a stronger statistical influence ($\beta^+_T > \beta^+_F$) than those holding incorrect answers. This truth-seeking asymmetry explains why multi-agent communication inherently improves collective accuracy.
  • Ideological Drift: On subjective political questions, interaction does not lead to a neutral balance. Instead, three out of the four models exhibited a systematic "rightward drift" over repeated rounds of discussion, showing that multi-agent dynamics can amplify latent directional biases inherited from the underlying LLMs.

Key Results

  • High Predictive Accuracy: The three-coupling discrete update model significantly outperformed standard baselines (such as purely interaction-free or simple mean-field models), achieving 75–86% one-step balanced accuracy and 61–77% rollout accuracy on held-out test questions.
  • Strong Generalization: The model successfully generalized to entirely unseen communication network families, maintaining high predictive accuracy when tested on low-rank social graphs, square lattices, and triangular lattices.
  • Archetype Reproduction: The statistical physics model accurately reproduced the real-world distribution of individual and group behavioral archetypes, capturing complex group trajectories like Convergence, Majority Switch, and Persistent Split.
Figure 2: Individual Archetypes. Individual trajectories are classified into four distinct archetypes, with the prevalence of archetypes varying across models and between objective and subjective questions. The line plot and the heatmap show individual trajectories (¯oi(0), ¯oi(1), . . . , ¯oi(T)). The table below shows the distribution of individual archetypes across different models (GPT-4o-mini (gpt), Gemma- 3n-E4B-it (gma), Qwen3.5-9B (qwn), and Llama-3.1-8B-Instruct (lma)) for the objective (O) and subjective (S) questions.
Figure 3: Group Archetypes. Group trajectories exhibit five distinct archetypes whose prevalence varies substantially across models and question types. While some groups uninterestingly lock into a persis- tent majority, many others converge, diverge, switch majorities, or remain as a persistently split. The heatmap and line plot demonstrate an example group trajectory belonging to each of the five group archetypes. Row i of the heatmap shows the individual trajectory, (¯oi(0), ¯oi(1), . . . , ¯oi(T)), of ith agent in the group. Column j of the heatmap is a snapshot of the individual opinions at timestep j: (¯o1(j), ¯o2(j), . . . , ¯oN(j)). The line plot shows the trend in net opinion n(t) across timesteps. The table below shows the distribution of group archetypes. O and S indicate objective and subjective questions.

Limitations and Future Work

The authors acknowledge several simplifying assumptions in their current setup:

  1. Binary Simplification: Opinions are compressed into binary choices ($+1 / -1$), and the actual natural-language content of the messages is discarded during the physics modeling phase.
  2. Static Networks: The communication network structure is fixed and symmetric, meaning agents cannot dynamically choose whom to talk to or ignore based on the conversation history.
  3. Markovian Updates: Agents update their opinions based only on their current inbox, lacking a long-term memory of past interactions.

Future Work: The authors propose extending the framework using a Potts-type generalization to handle multi-choice or open-ended vector opinions. They also suggest incorporating message embeddings directly into the local field equations so that the model can react to what a neighbor says, rather than just their binary stance.

Summary updated

BibTeX
@misc{el2026physics,
  author = {Batu El and Jinhee Paeng and Fatih Dinc and Shiye Su and Mete Erdogan and Aneesh Pappu and Haotian Ye and Wanjia Zhao and Surya Ganguli and James Zou},
  title = {{Physics of Agents: Statistical Mechanics Predicts Collective Behavior of AI Agents}},
  year = {2026},
  eprint = {2608.16578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.16578},
}
Figure