arXiv(opens in a new tab)physics.soc-phOct 2026

Manuscript Offprint

arXiv:2610.31165

Network topology shapes consensus and vulnerability in LLM populations

Roberto Passaro, Ariel Flint, Romualdo Pastor-Satorras, Andrea Baronchelli, Luca Maria Aiello

Abstract

As large language models (LLMs) are deployed in interacting populations, their collective behaviour depends not only on the models but also on who interacts with whom. Studies of convention formation in LLM populations have mainly tested well-mixed interactions. We place policies extracted from four LLMs on fully connected, random regular, and heterogeneous networks, with 10310^{3} to 10510^{5} agents playing the naming game. Topology affects how quickly consensus emerges, sometimes whether it emerges at all, and, in rare cases, which convention wins. Sparsest networks slow consensus up to twelvefold. Yet, by preserving correlations between persistent neighbours, they restore consensus in some cases that fail to converge under well-mixed interactions. Networks also govern vulnerability to adversarial attack. We measure the critical mass of committed agents needed to overturn an established convention. Tipping thresholds follow the same ordering across models and conditions: hubs ≤\leq random ≤\leq low-degree nodes. On the most heterogeneous topology, median critical masses are 3%, 16%, and 35%, respectively; targeting hubs requires one-sixth as many committed agents as random placement. For most models, networked populations are easier to tip than well-mixed ones, so well-mixed estimates can overstate robustness. Assessing the safety of multi-agent AI requires mapping who interacts with whom.

Keywords: large language models; multi-agent systems; naming game; social conventions; consensus dynamics; complex networks; committed minorities; AI safety

1 Introduction

AI agents are moving from isolated tools to interacting populations [1, 2]. Multi-agent systems based on large language models (LLMs) already operate in finance [3, 4], defence [5], social media [6], and personal assistance [7]. The collective behaviour of these populations is becoming directly observable at multiple scales. In Emergence World, a continuously running multi-agent environment, groups of dozens of agents have been observed cooperating to create and maintain shared institutions [8]. In July 2026, about 1200 agents at OpenAI exchanged more than 70 000 messages and files and coordinated collective projects to tamper with the scorer of the benchmark they were working on, resulting in a successful cyberattack on Hugging Face's digital infrastructure [9]. On Moltbook, an agent-only social platform, hundreds of thousands of agents organise into communities with a highly hierarchical interaction structure [10, 11].

Many interactions in these systems aim to reach agreement on conventions: shared behaviours that help achieve common goals without a central coordinating authority [12, 13, 14, 15]. The centrality of conventions has motivated experimental work on their emergence in AI multi-agent systems, often based on minimal models that capture the core coordination mechanisms. One such model is the naming game, in which pairs of agents try to coordinate on a name [16]. Theoretical studies [17, 18, 19] and laboratory experiments with humans [20, 21, 22, 23] have shown that, in the naming game, conventions can emerge spontaneously from repeated local interactions.

Recent simulations with populations of LLM-based agents have revealed similar patterns. AI agents playing the naming game can reach global conventions through local interactions, although these interactions can produce collective biases absent in individual agents [24]. The strength and form of these biases vary with population size in nonlinear, model-dependent ways [25]. Established conventions can also be overturned. A committed minority, a group of agents that always promote an alternative, can tip the whole population once it exceeds a critical fraction [26, 21]. This critical mass is key to the stability of these systems because it measures a social attack surface: the number of adversarial agents needed to overturn a convention a population has already settled on [27]. Critical mass has been measured at 25% in experiments with human groups [21], ranges from 10% to 40% in theoretical models depending on their assumptions [26, 28], and spans 2% to 67% in AI populations depending on the underlying LLM [24].

All these studies of coordination in AI multi-agent systems share one simplification: the population is well mixed, so every agent can interact with every other [24, 25, 27]. This is rarely true in real-world deployments, where the communication network among agents can be shaped by top-down architectural design [29], adaptive partner discovery to optimise task delegation [30], and uneven activity levels across agents [10].

In the classical naming game, interaction structure has well-known effects. On low-dimensional lattices, consensus proceeds through the slow coarsening of local domains [31]. On heterogeneous networks, high-degree nodes act as spreaders of conventions [32], and on sparse random networks the tipping point shifts [33]. In human experiments, a global convention emerged in homogeneously mixing populations but not on one-dimensional lattices or random networks of degree 4 [20]. LLM-derived policies, however, are biased, rely on bounded memory, and exhibit asymmetric critical masses and mixed states absent from the classical model [24, 25]. To our knowledge, networked LLM populations playing the naming game have been studied only in groups of 16 agents [34], and the critical mass of an LLM population has never been measured on a network.

Here, we study how network topology shapes the formation of conventions in LLM populations and their robustness to committed minorities. We use the policies extracted from four LLMs by Flint et al. [25], which allow simulations of up to 10510^{5} agents. We place them on four topologies: a fully connected network, equivalent to the well-mixed setting; two uncorrelated networks with power-law degree distributions [35], one heterogeneous and one nearly homogeneous; and a random regular network. We find that networks change how fast consensus is reached and, for some word pairs, which convention wins and whether it is reached at all. For three of the four models, the fully connected network is the fastest and the random regular network the slowest. In two cases, the networks with the lowest mean degree also reverse which convention wins. Networks homogeneous and low average degree restore restore consensus for one of the two word pairs that fail to converge when well-mixed, requiring the presence of dynamical correlations between neighbouring agents.

Hubs reach a given level of coordination earlier than low-degree nodes, spreading the consensus to the rest of the network. Yet they are the cheapest place from which to overturn a convention. In every condition we tested, the critical fraction is lowest when the committed agents occupy the hubs and highest when they occupy the low-degree nodes. Overall, our work extends the study of LLM populations from well-mixed to networked settings, and identifies the structure of interactions as a key factor in how the collective behaviour of multi-agent AI systems emerges and how it can be exposed to adversarial attack.

References (48)