AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction

Alessia Bertugli, Simone Calderara, Pasquale Coscia, Lamberto Ballan, Rita Cucchiara · DOI

Abstract

Anticipating human motion in crowded scenarios is essential for developing intelligent transportation systems, social-aware robots and advanced video surveillance applications. A key component of this task is represented by the inherently multi-modal nature of human paths which makes socially acceptable multiple futures when human interactions are involved. To this end, we propose a generative architecture for multi-future trajectory predictions based on Conditional Variational Recurrent Neural Networks (C-VRNNs). Conditioning mainly relies on prior belief maps, representing most likely moving directions and forcing the model to consider past observed dynamics in generating future positions. Human interactions are modeled with a graph-based attention mechanism enabling an online attentive hidden state refinement of the recurrent estimation. To corroborate our model, we perform extensive experiments on publicly-available datasets (e.g., ETH/UCY, Stanford Drone Dataset, STATS SportVU NBA, Intersection Drone Dataset and TrajNet++) and demonstrate its effectiveness in crowded scenes compared to several state-of-the-art methods.

Introduction

Predicting where a person will walk in a crowded plaza isn't just about physics; it’s about social etiquette, personal intent, and environmental constraints. Trajectory forecasting faces two major hurdles: multi-modality and social context.

  1. Multi-modality: Humans do not move like billiard balls. At any junction, a person might turn left, right, or stop. A robust model must predict a distribution of possible futures rather than a single average path.
  2. Social/Scene Context: Human paths are dictated by others (avoiding collisions) and the environment (respecting physical boundaries).

Existing methods often rely on computationally heavy semantic maps or simple pooling layers. AC-VRNN addresses these by combining the temporal power of Variational Recurrent Neural Networks (VRNNs) with a graph-based attention mechanism and historical "belief maps."

Methodology

The Attentive Conditional-VRNN (AC-VRNN) framework consists of three core building blocks designed to handle the complexities of human motion.

Predictive VRNN Architecture

Unlike standard Variational Autoencoders (VAEs) that generate whole sequences at once, this recurrent version generates displacements one step at a time. This allows the model to "correct" its trajectory dynamically during the generation process. The graphical model defines the relationships between latent variables ($z_t$), hidden states ($h_t$), and observations ($x_t$).

Graphical representation of the AC-VRNN components: (a) Prior, (b) Generation, (c) Recurrence, (d) Inference, and (e) the Overall model.

Attentive Interaction and Belief Maps

To model social interactions, the authors employ a Graph Attention Network (GAT). At every time step, each agent’s hidden state is updated by attending to its neighbors. This allows the model to learn which neighbors are most critical for collision avoidance.

The "secret sauce" of the model is the Prior Belief Map. Instead of requiring real-time computer vision to detect obstacles, the model uses heatmaps of historical movement patterns in a specific scene. During training, a Kullback–Leibler (KL) divergence loss forces predicted paths to align with these historical "frequent paths," effectively teaching the model scene geometry (e.g., "don't walk through walls") implicitly.

Overview of the Attentive GNN for interaction modeling (a) and the Prior Belief Map mechanism for scene-aware conditioning (b).

Experimental Setup

The model was evaluated across a wide variety of environments to ensure robustness:

  • ETH/UCY: Standard benchmarks for pedestrian dynamics.
  • Stanford Drone Dataset (SDD): Complex urban scenes with many interacting agents.
  • Intersection Drone Dataset (inD): Focused on vehicle-pedestrian-cyclist interactions at intersections.
  • STATS SportVU NBA: High-intensity player trajectories in confined spaces.
  • TrajNet++: A large-scale benchmark for interaction-centric prediction.

Key Results and Insights

AC-VRNN achieved state-of-the-art (SOTA) or competitive results across the board, measured by Average Displacement Error (ADE) and Final Displacement Error (FDE).

  • Performance Gains: On the Stanford Drone Dataset, AC-VRNN reduced the Top-20 ADE to 0.51, significantly outperforming baselines like S-GAN (0.65). On the inD dataset, it achieved the best ADE (0.42) and FDE (0.80).
  • Online Refinement: By refining the hidden state at every time step during inference, the model handles "critical situations" where sudden neighbor movements change the subject's likely path.
  • Scene Memory: Belief maps act as a proxy for scene geometry, allowing the model to respect obstacles like fountains or sidewalks without a dedicated vision module at test time.

Conclusion

While AC-VRNN excels in structured environments, the authors note that belief maps are less effective in sports dynamics (like the NBA dataset) where players do not follow fixed "lanes." Future work involves integrating additional context, such as depth data or signal-based positioning (WiFi/Bluetooth), to further improve multi-modal accuracy in dense, unseen crowds.

Reference: Bertuglia, A., et al. "AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction." Computer Vision and Image Understanding, 2021.

Summary updated

BibTeX
@article{bertugli2020ac,
  author = {Alessia Bertugli and Simone Calderara and Pasquale Coscia and Lamberto Ballan and Rita Cucchiara},
  title = {{AC-VRNN: Attentive Conditional-VRNN for Multi-Future Trajectory Prediction}},
  journal = {Comput. Vis. Image Underst.},
  year = {2020},
  doi = {10.1016/j.cviu.2021.103245},
}
Figure