SRA-LSTM: Social Relationship Attention LSTM for Human Trajectory Prediction

Yusheng Peng, Gaofeng Zhang, Jun Shi, Benzhu Xu, Liping ZhengarXiv 2021

Abstract

Accurate human trajectory prediction is essential for autonomous systems navigating crowded environments. Traditional models often overlook the nuanced social bonds between pedestrians, treating them as independent entities. This paper introduces SRA-LSTM, a novel architecture that utilizes a Social Relationship Attention mechanism to infer social bonds from relative movement history. By explicitly modeling these interactions as asymmetric and temporally correlated, SRA-LSTM achieves state-of-the-art performance on standard benchmarks while maintaining real-time inference speeds.

Introduction

Predicting pedestrian movement is a complex task influenced by "social forces"—the unspoken rules of interaction where individuals adjust their paths based on their relationship with others. While existing deep learning models employ pooling or standard attention mechanisms, they frequently fail to capture the nature of these interactions. For instance, friends walking together exhibit highly coupled trajectories compared to strangers briefly crossing paths. SRA-LSTM addresses this gap by encoding social relationships directly into the prediction pipeline, allowing for more socially aware navigation.

Methodology

The SRA-LSTM architecture is designed to capture the "social bond" through three integrated components:

  1. Social Relationship Encoder (R-LSTM): This module processes the sequence of relative positions between pairs of pedestrians. Unlike static snapshots, the R-LSTM captures the history of interaction to learn a latent representation of the relationship. Crucially, these relationships are modeled as asymmetric ($r_{ij} \neq r_{ji}$), reflecting how a follower might prioritize a leader differently than vice versa.
  2. Social Relationship Attention Module: This module generates attention weights by combining the target pedestrian's motion patterns with the social features from the R-LSTM. It prioritizes neighbors based on the strength and nature of their social bond rather than simple Euclidean distance.
  3. Motion LSTM: The final stage aggregates the social context and the pedestrian’s own history to predict future coordinates.
The SRA-LSTM architecture featuring the Social Relationship Encoder and Attention modules.

Experimental Evaluation

Datasets

The model was rigorously tested on the ETH (scenes: univ, hotel) and UCY (scenes: zara01, zara02, univ) datasets. These benchmarks provide real-world trajectories sampled at 0.4-second intervals, representing diverse crowd dynamics.

Results

SRA-LSTM demonstrates superior accuracy across all tested environments. As shown in the performance table below, the model achieved an average Average Displacement Error (ADE) of 0.45 and a Final Displacement Error (FDE) of 0.93.

Performance comparison (ADE/FDE) of SRA-LSTM against state-of-the-art methods on ETH and UCY datasets.

Beyond accuracy, the model is highly efficient. With an inference time of 0.0045 seconds per step, it outperforms previous state-of-the-art models like SR-LSTM in speed, despite a slightly higher parameter count (67.1K). Qualitative analysis confirms that SRA-LSTM better handles complex "meeting" and "merging" scenarios, avoiding the unrealistic collisions often predicted by baseline models.

Discussion and Future Work

While SRA-LSTM significantly improves human-human interaction modeling, it currently lacks awareness of static environmental constraints. Failure cases often involve pedestrians walking toward walls or obstacles because the model prioritizes social bonds over physical boundaries. Future research will focus on integrating semantic maps to provide the model with "environmental awareness," complementing its existing "social intelligence" for more robust real-world deployment.

Summary updated

BibTeX
@misc{peng2021sra,
  author = {Yusheng Peng and Gaofeng Zhang and Jun Shi and Benzhu Xu and Liping Zheng},
  title = {{SRA-LSTM: Social Relationship Attention LSTM for Human Trajectory Prediction}},
  year = {2021},
  eprint = {2103.17045},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.17045},
}
Figure