Abstract
Predicting pedestrian trajectories is a critical requirement for autonomous systems, yet it remains challenging due to the inherent multimodality of human movement and the complexity of social interactions. While existing deep learning methods often model these interactions implicitly, they frequently fail to distinguish between specific types of social behaviors. We present Social-DualCVAE, a generative framework that explicitly categorizes social interaction patterns in an unsupervised manner. By conditioning trajectory generation on both a continuous latent variable and a discrete interaction category, our model achieves state-of-the-art performance on standard benchmarks, producing highly accurate and socially compliant future paths.
Introduction
Human movement in crowded environments is rarely random; it is governed by social norms and interaction patterns such as following, crossing, or collision avoidance. For autonomous vehicles and surveillance systems, anticipating these movements is essential. However, most current models (e.g., Social-LSTM, Social-STGCNN) rely on implicit feature pooling or graph attention, which may overlook the specific "logic" of different interaction types.
Social-DualCVAE addresses this by forcing the model to explicitly recognize the type of interaction occurring. Because labeled data for these behaviors is scarce, the model discovers these patterns unsupervised, providing a structural prior that guides the forecasting process toward more realistic outcomes.
Methodology
The Social-DualCVAE architecture integrates several advanced components to capture the nuances of pedestrian dynamics:
- Feature Encoding: The model employs Multi-Layer Perceptrons (MLPs) and Multi-Head Attention to encode self-velocity and relative spatial relationships with neighbors. These features are processed through an LSTM to maintain temporal context.
- Unsupervised Interaction Classification: A discrete categorical variable $c$ is introduced to represent interaction types. The model uses a neural network to output a probability distribution over $H$ possible categories. To maintain differentiability during training, the Gumbel-Softmax trick is utilized for sampling.
- Dual Conditional Variational Auto-Encoder (DualCVAE): Unlike standard CVAEs that use a single continuous latent variable $z$, the DualCVAE conditions the generation on both $z$ (representing individual intent/noise) and $c$ (representing the social context).
- Autoregressive Generation: The decoder predicts future steps iteratively, feeding its own outputs back into the model to maintain trajectory consistency.
Experiments and Results
Datasets and Evaluation
The model was evaluated on the ETH (ETH, HOTEL) and UCY (ZARA1, ZARA2, UNIV) datasets. Following standard protocols, the model observes 3.2 seconds (8 timesteps) to predict the subsequent 4.2 seconds (12 timesteps).
Quantitative Performance
Social-DualCVAE (with $H=4$ interaction categories) achieved significant improvements over baselines. It reached an Average Displacement Error (ADE) of 0.38 meters and a Final Displacement Error (FDE) of 0.69 meters, representing a ~14% improvement in ADE and an ~8% improvement in FDE compared to the previous state-of-the-art, Social-STGCNN.
Qualitative Analysis
Visualizations demonstrate that Social-DualCVAE produces tighter, more socially aware trajectory distributions. In scenarios involving potential collisions, the model's predicted paths clearly diverge to avoid oncoming pedestrians, reflecting a sophisticated understanding of social compliance that implicit models often lack.
Discussion and Conclusion
A key insight from this work is that explicit categorization of social behaviors—even when learned without labels—provides a powerful prior for trajectory forecasting. The choice of the number of categories ($H$) is critical; the authors found $H=4$ to be optimal, aligning with basic human interaction types.
Despite its success, the model currently ignores static scene context (e.g., obstacles or sidewalks) and is sensitive to the predefined number of categories. Future research will focus on integrating environmental context and extending the framework to multi-agent systems involving vehicles and cyclists in complex urban environments.
Summary updated