Multi-Agent Traffic Simulation

Flow-ERD: Agent-type Aware Flow Matching with Entropy‑Regularized Distillation for Diverse Traffic Simulation

Seulbin Hwang*·Kiyoung Om*·Daejung Kim·Jinhan Lee

NAVER LABS Corp.*equal contribution   corresponding author

Paper arXiv Code Coming Soon!
Closed-loop multi-agent rollout by Flow-ERD — pedestrians stream across the crosswalk while vehicles slow and yield, every agent simulated jointly with type-correct motion.

01TL;DR

Modern traffic simulators often look realistic but miss diverse plausible futures critical for autonomous driving.

Our Flow-ERD jointly achieves realism and diversity with agent-type-aware flow matching and entropy-regularized closed-loop distillation.

It ranks first on the WOSAC test benchmark and leads the realism–diversity Pareto front among reproducible baselines.

02Leaderboard

Realism · WOSAC 2025 Test Split

World’s #1 The world’s most realistic traffic simulator — top overall realism (RMM) on WOSAC 2025
+0.0013 Lead over 2nd place — wider than any gap between consecutive rivals in the top 10
1st Kinematic metric — already best with the AFM backbone alone
#MethodRMM ↑Kinematic ↑Interactive ↑Map ↑minADE ↓
1Flow-ERD (7M)0.78780.50620.81100.91901.2721
2Mhrnz0.78650.49310.81430.91841.3051
3SMART-tiny-DecompGAIL0.78640.49190.81520.91761.4209
4SMART-R10.78580.49440.81100.92011.2885
5SMART-tiny-RLFTSim0.78570.49270.81290.91831.3252
6SMART-R10.78550.49400.81090.91941.2990
7TrajTok0.78520.48870.81160.92071.3179
8unimotion0.78510.49430.81050.91871.3036
9smart-CLSFT0.78470.49320.81040.91831.3083
10smart-7M-catk0.78470.49380.81010.91821.3119
11SMART-tiny-CLSFT-RoaD0.78470.49320.81060.91781.3042
12smart-CLSFT0.78470.49330.81020.91831.3101
13SMART-tiny-CLSFT0.78460.49310.81060.91771.3065
14Flow Agents 7M+ ERD fine-tuning #10.78450.49550.80940.91781.3358
15MDG0.78440.49280.80990.91831.3123
Official WOSAC 2025 test leaderboard — Flow-ERD ranks #1. Verify it live on the Waymo Open Sim Agents Challenge ↗

04Diversity

Realism–diversity Pareto front · WOSAC 2025 validation split

Realism-diversity Pareto plot: AFM traces the upper-right frontier
Backbone: AFM (ours) traces the upper-right frontier — no baseline reaches it under any sampling setting.
ERD beta sweep: fine-tuning lifts realism, lowering beta raises diversity
Fine-tuned: ERD lifts realism far above the backbone; lowering β buys even more diversity at a tiny realism cost.
TypeMethodRMM ↑Kinematic ↑Interactive ↑Map ↑CPD (diversity) ↑
PretrainedSMART0.78070.48730.80710.91440.1655
TrajTok0.78370.48510.81100.91930.1587
UniMM0.78120.48630.80700.91650.1514
AFM backbone (ours)0.78360.49140.80960.91720.1858
Fine-tunedCAT-K (on SMART)0.78420.49040.81100.91750.1491
RoaD0.78470.49040.81160.91820.1585
RLFTSim0.78480.48950.81160.91900.1510
DecompGAIL0.78540.49120.81230.91900.1420
Flow-ERD (ours, β = 1.0)0.78760.50630.81080.91840.1684
Flow-ERD (ours, β = 0.99)0.78690.50530.80990.91820.1828

Highest diversity at the highest realism — every baseline trades one for the other.

05Intent-level multimodality

Is the extra diversity meaningful, or just noise? · 64 closed-loop rollouts per scene · 1,048 WOMD validation scenes

Qualitative comparison of 64 ego rollouts on the same intersection: SMART produces 60 straight and 4 left; Flow-ERD beta 1.0 produces 53 straight and 11 left; Flow-ERD beta 0.99 produces 48 straight, 14 left, and 2 U-turns
Same scene, 64 rollouts — ego trajectories overlaid on one WOSAC intersection and colored by maneuver intent (magenta = logged ground truth). SMART piles 60/64 rollouts onto the dominant straight mode. Flow-ERD β = 1.0 nearly triples the left-turn mode, and β = 0.99 recovers even the rare U-turn — every branch a distinct, physically plausible maneuver, not off-map drift.
Each ego rollout is labeled with the official WOMD trajectory-type rule; per-scene entropy is computed over the moving intents (Straight / Left / Right / U‑turn) and averaged over all 1,048 scenes. Entropy rises monotonically as β decreases.

Why RMM alone isn’t enough

RMM scores rollouts against a single logged future, so it under-rewards rare but plausible alternatives — a simulator can look perfectly realistic while collapsing onto the dominant mode. Intent entropy shows the diversity Flow-ERD preserves is semantic: distinct maneuvers available in the same scene, with the entropy temperature β acting as a direct dial between realism and mode coverage.

06Model overview

Flow-ERD architecture: AFM backbone with type-specific kinematics, ERD fine-tuning with entropy-tempered target
(a) AFM generates continuous actions, executed through per-type kinematics. (b) ERD distills the closed-loop distribution toward an entropy-tempered target that keeps minority modes alive.

07Two ingredients

AFM — Agent-Type Aware Flow Matching

Flow matching samples fine-grained continuous actions — no token codebook. Type-specific kinematics (holonomic for pedestrians, bicycle-style for vehicles and cyclists) make physically invalid motion impossible by construction.

ERD — Entropy-Regularized Distillation

Closed-loop fine-tuning with reverse-KL against an entropy-tempered target pdataβ, β ≤ 1: covariate shift is corrected while rare maneuvers — U-turns, unprotected lefts — survive instead of collapsing into the dominant mode.

08Abstract

Realistic and diverse traffic simulation is essential to autonomous driving development. Yet prevailing benchmarks predominantly reward realism, and recent methods have optimized accordingly, leaving diversity underexplored. We introduce Flow-ERD, a multi-agent simulator that pursues realism and diversity jointly. Its backbone, Agent-Type Aware Flow Matching (AFM), couples flow matching’s multi-modal expressiveness with type-specific kinematic execution. It preserves fine-grained diversity while keeping motions consistent with each agent type. A second stage, Entropy-Regularized Distillation (ERD), fine-tunes the closed-loop rollout distribution with an entropy-regularized reverse-KL objective. This mitigates covariate shift while explicitly preventing collapse onto high-density modes. We evaluate Flow-ERD with a log-free diversity metric alongside standard realism scores. Flow-ERD ranks first on the WOSAC test benchmark and dominates the realism–diversity Pareto front among reproducible baselines.

09BibTeX

@misc{hwang2026flowerd,
  title         = {Flow-ERD: Agent-type Aware Flow Matching with Entropy-Regularized
                   Distillation for Diverse Traffic Simulation},
  author        = {Hwang, Seulbin and Om, Kiyoung and Kim, Daejung and Lee, Jinhan},
  year          = {2026},
  eprint        = {2607.06957},
  archivePrefix = {arXiv},
  primaryClass  = {cs.RO},
  url           = {https://arxiv.org/abs/2607.06957}
}