Heterogeneous-Agent Trajectory Forecasting Incorporating Class Uncertainty

Boris Ivanovic, Kuan-Hui Lee, Pavel Tokmakov, Blake Wulfe, Rowan McAllister, Adrien Gaidon, Marco Pavone · DOI

TL;DR

This paper introduces HAICU, a novel trajectory forecasting method that explicitly incorporates the uncertainty in an agent's predicted class (e.g., car, pedestrian). By leveraging these class probabilities, HAICU significantly improves forecasting accuracy, especially in challenging scenarios, and enables "what-if" counterfactual predictions.

What Problem Does This Paper Address?

Autonomous driving systems need to predict the future movements of other agents to navigate safely. A crucial part of this is understanding what kind of agent is being observed (e.g., a car, a pedestrian, a cyclist). Perception systems often provide not just a single "most likely" class for an agent, but a distribution of probabilities across multiple classes. However, most existing trajectory forecasting methods ignore this rich class probability information, treating the agent's class as a certainty. This can lead to dangerous mispredictions, especially when the perception system is uncertain or makes a mistake. For example, misclassifying a pedestrian as a car could lead to unnecessary evasive maneuvers by the ego-vehicle. This paper aims to bridge this gap by developing a forecasting method that can effectively utilize and propagate this class uncertainty.

Methods

The core of the paper is the HAICU (Heterogeneous-Agent Trajectory Forecasting Incorporating Class Uncertainty) method. HAICU builds upon the Trajectron++ framework, a state-of-the-art trajectory forecasting model. The key innovation is how HAICU integrates class probabilities:

  • Input Representation: Agent states (position, velocity, etc.) and their associated class probability vectors are fed into the model.
  • Network Architecture: The class probability vector is concatenated with the agent's state representation and processed through the same encoders (node and edge history encoders) as the state information. This allows the model to learn how class uncertainty influences interactions and future trajectories.
  • Conditional Variational Autoencoder (CVAE): HAICU uses a CVAE framework to model the multimodality of future trajectories, conditioned on both agent states and their class probabilities.
  • Class-Agnostic Weight Sharing: Unlike some previous methods that use separate models for different classes, HAICU employs a class-agnostic architecture, allowing it to handle heterogeneous agents efficiently.

The paper also introduces a new dataset, PUP (Perceptual Uncertainty in Prediction), designed to specifically address the challenge of class uncertainty in real-world autonomous driving scenarios.

Datasets

  • Lyft Level 5 Dataset: This dataset was used for evaluation. The authors note that while it provides class probabilities, they are often "overconfident" (close to one-hot), making it less ideal for studying perceptual uncertainty.
  • PUP (Perceptual Uncertainty in Prediction) Dataset: This is a newly introduced dataset by the authors. It contains challenging, real-world autonomous driving scenes with unfiltered agent class probabilities, aiming to better reflect the long-tail of current perception system performance and enable more effective study of class uncertainty.

Key Insights and Ideas

  • Class uncertainty is a critical factor: Ignoring class probabilities from perception systems can lead to significant errors in trajectory forecasting, especially in complex or ambiguous scenarios.
  • HAICU effectively leverages class probabilities: By directly incorporating class probabilities into the forecasting model, HAICU achieves better accuracy and robustness compared to methods that assume class certainty or use one-hot encodings.
  • Counterfactual predictions are enabled: The ability to condition on manually specified class probabilities allows for "what-if" scenarios, which can be valuable for understanding agent behavior and for planning.
  • PUP dataset is crucial for research: Existing datasets often have overconfident class probabilities, limiting research into perceptual uncertainty. The PUP dataset provides a much-needed resource for this area.

Key Results

  • Improved Accuracy: HAICU significantly outperforms existing state-of-the-art methods on the PUP dataset in terms of both deterministic (ADE/FDE) and probabilistic (ANLL/FNLL) metrics. On the Lyft dataset, HAICU is competitive and often outperforms methods that explicitly incorporate agent class information.
  • Robustness to Uncertainty: On the PUP dataset, HAICU shows a notable improvement over its one-hot ablated version, demonstrating its ability to effectively utilize uncertain class probabilities.
  • Counterfactual Capabilities: Qualitative results show that HAICU can generate plausible "what-if" predictions by altering input class probabilities (e.g., making a car behave like a pedestrian).
  • Prediction Smoothness: The model's predictions smoothly interpolate across varying levels of input class uncertainty.

Limitations and Future Work

  • Lyft Dataset Overconfidence: The authors note that the Lyft dataset's class probabilities are often too certain, limiting its utility for studying perceptual uncertainty.
  • Computational Cost of Some Baselines: The paper mentions that some baselines (like MATS) have high computational requirements, making it difficult to evaluate them on large datasets without subsampling.
  • Future Work: The paper suggests that the ability to make counterfactual predictions opens up avenues for research in causal reasoning and interpretability for prediction and planning. The PUP dataset is also intended to facilitate future research in these areas.

Summary updated

BibTeX
@inproceedings{ivanovic2021heterogeneous,
  author = {Boris Ivanovic and Kuan-Hui Lee and Pavel Tokmakov and Blake Wulfe and Rowan McAllister and Adrien Gaidon and Marco Pavone},
  title = {{Heterogeneous-Agent Trajectory Forecasting Incorporating Class Uncertainty}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  doi = {10.1109/iros47612.2022.9982283},
}
Figure