GoIRL: Graph-Oriented Inverse Reinforcement Learning for Multimodal Trajectory Prediction

Muleilan Pei, Shaoshuai Shi, Lu Zhang, Peiliang Li, Shaojie Shen

Introduction

Predicting the future trajectories of surrounding agents is a cornerstone of safe autonomous driving. While modern deep learning has made significant strides in this area, most state-of-the-art models rely on Behavior Cloning (BC). In BC, models are trained to mimic ground-truth trajectories directly. However, this supervised approach often fails in two critical ways: it suffers from covariate shift (struggling when the test environment differs from training data) and modality collapse (failing to capture the diverse range of plausible future actions, such as choosing between turning or going straight).

GoIRL (Graph-Oriented Inverse Reinforcement Learning) addresses these challenges by shifting the paradigm from mimicking "what" an agent does to learning "why" they do it. By combining the robust generalization of Inverse Reinforcement Learning (IRL) with the high-precision detail of vectorized map representations, GoIRL achieves state-of-the-art performance while remaining resilient to environmental changes.

Methodology

GoIRL introduces a hierarchical architecture designed to bridge the gap between structured graph-based map data and the probabilistic reasoning of IRL.

1. Graph-Oriented Context Encoder

Unlike traditional IRL methods that rely on computationally expensive and low-resolution rasterized images, GoIRL utilizes a vectorized encoder. Similar to architectures like LaneGCN, this encoder captures the complex relationships between agents and lane segments as a graph, preserving fine-grained geometric details.

2. The Feature Adaptor

To utilize the Maximum Entropy (MaxEnt) IRL paradigm, the model must operate on a spatial grid. The Feature Adaptor serves as the bridge, aggregating high-dimensional features from the lane graph into a 2D grid space. This allows the model to retain rich semantic information while performing spatial reasoning.

3. Coarse-to-Fine Trajectory Generation

  • Policy Inference: The model infers a reward distribution across the grid. Using Markov Chain Monte Carlo (MCMC) sampling, it generates a diverse set of plausible paths based on the learned reward function.
  • Bézier Curve-Based Decoder: To ensure kinematic feasibility, discrete grid steps are converted into smooth trajectories using a Bézier curve decoder. A refinement module then adjusts these trajectories based on local context to ensure high precision.
  • Probability Fusion: Finally, the model combines the statistical frequency of MCMC samples with a classification head to assign confident probability scores to each predicted path.

Experimental Results

GoIRL was evaluated on two industry-standard benchmarks: Argoverse and nuScenes.

  • Argoverse: GoIRL achieved a brier-minFDE6 of 1.7957 for a single model and 1.6947 for an ensemble, outperforming established supervised baselines such as Wayformer and DSP.
  • nuScenes: The framework secured the top rank on the leaderboard with a minADE5 of 0.86 and a Miss Rate (MR5) of 0.31.

Robustness to Covariate Shift

A key finding of the research is GoIRL's ability to handle unexpected environmental changes. In qualitative tests where "STOP" zones (undrivable areas) were manually introduced into a scene, GoIRL successfully re-optimized its paths to stay within valid lanes. In contrast, supervised models like DSP often predicted trajectories that drove directly through the blocked areas, as they had only learned to follow patterns rather than underlying rules.

Discussion and Future Work

GoIRL demonstrates that the efficiency of vectorized maps and the robustness of IRL are not mutually exclusive. By learning a reward function, the model naturally captures multimodality—exploring the reward landscape to find all high-value paths rather than being forced to guess specific modes.

However, some challenges remain:

  • Computational Cost: The internal RL-style optimization loop is more demanding than a standard neural network forward pass, posing challenges for real-time edge deployment.
  • Multi-Agent Interaction: The current model focuses on a single target agent. Future iterations could explore joint multi-agent forecasting, where the reward functions of multiple agents interact dynamically.
  • Discretization: While the Bézier refinement mitigates the issue, the initial reliance on a 2D grid introduces some discretization error that could be further minimized in future research.

Summary updated

BibTeX
@inproceedings{pei2025goirl,
  author = {Muleilan Pei and Shaoshuai Shi and Lu Zhang and Peiliang Li and Shaojie Shen},
  title = {{GoIRL: Graph-Oriented Inverse Reinforcement Learning for Multimodal Trajectory Prediction}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=x9LGowGzZu},
}
Figure