MTP-GO: Graph-Based Probabilistic Multi-Agent Trajectory Prediction With Neural ODEs

Theodor Westny, Joel Oskarsson, Björn Olofsson, Erik Frisk · DOI

Introduction

Predicting the future movement of road users—including vehicles, cyclists, and pedestrians—is a fundamental requirement for the safe operation of autonomous driving systems. Despite significant progress in deep learning, trajectory prediction remains a "wicked" problem characterized by complex agent interdependencies, the necessity for physical feasibility, and the inherent multimodality of human intent.

MTP-GO introduces a novel framework that addresses these challenges by synthesizing the relational reasoning of Graph Neural Networks (GNNs) with the physical consistency of Neural Ordinary Differential Equations (Neural ODEs). By integrating an Extended Kalman Filter (EKF) for uncertainty propagation, the model generates smooth, multimodal, and physically feasible probabilistic forecasts that establish a new state-of-the-art on real-world traffic datasets.

Problem Statement

Traditional deep learning models for trajectory prediction often struggle with three core issues:

  1. Interdependency: The actions of one agent (e.g., a car yielding at a roundabout) directly influence the future states of others.
  2. Physical Feasibility: Many "black box" models predict trajectories that are kinematically impossible, such as vehicles sliding sideways or exhibiting unrealistic acceleration spikes.
  3. Multimodality: At decision points like intersections, an agent may take multiple plausible paths (left, right, or straight). A single deterministic prediction—often an "average" of these paths—is frequently dangerous and incorrect.

While existing models may use hard-coded kinematic constraints, these are often too rigid to capture the diversity of road users. Conversely, models that prioritize flexibility often lose the social context of the scene during the decoding phase. MTP-GO aims to bridge this gap by combining flexible deep learning with interpretable physical modeling.

Methodology

The MTP-GO architecture is built upon three primary pillars designed to maintain context and physical integrity throughout the prediction horizon.

Sustained Relational Awareness

Unlike many existing architectures that encode the scene context into a fixed vector before decoding, MTP-GO utilizes Graph-Gated Recurrent Units. This approach ensures that the relational structure between agents is preserved during the entire prediction process. By maintaining the GNN structure during decoding, the model allows agents to continuously "react" to one another as the predicted future unfolds.

Neural ODE Motion Model

Rather than predicting future $(x, y)$ coordinates directly, MTP-GO learns the underlying differential equations ($dx/dt = f(x, u)$) that govern motion. This Neural ODE approach allows the model to learn smooth, naturalistic motion constraints directly from the data. This "soft physics" approach is more versatile than hard-coded vehicle models, as it can adapt to different agent types (e.g., trucks vs. pedestrians) while still enforcing the smoothness expected of physical objects.

Probabilistic Fusion (MDN + EKF)

To address multimodality, the model employs a Gaussian Mixture Model (GMM) to represent multiple potential future trajectories (modes). To ensure that the uncertainty of these predictions is handled rigorously, the framework incorporates an Extended Kalman Filter (EKF) time-update step. This propagates the state covariance, ensuring that predicted uncertainty grows logically as the forecast moves further into the future.

Experimental Evaluation

The authors evaluated MTP-GO on three large-scale, naturalistic drone-recorded datasets from Germany, representing a variety of traffic environments:

  • highD: Highway scenarios focusing on lane-following and overtaking maneuvers.
  • rounD: Complex interactions within roundabouts.
  • inD: Urban intersections featuring diverse road users, including pedestrians and cyclists.

Key Results

MTP-GO (specifically the first-order variant, MTP-GO1) demonstrated superior performance against high-profile baselines such as Trajectron++ and mmTransformer.

On the highD dataset, the model achieved an Average Displacement Error (ADE) of 0.30m. In the rounD dataset, MTP-GO showed a marked ability to predict complex yielding and deceleration maneuvers that typically baffle standard Recurrent Neural Network (RNN) models. Qualitative visualizations confirmed that the model correctly identifies distinct maneuvers—such as a car deciding whether to exit a roundabout or continue circulating—with high confidence and smooth, physically plausible paths.

Discussion and Insights

The Power of Persistence

A critical finding of the research is that maintaining the GNN structure during the decoding phase is essential for complex environments. In scenarios like roundabouts, agents are in a constant state of negotiation; a static encoding of the scene is insufficient to capture these evolving dynamics.

Stability and Extrapolation

Incorporating differential constraints via Neural ODEs acts as a powerful regularizer. This not only stabilized the training process but also improved the model's extrapolation capabilities. MTP-GO performed robustly even when predicting further into the future than the specific horizons used during training.

Overcoming Mode Collapse

To prevent the model from collapsing into a single "average" prediction, the authors utilized an Evolving Winner Takes All (EWTA) loss function. This objective function encourages the different output "heads" of the model to specialize in distinct possible maneuvers, effectively capturing the multimodality of human driving behavior.

Limitations and Future Work

Despite its successes, MTP-GO faces challenges regarding information scarcity. The model relies on historical context; therefore, the sudden appearance of an agent entering the scene remains difficult to predict. Additionally, while the model implicitly captures dynamics, explicitly adding "agent type" as a static feature did not consistently improve results, suggesting that the Neural ODEs are already capturing these differences through motion patterns.

Finally, the computational complexity of running ODE solvers and GNNs at every decoding step is higher than simple feed-forward architectures. Future research will focus on optimizing these processes for real-time deployment on edge hardware in autonomous vehicles.

Summary updated

BibTeX
@article{westny2023mtp,
  author = {Theodor Westny and Joel Oskarsson and Björn Olofsson and Erik Frisk},
  title = {{MTP-GO: Graph-Based Probabilistic Multi-Agent Trajectory Prediction With Neural ODEs}},
  journal = {IEEE Trans. Intell. Veh.},
  year = {2023},
  doi = {10.1109/tiv.2023.3282308},
}
Figure