NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generalizable Trajectory Prediction via Inverse Reinforcement Learning with Mamba-Graph Architecture

Wenyun Li, Wenjie Huang, Zejian Deng, Chen Sun

TL;DR

This paper introduces a novel framework for predicting vehicle trajectories in complex traffic scenarios by combining Mamba's efficient long-sequence modeling with Graph Neural Networks (GNNs) for spatial interactions. Crucially, it employs Inverse Reinforcement Learning (IRL) to infer human-like reward functions, enabling robust generalization to unseen driving environments without requiring fine-tuning.

What Problem Does This Paper Address?

Predicting the future movements of vehicles in dynamic and complex traffic environments is a critical challenge for autonomous driving systems. Traditional methods often struggle with intricate interactions between vehicles, diverse road geometries, and the inherent unpredictability of human driving. A significant hurdle is achieving "Out-of-Distribution" (OOD) generalization – the ability to predict accurately in scenarios that differ significantly from the training data. Simply training on vast datasets doesn't guarantee performance in novel situations, and fine-tuning for every new environment is impractical. This paper aims to bridge this gap by developing a model that can learn transferable driving behaviors and adapt to new scenarios more effectively.

Methods

The proposed framework, "Environment-Aware Mamba Trajectory Predictor with MaxEnt IRL," is built upon an encoder-decoder architecture.

  • Encoder: A Gate Recurrent Unit (GRU) combined with a Graph Attention Network (GAT) encodes environmental information and inter-vehicle spatial relationships into a latent representation. The GAT specifically models interactions between vehicles by treating them as nodes in a graph.
  • Decoder: A Mamba block is used for efficient long-sequence dependency modeling of trajectories. Mamba is chosen for its ability to handle long temporal dependencies with high inference efficiency, a crucial aspect for real-time applications.
  • Inverse Reinforcement Learning (IRL): To capture nuanced human decision-making and improve generalization, the paper employs Maximum Entropy (MaxEnt) IRL. This approach infers diverse reward functions by maximizing the likelihood of demonstrated human trajectories. This learned reward function is then used to guide the trajectory prediction.
  • Explicit Policy Extension: For OOD scenarios, an explicit policy submodule is introduced. This submodule uses the learned driver policy to generate sequential decisions (actions) based on predicted future states, which then produce the predicted trajectory. This is trained using an off-policy Actor-Critic algorithm (TD3).

Datasets

The paper utilizes several large-scale trajectory datasets for evaluation:

  • inD: Urban intersection scenarios.
  • rounD: German roundabouts.
  • highD: German highway scenarios.
  • exiD: German highway scenarios with a higher frequency of merging and exiting behaviors.

These datasets were preprocessed and downsampled to a temporal resolution of 0.2s. For cross-scenario testing, models were trained on one domain (e.g., inD, rounD) and evaluated on another (e.g., highway scenarios like highD and exiD) to simulate OOD conditions.

Key Insights and Ideas

  • Mamba for Trajectories: Mamba's selective state-space model architecture proves effective for capturing long-range temporal dependencies in vehicle trajectories, outperforming traditional RNN/LSTM approaches in this regard.
  • IRL for Generalization: Inferring reward functions via MaxEnt IRL is key to achieving robust cross-scenario adaptability. This allows the model to learn underlying driving principles rather than just memorizing specific scenarios.
  • Graph + Mamba Synergy: Combining graph-based spatial encoding (GAT) with Mamba's temporal modeling creates a powerful predictor that accounts for both inter-agent interactions and sequential motion patterns.
  • OOD Adaptability without Fine-tuning: The explicit policy extension, guided by the learned reward function, allows the model to generalize to OOD scenarios with performance comparable to fine-tuned methods, but without the need for new ground truth data.
  • Parameter vs. Degradation Trade-off: Larger models (more parameters) often improve in-domain accuracy but can lead to significant performance degradation in OOD settings, highlighting the importance of the proposed generalization techniques.

Key Results

  • State-of-the-Art Performance: The proposed method achieves state-of-the-art prediction accuracy on benchmark datasets like rounD, outperforming methods like Mixed Mamba by a notable margin (e.g., 8% reduction in FDE).
  • 2.3x Higher Generalization: The framework demonstrates a significant improvement in cross-scenario adaptability, achieving 2.3 times higher CSA scores (in terms of APDE) compared to the second-best method.
  • Competitive OOD Performance: In OOD highway scenarios (highD, exiD), the explicit policy extension achieves performance comparable to fine-tuned models, while the policy extension alone offers substantial improvement over a baseline.
  • Efficiency: Mamba architecture contributes to high inference efficiency, as supported by computational efficiency comparisons.

Limitations and Future Work

  • IRL Sensitivity: The paper acknowledges that IRL can be sensitive to the quality of demonstrations, though they chose not to filter data to avoid introducing bias.
  • OOD Highway vs. Urban: While the method shows strong generalization, the policy extension slightly underperforms compared to LoRA fine-tuning on highway scenarios, though it shows better adaptability than LoRA on exiD.
  • Future Work: The authors suggest exploring agent policies with importance sampling for more stable training and better integration of long- and short-horizon predictions to further enhance generalization for real-world autonomous driving applications.

Summary updated

BibTeX
@inproceedings{li2026generalizable,
  author = {Wenyun Li and Wenjie Huang and Zejian Deng and Chen Sun},
  title = {{Generalizable Trajectory Prediction via Inverse Reinforcement Learning with Mamba-Graph Architecture}},
  booktitle = {IV},
  year = {2026},
  doi = {10.1109/iv66570.2026.11623900},
}
Figure