Tabula rasa agents display emergent in-group behavior

Raphaël Koster, Edgar A. Duéñez‐Guzmán, William A. Cunningham, Joel Z. LeiboProceedings of the National Academy of Sciences 2025 · DOI

TL;DR

This paper demonstrates that artificial agents, starting as "blank slates," can develop in-group biases solely from arbitrary visual differences and learning experiences, without any pre-programmed social biases. This work suggests that complex social phenomena like group favoritism can emerge from fundamental cognitive processes like familiarity and reward association, and importantly, these biases can be overcome with sufficient positive intergroup experiences.

What Problem Does This Paper Address?

The paper tackles a long-standing debate in social psychology: whether in-group bias is an innate, evolved predisposition or an emergent property of general cognitive mechanisms. Traditional studies with humans are confounded by their rich, lifelong experiences with social groups, making it difficult to isolate the true origins of bias. The authors aim to disentangle these factors by using AI agents as a controlled experimental platform, allowing them to manipulate an agent's "lifetime of experience" from a true "tabula rasa" state.

Methods

The core of the methodology lies in using multiagent deep reinforcement learning (DRL). Specifically, they employ agents that learn to maximize their rewards by processing raw visual input (pixels) and taking actions in a simulated environment. This approach is novel because it allows for:

  • "Tabula Rasa" Agents: Agents start with random neural network weights, meaning they have no pre-existing knowledge or biases about social groups.
  • Controlled Experience: The researchers can precisely control the agents' interactions and the environment's structure, thereby dictating the agents' learning experiences.
  • Generic Learning Architecture: The agents use a standard DRL architecture (convolutional neural networks for visual processing, followed by an MLP and LSTM) that learns from reward signals, mimicking fundamental cognitive processes like perception, learning, and decision-making.

The agents participate in a coordination game where they collect resources and interact with each other. The "group bias" is measured through a separate "probe" environment where agents choose to interact with red or blue sprites, with no inherent reward difference between them.

Datasets

The paper does not use pre-existing datasets for training. Instead, it generates its own data through simulations of the described multiagent reinforcement learning environment. The agents learn from their own simulated experiences.

Key Insights and Ideas

  • Emergent Bias from Familiarity: The most striking finding is that agents develop a preference for interacting with agents of the same arbitrary color (e.g., red agents preferring red agents) purely based on differential exposure and association with reward. This suggests that simple familiarity can be a powerful driver of in-group bias.
  • Bias is Not Static: The learned bias is not fixed. While it emerges early in training, it can be significantly reduced and eventually overcome with sufficient positive intergroup experiences. This highlights the plasticity of learned biases.
  • Perceptual Similarity Matters: The degree of visual similarity between groups influences the strength of the bias. When groups are more visually distinct, the bias is stronger.
  • Interaction Quality is Crucial: Simply seeing other agents is not enough to overcome bias. Positive and rewarding interactions are necessary for unlearning the bias. Environments that structurally encourage or discourage intergroup interaction have a significant impact.
  • Individuation Reduces Bias: The ability to individuate members of an out-group (i.e., distinguish them as individuals rather than treating them as a homogenous group) is inversely related to the strength of the in-group bias. Difficulty in individuation, especially for out-group members, exacerbates bias.

Key Results

  • Significant In-Group Interaction: Agents showed significantly more interactions with agents of their own color in the "majority on majority" and "minority on minority" settings compared to "mixed" interactions (p < 0.001).
  • Bias in Probe Trials: In the dual-choice evaluation, agents of both colors exhibited a bias towards interacting with agents of their own color, which decayed over time.
  • Effect of Exposure Ratio: When agents had 100% of their interactions within their own group, the group bias was maximal. As the proportion of out-group interactions increased on the mixed server, the group bias declined.
  • Perceptual Similarity Impact: Reducing the RGB distance (visual similarity) between group colors significantly reduced the group bias (F(4, 50) = 59.96, P < 0.001).
  • Environmental Structure: When agents were separated by a wall (preventing interaction), group bias was maximal. Conversely, when the environment structure strongly encouraged intergroup interaction (7 out of 8 cells), group bias was nonexistent.
  • Individuation Correlation: The difference in the ability to individuate a harmful out-group member correlated with the magnitude of group bias (r = 0.63, P = 0.021 for easier condition; r = 0.58, P = 0.038 for harder condition).

Limitations and Future Work

  • Minimal Environment: The study uses a highly simplified environment with arbitrary group distinctions (color). While this is key to isolating mechanisms, it doesn't capture the complexity of real-world social dynamics, which involve multiple intersecting identities, cultural factors, and more nuanced motivations.
  • No Intrinsic Motivation: The agents lack innate motivational systems (like self-esteem maintenance or coalitional instincts) that are hypothesized to drive bias in humans. Future work could explore how these intrinsic motivations interact with experience-driven learning.
  • Unlearning Takes Longer: The paper notes that unlearning the bias takes longer than acquiring it, suggesting a degree of inertia in learned biases.
  • Future Directions: The authors suggest exploring the interplay of innate motivational factors with experience-driven learning, as well as feedback loops in social interactions. They also propose using this framework to test large-scale interventions for ameliorating group bias and developing theories on how to foster group harmony.

Summary updated

Abstract

Theories on group-bias often posit an internal preparedness to bias one's cognition to favor the in-group (often envisioned as a product of evolution). In contrast, other theories suggest that group-biases can emerge from nonspecialized cognitive processes. These perspectives have historically been difficult to disambiguate given that observed behavior can often be attributed to innate processes, even when groups are experimentally assigned. Here, we use modern techniques from the field of AI that allow us to ask what group biases can be expected from a learning agent that is a pure blank slate without any intrinsic social biases, and whose lifetime of experiences can be tightly controlled. This is possible because deep reinforcement-learning agents learn to convert raw sensory input (i.e. pixels) to reward-driven action, a unique feature among cognitive models. We find that blank slate agents do develop group biases based on arbitrary group differences (i.e. color). We show that the bias develops as a result of familiarity of experience and depends on the visual patterns becoming associated with reward through interaction. The bias artificial agents display is not a static reflection of the bias in their stream of experiences. In this minimal environment, the bias can be overcome given enough positive experiences, although unlearning the bias takes longer than acquiring it. Further, we show how this style of tabula rasa group behavior model can be used to test fine-grained predictions of psychological theories.
BibTeX
@inproceedings{koster2025tabula,
  author = {Raphaël Koster and Edgar A. Duéñez‐Guzmán and William A. Cunningham and Joel Z. Leibo},
  title = {{Tabula rasa agents display emergent in-group behavior}},
  booktitle = {Proceedings of the National Academy of Sciences},
  year = {2025},
  doi = {10.1073/pnas.2319947121},
}

Loading related content...

Figure