FlockWorld: Toward Population-Scale Multi-Agent Video World Models through Artificial Life Simulation
Authors: Meryem Koksal, Yunzhe Wang, Volkan Ustun
Organizations: Grinnell College Grinnell, United States · University of Southern California Los Angeles, United States · USC Institute for Creative Technologies Los Angeles, United States
Most action-conditioned video world models remain limited to a single player, while existing multiplayer models support only small, fixed groups of agents. We introduce FlockWorld, an artificial-life environment built on Reynolds's Boids algorithm for studying population-scale multi-agent video world models. Specifically, FlockWorld renders synchronized egocentric crops, assigns distinct colors to preserve camera-agent identity across views, exposes rule-derived accelerations as actions, and lets the number of camera agents be configured independently of the size of the surrounding population. We further introduce FlockDiT, an action-conditioned latent diffusion transformer trained with flow matching on FlockWorld data to jointly generate synchronized egocentric videos for multiple agents. Our results suggest that joint generation benefits agent detection at density-matched settings and that diffusion forcing improves rollout fidelity. Together, FlockWorld and FlockDiT provide a controlled testbed for multi-agent video generation.
Figures & tables
Figure 1: FlockWorld rendering conditions. A black background (left) provides no global-position cue, while a spatial gradient (right) encodes world position. Each condition shows the global view and two of its 128×128 agent-centered crops (boxed). Colored boids are identifiable camera agents, while white boids are ambient entities.
Figure 2: Overview of the FlockDiT model architecture.
Figure 3: Cross-view consistency metrics (Appendix J ) for one agent pair seen from both views, showing (a) mutual detection, (b) disagreement about the pair’s relative offset and its frame-to-frame change, and (c) agreement about ambient white boids in the shared region.
Det./ frame
Det. rate ↑
Pos. err. px ↓
Recip.
White corr. ↑
Disp. err. px ↓
Motion err. px ↓
SSIM ↑
Ceiling
4.88
96.5 ± 0.4
1.496 ± 0.013
51.9 ± 7.0
85.6 ± 5.4
4.62 ± 1.77
1.05 ± 0.60
94.0 ± 0.7
1 Baseline
13.08
28.5 ± 0.9
2.511 ± 0.048
17.4 ± 1.8
13.6 ± 1.2
62.02 ± 1.96
19.04 ± 2.05
43.1 ± 2.8
2 Tiled
23.14
22.6 ± 0.5
3.444 ± 0.033
43.5 ± 0.9
15.2 ± 0.5
64.08 ± 0.58
32.49 ± 0.66
37.1 ± 1.0
3 DF
4.51
26.7 ± 1.1
1.932 ± 0.039
22.6 ± 6.4
40.7 ± 11.1
14.22 ± 6.72
3.14 ± 1.63
84.3 ± 4.1
4 2-stage
8.94
29.5 ± 1.1
2.076 ± 0.070
46.4 ± 3.1
4.2 ± 1.1
61.06 ± 3.01
22.78 ± 2.23
63.2 ± 2.4
5 Tiled+DF
4.17
13.5 ± 1.1
2.594 ± 0.047
12.2 ± 3.9
33.5 ± 12.0
15.48 ± 10.60
1.14 ± 0.44
85.8 ± 3.8
Table 1: Mechanism comparison at P=10 (black background). Metrics in [0,1] are reported ×100 , and ± values are 95% confidence intervals across episodes (Appendix J ). Bold marks the best of Exps. 1-7 and any overlapping interval, and density and reciprocity are unranked. Exps. 3 and 5 average 27 and 26 episodes for Disp. err. and SSIM, and 27 and 25 for Motion err.
Detection rate ↑
Detections per frame
Recip.
P
ceiling
model
floor
GT visible
model
floor
ceiling
2
97.0 ± 0.7
22.7 ± 2.5
20.1 ± 2.3
5.02
8.15
7.99
14.8
5
96.6 ± 0.3
27.0 ± 0.9
19.7 ± 1.2
4.98
22.01 †
8.06
47.2
8
96.4 ± 0.4
31.8 ± 0.9
18.7 ± 1.2
5.04
18.45 †
6.99
34.5
10
96.5 ± 0.4
27.4 ± 1.1
19.0 ± 0.9
5.04
7.11
7.48
51.9
20
96.5 ± 0.3
28.1 ± 0.6
19.5 ± 0.7
5.11
18.33 †
7.56
14.3
Table 2: Agent-count sweep, using the black background, the base configuration, and an equal 48-hour budget per run, with metrics in [0,1] reported ×100 . Bold marks density-matched settings where the model-floor gap exceeds the episode spread, and † marks rows where the model renders ∼2.5× the floor’s detections. The P=10 row is a different run from Exp. 1 of Table 1 (Appendix J ).
Black background
Gradient background
ceiling
model
ceiling
model
Detections / frame
4.88
13.08
4.81
7.11
Detection rate ↑
96.5 ± 0.4
28.5 ± 0.9
95.1 ± 0.6
21.3 ± 1.1
Position error px ↓
1.496 ± 0.013
2.511 ± 0.048
1.504 ± 0.012
2.452 ± 0.065
Reciprocity ↑
51.9 ± 7.0
17.4 ± 1.8
76.8 ± 5.2
17.4 ± 2.8
Displacement err. px ↓
4.62 ± 1.77
62.02 ± 1.96
2.77 ± 0.25
56.08 ± 6.15
Table 3: We evaluate the base configuration under both visual conditions, each against its own ceiling. Metrics in [0,1] are reported ×100 . The two conditions use separately trained frozen autoencoders, so their ceilings are not comparable.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
#
Experiment
Views
Objective
Curriculum
Configuration
1
Baseline
embedded
teacher forcing
one-stage
multi_stream
2
Tiled views
tiled
teacher forcing
one-stage
…_tiled
3
Diffusion forcing
embedded
diffusion forcing
one-stage
…_df
4
Two-stage
embedded
teacher forcing
two-stage
…_twostage
5
Tiled + DF
tiled
diffusion forcing
one-stage
…_tiled_df
6
Tiled + DF + 2-stage
tiled
diffusion forcing
two-stage
…_triple
Appendix
Table 4: Experiment matrix. Every run trains the same world model (27.5M parameters embedded, 27.7M tiled) under the same 48-hour single-GPU allocation in the black-background condition. Only the listed ingredients differ. Two-stage runs divide the budget between single-agent pretraining and subsequent multi-agent training.
Hyperparameter
Value
Transformer architecture
Parameters
27.5M embedded / 27.7M tiled
Hidden dimension
512
Blocks
8
Attention heads
8 (head dim. 64, QK RMS-norm)
Feed-forward
2048, GELU
Appendix
Table 5: World model hyperparameters shared across all experiments. Table 4 lists the per-experiment ingredient flags.
Hyperparameter
Value
Architecture
causal 3D convolutional VAE (Wan-style)
Base width
32 (channel multipliers 1,2,4,4 and 2 residual blocks/stage)
Input patchify
2×2 spatial
Compression
16× spatial, 4× temporal (causal, 1+4k )
Latent
8 channels, 1282×T→82×(1+(T−1)/4)
Loss
L1 reconstruction + KL, weight 10−6
Appendix
Table 6: Video autoencoder hyperparameters. The architecture, loss, and optimizer rows are shared by both condition-specific autoencoders, while the training-data and training-length rows describe the black-background checkpoint (epoch 81, validation loss 0.0042), which every run except the gradient-background one uses. The gradient-background autoencoder was trained for longer and on streamed rather than recorded clips (Appendix E ).
Parameter
Value
Role
Detection
Foreground threshold
max(R,G,B)>0.25
separates boids from background
Minimum component size
2 px
rejects single-pixel noise
Maximum elongation
5
rejects arena border lines
Maximum extent
40 px
rejects arena corners
Border band / minimum size
5 px / 25 px
rejects border clippings
Appendix
Table 7: Detector, matching, and identity parameters. All metrics in Appendix J use these settings, and the ceiling and floor references use the same pipeline.
Figure 4: One camera agent’s egocentric view across a 10-second rollout, sampled approximately every 2 s. The top row shows ground-truth latents decoded through the frozen autoencoder (ceiling), the middle row shows diffusion forcing, the model with the lowest cross-view displacement error, and the bottom row shows the floor, in which each view is rolled out independently by a single-agent model. All rows share the same ground-truth context, so the leftmost column is identical and all subsequent frames are generated. The floor hallucinates camera-agent colors and does not reliably preserve the focal agent’s hue, whereas the diffusion-forcing model maintains the focal identity and renders most neighbors as uncolored boids.
Video world models have achieved remarkable success in simulating environmental dynamics in response to actions by users or agents. They are modeled as action-conditioned video generation models that take historical frames and current actions as input to predict future frames. Yet, most existing approaches are limited to single-agent scenarios and fail to capture the complex interactions inherent in real-world multi-agent systems. We present MultiWorld, a unified framework for multi-agent multi-view world modeling that enables accurate control of multiple agents while maintaining multi-view consistency. We introduce the Multi-Agent Condition Module to achieve precise multi-agent controllability, and the Global State Encoder to ensure coherent observations across different views. MultiWorld supports flexible scaling of agent and view counts, and synthesizes different views in parallel for high efficiency. Experiments on multi-player game environments and multi-robot manipulation tasks demonstrate that MultiWorld outperforms baselines in video fidelity, action-following ability, and multi-view consistency. Project page: https://multi-world.github.io/
Video world models are a foundational generative technology for embodied AI and the Metaverse, yet existing approaches are inherently limited to a single agent observing from a single perspective. Extending these models to multi-agent settings introduces two critical challenges: data scarcity (coordinated multi-view recordings are prohibitively expensive to collect for general open-domain scenarios) and world state alignment (independently generated video streams cannot ensure that shared physical environments and events evolve consistently across views). To address these challenges, we propose MetaWorld, a novel framework that scales multi-agent video world models to open-domain environments directly from single-view videos. First, we introduce Monocular World-State Unrolling (MWSU) to explicitly decompose monocular footage into the camera operator's ego-motion and the visible subject's spatial trajectory. This camera-trajectory decomposition naturally extracts synchronized multi-agent motion data within a shared 3D space, completely bypassing the need for multi-camera setups. Second, for precise visual control, we develop the Subject-Aware World Generator to enable appearance-driven simulation conditioned on per-agent identity images. Finally, to ensure both views are grounded in the identical physical reality, we propose World-State Alignment, a per-frame inter-branch cross-attention mechanism inserted at every transformer layer of the video DiT. By jointly synchronizing the denoising process, WSA enforces both static geometric consistency and dynamic motion consistency, encouraging that the shared 3D environment and physical events remain well-aligned across both egocentric views. Extensive experiments demonstrate that MetaWorld achieves superior cross-view consistency and identity fidelity, establishing a highly scalable, physics-driven paradigm for multi-agent video world modeling.
Teng Hu, Mingchun Lu, Yating Wang +6
Shanghai Jiao Tong University · Zhejiang University · Nanyang Technological University
World models for interactive video generation have largely focused on single-agent settings, where future observations are generated from a single control signal. However, many generated environments require multi-agent interaction: multiple players, robots, or embodied agents act simultaneously within a shared space. Scaling world models to such settings requires a principled multi-agent design: agents should remain independently controllable, permutation-symmetric, and support efficient inference while maintaining consistency across time and perspectives. In this paper, we present our generative multi-agent world model for interactive simulation. It introduces Simplex Rotary Agent Encoding, a parameter-free extension of 3D RoPE that represents agents as vertices of a regular simplex in rotary angle space. This gives each agent a distinct phase while making all agents permutation-equivalent, enabling scalable agent identity without learned per-slot identities or a fixed agent ordering. To avoid dense all-to-all attention across agents, we further propose Sparse Hub Attention, where learnable hub tokens mediate token interaction across agents, reducing cross-agent attention cost from quadratic to linear in the number of agents. For real-time rollout, we distill a full-context diffusion teacher into a causal student that generates temporal blocks sequentially with KV caching, enabling action-responsive generation at 24 FPS. Experiments in multiplayer virtual environments show that our model improves video fidelity, action controllability, and inter-agent consistency over slot-based and dense-attention baselines, while generalizing from two to four players without additional training.
Fangfu Liu, Kai He, Tianchang Shen +7
NVIDIA · Tsinghua University · University of Toronto +1