Manuscript Offprint
arXiv:2610.19714Uncertainty-Driven Self-Play for Robust Multi-Agent Driving Policies
Sajad Marvi , Julian Schmidt , Alessandro Canevaro , Julian Jordan , and Abhinav Valada
Abstract—Learning robust driving policies that generalize beyond their training domain remains a central challenge in motion planning. We propose an uncertainty-driven self-play scheme, in which half of the agents are rewarded for increasing their neighbors' epistemic uncertainty, while the other half learn to drive safely as the exploring agents continuously seek out their weaknesses. Epistemic uncertainty indicates where the policy is least confident and serves as an automatic proxy for scenario difficulty. Exploring agents use this signal to seek out hard cases, generating a challenging curriculum without manual scenario design. The resulting policy outperforms standard self-play, achieving best-in-class zero-shot transfer to nuplan Val14 (99.12% vs. 97.97%) and Argoverse 2 (82.39% vs. 78.03%) without fine-tuning, while also improving performance over standard self-play on Waymo. Our diversity-driven approach achieves 85% higher LSTM hidden-state coverage than the baseline, indicating a much richer set of behaviors. Further analysis shows that epistemic uncertainty serves as a calibrated difficulty detector, with highest-uncertain agents exhibiting 14.8× the combined failure rate across collision, off-road, and DNF, of lowest-uncertain agents, enabling automatic prioritization of challenging scenarios without ground-truth labels.
I. INTRODUCTION
Object-level behavior planning is a core challenge in autonomous driving where a policy must control agents through complex multi-agent scenarios involving dynamic interactions with other vehicles, pedestrians, and road structure. Imitation learning [1]–[3] trains policies from logged human trajectories but underrepresents rare, safety-critical events. Reinforcement learning [4]–[8] scales well and produces competent drivers, but policies reflect only the scenarios seen during training and may not generalize to novel domains. Training separate adversarial policies [9], [10] can expose the ego agent to harder situations, but such policies are expensive to maintain and tend to produce unrealistic behaviors. A promising alternative is conditioned self-play, where all agents share one network and a conditioning signal selects the behavioral mode for each agent. Prior work conditions on return targets [11], skill indices [12], or entropy bonuses [13], but these face a fundamental tension. Achieving meaningful behavioral diversity typically degrades driving performance, even when conditioned to drive normally. We term this the diversity tax. Can a conditioned policy, set to its normal driving mode, not only match but exceed an unconditional self-play baseline?
Our key insight is that epistemic uncertainty, which measures the policy’s confidence, provides a natural proxy for behavioral diversity. We train half the agents to increase their neighbors’ uncertainty while the other half learn to drive safely under this probing pressure. Uncertainty is an

Fig. 1: Probing agents (red), assigned the role in each episode, are rewarded for increasing the epistemic uncertainty of their nearest neighbors, while neutral agents (blue) receive only the task reward. As neutral agents adapt, probing agents must discover increasingly novel confusing situations, generating an automatic diversity-driven curriculum. At evaluation, all agents use the neutral role, benefiting from the broader training distribution.
inexpensive, automatic proxy for scenario difficulty. Rather than hand-engineering diverse training scenarios, probing agents find the hard cases automatically by targeting exactly where the current policy is most confused. This self-play scheme generates an automatic diversity-driven curriculum of challenging interactions. Among the conditioned methods we evaluate, our method is the only one to outperform a strong unconditional self-play baseline.
In each training episode (Fig. 1), 50% of agents are designated probing agents (rewarded for increasing the epistemic uncertainty of their K=3 nearest neighbors) while 50% are neutral (pure task reward). As neutral agents adapt, probing agents must discover increasingly novel challenging situations, generating a diversity-driven curriculum without hand-crafted scenario design. At evaluation, all agents use the neutral role, benefiting from exposure to this broader training distribution. This relates to adversarial training [14] and domain randomization [15] where both improve robustness by exposing the learner to challenging conditions during training.
Our contributions are:
-
An uncertainty-driven self-play scheme using epistemic uncertainty change ( ) as the probing reward, showing that a conditioned policy can surpass an unconditional self-play baseline, an outcome not achieved by any other conditioned method we evaluate.
-
Empirical demonstration that epistemic uncertainty serves as a calibrated difficulty detector, with highest-uncertainty scenarios exhibiting the combined failure rate across collision, off-road, and DNF, of lowest-uncertainty scenarios (ECE=0.014).
Mercedes-Benz AG, Germany.
Department of Computer Science, University of Freiburg, Germany.
-
Comprehensive evaluations across 10,000 Waymo scenarios and zero-shot transfer to nuplan Val14 and Argoverse 2, with comparisons against DIAYN, entropy-conditioned, and GIGAFLOW-style baselines.
-
Ablation studies identifying neighborhood size (K=3), warmup scheduling, conditioning mechanism (FiLM vs. Concatenation vs. none), and probing fraction (50%) as essential design choices, with warmup improving score by 0.57% and role conditioning being load-bearing for any gains over the unconditional baseline.
The resulting policy outperforms standard self-play, achieving best-in-class zero-shot transfer to nuplan Val14 (99.12% vs. 97.97%) and Argoverse 2 (82.39% vs. 78.03%) with no fine-tuning, while reducing the failure rate by 17% on Waymo validation scenarios compared to the baseline. It also achieves 85% higher LSTM hidden-state coverage, indicating a broader range of learned behaviors that explains the improved transfer.
Adversarial Training for Robustness: Adversarial training improves model robustness by exposing learners to worst-case perturbations [14]. In robotics, domain randomization [15] and adversarial environment generation [18] create challenging training conditions that improve transfer. For driving, RARL [19] trains a protagonist against an adversary, but uses fixed adversarial objectives rather than adaptive ones. Dedicated adversarial scenario generators such as SaFeR [20] and IntSim [21] optimize for safety-critical situations but require separate training loops or privileged world-model access. Our approach differs in using the learner's own epistemic uncertainty within a single shared policy, creating an adaptive curriculum without separate adversarial optimization. Diversity in Reinforcement Learning: DIAYN [12] discovers diverse skills by maximizing mutual information between skill indices and states, but the discrete skill space limits continuous behavioral interpolation and does not target policy weaknesses. Maximum entropy RL [13] encourages exploration through entropy bonuses but does not target specific policy weaknesses. Population-based approaches [22] maintain diversity through separate agents, incurring proportional computational costs. Our approach targets specific weaknesses (where the policy is uncertain) rather than undirected diversity.
Epistemic Uncertainty in Decision-Making: Monte Carlo Dropout [23] provides computationally tractable epistemic uncertainty estimates. Prior work has used uncertainty for exploration bonuses in single-agent settings [24], [25] and for safe navigation under uncertainty [26], [27]. Our key insight is that uncertainty can serve simultaneously as a calibrated difficulty detector (14.8× combined failure rate across deciles) and as a diversity-driving training signal in multi-agent settings.
III. METHOD
Our method, UncArms (Uncertainty Arms-Race Self-Play), trains a shared policy through uncertainty-driven self-play in which agents are assigned one of two roles per episode: probing or neutral. We use arms race in the co-evolutionary sense. As neutral agents adapt, probing agents must escalate to maintain their reward, producing an escalating curriculum analogous to the Red Queen effect. This is not a zero-sum conflict, since neutral agents are never explicitly rewarded for resisting probing, but the adaptation pressure is nonetheless bidirectional. Both roles share the same FiLM-conditioned architecture. A scalar role signal allows the policy to specialize its behavior per role while sharing all parameters.
A. Problem Formulation
We formulate multi-agent driving as a Partially Observable Markov Game:
where N is the set of N=32 agents per scenario, S the global state space, P the transition function, the reward function for agent i, the joint observation space, and the discount factor. Each agent's partial observation consists of ego features (speed, heading, relative goal position, lane alignment), relative partner features (position, heading, speed) for nearby agents, road geometry (segment positions, orientations, lane types), and the conditioning weight . Each agent selects actions from a discrete space of 91 combinations (7 acceleration 13 steering bins).
B. Epistemic Uncertainty via MC-Dropout
We estimate epistemic uncertainty using Monte Carlo Dropout [23] with K=5 stochastic forward passes during training rollouts. Critic uncertainty is the standard deviation across value estimates from the k-th forward pass, with their mean as
Actor uncertainty uses mutual information decomposition, where is the action distribution from the -th forward

Fig. 2: Architecture overview. Observations are processed by ego, partner, and road encoders with max-pooling over variable-count entities. The concatenated embedding passes through an LSTM with MC-Dropout and is modulated by FiLM conditioning on a scalar role signal (probing or neutral). At evaluation, all agents use the neutral role.
pass and denotes Shannon entropy:
The total uncertainty combines both via . Together, they capture complementary aspects of the policy's epistemic state in which the actor term reflects uncertainty about what action to take, while the critic term reflects uncertainty about how valuable the current situation is. This formulation assumes an actor-critic architecture, although the same concept applies to any method from which policy uncertainty can be estimated. While this work focuses on the self-play mechanism rather than the uncertainty estimator itself, we chose MC-Dropout for its simplicity: K=5 stochastic passes through a single shared model, with no additional networks. Exploring alternative estimators such as deep ensembles [28] or evidential methods [29] is a natural extension that could reduce training overhead without changing the core arms-race dynamic.
Important distinction: Uncertainty computation occurs only during training rollouts to generate rewards. At evaluation, all agents operate with neutral conditioning ( ), requiring no uncertainty computation. The policy runs as a standard single-pass network with zero additional inference cost. Accessing neighbors' uncertainty is a training curriculum mechanism, not a privileged observation at deployment.
C. FiLM-Conditioned Architecture
The architecture (Fig. 2) processes three observation modalities through separate encoders:
• Ego encoder: ego features 64 64 (LayerNorm + GELU + Dropout).
• Partner encoder: per-partner features 64 64, max-pooled over all visible partners.
• Road encoder: per-segment features 64 64, max-pooled over road segments.
The concatenated 192-dimensional representation passes through a shared embedding layer (192 → 256, GELU) and an LSTM with Dropout Layer (p=0.2), then undergoes Feature-wise Linear Modulation (FiLM) [30]:
where s, b are produced by a linear projection of the scalar role signal . Max-pooling over partner and road encodings naturally handles variable agent counts without padding or masking. The full model has about 780K parameters.
Mutual information auxiliary loss. To ensure the policy attends to the role signal rather than ignoring it, an auxiliary head predicts the conditioning input from the shared representation:
weighted by relative to the PPO objective. This maximizes a lower bound on , ensuring the representation differentiates probing and neutral roles.
D. Uncertainty-Driven Self-Play via Uncertainty Change
UncArms uses epistemic uncertainty as a training signal (Fig. 2, left): probing agents are rewarded for increasing neighbors' uncertainty, exposing the neutral policy to a broader training distribution.
Role assignment. At each episode, agents are randomly assigned roles: 50% probing (role signal sampled uniformly from ) and 50% neutral (role signal
0). Neutral agents receive only the standard task reward. Probing agents receive an additional reward based on the uncertainty change they induce in neighbors:
where denotes the nearest agents to agent , and is the temporal change in epistemic uncertainty.
Self-play dynamics. The unc reward creates co-evolutionary pressure as probing agents must find situations that increase neighbors' confusion (not just exploit existing uncertainty). As neutral agents adapt, the probing reward diminishes, forcing probing agents to discover increasingly novel confusing situations. This generates an automatic diversity-driven curriculum without hand-crafted scenario.
Training schedule. UncArms uses a three-phase curriculum in which steps 0–750M are a driving-only warmup (no adversarial reward), steps 750M–1B linearly ramp the probing reward, and steps 1B–1.5B run at full probing intensity.
Why unc rather than absolute uncertainty? Rewarding absolute uncertainty would incentivize probing agents to merely approach already-confused agents. Rewarding the change requires probing agents to actively create new confusion, driving exploration of the state space where the policy has unexplored weaknesses.
IV. EXPERIMENTAL EVALUATION
We evaluate all methods on the Waymo Open Motion Dataset (WOMD) [31] and test zero-shot transfer to nu-Plan [32] and Argoverse 2 [2]. All experiments use 4 seeds, and we report inter-seed mean±std.
A. Setup
Simulator. We train in PufferDrive [33], built on PufferLib [34] achieving >1M environment simulation steps/second with N=32 agents across 300 parallel WOMD scenarios [31].
Training. All experiments use PPO [35] with batch size 131,072, learning rate , clip ratio 0.2, entropy coefficient , and discount . All methods train for 1.5B steps, following the setup in [33].
Hardware. Training is performed on a single NVIDIA T4 GPU. Including neural network inference and PPO updates, effective training throughput is 46K steps/second. Each 1.5B-step run completes in approximately 9 hours.
Evaluation. Primary WOMD evaluation uses 10,000 held-out maps with all 32 agents policy-controlled (fully reactive multi-agent). Transfer evaluation uses SDC-only mode (single ego policy-controlled, background agents replay logged trajectories) to isolate the ego policy's generalization. All conditioned variants are evaluated at neutral conditioning ( ).
B. Baselines and Variants
• Baseline (Standard PPO): Self-play without FiLM, MC-Dropout, or conditioning [4]. The unconditional baseline.
• GIGAFLOW*: Baseline architecture extended with GIGAFLOW-style [17] concatenation-based conditioning on the 3 task reward weights ( ). No uncertainty signal. Evaluates the cost of task-weight conditioning.
• DIAYN: Skill discovery with 5 discrete skills [12], maximizing .
• Ent-PPO (Entropy-conditioned PPO): Conditioned on target entropy level, with the entropy coefficient varied per agent per episode.
• UncArms (Ours): FiLM-conditioned architecture (Sec. III-C), role signal conditioning, arms-race training with unc reward (50% probing / 50% neutral).
C. Main Results
Tab. I presents the main results. UncArms surpasses the unconditional baseline with 99.41% vs. 99.29% goal score (p < 0.05), the only conditioned method in our evaluation to beat a strong self-play baseline. UncArms also achieves the lowest DNF rate (0.20%), indicating that exposure to probing agents during training improves robustness to difficult scenarios that would otherwise cause agents to fail. We find that score, which requires both goal achievement and collision avoidance in the same episode, is the more informative metric than raw collision rate alone. An overly conservative agent can suppress collisions by slowing or avoiding contested paths, but this also prevents goal completion and inflates the DNF rate. Such behavior is not useful driving. UncArms achieves the highest score on WOMD (99.41% vs. 99.29%), nuplan Val14 (99.12% vs. 97.97%), and Argoverse 2 (82.39% vs. 78.03%), demonstrating that it reaches goals more reliably and collision-free across all three benchmarks. The slightly higher raw collision rate on WOMD (2.25% vs. 1.92%) is offset by more successful goal-directed behavior: of the agents that do collide, UncArms collides less on episodes where the goal is also reached (0.29% goal-collision overlap vs. 0.33% for baseline), so the extra collisions come from active failed attempts rather than reckless driving. Among diversity-oriented baselines, UncArms exceeds DIAYN (98.36%), entropy-conditioned PPO (98.33%), and the GIGAFLOW-style full-vector conditioning (94.70%).
D. Zero-Shot Transfer
- nuPlan: Tab. II presents the zero-shot transfer results, which provide the strongest evidence for UncArms's value. UncArms achieves 99.12% score, surpassing the baseline by 1.15 percentage points, with higher goal rate (99.24% vs. 98.27%), lower collision rate (9.53% vs. 9.61%), and lower offroad rate (1.15% vs. 1.36%). Note that collision rates in SDC-only mode are elevated across all methods because background agents follow fixed logged trajectories without reacting to the ego agent; the relative ordering across methods remains meaningful. This result parallels findings in adversarial training for image classification [14] and sim-to-real transfer [15]. Models exposed to a broader distribution of challenging conditions during training develop more robust internal representations that transfer better to
TABLE I: Main performance on WOMD (10K validation maps, 4 seeds, all methods trained for 1.5B steps). Score = goal reached no collision. Goal = fraction reaching goal. : vs. Baseline (Welch's -test). UncArms is the only conditioned policy to surpass the unconditional baseline.
| Method | Conditioning Mechanism | Score (%) ↑ | Goal (%) ↑ | Coll. (%) ↓ | Offroad (%) ↓ | DNF (%) ↓ |
|---|---|---|---|---|---|---|
| Baseline (PPO) | None (unconditional self-play) | 99.29±0.08 | 99.64±0.04 | 1.92±0.19 | 0.87±0.14 | 0.24±0.01 |
| UncArms (Ours) | Scalar role signal (Δunc arms-race) | 99.41±0.08† | 99.72±0.02† | 2.25±0.17 | 1.13±0.09 | 0.20±0.02 |
| GIGAFLOW* | Task-weight vector (3D: goal, coll, off) | 94.70±0.70† | 96.60±0.50† | 4.60±0.40 | 4.30±0.70 | 1.81±0.31 |
| DIAYN | Discrete skill index (z ∈ {1..5}) | 98.36±0.18† | 98.89±0.08† | 4.65±0.16 | 2.29±0.19 | 0.72±0.01 |
| Ent-PPO | Target entropy level | 98.33±0.25† | 98.98±0.14† | 5.12±0.36 | 2.99±0.32 | 0.62±0.09 |
*GIGAFLOW-style reproduction: same architecture with concatenation-based conditioning on the 3 task reward weights (, , ) [17]. The 4.59% score gap vs. Baseline demonstrates the diversity tax, conditioning on variable task weights forces the policy to represent incompatible objectives, degrading driving competence.
TABLE II: Zero-shot transfer to nuplan Val14 (no fine-tuning). SDC-only: ego agent controlled by policy, background agents replay logged trajectories. UncArms achieves best transfer on all metrics.
| Method | Score (%) ↑ | Goal (%) ↑ | Coll. (%) ↓ | Offroad (%) ↓ | DNF (%) ↓ |
|---|---|---|---|---|---|
| UncArms (Ours) | 99.12±0.32 | 99.24±0.30 | 9.53±0.14 | 1.15±0.10 | 0.44±0.18 |
| Baseline (PPO) | 97.97±0.57 | 98.27±0.58 | 9.61±0.31 | 1.36±0.26 | 1.27±0.45 |
| DIAYN | 97.16±0.75 | 97.35±0.62 | 13.12±0.50 | 2.31±0.46 | 1.08±0.23 |
| Ent-PPO | 95.67±0.25 | 95.98±0.39 | 12.40±0.54 | 2.48±0.37 | 2.47±0.49 |
| GIGAFLOW* | 91.82±1.91 | 92.02±1.82 | 10.95±0.66 | 2.31±0.53 | 3.97±1.33 |
TABLE III: Zero-shot transfer to Argoverse 2 validation (24,988 scenarios, no fine-tuning). SDC-only control. UncArms leads on score and goal rate.
| Method | Score (%) ↑ | Goal (%) ↑ | Coll. (%) ↓ | Offroad (%) ↓ | DNF (%) ↓ |
|---|---|---|---|---|---|
| UncArms (Ours) | 82.39±0.68 | 93.05±0.49 | 9.84±0.13 | 26.67±1.56 | 0.69±0.08 |
| Baseline (PPO) | 78.03±2.79 | 89.33±2.78 | 9.66±0.46 | 30.07±2.61 | 1.25±0.17 |
| DIAYN | 75.00±2.88 | 82.77±2.90 | 12.02±0.83 | 28.28±2.93 | 3.09±0.09 |
| Ent-PPO | 76.92±0.93 | 85.18±0.91 | 12.82±0.72 | 27.70±0.79 | 3.26±0.99 |
| GIGAFLOW* | 69.44±2.30 | 76.71±1.74 | 11.21±0.43 | 30.18±2.09 | 4.51±0.81 |
novel domains. In our setting, the diversity-driven curriculum forces agents to handle a wider distribution of interactive situations during training, producing a policy that is less brittle when encountering the different traffic patterns, map formats, and lane geometries of nuplan Val14. Diversity-oriented baselines transfer substantially worse. GIGAFLOW scores 91.82% (-6.15% vs. baseline) and Ent-PPO 95.67% (-2.30%). DIAYN transfers at 97.16%, still below baseline. UncArms is the only method that consistently outperforms the baseline across all five metrics.
Comparison of diversity mechanisms. The entropy baseline diversifies behavior without direction as it encourages exploration broadly but does not concentrate pressure on any particular region of the policy's distribution. DIAYN diversifies the ego policy's own behavioral range but optimizes for discriminability rather than safety-relevance. Our uncertainty-seeking approach performs better as it focuses probing pressure on interactions where the policy has low confidence, potentially generating scenario diversity more aligned with policy gaps.
- Argoverse 2: Tab. III presents zero-shot transfer results on Argoverse 2 [2]. AV2 lacks explicit road-edge annotations so we approximate edges via the drivable-area polygon boundary, which cuts diagonally across open intersections and flags legal turns as off-road. Offroad rates are therefore inflated for all methods (26–30% vs. <2% on nuPlan).
(a) Epistemic Uncertainty as Failure Predictor 113K WOMD agents in validation set

(b) Reliability Diagram — 113K WOMD agents in validation set ECE = 0.0135, MCE = 0.0810

Fig. 3: Epistemic uncertainty as failure predictor and calibration analysis (UncArms, 113K agents across 10K WOMD validation maps, ). (a) Combined failure rate (collision + offroad + DNF) by uncertainty decile. (b) Reliability diagram: logistic mapping fitted on training data, evaluated on held-out validation.
Score and goal rate remain reliable comparators. Despite this limitation, the relative ordering is consistent with nuPlan where UncArms achieves the highest score (82.39%) and goal rate (93.05%), outperforming the baseline by +4.36% and +3.72% respectively. The margin is larger here than on nuPlan (+1.15%), suggesting that the diversity-driven curriculum confers additional benefit on more geometrically diverse scenarios. Diversity baselines again transfer poorly. GIGAFLOW scores 69.44% (-8.59% vs. baseline), DIAYN 75.00% (-3.03%), and Ent-PPO 76.92% (-1.11%). UncArms is the only method to outperform the unconditional baseline on all three transfer datasets (WOMD, nuPlan, and AV2).
TABLE IV: LSTM hidden-state diversity.
| Method | Coverage ↑ | Eff. Dim. ↑ | Spread |
|---|---|---|---|
| UncArms (Ours) | 0.357 | 110 | 34.33 |
| Baseline (PPO) | 0.193 | 94 | 33.25 |
TABLE V: Ablation isolating the adversarial training contribution (10K WOMD maps, 4 seeds). MC-Dropout alone affects the performance while the arms-race mechanism more than compensates.
| Method | Arms-Race | Score (%) |
|---|---|---|
| Baseline (PPO, no dropout) | × | 99.29±0.08 |
| Baseline + MC-Dropout | × | 98.50±0.08 |
| UncArms (Ours) | √ | 99.41±0.08 |
E. Uncertainty as Difficulty Detector
Fig. 3(a) demonstrates that epistemic uncertainty is a strong predictor of driving failure. Binning 113K agent-level episodes by MC-Dropout uncertainty decile reveals a monotonic increase in combined failure rate (collision + offroad + DNF) from the lowest to highest decile (1.01% vs. 14.96%). All three failure modes scale with uncertainty, with collisions dominating and DNF exhibiting the steepest relative growth. Fig. 3(b) shows a reliability diagram: a logistic mapping from uncertainty to failure probability, fitted on a random 1000-map subsample of the training set, is evaluated on 10K held-out validation maps (113K episodes). The resulting Expected Calibration Error (ECE=0.014) confirms that the uncertainty signal is not merely a good ranker but also yields well-calibrated failure probabilities after a simple post-hoc transformation. This finding motivates the self-play mechanism: if uncertainty reliably indicates difficulty, then rewarding agents for increasing neighbors' uncertainty naturally generates challenging interactions. Beyond its role in training, this difficulty signal is a practical deployment tool as a single UncArms checkpoint simultaneously provides best-in-class driving performance (Tab. I) and a calibrated per-scenario failure predictor (Fig. 3) without requiring ground-truth labels or separate evaluation runs.
F. Behavioral Diversity via LSTM Hidden States
To quantify whether adversarial training yields genuinely different behaviors or merely different action magnitudes, we analyze the LSTM hidden states during evaluation (Tab. IV). The LSTM encodes the policy's internal "situation model". Distinct hidden states correspond to distinct behavioral modes the policy has learned to represent.
Coverage measures what fraction of the representational space the policy actually uses. We project hidden states onto 3 principal components, divide the resulting space into a -cell grid, and count the fraction of cells visited. UncArms occupies of the grid vs. for the Baseline, an increase, meaning the adversarial policy activates a far broader set of behavioral modes during evaluation rather than repeatedly visiting the same few states.
Effective dimensionality counts how many independent directions the hidden states spread across (PCA components needed for of variance). UncArms uses 110 dimensions vs. 94 for the Baseline, indicating more uniform representation spread rather than collapse along few dominant axes.
TABLE VI: Neighborhood size (K) and warmup ablations.
| (a) Neighborhood size K | Score (%) ↑ |
|---|---|
| K = 1 | 98.97±0.24 |
| K = 3 (Ours) | 99.41±0.08 |
| K = 5 | 99.22±0.09 |
| K = 10 | 98.99±0.20 |
| (b) Warmup schedule | Score (%) ↑ |
| With warmup (Ours) | 99.41±0.08 |
| No warmup | 98.84±0.24 |
TABLE VII: Effect of conditioning mechanism on WOMD score. All variants use the same arms-race training. Only the role-signal modulation differs.
| Method | Score (%) ↑ |
|---|---|
| Baseline (PPO) | 99.29±0.08 |
| UncArms (no role assignment) | 99.18±0.30 |
| UncArms (Concatentation) | 99.35±0.07 |
| UncArms (FiLM, Ours) | 99.41±0.08 |
Spread (trace of the covariance matrix) measures total variance. The Baseline and UncArms have similar spread (33.25 vs. 34.33), but UncArms distributes this variance more uniformly across space (higher coverage) rather than concentrating in dense clusters with empty gaps.
Together, these metrics indicate that the diversity-driven curriculum forces the policy to develop a richer internal set of behavioral modes, directly explaining its superior zero-shot transfer: a policy exposed to more situations during training is better equipped for novel scenarios.
G. Ablation Study
-
MC-Dropout vs. Adversarial Training: A natural question is whether UncArms's gains stem from its adversarial training mechanism or simply from the regularization effect of MC-Dropout. Tab. V isolates this factor. Adding MC-Dropout to the baseline without adversarial training reduces the score by . UncArms uses the same architecture but surpasses the clean baseline by , a net swing of attributable entirely to the arms-race mechanism. MC-Dropout is a necessary enabler (providing the uncertainty signal for unc rewards) but is not itself beneficial. The gains come from the adversarial curriculum it enables.
-
Neighborhood Size and Warmup Schedule: Tab. VI(a) ablates the neighborhood size used in the unc reward. achieves the best score. Both extremes ( and ) degrade performance. With , the probing signal is too sparse to generate a consistent curriculum. With , averaging over distant agents dilutes the signal from the most proximate and relevant interactions. balances local interaction density with signal stability. Tab. VI(b) shows that removing the 750M-step driving-only warmup degrades score by . The warmup first establishes a competent base policy before probing pressure is introduced where probing agents with an existing driving skill can navigate toward
TABLE VIII: Effect of probing fraction of UncArm on WOMD score.
| Neutral (%) | Probing (%) | Score (%) ↑ |
|---|---|---|
| 25 | 75 | 99.04±0.53 |
| 50 | 50 | 99.41±0.08 |
| 75 | 25 | 99.40±0.03 |

Controlled agent
Controlled (collision)
Replay vehicles
Ped. / cyclist
Collision partner
Goal
Fig. 4: Qualitative safety comparison under neutral conditioning ( ). For each scenario, the left panel shows the initial state, and the matrix shows the controlled ego (blue, red on collision) for Baseline (top) and UncArms (bottom) at two timesteps. Other agents replay their logged trajectories (green vehicles, amber pedestrians/cyclists), the yellow star marks the ego goal, and the red ring marks the collision partner.
uncertain neighbors and generate meaningful interactions, yielding a richer uncertainty-driven curriculum that improves the final neutral policy.
-
Conditioning Mechanism: Tab. VII isolates the role of the conditioning mechanism. Running the arms-race without any role assignment falls below the unconditional baseline (-0.11%), confirming that the probing reward alone is insufficient as agents cannot adopt distinct exploratory strategies if the policy cannot perceive its role. Concatenation conditioning recovers and surpasses the baseline (+0.06%), demonstrating that role awareness itself is the key contributor. FiLM's multiplicative modulation (Ours) adds a further +0.06%, suggesting feature-wise gating provides a small but consistent benefit over additive conditioning.
-
Probing Fraction: Tab. VIII varies the fraction of neutral agents per episode. The 50/50 split (UncArms) and the 75% neutral split (E37) perform nearly identically (99.41% vs. 99.40%), indicating that a minority of probing agents is sufficient to generate a useful curriculum. Reducing neutral agents to 25% (E36) degrades performance substantially (-0.37% vs. UncArms, variance ±0.53), because too few neutral agents weaken the task-reward anchor and destabilize training. The asymmetry suggests that curriculum quality is limited by the diversity of probing behaviors, not by their quantity. Once enough probing pressure exists to surface novel scenarios, additional probers do not further help.
H. Qualitative Results
Fig. 4 contrasts the unconditional Baseline with UncArms on three representative WOMD scenarios, both evaluated under identical neutral conditioning ( ), so the differences stem from adversarial training rather than any test-time signal. In (a), UncArms shows greater negotiation capacity in a dense crossing conflict where it yields and waits for the other agents to pass first, then proceeds through the conflict zone and reaches its goal, whereas the Baseline drives into the conflict and collides. In (b), UncArms avoids a crossing-vehicle collision that the Baseline incurs, and in (c) it completes a route the Baseline fails to finish. These safer, negotiation-aware behaviors emerge purely from the adversarial arms-race during training.
Fig. 5 illustrates how a single UncArms checkpoint produces qualitatively distinct behaviors depending solely on the conditioning signal at inference time. Under neutral conditioning (), the ego pursues a conservative, goal-directed strategy and avoids collisions in all three scenarios. Switching to probing conditioning () from the same checkpoint produces a novelty-seeking agent that actively explores uncertain, high-interaction regions of the scene. Collisions arise as a natural byproduct of this exploratory drive rather than as an explicit objective. This role flexibility emerges at no additional cost as the checkpoint is shared and only the conditioning signal changes at test time. A current limitation of the neutral role is that, while it achieves higher scores, its trajectories do not necessarily comply with traffic regulations such as lane-keeping or right-of-way rules, since these constraints are absent from the reward definition. Addressing explicit rule compliance is left for future work.
V. CONCLUSION
We presented UncArms, an uncertainty-driven self-play scheme for multi-agent driving that uses changes in epistemic uncertainty as the probing reward. In the proposed mechanism, the reward probing agents increase neighbors' confusion and let neutral agents adapt. This yields self-play dynamics that expose the neutral policy to a broader distribution of challenging interactions. Among the conditioned methods we evaluate, UncArms is the only one to outperform the unconditional self-play baseline with 99.41% vs. 99.29% on WOMD, 99.12% vs. 97.97% on zero-shot nuplan Val14 transfer, and 82.39% vs. 78.03% on Argoverse 2, with no fine-tuning. The 85% increase in LSTM hidden-state coverage

Fig. 5: Role-conditioned behavior from a single UncArms checkpoint on three WOMD scenarios. Left: initial scene with the goal visible. matrix: ego at two timesteps under neutral conditioning ( , top) and probing conditioning ( , bottom). Blue: controlled ego. red: ego at collision. green: replay vehicles. amber: pedestrians/cyclists. red ring: collision partner.
explains the transfer advantage since the diversity-driven curriculum forces the policy to internalize broader behaviors.
The core insight is that epistemic uncertainty, measuring where the policy has the lowest confidence, provides a cheap, automatic proxy for behavioral diversity in multi-agent settings. Rather than hand-engineering diverse training scenarios, probing agents find the hard cases automatically by targeting precisely the situations where the current policy is least confident. Additionally, epistemic uncertainty serves as a calibrated difficulty detector (14.8× failure rate in highest vs. lowest decile, ECE=0.014), providing a signal for prioritizing challenging scenarios without ground-truth labels.
ACKNOWLEDGMENT
This work is a result of the joint research project STADT:up (19A22006O). The project is supported by the German Federal Ministry for Economic Affairs and Energy (BMWE), based on a decision of the German Bundestag. The author is solely responsible for the content of this publication.
REFERENCES
[1] H. Caesar, V. Bankiti, A. H. Lang et al., “nuscenes: A multimodal dataset for autonomous driving,” arXiv preprint arXiv:1903.11027, 2020.
[2] B. Wilson, W. Qi, T. Aber et al., “Argoverse 2: Next generation datasets for self-driving perception and forecasting,” in Adv. in Neural Information Processing Systems, 2023.
[3] F. Schmidt, M. Enzweiler, and A. Valada, “Graphpilot: Grounded scene graph conditioning for language-based autonomous driving,” arXiv preprint arXiv:2511.11266, 2025.
[4] D. Cornelisse, A. Pandya, K. Joseph, J. Suárez, and E. Vinitsky, "Building reliable sim driving agents by scaling self-play," arXiv preprint arXiv:2502.14706, 2025.
[5] J. Wei, Y. Chen, S. Song, Y. Wu, A. Rehr, and A. Valada, "Copark: Learning reactive parking via self-play," arXiv preprint arXiv:2606.04149, 2026.
[6] J. Wei, Y. Wu, R. He, and A. Valada, “Counterplay: Counterfactual post-training for self-play driving policies,” arXiv preprint arXiv:2609.21617, 2026.
[7] F. Schmalstieg, D. Honerkamp, T. Welschehold, and A. Valada, “Learning hierarchical interactive multi-object search for mobile manipulation,” IEEE Robotics and Automation Letters, vol. 8, no. 12, pp. 8549–8556, 2023.
[8] —, “Learning long-horizon robot exploration strategies for multi-object search in continuous action spaces,” in The Int. Symposium of Robotics Research, 2022, pp. 52–66.
[9] J. Wang, A. Pun, J. Tu, S. Manivasagam, A. Sadat, S. Casas, M. Ren, and R. Urtasun, “Advsim: Generating safety-critical scenarios for self-driving vehicles,” in IEEE/CVF Conf. on Computer Vision and Pattern Recognition, 2021, pp. 9909–9918.
[10] N. Hanselmann, K. Renz, K. Chitta, A. Bhattacharyya, and A. Geiger, "King: Generating safety-critical driving scenarios for robust imitation via kinematics gradients," arXiv preprint arXiv:2204.13683, 2022.
[11] L. Rowe, R. Ethier, A. Rajwanshi, and Y. Zeng, “Ctrl-sim: Reactive and controllable driving agents with offline reinforcement learning,” in Conf. on Robot Learning, 2024.
[12] B. Eysenbach, A. Gupta, J. Ibarz, and S. Levine, “Diversity is all you need: Learning skills without a reward function,” in Int. Conf. on Learning Representations, 2019.
[13] T. Haarnoja, A. Zhou, P. Abbeel, and S. Levine, “Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor,” in Int. Conf. on Machine Learning, 2018, pp. 1861–1870.
[14] A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu, “Towards deep learning models resistant to adversarial attacks,” in Int. Conf. on Learning Representations, 2018.
[15] J. Tobin, R. Fong, A. Ray, J. Schneider, W. Zaremba, and P. Abbeel, "Domain randomization for transferring deep neural networks from simulation to the real world," in Int. Conf. on Intelligent Robots and Systems, 2017.
[16] P. Scheffe, Z. Xu, M. Kloock, and B. Alrifaee, “Mats-gym: Multi-agent traffic scenario benchmark for autonomous driving,” in IEEE Intel. Vehicles Symposium, 2024.
[17] M. Cusumano-Towner, D. Hafner et al., “Robust autonomy emerges from self-play,” arXiv preprint arXiv:2502.03349, 2025.
[18] M. Dennis, N. Jaques, E. Vinitsky, A. Baez, S. Singh, S. Levine, and I. Mordatch, “Emergent complexity and zero-shot transfer via unsupervised environment design,” in Adv. in Neural Information Processing Systems, 2020.
[19] L. Pinto, J. Davidson, R. Sukthankar, and A. Gupta, “Robust adversarial reinforcement learning,” in Int. Conf. on Machine Learning, 2017.
[20] J. Cui, F. Liang, G. Yang, C. Tang, and J. Cui, “Safer: Safety-critical scenario generation for autonomous driving test via feasibility-constrained token resampling,” arXiv preprint arXiv:2603.04071, 2026.
[21] Z. Huang, X. Gao, G. Zheng, L. Wen, X. Yang, and X. Sun, “Safety-critical traffic simulation with adversarial transfer of driving intentions,” arXiv preprint arXiv:2503.05180, 2025.
[22] O. Vinyals, I. Babuschkin, W. M. Czarnecki et al., “Grandmaster level in starcraft ii using multi-agent reinforcement learning,” nature, vol. 575, no. 7782, pp. 350–354, 2019.
[23] Y. Gal and Z. Ghahramani, “Dropout as a bayesian approximation: Representing model uncertainty in deep learning,” arXiv preprint arXiv:1506.02142, 2016.
[24] D. Pathak, P. Agrawal, A. A. Efros, and T. Darrell, “Curiosity-driven exploration by self-supervised prediction,” arXiv preprint arXiv:1705.05363, 2017.
[25] Y. Burda, H. Edwards, D. Pathak, A. Storkey, T. Darrell, and A. A. Efros, “Large-scale study of curiosity-driven learning,” arXiv preprint arXiv:1808.04355, 2018.
[26] B. Lütjens, M. Everett, and J. P. How, “Safe reinforcement learning with model uncertainty estimates,” in IEEE Int. Conf. on Robotics and Automation, 2019.
[27] G. Kahn, A. Villaflor, V. Pong, P. Abbeel, and S. Levine, “Uncertainty-aware reinforcement learning for collision avoidance,” arXiv preprint arXiv:1702.01182, 2017.
[28] B. Lakshminarayanan, A. Pritzel, and C. Blundell, “Simple and scalable predictive uncertainty estimation using deep ensembles,” arXiv preprint arXiv:1612.01474, 2017.
[29] S. Marvi, C. Rist, J. Schmidt, J. Jordan, and A. Valada, “Evidential uncertainty estimation for multi-modal trajectory prediction,” arXiv preprint arXiv:2503.05274, 2025.
[30] E. Perez, F. Strub, H. de Vries, V. Dumoulin, and A. Courville, “Film: Visual reasoning with a general conditioning layer,” arXiv preprint arXiv:1709.07871, 2017.
[31] S. Ettinger, S. Cheng, B. Caine et al., “Large scale interactive motion forecasting for autonomous driving: The waymo open motion dataset,” arXiv preprint arXiv:2104.10133, 2021.
[32] H. Caesar, J. Kabzan, K. S. Tan, W. K. Fong, E. Wolff, A. Lang, L. Fletcher, O. Beijbom, and S. Omari, “nuplan: A closed-loop ml-based planning benchmark for autonomous vehicles,” arXiv preprint arXiv:2106.11810, 2021.
[33] D. Cornelisse, S. Cheng, P. Mandavilli et al., “PufferDrive: A fast and friendly driving simulator for training and evaluating RL agents,” 2025. [Online]. Available: https://github.com/Emerge-Lab/PufferDrive
[34] J. Suarez, “Pufferlib: Making reinforcement learning libraries and environments play nice,” arXiv preprint arXiv:2406.12905, 2024.
[35] J. Schulman, F. Wolski, P. Dhariwal et al., “Proximal policy optimization algorithms,” arXiv preprint arXiv:1707.06347, 2017.