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

2026-08-17Artificial Intelligence

Artificial IntelligenceMultiagent SystemsSocial and Information Networks
AI summary

The authors studied how groups of AI language agents communicate and change their opinions over time. They found that these groups tend to show three types of behavior: ignoring each other, splitting into opposing sides, or agreeing together. When discussing clear facts, the agents get better at finding the right answers, but with subjective topics like politics, opinions can shift in one direction. The authors created a mathematical model that predicts how these opinion changes happen and explains why groups usually build strong beliefs and mostly agree. This work helps understand how AI agents interact in complex systems.

AI agentsmulti-agent systemscollective behavioropinion dynamicspolarizationconsensusstatistical mechanicssocial pressuremathematical modelinglanguage models
Authors
Batu El, Jinhee Paeng, Fatih Dinc, Shiye Su, Mete Erdogan, Aneesh Pappu, Haotian Ye, Wanjia Zhao, Surya Ganguli, James Zou
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.