arXiv:2610.22701cs.MAOct 2026

Manuscript Offprint

arXiv:2610.22701

Emergent Discrimination and Polarization in Multi-Agent Systems

Nestor Caticha, João Henrique Sant'Ana, Felippe Alves, Davi Bastos Costa, Mariana Mercucci, Juan P. Neirotti, Otavio Citton, Renato Vicente

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We study theoretically how discrimination and polarization can emerge in a population of learning agents. Each agent uses an adaptive linear decision layer to map a language-model embedding of an issue to a binary opinion and maintains an evolving estimate of how much it trusts every other agent. Through pairwise interactions, agents update both their decision weights and trust estimates using an online Bayesian rule derived from teacher–student learning over a noisy channel. In-context-learning experiments with large language models qualitatively reproduce the predicted opinion and trust updates. We then assign each agent one of two arbitrary group labels, A or B, and model group bias by allowing a fraction fbf_b of agents to shift its perceived agreement with each message by a strength b, a bias steering prejudice, depending on whether the sender and receiver share a label. We use order parameters from statistical mechanics to connect these local dynamics to collective states and transitions. Starting from uniformly random initial conditions, simulations reveal a rich phase diagram in the (b,fb)(b, f_b) plane, comprising four collective states: spin-glass frustrated out-group favoritism, nondiscriminatory polarization, discrimination with opinion alignment, and discrimination without opinion alignment. Which state emerges depends on both the strength and prevalence of the bias. These results show how simple local learning dynamics can generate qualitatively distinct forms of polarization and discrimination, underscoring the need for population-level safety analysis of multi-agent systems. They also suggest measurable order parameters for characterizing analogous collective states in human societies.

1 INTRODUCTION

Multi-agent systems can exhibit behavior that is absent when their constituent agents are evaluated in isolation. In July 2026, agents undergoing cybersecurity evaluation at OpenAI coordinated an unauthorized intrusion into Hugging Face's infrastructure. Although assigned to separate tasks, they used shared infrastructure as a message board, exchanged discoveries, divided labor, and adopted goals from one another, at times describing themselves as “collective” (OpenAI, 2026; Larcher et al., 2026). The incident illustrates a general problem for multi-agent safety: interactions can create population-level behavior that no individual-agent evaluation reveals. Here we study one instance of this problem: how repeated interactions among learning agents generate polarization and discrimination.

*Corresponding author: ncaticha@usp.br

Figure

— class A — class B ● biased ○ class-blind

Figure 1: Four collective states and representative populations. Left: the phase diagram in the space of bias strength b and the fraction fbf_b of biased agents, obtained from societies of N=100N = 100 agents by averaging two realizations at each point of a 300×300300 \times 300 grid. In (I) out-group favoritism leads to a frustrated, in the sense of spin glass, structure of trust relations and opinions. In (II), polarization, opinion and trust form two camps unrelated to class. In (IIIa), both trust and opinion are highly correlated with class; in (IIIb), b is so high that irrespective of opinion, trust and class are correlated. Right: one representative N=100N = 100 population from each phase. Each arrow is an agent's opinion (top) or outgoing trust profile (bottom), projected onto two dimensions. Color denotes class and filled markers denote biased agents. Formal definitions and the full phase analysis are given in Section 4.2.

We address this question by extending the society-of-neural-networks framework (Caticha & Vicente, 2011; Alves & Caticha, 2016; 2021). A population discusses a shared agenda of issues posed as yes/no questions. The embedded questions are linearly separated by a final layer into a binary opinion. Agents also maintain a dynamical estimate of the distrust attributed to every other agent. During each pairwise interaction, a receiver updates both its opinion weights and its distrust in the emitter using an online Maximum Entropy algorithm derived for a student learning from a teacher through a noisy channel (Opper, 1996; Caticha, 2020).

The perceptron serves as an effective linear opinion readout acting on issue representations that may be produced by a large language model. We test this connection in two in-context-learning experiments and find that a language model qualitatively reproduces the predicted opinion and trust updates, up to one fitted scale for each experiment. In the next step of this study, we assign every agent to one of two arbitrary group labels or classes, which contain no information about the issues. This allows to introduce prejudice at the single agent level. A fraction fbf_{b} of agents, when acting as receivers, shift its perceived agreement with each message by a strength b according to whether the emitter shares or not the receiver's label. Prejudice is introduced as differential tolerance to agents based on the basis of class membership.

To study discrimination, the collective manifestation of agent-level prejudice, we define three order parameters that describe the correlations of pairwise opinion alignment, trust, and group membership. Starting from random initial conditions, the simulations reveal four collective states (Figure 1): nondiscriminatory polarization, discrimination with opinion alignment, discrimination without opinion alignment, and a frustrated state driven by out-group favoritism. Which state emerges depends jointly on the strength and prevalence of the bias.

Our contribution is to connect three levels of analysis: a Bayesian derived rule for local opinion and trust updates, its qualitative correspondence with in-context learning in a language model, and the collective states produced when many agents repeatedly apply that rule. This connection exposes a population-level safety gap, discussed in Section 5 and summarized in Section 6: an isolated-agent audit may detect bias, but it cannot reveal whether interaction will organize the population into simple ideological polarization, class correlated polarization, i.e. discrimination, or frustration.