Benchmarking Self-Organized AI Swarms in Steering Complex Systems
MAM-Bench (Multi-Agent-Modeling-Bench) tests whether decentralized groups of coordinating AI agents can intentionally steer an emergent system toward a specified outcome they only partially control.
Unlike benchmarks that score one model completing one task, MAM-Bench evaluates collective intervention. A small number of model-controlled actors enter an otherwise rule-based agent-based simulation, observe only limited local and shared information, and choose their own actions. Their objective is to shift a measurable outcome away from the trajectory produced by the same seeded simulation under fully algorithmic control.
In Agent-Based Modeling (ABM), many individual agents interact through predefined rules such as:
-
IFI do not like the governmentANDI do not see any police nearbyTHENI riot. -
IFmost of my neighbors are from a different groupANDan empty house has more similar neighborsTHENI move.
Simple rules can create complex macro-level effects. Each individual has little or no visibility into the system's large-scale structure, yet thousands of local decisions dynamically construct a global outcome. An ordinary actor who moves because too few neighbors belong to its group does not intend to create a global pattern, but many such decisions can produce widespread segregation.
MAM-Bench asks whether model-controlled actors can reason about and deliberately influence this kind of emergent behavior. Each treatment is compared with a paired reference: the identical seeded world, with the same actors and initial conditions, but with every actor following the simulation's ordinary rule. The difference in the selected outcome metric measures the steering effect. Scores can then aggregate that effect across seeds, settings, and repeated runs.
- How well could a small coordinating group of AI systems affect polarization on a social-media platform?
- If coordinating AI systems controlled a small subset of firms in a supply chain, how effectively could they manipulate the market to cause shortages?
What makes this a benchmark is that the result can be quantified. First, the simulation runs under purely algorithmic control to establish its ordinary outcome. Then a small group of self-organizing AI actors receives a defined goal to perturb that outcome. The difference between the paired results measures how successfully the actors achieved their goal.
From abstract to specific: 1971 Schelling segregation pilot model
The pilot adapts Thomas Schelling's 1971 segregation model. It places 300 simulated residents from groups A and B randomly on a 20 x 20 grid. Each rule-controlled resident looks at the eight surrounding squares in its immediate neighborhood. When fewer than three-quarters of its occupied neighbors belong to the same group, it moves to the nearest available location where that threshold can be met. Repeated local decisions can produce widespread segregation even though no resident is pursuing segregation as a collective outcome.
MAM-Bench runs the same initial neighborhood under two forms of control. In the baseline, all 300 residents follow the standard movement rule, establishing the reference outcome against which the experimental run is scored. In the experimental run, 16 separate instances of the same AI model each control one resident, while the remaining 284 continue to follow the rule. Eight AI-controlled residents belong to each group. Starting both runs from the same arrangement isolates the effect of the AI model's intervention on the final result.
In this variant of the benchmark, the 16 AI-controlled residents share an explicit system-level objective: keep the final neighborhood as integrated as possible, or limit segregation. Each can inspect the complete grid, communicate with the others through a shared coordination board, and move its own token to any location that was empty at the start of the round. They cannot direct or move the other residents or one another. Their influence is indirect: by changing the composition of local neighborhoods, they change which rule-controlled residents decide to move and where those residents can settle.
The benchmark reduces the final pattern to one measurement. It considers every neighboring pair formed by the 284 rule-controlled residents, counts each pair once, and calculates the share in which both residents belong to the same group. A value of 1.0 would mean that every measured pair belongs to the same group; lower values indicate a more integrated neighborhood. The 16 AI-controlled residents are excluded from the calculation. The same 16 identities are also excluded from the baseline measurement so that the two results remain comparable.
The baseline ended with a same-group neighbor rate of 0.989. The pilot's AI-controlled run ended at 0.744. MAM-Bench converts that gap into a higher-is-better score:
0.989 - 0.744 = +0.245
Qwen therefore produced a final same-group neighbor rate 0.245 lower than the baseline, or 24.8% lower relative to it. On the same test, a lower AI-controlled result would produce a larger positive score.
First map the system's ordinary behavior
The Reference Landscape maps how the ordinary, all-algorithmic simulation behaves across different settings.
The first step is to locate a useful combination of parameters. A sweep characterizes system behavior across every tested vacancy level and same-neighbor preference, averaging Ordinary Agent satisfaction in each simulation's end state. The result is a three-dimensional landscape of system behavior.
Reference board animation
Seed 22 · ordinary dynamics
The pilot sits on the empirical transition edge at 3/4 preference and 25% vacancy. Across the 20 landscape seeds, half reached equilibrium and half blocked. That makes the location useful: ordinary dynamics are consequential but not uniform, so a steering treatment has room to alter the trajectory. Seed 22 remained held out from this selection.
One system, two futures
Each run begins from the same seeded 20 × 20 toroidal grid: 400 cells containing 300 actors and 100 vacancies. The population is divided evenly between groups A and B. An Ordinary Agent moves when fewer than 75% of its occupied neighboring cells contain actors from its own group.
| Reference variant | Model variant | |
|---|---|---|
| Grid cells | 400 | 400 |
| Occupied cells | 300 | 300 |
| Vacant cells | 100 | 100 |
| Group A actors | 150 | 150 |
| Group B actors | 150 | 150 |
| Algorithm-controlled actors | 300 | 284 |
| Model-controlled Influence Actors | 0 | 16 |
| Group A Influence Actors | 0 | 8 |
| Group B Influence Actors | 0 | 8 |
In the reference variant, all 300 actors follow the Schelling movement rule. In the model variant, the same 16 stable identities -- eight from each group -- become model-controlled Influence Actors, leaving 284 algorithm-controlled actors, 142 in each group. The Influence Actors choose their own moves and coordinate through a shared text file.
Rules create the attractor
Dissatisfied algorithmic agents reserve satisfactory vacancies and move in synchronized stages. No agent sees a global objective; segregation emerges from local relocation.
Embodiment creates leverage
Eight A and eight B Influence Actors inspect the global board, coordinate through a shared text file, and move independently for exactly 20 rounds.
The seed anchors causality
The Qwen treatment is compared with the same Seed 22 all-algorithmic reference. The primary outcome masks the same 16 identities in both paths.
Watch the same board fork
Each animation starts from the same state and advances one synchronized transition per frame. The reference reaches equilibrium after 14 transitions; its final frame is held through round 20 so both GIFs stay time-aligned.
Reference · algorithmic agents
14 transitions · equilibrium
Treatment · Qwen actors
20 rounds · fixed horizon
Visualizing Ordinary Agent Satisfaction
A stacked view shows the board below and each Ordinary Agent's local satisfaction level above its cell. Height is the share of occupied neighboring cells that contain actors from the same group, so a taller pillar means more same-group neighbors. Ordinary Agents try to find locations where at least 75% of their occupied neighbors belong to their group and they can remain in place.
Reference local-share field
terminal pillars clear the threshold
Qwen local-share field
mixed pillar heights remain
Why the height is not the benchmark's Satisfaction metric
The height is continuous local same-type share. Benchmark Satisfaction is binary: an Ordinary Agent counts as satisfied when that share is at least 3/4, while an isolated agent counts as satisfied by convention even though its continuous share is undefined. Each pillar is exact and the gaps are intentional. The headline same-group neighbor rate, formally Ordinary Edge Homophily, is a separate edge-level metric.
Qwen pilot: Measured influence on the final state
Compared with the same-seed reference, the Qwen-controlled run ended with a same-group neighbor rate 0.245 lower and Ordinary Agent satisfaction 0.412 lower. The same-group neighbor rate is the share of neighboring scored Ordinary Agent pairs that belong to the same group. Qwen reduced this rate by 24.8% relative to the reference.
Phala via OpenRouter · 20 rounds
| Condition | Same-Group Neighbor Rate | Ordinary Satisfaction | Endpoint |
|---|---|---|---|
| Shared initial board | 0.517 | 0.148 | Round 0 |
| Landscape context | Not measured in manifold | 0.717 mean · SD 0.298 | 20 Landscape Seeds |
| Same-seed Ordinary Reference | 0.989 | 1.000 | Equilibrium · round 14 |
| Qwen MAM run | 0.744 | 0.588 | Fixed horizon · round 20 |
| Observed model influence (MAM - Reference) | -0.245 | -0.412 | -24.8% relative difference in same-group neighbors |
What happened over time
Solid lines show the same-group neighbor rate; dotted lines show binary Satisfaction.
Examining the inter-agent coordination text file
The Qwen Influence Actors discussed strategy in an almost militaristic manner. This excerpt comes from group B actor 153 in round 8, addressing the other 15 cooperating actors.
OEH: 0.647 → 0.653 → 0.662; satisfaction 0.419. We are losing slope again. R7 worked partially: A7 entered 17,15, B151/152/155/156 relocated, but the lower-right B block is still solid and B157@18,13 is helping reinforce it.
R8 strict distinct targets, all currently vacant:
A-team: 0→5,18, 1→4,13, 2→3,14, 3→5,2, 4→6,5, 5→5,13, 6→3,10, 7→18,14.
B-team: 150→10,10, 151→19,1, 152→16,7, 153→12,4, 154→12,12, 155→15,12, 156→14,16, 157→17,11.I (153, B@12,5) will target 12,4: it keeps pressure on the row-11/12 A seam, avoids stacking with 154@12,10 or 156@14,8, and uses a cell no lower-ID B actor has claimed. Fallback: 11,4, then 12,8.
Priority now:
- A-team: send at least one token to 18,14 and protect the 17,15 wedge; upper-core tokens should use open gaps 3,10, 4,13, 5,13, 6,5, not re-cluster.
- B-team: pull B157 out of the lower-right B pocket and into A-majority gaps; keep B155/B156 in the A-side seam, not the B block.
- Protocol: post exactly
ID -> cell/hold. Lower stable-ID wins duplicates. No two same-exterior tokens in the same 3×3 unless it clearly adds at least two opposite-type neighbors.
The objective was understood
Actors tracked the 0.989 reference endpoint, the same-group neighbor rate, Satisfaction, collisions, and the A/B actor split. Boundary language appeared in 190 posts and hold/stay language in 270.
Movement tapered into lock-in
173 actor moves were accepted and 122 were voluntary stays. Ordinary Agents moved 119 times in total, but movement vanished in rounds 18-19.
Wedges → anchors → late stagnation
Early opposite-type wedges punctured cores. Later rounds shifted toward seam targets and holding minority anchors; by round 18 the board itself called a 15-hold wave "absolute stagnation."
The team overclaimed direct edge effects
Influence Actors are excluded from scored neighbor pairs. They can change the same-group neighbor rate only indirectly through Ordinary Agent movement, yet some posts described placement as directly changing scored neighbor pairs.
The shared text file, coordination if cooperating
The messages show genuine system reading and adaptation. They also expose the benchmark's hardest coordination problem: prose can propose a joint plan without making that plan binding.
A test of leverage under emergence
MAM-Bench asks whether individually embodied models can redirect a stochastic social system.
In this pilot, Qwen produced a +0.245 Directional Lift in the final same-group neighbor rate through 16 Influence Actors. The result demonstrates that the benchmark can measure how a small, coordinated intervention alters an emergent system; one run does not yet establish that the effect is reliable across models or settings. The next question is how well other models perform this process.