AdaWM: Few-Shot Adaptation of World Models to Unseen Dynamical Regimes

Zian Guan, Guozheng Li, Zilun Zhang, Zecong TangNeurIPS 2026

TL;DR

World models allow AI agents to "dream" and plan ahead by simulating how an environment behaves—until the rules of engagement suddenly shift, like a soccer match transitioning from slow possession to chaotic counter-attacks. AdaWM solves this by treating adaptation as conditional inference rather than retraining: give it just five frames of a new behavioral style, and it rewires its internal predictions in a single forward pass with zero gradient updates. It adapts up to 163× faster than fine-tuning while delivering cleaner, more accurate predictions across everything from sports to highway traffic.

What Problem Does This Paper Address?

Neural world models learn compact simulators of an environment, predicting future states from current observations and actions. Typically, these models operate under a fixed-dynamics assumption: they assume the laws governing tomorrow look just like the ones from training.

In multi-agent systems, that assumption shatters. The physical arena—a soccer pitch, a warehouse floor, an intersection—stays identical, while collective behaviors (dynamical regimes) shift wildly. A world model trained on patient, short-passing soccer ("tiki-taka") falls apart when faced with a rapid counter-attack. When entering an unseen regime, you usually only have a handful of observation frames ($K=5$) to figure out what's going on. Standard gradient-based fixes like fine-tuning or meta-learning (MAML) are computationally heavy at test time and severely overfit when data is this scarce. The authors ask: Can a world model adapt to unseen multi-agent behaviors on the fly without updating a single weight?

Figure 1: Multi-agent systems exhibit diverse dynamical regimes. Rather than learning per-pattern models or fine-tuning for each new behavior pattern, AdaWM treats few-shot adaptation as conditional inference. A few target transitions define a style context that modulates the latent BEV predictor.

Methods

AdaWM builds on a JEPA (Joint Embedding Predictive Architecture) foundation, meaning it predicts future states in compressed abstract representation space rather than burning compute reconstructing every pixel. What is novel here is how it unifies diverse domains and injects in-context adaptation:

  • Domain-Agnostic BEV Rendering: Instead of building custom graph networks tailored to specific agent counts, raw coordinates are rendered into a standard $64 \times 64$ bird’s-eye-view (BEV) image and encoded via a lightweight Vision Transformer (MicroViT). Whether tracking 4 tennis players or 100 highway cars, the exact same 4.55M-parameter architecture processes the scene.
  • Action-Free Option: When explicit action labels exist (simulations), an MLP encodes them. For real-world broadcast video lacking controller inputs, a VQ-VAE Latent Action Model (LAM) infers discrete action tokens directly from consecutive state transitions.
  • Zero-Gradient Context & FiLM Modulation: Given $K$ demonstration pairs $(o_t, o_{t+1})$ from a new regime, a context encoder extracts the latent states and their explicit difference vector ($\delta = e' - e$) to directly capture motion direction and speed. Averaging these produces a single 128-d "style vector" $c$. This vector feeds into Feature-wise Linear Modulation (FiLM) layers, generating scale and shift parameters $(\gamma, \beta)$ that modulate the autoregressive Transformer predictor's hidden states in one forward pass.
Figure 2: Architecture overview. AdaWM utilizes a MicroViT to encode BEV-rendered observations and a context encoder to generate a style vector that modulates an autoregressive predictor via FiLM. The entire system contains 4.55M parameters and trains in under an hour on a consumer GPU.

Datasets

The authors evaluate across 17 multi-agent settings:

  • Newly Introduced Simulators: Two synthetic football simulators (v1 and v2) engineered to create controlled distribution shifts across 8 distinct tactical styles (e.g., tiki-taka, gegenpressing, park-the-bus), plus custom synthetic Warehouse (12 robots), Traffic (16 vehicles), Basketball, Badminton, and Tennis environments.
  • Real-World Benchmarks: Zero-shot sim-to-real transfer is tested on optical and broadcast football tracking (Metrica Sports, SkillCorner), pedestrian crowds (ETH/UCY), and highway vehicles (NGSIM).
Domain-agnostic BEV rendering across football, warehouse robotics, and traffic.

Key Insights and Ideas

  • Gradient descent chokes on 5 examples; conditioning thrives. Updating millions of parameters on $K=5$ transitions memorizes noise—pushing fine-tuning to 100 steps actually degrades MSE by over 25%. Compressing those 5 examples into a 128-d bottleneck acts as a natural regularizer, globally steering dynamics without breaking pre-trained representations.
  • Adaptation gain scales with the "surprise" factor. By measuring latent cosine distance between training and test styles, the authors show adaptation gains are directly proportional to distribution shift. When a test style closely resembles training data, FiLM behaves conservatively and leaves predictions untouched; when dynamics diverge sharply, FiLM steps in.
  • Interaction complexity drives utility, not domain identity. Across sports, robotics, and traffic, gains track agent density and coordination complexity. Dense highway congestion (NGSIM dense-slow) sees a 6.0% boost, whereas uniform free-flowing traffic sees 0.3%; 22-player football sees huge gains while 4-player tennis remains neutral.
  • Adaptation complements scale. Scaling up to a 3.9× larger model (LeWM, 17.9M parameters) lowers baseline error, yet fine-tuning that larger model on 5 shots still degrades its accuracy by ~40%. Adding FiLM context conditioning works cleanly alongside larger capacities.

Key Results

  • Simulated Adaptation: With $K=5$ demonstrations on held-out football tactics, AdaWM reduces prediction MSE by 15.3% on counter-attack and 9.9% on high-press chaos, easily beating MAML and Fine-Tuning (~1.8–2.3% gains).
  • Zero-Shot Sim-to-Real: Trained exclusively on synthetic data, AdaWM cuts prediction error on real-world Metrica and SkillCorner football matches by 24.1% to 31.0% using 5 real support frames, whereas 5-step fine-tuning yields ~0% improvement.
  • Cross-Domain Generalization: Across 19 diverse tasks, AdaWM improves accuracy in 17/19 settings (mean reduction of 8.5%), including ~15% gains on real ETH/UCY pedestrian crowds.
  • Speed: Total adaptation and inference take 22 ms per episode (running at 60 FPS on a consumer RTX 2060 Super)—making it 10× to 163× faster than gradient-based baselines (220 ms to 3,671 ms).

Limitations and Future Work

  • Spatial Resolution: Rendering environments into $64 \times 64$ BEV grids caps spatial precision at roughly 1.7 meters per pixel on a soccer pitch, which can blur fine-grained positioning (though the authors note viable hierarchical patch-merging paths to $256 \times 256$ in the appendix).
  • Simulator Realism: The synthetic environments omit messy real-world variables like player fatigue and substitutions.
  • Global vs. Local Latent Actions: When action labels are absent, the VQ-VAE Latent Action Model tends to capture global, team-wide transition patterns rather than granular, individual agent controls. Future work is left to explore finer per-agent latent action discovery and higher-resolution scaling.

Summary updated

Abstract

World models predict future states from observations and actions, enabling planning and decision-making in complex environments. Most existing approaches assume fixed environment dynamics and struggle to generalize to unseen regimes without retraining. However, in many real-world multi-agent systems, predictive dynamics vary across scenarios due to diverse styles and evolving agent behaviors. Meanwhile, only a small number of demonstration transitions are available in new environments, making adaptation to such unseen dynamical regimes challenging. In this work, we introduce AdaWM, a world model that achieves zero-gradient few-shot adaptation to unseen dynamical regimes through Feature-wise Linear Modulation (FiLM). AdaWM is built on a JEPA-style latent prediction framework with a permutation-invariant context encoder whose output modulates the model through FiLM, enabling fast adaptation without modifying model parameters. Across heterogeneous multi-agent environments, AdaWM consistently reduces prediction error under distribution shift, outperforming fine-tuning and MAML in both adaptation gain and efficiency. Specifically, it achieves up to 15% reduction in prediction error with only K=5 demonstrations. Moreover, we show that few-shot adaptation complements model scaling: explicit context conditioning remains effective at larger model capacities, including the LeWM architecture, without requiring test-time parameter updates. These results show that AdaWM provides an effective approach for adapting world models to novel dynamical regimes.
BibTeX
@inproceedings{guan2026adawm,
  author = {Zian Guan and Guozheng Li and Zilun Zhang and Zecong Tang},
  title = {{AdaWM: Few-Shot Adaptation of World Models to Unseen Dynamical Regimes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Wg09sf4Nj0},
}
Figure