Conditional Generative Neural System for Probabilistic Trajectory Prediction

Jiachen Li, Hengbo Ma, Masayoshi Tomizuka

Abstract

Predicting the future paths of interacting agents, such as vehicles and pedestrians, is a fundamental challenge for autonomous systems. This paper introduces the Conditional Generative Neural System (CGNS), a deep learning framework designed to generate diverse, physically feasible, and context-aware trajectory predictions. By fusing the distribution-learning capabilities of Variational Auto-Encoders (VAEs) with the high-fidelity generation of Generative Adversarial Networks (GANs), and incorporating differentiable physical constraints, CGNS effectively models the multi-modal nature of future movements. Our evaluations across multiple benchmark datasets, including ETH, UCY, and the Stanford Drone Dataset, demonstrate that CGNS consistently outperforms existing state-of-the-art models in both accuracy and realism.

Introduction

Predicting where an agent will be in the next several seconds is difficult because the future is inherently multi-modal. For instance, a vehicle entering a roundabout or approaching an intersection has several valid potential paths. Capturing this uncertainty while ensuring that predicted paths are contextually appropriate (e.g., staying on the road) and interaction-aware (e.g., avoiding other agents) is critical for safe autonomous navigation.

Multi-modal trajectory prediction in complex scenarios like roundabouts (a) and intersections (b).

Existing models often struggle to balance four key requirements: context-awareness, interaction-awareness, physical feasibility, and probabilistic output. CGNS addresses these by combining hybrid generative learning with sophisticated attention mechanisms and soft physical constraints.

Methodology

The CGNS architecture is composed of two primary components: a Deep Feature Extractor (DFE) and a Generative Neural Sampler (GNS).

Hybrid Generative Learning

The core innovation of CGNS lies in its hybrid loss function. It utilizes Conditional Latent Space Learning (CLSL) and Variational Divergence Minimization (VDM). This approach leverages a Conditional VAE (CVAE) to learn a structured latent space of possible behaviors, ensuring diversity, while a GAN-style discriminator ensures that the generated trajectories are indistinguishable from real-world data, providing the necessary realism that VAEs alone often lack.

The CGNS architecture featuring the Deep Feature Extractor, Encoder, Latent Space, Generator, and Discriminator.

Dual Attention and Constraints

To process environmental and social context, the model employs dual attention mechanisms:

  1. Block Attention: Applied to historical trajectories to prioritize relevant neighboring agents.
  2. Gaussian Mixture Attention Mask: Applied to scene images to focus the model on traversable areas like lanes and crosswalks.

Furthermore, the system incorporates Soft Constraints via a differentiable barrier function in the loss. This penalizes predictions that violate physical laws, such as impossible accelerations or extreme path curvatures, forcing the network to output trajectories that respect vehicle dynamics.

Experiments and Results

CGNS was evaluated on several diverse benchmarks, including the ETH/UCY pedestrian datasets, the Stanford Drone Dataset (SDD), and the INTERACTION Dataset (ID) for complex vehicle scenarios.

Quantitative Performance

CGNS achieved state-of-the-art results across all tested datasets:

  • Pedestrian Prediction: On the SDD, CGNS reached an Average Displacement Error (ADE) of 15.6, a significant improvement over previous models like Sophie (17.8).
  • Vehicle Prediction: In complex roundabout scenarios from the INTERACTION dataset, the model achieved a 5.0s Final Displacement Error (FDE) of 2.12 meters, compared to 6.12 meters for a standard Constant Velocity Model.

Qualitative Insights

Visualizations confirm that CGNS successfully predicts agents following specific road geometries, such as the curves of a roundabout, while maintaining safe distances from others. Ablation studies highlighted that the model's ability to account for interactions and road geometry becomes increasingly vital as the prediction horizon extends (e.g., from 1 second to 5 seconds).

Conclusion

The Conditional Generative Neural System (CGNS) represents a significant step forward in probabilistic trajectory prediction. By treating physics as a regularizer and combining the strengths of VAEs and GANs, the framework produces trajectories that are both diverse and physically plausible. Future work will focus on extending feasibility constraints to highly maneuverable agents like pedestrians and optimizing the system for real-time deployment on edge hardware.

Summary updated

Abstract

Effective understanding of the environment and accurate trajectory prediction of surrounding dynamic obstacles are critical for intelligent systems such as autonomous vehicles and wheeled mobile robotics navigating in complex scenarios to achieve safe and high-quality decision making, motion planning and control. Due to the uncertain nature of the future, it is desired to make inference from a probability perspective instead of deterministic prediction. In this paper, we propose a conditional generative neural system (CGNS) for probabilistic trajectory prediction to approximate the data distribution, with which realistic, feasible and diverse future trajectory hypotheses can be sampled. The system combines the strengths of conditional latent space learning and variational divergence minimization, and leverages both static context and interaction information with soft attention mechanisms. We also propose a regularization method for incorporating soft constraints into deep neural networks with differentiable barrier functions, which can regulate and push the generated samples into the feasible regions. The proposed system is evaluated on several public benchmark datasets for pedestrian trajectory prediction and a roundabout naturalistic driving dataset collected by ourselves. The experimental results demonstrate that our model achieves better performance than various baseline approaches in terms of prediction accuracy.
BibTeX
@inproceedings{li2019conditional,
  author = {Jiachen Li and Hengbo Ma and Masayoshi Tomizuka},
  title = {{Conditional Generative Neural System for Probabilistic Trajectory Prediction}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=CQhB2Tierv},
}
Figure