TL;DR
CarPLAN is a novel imitation learning framework for autonomous driving that combines self-supervised future displacement prediction with a Mixture-of-Experts (MoE) decoder. By explicitly modeling spatial relationships during training and dynamically routing to specialized expert networks during execution, it achieves state-of-the-art closed-loop planning performance on the nuPlan and Waymax benchmarks with real-time efficiency.
What Problem Does This Paper Address?
Imitation Learning (IL) has become a dominant paradigm for autonomous vehicle (AV) motion planning because it allows models to learn directly from massive human driving datasets. However, standard IL approaches typically focus on minimizing trajectory imitation loss (such as the L1 distance to the human driver's path).
The authors point out a critical flaw in this approach: a lower imitation loss does not guarantee safe driving. As shown in the paper, a model can achieve a low L1 loss while still causing lane departures or collisions because it lacks a fundamental understanding of the surrounding spatial context and relational spacing.
Furthermore, most existing planners rely on a single, static policy network. This monolithic design biases the model toward common driving scenarios and limits its ability to adapt to rare, complex, or highly dynamic "long-tail" traffic situations.
Methods
CarPLAN introduces two primary components to jointly improve spatial awareness and context adaptability:
- Displacement-Aware Predictive Encoding (DPE): To force the network to learn relative distances, the encoder is tasked with predicting future displacement vectors between the AV and surrounding scene elements (both dynamic agents like pedestrians/vehicles and static map features like lane boundaries). This is enforced via an auxiliary self-supervised loss during training. Crucially, this predictive head is deactivated during inference, meaning the model gains superior spatial awareness without any added runtime computational overhead.
- Context-Adaptive Multi-Expert Decoder (CMD): Instead of using a single policy network to generate trajectories, CarPLAN integrates a Mixture of Experts (MoE) framework into the Transformer decoder layers. It utilizes a Scene-Aware Router that uses cross-attention to analyze the driving intention against the scene structure, dynamically activating the top-$K$ specialized "Routed Experts" (implemented as Feed-Forward Networks) best suited for the current context. It also includes "Shared Experts" that remain permanently active to capture general, context-invariant driving patterns.
Datasets
The framework was validated across two major closed-loop simulation benchmarks:
- nuPlan: A massive, real-world dataset containing 1,300 hours of urban driving data. The authors evaluated CarPLAN on the Val14, Test14-Random, and the highly challenging Test14-Hard benchmarks across both Non-Reactive (CLS-NR) and Reactive (CLS-R) simulation settings.
- Waymax: A reactive closed-loop simulation framework built on the Waymo Open Motion Dataset (WOMD), used to evaluate the model's cross-benchmark generalization capabilities.
Key Insights and Ideas
- Baking in Spatial Awareness for Free: By treating future relative displacement prediction as a training-time auxiliary task, the model learns to encode critical relational spacing directly into its feature representations. This provides the safety benefits of geometric distance awareness without the inference-time latency penalty.
- The Power of Hybrid MoE in Planning: Driving is not a monolithic task; navigating a clear highway requires entirely different logic than handling a crowded intersection with pedestrians. Splitting the decoder into routed specialized experts and shared general experts allows the model to maintain global consistency while dynamically adapting to complex local contexts.
- Dynamic Routing Across Layers: Qualitative analysis revealed that the Scene-Aware Router varies its expert selection across different decoder layers, demonstrating a highly fluid, multi-stage adaptation process as the trajectory query is iteratively refined.
Key Results
- State-of-the-Art Performance: On the nuPlan Val14 benchmark, CarPLAN achieved SOTA scores, hitting a Closed-Loop Non-Reactive (CLS-NR) score of 91.4 and a Reactive (CLS-R) score of 84.6, outperforming recent competitive baselines like Diffusion-Planner and BeTopNet.
- Robustness in Hard Scenarios: On the challenging Test14-Hard benchmark, combining DPE and CMD yielded a 3.1 point improvement in CLS-NR over the baseline, significantly boosting collision avoidance and drivable area compliance.
- Real-Time Efficiency: Despite the multi-expert architecture, CarPLAN achieves real-time inference at approximately 15 FPS (Frames Per Second), making it highly practical for deployment.
- Cross-Benchmark Generalization: When tested on Waymax, CarPLAN consistently improved arrival rates and reduced collision rates compared to baseline planners, proving it doesn't just overfit to nuPlan's environment.
Limitations and Future Work
A primary limitation of the current study is its assumption of perfect perception. CarPLAN relies on clean, accurate object states and high-definition map data provided by external modules.
To address this, the authors outline two major future directions:
- End-to-End Integration: Jointly training CarPLAN with an upstream perception module to handle raw sensor data and noisy inputs.
- Action-Conditioned World Modeling: Evolving the framework into an action-conditioned world model that predicts how future spatial relationships will dynamically evolve conditioned on the AV's specific planned actions, rather than assuming a single deterministic future.
Summary updated