arXiv:2610.11008physics.soc-phOct 2026

Manuscript Offprint

arXiv:2610.11008

Why LLM Agents Favor Their Group: Stakes, Observed Norms, and Reputation

Yujiao Chen

Abstract

Language-model agents favor their own group because they have watched their members favor each other. The group label alone does little once the decision has a cost; what drives favoritism is the behavior the agent has observed, and an individual's own record can override it. We reach this conclusion by placing agents in small societies with arbitrary group labels, letting them play ten rounds of a point-sharing game, and then testing each agent in one-shot decisions that differ in exactly one respect, across fifteen OpenAI models and three Claude models, about 4,400 societies and 3.3 million audited model calls. First, the large effect of a bare group label reported in earlier work appears only when giving others points costs the agent nothing, as in every published minimal-group study of LLMs; once the agent can keep points for itself, that effect collapses on every model that shows it. Second, under a stake the history of interaction becomes the main source of favoritism: the history effect is statistically positive on 13 of 15 models and reaches about 3.5–8 points out of 10 on 11 of them; it grows with the number of rounds played and extends to labeled strangers the agent has never met. Third, with scripted histories whose content we control, favoritism falls to near zero under an egalitarian norm and reverses when the agent's own group is seen favoring the other side, on all fifteen models, and the stronger models side with an individual's record when it conflicts with the group. Group favoritism in these agents is conformity to observed group behavior, carried to strangers by the label and overridden by individual reputation. The same account predicts how agents react to betrayal, to a member's scandal and to a free offer to change group: a public reprimand by the rest of the group repairs betrayal better than apology or restitution, allocation punishment remains confined to the offending member, and a formed group cannot be bought but can, on weaker models, be invited away.

1 Introduction

Populations of language-model agents are now used to simulate markets, elections, online communities and organizations, and one of the first things such populations are reported to do is take sides. Agents sorted into arbitrarily labeled groups favor the in-group in a single allocation [23, 24]; and agents that interact repeatedly under visible labels come to trust their own group more, which builds up into lasting inequality [22, 36]. The natural reading is that something like a social identity forms and drives behavior. Two lines of work cast doubt on that reading. LLM allocations in hypothetical games, where giving costs nothing, are far more generous than human ones and depend on the prompt [12, 26, 28], and a systematic audit finds that most reported collective effects in LLM societies vanish or reverse once proper controls are added [6, 38].

Preprint.

This paper separates three things that earlier designs mix together: what the label in the prompt contributes, what the history of interaction contributes, and the mechanism that turns history into behavior. Our instrument is a minimal-group society [34]: eight agents in two arbitrarily named groups play ten rounds of point allocation. Each agent then faces a set of one-shot decisions in matched conditions: with or without history, with or without a visible label, toward familiar members or labeled strangers, under aliases that prevent recognition, or under a scripted history whose content we control exactly. We run this on fifteen OpenAI models, from gpt-4.1-nano to the current flagship and two reasoning models, and we repeat the six tests that carry the argument on three Claude models.

Our first finding concerns the cue effect in the costless task. Like every published minimal-group study of LLMs we could find, the original version of our task imposed no cost on the decider: the agent split ten points between an in-group and an out-group peer and kept none. In this setting, a bare group label alone produces 6–9 points of favoritism, while ten rounds of shared history add almost nothing. This large apparent group effect is therefore largely a property of the costless allocation task. When agents are instead allowed to keep points, the label effect falls across all twelve models that exhibit one, from a median of about 6 points to about 2.

Our second finding concerns the history effect once allocation becomes costly. In the stake task, where giving points requires forgoing them, the label alone produces only about 2 points of in-group favoritism out of 10; we call this the cue effect. History then becomes consequential: its effect grows steadily as agents interact for more rounds, from 0 to 20, and eventually levels off at a model-specific plateau. Across 11 of 15 models, this history effect reaches about 3.5–8 points. It also generalizes beyond the specific interaction partners to strangers who carry the same group label but never appear in the shared history.

The third finding is the mechanism. With scripted histories, favoritism is ≈\approx0 under an egalitarian norm and negative under a counter-norm on all fifteen models: agents do what they have watched their group do. When an in-group candidate has personally been stingy and an out-group candidate generous, eleven models side with the individual against the category and the four smallest side with the category. In our task, behavior attributed to emergent group identity is better explained by conformity to observed behavior, extended to strangers by the label, and overridden by individual reputation where the model can track it.

If favoritism really is norm conformity, it should predict how agents behave in situations it was not derived from. Sections 7–9 test three such situations, none of which, as far as we know, has been studied with LLM agents before: persecution by one's own group, with a costly option to leave and four ways to repair the breach; a group member's success or disgrace (reflected glory and shame), with costly actions to display the group badge or to disavow the member; and unequal group wealth with a free, real option to change group. The predictions mostly hold. Betrayal is repaired by the group's own norm signal, not by the perpetrators' apology; a member's fortune changes what agents say, and what they pay to say, but not how they treat the rest of the group; and a formed group cannot be bought: members do not leave on their own to join a richer group, even when the move is free, though on the weaker models many do join when the richer group invites them first.

References (37)