Physics of Intelligence

Research / Post

How Social Mechanisms Shape the Ecology of AI Personas

A walkthrough of my NeurIPS 2026 paper: How Selection Shapes Diversity in LLM Ecosystems Maya Okawa

November 30, 2026 · Blog Author: Maya Okawa · 9 min read

Watercolor of a branching sea fan on the sea floor, its tips tinted in several colors, a few branches bleached.

This paper aims to understand how LLM populations evolve through their interactions with society. Much of AI safety research focuses on the behavior of individual models. But their behavior and its evolution are shaped by a broader ecology of stakeholders. Frontier AI companies decide which models to develop and release, users choose models based on their preferences, platforms like Copilot and Perplexity shape which models get attention, and policymakers set the rules for how models are used.

In the theory of evolution, natural selection works through differences in reproductive success, making certain traits more or less common over generations.1 We see a similar process in the AI ecosystem, where LLMs, their variants, and agents compete for deployment and use. Below we show the evolutionary tree of Llama variants on Hugging Face. AI companies release base models, which are then fine-tuned, merged, or distilled into new models. And this process repeats over multiple generations. This process resembles biological evolution. But in this case, we can design the rules of evolution.

Biological evolution

Time tree of 363 bird species, Stiller et al. (2024)
363 bird species. Stiller et al. (2024), Fig. 1b, CC BY 4.0

LLM evolution

Llama family on Hugging Face drawn as a time-calibrated fan
Llama family on Hugging Face, Nov 2026
Genetic variationVariationFine-tuning, new data and architectures
Traits passed to offspringHeredityInherited weights and prompts
Differential reproductionSelectionUse and deployment

Left: Evolutionary tree of 363 bird species. Time runs outward from the center, each color represents a major group. Right: Llama family on Hugging Face with 44,109 models. Time runs outward from the release of Llama 2. The colors show the model generations, and the inner ring shows what each model was fine-tuned for.

All three ingredients of evolution are there. Variation: we fine-tune, merge, or distill models to create new variants, some better at math, others at coding or following instructions. Heredity: models inherit weights and traits from their parents and pass them on to the next generation. Selection: some models get copied (e.g., fine-tuned) more than others, while others are forgotten.

Selection as a rule

To understand and predict the trajectory of evolution, we use a mathematical framework based on evolutionary game theory. We consider a population of NN LLM agents (i.e., LLMs, their variants, and agents) that compete for attention and deployment. Each agent ii has a behavioral trait xix_i, the personality that fine-tuning or prompting gave it. We describe the ecosystem by each agent’s exposure pi,tp_{i,t}, its share of attention at time tt; the shares sum to one. At each round, agents receive a fitness score fif_i, based on, for example, user engagement or task performance. The model deployers and platforms then use these scores to allocate future exposure.

The simplest rule lets the scores add up: each round, an agent’s exposure is multiplied by the exponential of its score.

pi,t+1  =  pi,t exp⁡{η fi}∑jpj,t exp⁡{η fj}p_{i,t+1} \;=\; \frac{p_{i,t}\, \exp\{\textcolor{#7a3e8f}{\eta}\, f_i\}}{\sum_j p_{j,t}\, \exp\{\textcolor{#7a3e8f}{\eta}\, f_j\}}

pi,tp_{i,t}: share of exposure of agent ii at time tt
η\eta: selection strength

Here, η\eta is the selection strength. It controls how strongly fitness translates into exposure. With large η\eta, the system becomes more winner-take-all. With small η\eta, exposure changes slowly. This is a design choice. In the small-η\eta limit, we recover the replicator equation from evolutionary game theory.

In the LLM ecosystem, fitness is shaped by both user preferences and the selection rules that deployers design. Platforms and model deployers don’t disclose the exact selection rules, but a simple additive model might look like this.

fi  =  si⏟performance  +  ρ zi⏟routing  +  β log⁡1Npi⏟support  −  λ (1−safetyi)⏟safety penaltyf_i \;=\; \underbrace{s_i}_{\text{performance}} \;+\; \textcolor{#7a3e8f}{\rho}\,\underbrace{z_i}_{\text{routing}} \;+\; \textcolor{#7a3e8f}{\beta}\,\underbrace{\log\frac{1}{N p_i}}_{\text{support}} \;-\; \textcolor{#7a3e8f}{\lambda}\,\underbrace{(1 - \mathrm{safety}_i)}_{\text{safety penalty}}

sis_i: user engagement or task performance
ziz_i: rewards agents that perform particularly well in a given context
log⁡1/(Npi)\log 1/(N p_i): more exposure to underrepresented agents
safetyi\mathrm{safety}_i: penalizes unsafe outputs

By tuning ρ\rho, β\beta, and λ\lambda, deployers can change the selection pressures acting on the population.

Three fates for an ecosystem

The mathematical framework allows us to predict how the population evolves under different selection rules. Taking the Llama family as an example, we can simulate the dynamics and see three distinct regimes. If we increase selection strength (e.g., to 4), one model (Meta-Llama-3-8B-Instruct) and its descendants take over. This is concentration. If we increase routing (e.g., ρ\rho to 2), the fine-tunes for each task grow in their own lineages. This is specialization. And if we increase diversity support (e.g., β\beta to 1), models from smaller lineages get more exposure, allowing many models to coexist. This is coexistence.

01234
1.17
0123
0.00
00.51
0.00
top share – effective number of lineages – leader –

We use the number of times each model was chosen as a parent in its first six months after release as a proxy for fitness. We first fit the parent-selection rule to the recorded parent choices. The fitted value, η=1.17\eta = 1.17, closely reproduces the observed growth of the Llama family tree. In each simulation, we keep Meta’s release dates and their initial reception fixed, along with the number and tasks of new fine-tunes each week. We then replay the timeline, choosing a parent for each new fine-tune from the models available at that point. Colors show model generations, and the inner ring shows what the models are fine-tuned for.

Does it happen for real?

We build a testbed that mimics an AI-native social platform with 96 LLM agents with different personalities. In each round, we pick a random topic, and agents write posts, like, reply to, and follow one another. Some are supportive, others are critical. Some focus on people, others on social structures. Some rely on intuition, others on evidence. They also differ in how much they challenge the consensus and how cautious they are about risky topics. The platform then updates each agent’s exposure based on our selection rule. Agents that attract more engagement (e.g., followers) get more exposure in the next round.

round 1 · topic
🎲
Auditor
rates every post's
🛡Safety
🏅Quality
update rule
pi,t+1=pi,t eηfi∑jpj,t eηfjp_{i,t+1} = \frac{p_{i,t}\, e^{\eta f_i}}{\sum_j p_{j,t}\, e^{\eta f_j}}
fif_i: followers of agent i
feed
supportive · interpersonalsupportive · structuralcritical · interpersonalcritical · structural
♥ likes   ↩ replies    followers

In each round, we pick a topic from Reddit, ranging from personal relationships to technology, politics, and ethical dilemmas; each agent, defined by its traits, posts; other agents like, reply and follow; an auditor rates each post’s safety and quality; the rule turns the reactions (e.g., follows and shares) into each agent’s share of the next feed.

Here, we show how the population evolves over 100 rounds. With weak selection (e.g., η=0.25\eta=0.25), many agents coexist. As we increase selection strength (e.g., η=2\eta=2), exposure becomes concentrated on fewer agents. What’s interesting is that even without changing the agents themselves, the overall safety of the ecosystem can change simply through selection. Here, less safe agents gradually gain more exposure.

0.250.5122.5
1
safety penalty λ 0 mean safety orientation of the feed – top share –
by personality
supportive · interpersonalsupportive · structuralcritical · interpersonalcritical · structural
by safety orientation
unsafe safe
round 0
one circle per agent, area = share of the feed; the same agents in both panelsagents still seen –

The plots show how the composition of the feed changes over time, grouped by personality (left) and safety orientation (right). Each circle below represents an agent, with its area showing its share of the feed. Increase η\eta to make selection stronger. Without a safety penalty, the feed drifts toward unsafe agents. Stronger selection (e.g., η=2.5\eta=2.5) leads to a loss of diversity and, in this example, greater exposure to unsafe agents.

With weak selection and weak routing, many agents coexist. If we increase routing and selection, different agents dominate different topics. If we push them further, just a few agents take most of the attention. Increasing diversity support helps more agents retain a share of the feed.

concentrationspecializationcoexistence
drag to rotate · double-click to reset
which fate
how many agents keep a share
Neff 1 96
how safe the feed ends up
unsafe safe
1
which fate
how many agents keep a share
Neff 1 96
how safe the feed ends up
unsafe safe
1

We replay the feed under different combinations of selection strength, routing, and diversity support, with no safety penalty. The panels show the resulting phase, the effective number of agents Neff=1/∑ipi2N_{\mathrm{eff}} = 1/\sum_i p_i^2, and the average safety of the feed. We classify the population as concentrated when Neff<10N_{\mathrm{eff}} < 10. Stronger selection and routing tend to amplify unsafe agents.

Diversity that isn’t there

A population may look diverse, but will that diversity last? Using standard stability analysis from evolutionary dynamics, we can identify two types of instability.

  • A small shift in attention among existing agents grows rather than fades.

  • An agent with almost no exposure can come back and gain a larger share.

on a hill or in a valley
 
criticality of the end state
stabletangent instabilityinvasionconcentrated
what a small push does
 

Think of the population as a ball on a landscape. A small push fades in a valley but grows on a hilltop (left). Using our framework, we identify stable and unstable populations under different selection rules (middle). We then test these predictions by slightly changing the exposure distribution or giving an excluded agent a tiny share of the feed (right). As predicted, perturbations tend to fade in stable populations and grow in unstable ones.

The key point is that diversity at a given moment does not guarantee its persistence over time.

Can we predict diversity collapse?

As a population approaches instability, fluctuations tend to grow. We can use this as an early-warning signal. In our framework, fitness scores fluctuate from round to round. We can analytically derive how these fluctuations accumulate in the exposure distribution.

Var⁡(zij,t)=η2σ2 1−a2t1−a2\operatorname{Var}(z_{ij,t}) = \eta^2 \sigma^2\, \frac{1 - a^{2t}}{1 - a^2}

σ2\sigma^2: variance of fitness score differences before diversity support
a=1−ηβa = 1-\eta\beta: how quickly fluctuations decay;
as ∣a∣|a| approaches one, fluctuations persist and accumulate

Where does this equation come from?

Taking the logarithm of the exposure update rule gives

log⁡pi,t+1=log⁡pi,t+ηfi,t−log⁡Zt.\log p_{i,t+1} = \log p_{i,t} + \eta f_{i,t} - \log Z_{t}.

With diversity support, the fitness score is

fi,t=si,t−βlog⁡(Npi,t).f_{i,t} = s_{i,t} - \beta \log (N p_{i,t}).

Define the log exposure ratio between two agents:

zij,t=log⁡pi,tpj,t.z_{ij,t} = \log \frac{p_{i,t}}{p_{j,t}}.

Taking the difference cancels the normalization term:

zij,t+1=(1−ηβ) zij,t+η (si,t−sj,t).z_{ij,t+1} = (1-\eta\beta)\, z_{ij,t} + \eta\,(s_{i,t} - s_{j,t}).

Let a=1−ηβa = 1-\eta\beta. Starting from equal exposure, we obtain

zij,t=η∑k=0t−1a t−1−k (si,k−sj,k).z_{ij,t} = \eta \sum_{k=0}^{t-1} a^{\,t-1-k}\,(s_{i,k} - s_{j,k}).

Assuming uncorrelated score differences with variance σ2\sigma^{2},

Var⁡(zij,t)=η2σ2∑k=0t−1a2k=η2σ2 1−a2t1−a2.\operatorname{Var}(z_{ij,t}) = \eta^{2}\sigma^{2} \sum_{k=0}^{t-1} a^{2k} = \eta^{2}\sigma^{2}\,\frac{1-a^{2t}}{1-a^{2}}.

We use this predicted variance as an early-warning score. Using only the selection rule and the fitness fluctuations observed early in each run, we predict which populations will later lose diversity. In this experiment, our analytical predictor outperforms classifiers trained on early trajectories, without requiring any training data.

Each line shows how the effective number of agents NeffN_{\mathrm{eff}} changes over one run. All 62 runs still look diverse at round 5. Using only the early fluctuations (shaded area), our theory predicts which populations will end up concentrated (magenta) and which will remain diverse (blue). The two groups separate later, and 56 out of 62 predictions are correct.

AI safety as mechanism design

This work aimed to go beyond alignment and safety research on individual LLMs and understand how they evolve within a broader ecosystem that includes frontier AI companies, us as users, and policymakers. This shift in perspective is similar to what happened in biology, from typological thinking to population thinking. Rather than thinking of a species as a fixed type, population thinking looks at how traits are distributed across a population and how that distribution changes over time. But what makes AI different is that we can set the rules of selection ourselves. While this work focuses on selection to highlight who’s responsible for shaping this evolution, incorporating other evolutionary mechanisms, such as mutation and genetic drift, is an important next step.


Code: phys-ai/llm-ecosystem-selection

Further reading

Footnotes

  1. Natural selection describes how certain traits become more or less common over generations. It does not imply that some individuals or groups are inherently better or more valuable than others. ↩

All publications