Physics of Agents: Statistical Mechanics Predicts Collective Behavior of AI Agents
AuthorsBatu El, Jinhee Paeng, Fatih Dinc, Shiye Su, Mete Erdogan, Aneesh Pappu, Haotian Ye, Wanjia Zhao, Surya Ganguli, James Zou
Resources
A physics-inspired model predicts when groups of AI agents will reach consensus, polarize, or become indifferent—and how their interactions affect truth and political opinions.
Key results
Communities analyzed across models, questions, graphs, and episodes.
Standard population size used in the simulations.
Opinion and message exchanges per community trajectory.
Maximum balanced accuracy achieved by the three-coupling model.
Maximum rollout balanced accuracy reported for the three-coupling model.
What the paper found
This study models collective behavior in language-model communities as an Ising system with Glauber-style stochastic updates. Across 9,600 core communities of 32 agents interacting for 8 rounds, it evaluates objective problems from the MATH dataset and subjective political statements from the Political Questions Dataset for LLM Bias Evaluation, using agents based on OpenAI’s GPT-4o-mini, Gemma-3n-E4B, Qwen3.5-9B, and Meta’s Llama-3.1-8B-Instruct; Anthropic’s Claude 4.8 Opus helps generate mathematical distractors. Communities typically move from indifference toward either consensus or polarization: social interaction improves collective performance on verifiable questions, but drives a rightward ideological shift on subjective statements in three of the four models. The proposed three-coupling model separates concordant, discordant, and unsigned network effects, while intrinsic fields encode persona and question bias. Fitted with gradient descent on opinion transitions, it generalizes to unseen communication graphs, achieving 85.0% to 97.8% one-step balanced accuracy and 59.7% to 89.3% rollout accuracy, outperforming persistence, interaction-free, and mean-field baselines. The inferred mechanics place communities below their critical social temperature, explaining conviction buildup; concordant ties are stronger than discordant ties, favoring consensus; and agents holding correct answers exert greater influence, accounting for truth-seeking. The paper’s central contribution is a compact, interpretable dynamical law that predicts both individual opinion trajectories and aggregate collective regimes without reproducing every natural-language message.
Original abstract
AI agents increasingly operate as part of interacting systems rather than in isolation. As agents exchange information and jointly make decisions, their interactions can improve collective reasoning but may also produce herding, polarization, or amplify shared biases. Understanding and predicting these collective dynamics is therefore important for designing effective and aligned multi-agent systems. Here, we study over 10,000 communities of language-model agents that repeatedly exchange messages and revise their opinions across objective mathematics questions and subjective political statements. Despite substantial diversity in possible behavior, the individual and group dynamics can be represented by three characteristic regimes: indifference, polarization, and consensus. AI agents start indifferent and build conviction as they interact. On objective questions, communication improves collective accuracy, while on subjective questions it often drifts group opinions toward the right in the political spectrum. We explain these observations with a statistical-mechanics formalism in which agents stochastically favor lower social pressure. Given only initial opinions, our model predicts individual trajectories, outperforms all standard baselines, generalizes to unseen community graphs, and reproduces the observed group archetype distributions. Our fitted model parameters reveal the mechanics underlying our key observations: i) communities operate below the critical social temperature, which explains conviction buildup; ii) attractive ties outweigh repulsive ones, which favors consensus; and iii) agents holding the correct answer exert the strongest pull, which drives truth-seeking. Overall, our results demonstrate that collective behavior of AI agents, like that of other complex systems, follows compact and predictive dynamical laws.
Read the original paperMore in AI Agents
Browse all 56 papers →LEGO-Anything: Coding Agents for 3D Scene Reconstruction
Xirui Li, Peng Shi, Mingwen Dong, Sheng Zhang, Zhuoyan Xu, Dongkyu Lee, Shuaichen Chang, Yi Xiang, Lin Pan, Jiarong Jiang
LEGO-Anything turns images into editable Blender programs through iterative coding agents, offering a promising but still imperfect route to reconstructable 3D worlds.
MILO: Automated Harness Discovery via Orchestrated Multi-Agent Evolution
Prithwish Jana, Mononito Goswami, Hao Liu, Xinyu Li, Langlin Huang, Zhehui Huang, Zhishen Huang, Patrick Blöbaum, Anoop Deoras, Purak Jain, Nikos Kanakaris, Sahika Genc
MILO uses teams of evolving AI agents to automatically discover better harnesses for long-horizon problem-solving systems.
Self-Organizing Agent Teams Learn to Reason Together
Aneesh Pappu, Mirac Suzgun, Yongchan Kwon, Federico Bianchi, Batu El, Mykel J. Kochenderfer, Hancheng Cao, James Zou
This work trains AI agents to discover how to divide labor, challenge ideas, and combine reasoning so that teams can solve problems no individual agent could solve alone.