World Models as Adversaries: Multi-Agent Self-Play Fine-Tuning for Robust Motion Planning

Tong Nie, Yuewen Mei, Junlin He, Yihong Tang, Jian Sun, Wei MaNeurIPS 2026

TL;DR

Modern autonomous driving models work a lot like Large Language Models—predicting future vehicle motion one discrete "token" at a time—which makes them remarkably smooth in normal traffic, yet dangerously brittle when faced with rare, aggressive drivers. Instead of building clunky external simulators to stress-test these planners, this paper turns the vehicle's own internal "world model" into a coordinated team of sparring partners. Through a clever two-stage self-play game, the autonomous vehicle learns to survive worst-case traffic ambushes without forgetting how to drive politely on a Tuesday afternoon.

What Problem Does This Paper Address?

If you train a self-driving car exclusively on millions of hours of normal human driving logs, it gets really good at normal driving. Lately, the field has converged on autoregressive motion planners: inspired by LLMs, these models chop map layouts and vehicle movements into discrete tokens, predicting traffic evolution step-by-step.

The catch? Real-world logs rarely contain the weird, safety-critical "long-tail" events—like two cars accidentally (or maliciously) boxing you in during a high-speed merge. To prepare for these edge cases, engineers use adversarial training, actively conjuring up bad traffic to expose flaws. However, existing adversarial generators rely on hand-crafted physics perturbations or external, heavy-duty simulators that don't speak the "token language" of modern autoregressive planners. Furthermore, naively pitting two massive neural networks against each other in a live min-max game usually ends in unstable math, divergent gradients, or a traumatized driving policy that crawls at 5 mph in empty lanes just to stay "safe."

Methods

The authors propose Adversarial World Modeling (AWM). Their core realization is that an autoregressive planner already relies on a predictive World Model to guess what surrounding cars will do next. Because this world model shares the exact same architecture and motion vocabulary as the ego-vehicle's planner, it can be repurposed from a passive observer into an endogenous adversary.

To avoid the notorious instability of training the attacker and defender simultaneously, AWM decouples the min-max game into two sequential stages:

AWM's decoupled two-stage self-play pipeline.
  • Stage A: Building the Coalition (Inner Minimization). Freezing the baseline ego-planner, the benign world model is given a learnable "role switch" (background vs. attacker). Because having every car on the highway attack at once is unrealistic, AWM learns sparse coalitions—selecting a primary attacker and, only if a calibrator deems it impactful, a second cooperating partner. To figure out which attacker actually caused trouble (the multi-agent credit assignment problem), AWM uses counterfactual role-switching: it replays the exact same scene while flipping individual attackers back to background mode to measure their exact marginal impact.
  • Stage B: Regret-Aware Adaptation (Outer Maximization). Now the AWM is frozen, acting as a calibrated generator of hard scenarios. The ego-planner is fine-tuned to beat it using three guardrails:
  • Regret-CVaR: Instead of optimizing average performance, it focuses on Conditional Value-at-Risk (CVaR)—amplifying gradients on the nastiest tail-end failures—measured as regret relative to the baseline planner so inherently impossible scenes don't dominate training.
  • Trust-Region Regularization: A KL-divergence leash anchored to the original planner on normal traffic branches prevents overly conservative behavior.
  • Safety Dual Updates: Dynamic Lagrangian multipliers penalize rule-breaking, ensuring the car doesn't learn to dodge a cut-in by driving onto the sidewalk.

Datasets

The framework is evaluated on closed-loop autonomous driving benchmarks:

  • nuPlan: Evaluated across Val14, Test14-random (everyday naturalistic driving), and Test14-hard (challenging scenarios) in both reactive and non-reactive traffic modes.
  • InterPlan: An interaction-heavy benchmark tested on its full suite, InterPlan10, and InterPlan-LongTail (referred to as InterPlanLT in tables, detailed in the paper's appendix to target rare, complex multi-agent interactions).

Key Insights and Ideas

  • Role-switching solves credit assignment cleanly: In multi-agent settings, rewarding all adversaries globally causes realistic driving trajectories to collapse into chaotic bumper-cars. Because AWM injects role embeddings directly into the transformer's latent space, computing counterfactual "what-if" baselines requires just flipping a token's role—yielding sharp, coordinated two-car traps while maintaining realistic kinematics.
  • Less is more when picking fights: Forcing two attackers in every scene degrades realism. AWM's scene-adaptive calibrator learns to deploy a second cooperative attacker only when single-agent attacks aren't enough to expose a vulnerability.
  • Decoupling beats simultaneous self-play: Training Stage A and Stage B sequentially doesn't just improve final driving scores over simultaneous alternating updates—it cuts compute by more than half (1.00 vs. 2.35 relative GPU-hours) and eliminates seed divergence.
Figure 2: (a) Cross-validation shows that robust fine-tuning improves the adversarial tail while preserving nominal rollout quality (full values in Table 8). (b) The attack and realism plot summarizes the AWM ablations in Tables 10, 11, 12, 13 and the comparison in Table 16. AWM achieves a balanced operating point, whereas aggressive search increases attack strength at a clear realism cost.

Key Results

Fine-tuning the state-of-the-art autoregressive baseline (Plan-R1) with AWM yields consistent, targeted improvements:

  • Hard & Long-Tail Gains: On nuPlan Test14-hard, AWM-Planner boosts closed-loop scores by +2.60 (80.05 vs. 77.45 in non-reactive) and +1.28 (reactive). On heavy interaction benchmarks, it jumps +4.97 on InterPlan10 (to 45.92) and +5.81 on InterPlan-LongTail (to 40.70).
  • Zero Nominal Degradation: On Test14-random, non-reactive scores stay virtually identical (-0.01, at 91.22) while reactive scores rise by +0.67 (to 90.71), proving the car didn't trade away everyday competence for paranoia.
  • Transferable Adversarial Stress: When AWM is plugged in as a test-time traffic simulator against seven completely different planners (including rule-based IDM, diffusion-based Diffusion Planner, and transformer-based PLUTO), it lowers the mean closed-loop score across the board from 70.24 to 67.46—specifically squeezing time-to-collision and progress without causing unrealistic off-road or speed-limit violations.

Limitations and Future Work

The authors note three primary boundaries to their approach:

  • World Model Ceiling: Because everything happens inside the tokenized rollout, AWM is fundamentally bottlenecked by the fidelity and motion vocabulary of the underlying predictive world model.
  • Coverage & Guarantees: While AWM actively hunts for sparse interactive failures, it does not guarantee exhaustive coverage of all possible edge cases, nor does it provide formal mathematical safety guarantees in closed-loop deployment. Future work implies extending beyond single-round decoupled updates or expanding beyond tokenized representations.

Summary updated

Abstract

Robust motion planning in dense traffic requires autonomous vehicles to interact in rare and safety-critical scenarios that are underrepresented in naturalistic driving data. Although adversarial training offers a feasible solution, existing methods often rely on external scenario generators, heuristic perturbations, or simulator-heavy rollouts, which makes them difficult to integrate with modern autoregressive planners. Here, we cast adversarially robust planner learning as a constrained min-max game and propose Adversarial World Modeling (AWM), a theoretically grounded multi-agent self-play fine-tuning framework. Since solving the exact game is intractable, AWM introduces a principled decoupled solver. In the inner minimization, the planner's predictive world model is converted into a role-conditioned adversary that learns sparse, scene-adaptive attack coalitions via counterfactual credit assignment. In the outer maximization, the ego planner optimizes a regret-aware robust best response against the frozen AWM, utilizing tail-risk weighting and reference-anchored trust regions to improve hard-case recovery while preserving nominal driving behavior. Experiments on the nuPlan and InterPlan benchmarks demonstrate that our method generates transferable adversarial interactions and yields a robust planner that achieves competitive closed-loop performance in both nominal and highly interactive long-tail scenarios. Theoretical analysis justifies the decoupled solver and the main optimization components.
BibTeX
@inproceedings{nie2026world,
  author = {Tong Nie and Yuewen Mei and Junlin He and Yihong Tang and Jian Sun and Wei Ma},
  title = {{World Models as Adversaries: Multi-Agent Self-Play Fine-Tuning for Robust Motion Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=avlwpkoCiV},
}
Figure