Abstract
Neural Interactive Agents (NIVA) is a probabilistic framework for multi-agent traffic simulation designed to bridge the fidelity gap in autonomous vehicle testing. By disentangling high-level behavioral latents—specifically discrete intentions and continuous driving styles—from low-level vehicle dynamics, NIVA enables the generation of realistic, reactive, and highly controllable closed-loop simulations. Utilizing a hierarchical Bayesian model and an "Adaptive-Norm" Transformer architecture, the framework achieves state-of-the-art performance on the Waymo Open Motion Dataset, particularly in kinematic realism and displacement error metrics.
Introduction
Testing autonomous vehicles (AVs) in real-world environments is prohibitively expensive and carries significant safety risks. While simulators offer a safer alternative, traditional methods like log-replay fail to capture the reactive nature of traffic; background actors do not respond to the AV's actions. Conversely, many learning-based simulators act as "black boxes," making it difficult to specify particular behaviors, such as aggressive lane changes, for safety testing. Furthermore, traffic is inherently multi-modal—drivers at an intersection may turn or proceed straight—a complexity that many models struggle to represent realistically.
Methodology
NIVA addresses these challenges by treating traffic simulation as a hierarchical generative process. The framework disentangles behavior into three distinct layers:
- Driving Style ($b$): A continuous latent variable representing personality traits like aggressiveness or conservativeness.
- Intention ($z$): A discrete latent variable representing long-term goals, such as specific exit choices.
- Dynamics ($s$): The resulting next-step motion states.
The core of the architecture is the Adaptive-Norm Transformer. Inspired by Diffusion Transformers (DiT), this decoder-only model uses latent style and intention variables to modulate layer normalization parameters. This "Adaptive-Norm" block allows the model to dynamically adjust an agent's behavior based on its assigned "personality" without requiring a complete world re-centering for every agent, thanks to a relative spacetime representation. The model is trained using Variational Inference and an Expectation-Maximization (EM) algorithm to infer unobservable latent variables from recorded data.
Key Insights and Results
A primary advantage of NIVA is its controllability. By separating style from intention, users can "dial in" specific scenarios. For instance, the same agent at an intersection can be sampled to perform a "conservative left turn" or an "aggressive straight-through" trajectory simply by adjusting the latent tokens.
NIVA was evaluated on the Waymo Open Motion Dataset (WOMD), achieving state-of-the-art results:
- minADE (Minimum Average Displacement Error): 1.4112, outperforming models like BehaviorGPT and KiGRAS.
- Kinematic Realism: 0.4789, the highest among compared models, indicating trajectories that closely follow physical laws and human patterns.
- Efficiency: With only ~1.0M parameters, NIVA is significantly more lightweight than competitors like TrafficBots (10M parameters), facilitating large-scale simulations.
Conclusion
NIVA demonstrates that disentangling high-level intent from low-level dynamics is crucial for building controllable and realistic traffic simulators. While the model currently faces hardware constraints regarding Transformer depth—where increasing blocks leads to significant GPU memory overhead—it sets a new benchmark for closed-loop simulation. Future research will focus on incorporating raw sensor data, such as LiDAR and camera feeds, to enable end-to-end testing of the entire AV perception and planning stack.
Summary updated