Graph-SIM: A Graph-based Spatiotemporal Interaction Modelling for Pedestrian Action Prediction

Tiffany Yau, Saber Malekmohammadi, Amir Rasouli, Peter Lakner, Mohsen Rohani, Jun Luo

TL;DR

Autonomous vehicles need to accurately anticipate if a pedestrian will cross the road, but existing prediction models often ignore the 3D spatial context and the direction of surrounding traffic. This paper introduces Graph-SIM, a novel graph-based model that predicts pedestrian crossing actions by clustering nearby road users and weighting their interactions based on bird's-eye-view dynamics. To train and test this model, the authors also release PePScenes, a new 10Hz 3D bounding box and behavioral dataset built on top of the popular nuScenes dataset.

What Problem Does This Paper Address?

Predicting pedestrian behavior is incredibly complex because it depends heavily on interactions with the environment and other traffic participants. While many algorithms exist to predict pedestrian trajectories or crossing actions, they typically rely on 2D image data or simple distance metrics to model interactions.

This creates a significant blind spot: current models fail to capture the global 3D scene dynamics. For instance, they might treat a car driving away from a pedestrian as equally important as a car driving towards them, simply because they are at the same distance. Furthermore, existing pedestrian behavior datasets lack the dense 3D bounding boxes and bird's-eye-view (BEV) maps necessary to train models on these nuanced spatial interactions.

Methods

The authors propose Graph-SIM (Graph-based Spatiotemporal Interaction Modelling), which formulates the traffic scene as a graph where road users are nodes and their interactions are edges. The architecture has four main steps:

  1. Clustering: The model groups nearby road users (pedestrians, vehicles, bicycles) using DBSCAN and K-means. Crucially, it clusters not just by proximity, but by speed and orientation (e.g., separating pedestrians walking towards each other from those walking away).
  2. Feature Encoding: Each object is represented by a 35-dimensional vector capturing its type, motion, size, and location relative to the target pedestrian in a bird's-eye-view.
  3. Modelling Interactions via Graphs: Instead of just using physical distance to weight the graph edges (a standard approach in prior work), Graph-SIM uses a relative importance matrix. It assigns higher weights to vehicles approaching the pedestrian and lower (or negative) weights to vehicles that have already passed them.
  4. Prediction: The graph is processed by a Spatiotemporal Graph Convolutional Neural Network (STGCNN). The output is combined with the dynamics of the ego-vehicle and the target pedestrian, then fed into Long Short-Term Memory (LSTM) networks with an attention layer to output a final binary prediction: will cross or will not cross.

Datasets

  • PePScenes (New): Because existing datasets lack 3D spatial context, the authors created Pedestrian Prediction on nuScenes (PePScenes). They augmented the existing nuScenes dataset by interpolating the sparse 2Hz 3D bounding boxes up to a dense 10Hz. They also added frame-by-frame behavioral labels for 719 pedestrians (149 of which are crossing).
  • Existing Datasets (Mentioned for context): JAAD, PIE, TITAN, VIENA², and STIP. These are noted as having rich behavioral tags but lacking the 3D coordinates and semantic maps required for modern autonomous driving stacks.

Key Insights and Ideas

  • Direction matters as much as distance: A vehicle 5 meters away moving away from a pedestrian influences their behavior far less than a vehicle 15 meters away moving towards them. Encoding this traffic direction into the graph edge weights allows the model to reason about actual collision risk rather than just proximity.
  • Group behavior is a strong cue: Clustering pedestrians based on orientation helps the model understand social forces. People moving in groups exhibit shared intentions; capturing this group membership explicitly improves prediction precision.
  • Ego-vehicle dynamics are dominant: The ablation studies revealed that the motion of the autonomous vehicle itself has a more massive impact on pedestrian behavior prediction than the pedestrian's own past dynamics. Pedestrians react heavily to what the ego-vehicle is doing.

Key Results

Graph-SIM achieves state-of-the-art performance on the new PePScenes dataset, significantly outperforming existing baselines:

  • Overall Performance: The complete Graph-SIM model achieved 94.4% Accuracy, 0.858 AUC, 0.814 F1-score, and 0.921 Precision.
  • Comparison to Baselines: It beat the state-of-the-art Social-STGCNN model by a wide margin, improving the F1-score by over 20% (0.814 vs. 0.613) and Precision by 29% (0.921 vs. 0.633).
  • Ablation Impact: Adding the clustering and relative importance weighting to the graph formulation improved precision by ~5% over a standard, distance-only graph approach.

Limitations and Future Work

The authors do not explicitly dedicate a section to limitations or future work in this brief paper. However, based on the methodology, a few limitations are apparent:

  • Reliance on perfect perception: The model assumes the availability of high-quality, 10Hz 3D bounding boxes and accurate orientation vectors. In a real-world, real-time pipeline, upstream perception noise (e.g., flickering bounding boxes or misclassified object orientations) could degrade the graph's accuracy.
  • Dataset Imbalance: The PePScenes dataset contains a relatively small number of positive crossing examples (149 crossing pedestrians), requiring the authors to use class weighting during training. Expanding this dataset in future work would likely yield more robust models.

Summary updated

BibTeX
@inproceedings{yau2021graph,
  author = {Tiffany Yau and Saber Malekmohammadi and Amir Rasouli and Peter Lakner and Mohsen Rohani and Jun Luo},
  title = {{Graph-SIM: A Graph-based Spatiotemporal Interaction Modelling for Pedestrian Action Prediction}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  url = {https://openreview.net/forum?id=gfmAzQjivo},
}
Figure