Skip to main content
QUICK REVIEW

[Paper Review] Multi-modal anticipation of stochastic trajectories in a dynamic environment with Conditional Variational Autoencoders

Albert Dulian, John C. Murray|arXiv (Cornell University)|Mar 5, 2021
Autonomous Vehicle Technology and SafetyEngineering45 references6 citations
TL;DR

This paper proposes a conditional variational autoencoder (C-VAE) with a capsule network (CapsNet) backbone for multi-modal, stochastic trajectory forecasting in dynamic environments. By conditioning on past agent motion and rasterized scene context, the model generates diverse, realistic future trajectories and outperforms state-of-the-art methods on nuScenes, achieving lower minADE and minFDE while reducing model parameters significantly.

ABSTRACT

Forecasting short-term motion of nearby vehicles presents an inherently challenging issue as the space of their possible future movements is not strictly limited to a set of single trajectories. Recently proposed techniques that demonstrate plausible results concentrate primarily on forecasting a fixed number of deterministic predictions, or on classifying over a wide variety of trajectories that were previously generated using e.g. dynamic model. This paper focuses on addressing the uncertainty associated with the discussed task by utilising the stochastic nature of generative models in order to produce a diverse set of plausible paths with regards to tracked vehicles. More specifically, we propose to account for the multi-modality of the problem with use of Conditional Variational Autoencoder (C-VAE) conditioned on an agent's past motion as well as a rasterised scene context encoded with Capsule Network (CapsNet). In addition, we demonstrate advantages of employing the Minimum over N (MoN) cost function which measures the distance between ground truth and N generated samples and tries to minimise the loss with respect to the closest sample, effectively leading to more diverse predictions. We examine our network on a publicly available dataset against recent state-of-the-art methods and show that our approach outperforms these techniques in numerous scenarios whilst significantly reducing the number of trainable parameters as well as allowing to sample an arbitrary amount of diverse trajectories.

Motivation & Objective

  • To address the challenge of multi-modal, stochastic trajectory prediction in complex urban environments where future paths are uncertain and diverse.
  • To improve generalization and robustness by replacing standard CNNs with CapsNet for encoding top-down scene context, enabling better equivariance and spatial feature representation.
  • To generate a large, diverse set of plausible future trajectories using a stochastic generative model, avoiding deterministic or fixed-output limitations of prior methods.
  • To evaluate the effectiveness of the Minimum over N (MoN) loss function in encouraging diversity and improving prediction accuracy.
  • To reduce model complexity by minimizing trainable parameters while maintaining or improving performance.

Proposed method

  • The model uses a Conditional Variational Autoencoder (C-VAE) to generate stochastic future trajectories conditioned on the agent’s past motion and a rasterized top-down scene representation.
  • The scene context is encoded using a Capsule Network (CapsNet), which learns equivariant, spatially structured features by modeling object pose and instantiation parameters, improving robustness to viewpoint changes.
  • The global and local map representations are processed into geometric layers to preserve spatial structure, and the agent’s position is localized within the local map chunk.
  • The model is trained using the Minimum over N (MoN) loss function, which minimizes the distance between ground truth and the closest of N generated samples, promoting diversity in predictions.
  • The backbone feature extractor is a lightweight CapsNet-based architecture, reducing the number of trainable parameters compared to standard ResNet-50-based models.
  • During inference, the model can sample an arbitrary number of diverse trajectories, enabling flexible downstream use in safety analysis or data augmentation.

Experimental results

Research questions

  • RQ1Can a Capsule Network effectively encode top-down rasterized scene context for trajectory forecasting, outperforming standard CNNs in generalization and spatial awareness?
  • RQ2Does the use of a stochastic C-VAE framework with MoN loss lead to more diverse and accurate multi-modal trajectory predictions compared to deterministic or fixed-output models?
  • RQ3Can a CapsNet-based backbone reduce model complexity while maintaining or improving performance on trajectory forecasting benchmarks?
  • RQ4How does the number of sampled trajectories affect prediction accuracy, and does the MoN loss function consistently improve performance across different sampling sizes?
  • RQ5To what extent does the proposed method generalize to complex urban environments with high uncertainty and multi-modality?

Key findings

  • The proposed method achieves a minimum Average Displacement Error (minADE) of approximately 0.40 when sampling 128 or 256 trajectories, demonstrating strong predictive accuracy.
  • The model reaches a minimum Final Displacement Error (minFDE) of around 0.17 when sampling 200 trajectories, indicating high precision in long-term trajectory prediction.
  • The model outperforms or matches state-of-the-art methods like MTP and CoverNet across multiple metrics, especially when sampling more than one trajectory.
  • The MoN loss function significantly improves diversity and performance, with the lowest errors observed at higher sampling rates (k > 2^9).
  • The CapsNet-based backbone reduces the number of trainable parameters compared to ResNet-50-based models, mitigating overfitting and improving generalization.
  • The model is not limited to a fixed number of outputs, enabling the generation of an arbitrary number of diverse, plausible trajectories, unlike deterministic or fixed-mode models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.