Abstract: Trajectory prediction for traffic agents is critical for safe autonomous driving. However, achieving effective zero-shot generalization in previously unseen domains remains a significant challenge. Motivated by the consistent nature of kinematics across diverse domains, we aim to incorporate domain-invariant knowledge to enhance zero-shot trajectory prediction capabilities. The key challenges include: 1) effectively extracting domain-invariant scene representations, and 2) integrating invariant features with kinematic models to enable generalized predictions. To address these challenges, we propose a novel generalizable Physics-guided Causal Model (PCM), which comprises two core components: a Disentangled Scene Encoder, which adopts intervention-based disentanglement to extract domain-invariant features from scenes, and a CausalODE Decoder, which employs a causal attention mechanism to effectively integrate kinematic models with meaningful contextual information. Extensive experiments on real-world autonomous driving datasets demonstrate our method's superior zero-shot generalization performance in unseen cities, significantly outperforming competitive baselines.
Introduction
For an autonomous vehicle to navigate safely, it must accurately predict the future paths of surrounding traffic agents. While modern machine learning models excel when tested in environments similar to their training data, they often suffer a significant performance drop when deployed in new cities—a challenge known as zero-shot domain generalization.
Purely data-driven models tend to learn "spurious correlations." For instance, they might memorize specific map layouts or local traffic densities rather than learning the underlying rules of driving. When road alignments or lane widths change in a new domain, these models fail. The Physics-guided Causal Model (PCM) addresses this by focusing on what remains constant across all cities: broad spatial relationships and the fundamental laws of physics.
Methodology
To build a model that relies on universal truths rather than local quirks, the PCM architecture utilizes two main components designed to separate invariant knowledge from domain-specific noise.
Disentangled Scene Encoder
This module processes map polylines and agent trajectories to extract context features. To prevent the model from memorizing city-specific map details, the authors use an intervention-based mechanism inspired by causal representation learning. Map features are split into "domain-invariant" and "domain-variant" groups. During training, a causal intervention is simulated by replacing domain-variant features with Gaussian noise, forcing the encoder to rely exclusively on universal features to understand the scene.
CausalODE Decoder
This module predicts future trajectories by combining invariant scene features with physical laws. It utilizes a Neural Ordinary Differential Equation (Neural ODE) embedded with a two-wheel bicycle kinematic model. This ensures the network learns underlying vehicle dynamics, such as steering angle and acceleration limits. A causal multi-head attention mechanism then fuses these physics-guided queries with the context features, ensuring the final predicted trajectory is both contextually appropriate and physically plausible.
Experimental Evaluation
The model was evaluated across three major large-scale autonomous driving datasets: nuPlan, nuScenes, and the Waymo Open Motion Dataset (WOMD). The experiments focused on zero-shot generalization, where the model is trained on one city/dataset and tested on another without further tuning.
Key Results
- nuPlan → nuScenes: When trained on nuPlan and tested on nuScenes, PCM achieved a minimum Average Displacement Error (minADE₆) of 0.897 meters, significantly outperforming the next best baseline, Wayformer (1.036m). It also reduced the Miss Rate to 0.398.
- WOMD → nuPlan: Trained on Waymo and tested on nuPlan, the model achieved a minADE₆ of 0.720 meters and a minFDE₆ (Final Displacement Error) of 1.951 meters.
- Real-Time Performance: Despite the complexity of Neural ODEs, the model's inference time is approximately 37.23 ms, well within the 100 ms requirement for real-time autonomous driving systems.
Discussion and Insights
- Physics as a Universal Regularizer: Vehicle kinematics are constant across domains. By embedding a bicycle model directly into the network, the model is naturally constrained from predicting physically impossible maneuvers, preventing overfitting to local driving behaviors.
- Causal Intervention: The paper bypasses the need for expensive human-labeled causal graphs by using simulated interventions—selectively "revoking" latent features with noise—to force the separation of universal map features from city-specific noise.
- Optimal Invariance Split: Empirical results showed that designating 50% of latent features as domain-invariant provided the best balance between providing sufficient context and filtering out domain-specific noise.
Limitations and Future Work
The current implementation relies on a simplified bicycle kinematic model. While effective, it may not capture high-fidelity dynamics like tire slip angles at high speeds or varying vehicle weights. Future work aims to incorporate more sophisticated kinematic models to further enhance the physical fidelity and accuracy of predictions.
Summary updated