SITUATE: Indoor Human Trajectory Prediction through Geometric Features and Self-Supervised Vision Representation

Luigi Capogrosso, Andrea Toaiari, Andrea Avogaro, Uzair Khan, Aditya Jivoji, Franco Fummi, Marco CristaniarXiv 2024

TL;DR

SITUATE is a novel graph neural network framework designed specifically for the complex, cluttered world of indoor human trajectory prediction. By combining equivariant geometric learning (which respects physical symmetries like rotations) with self-supervised vision representations (to understand room layouts), it achieves state-of-the-art performance on indoor benchmarks and demonstrates surprising generalization capabilities to outdoor environments.

What Problem Does This Paper Address?

Predicting where a person will walk is a cornerstone of robotics and smart infrastructure. While outdoor trajectory forecasting (e.g., for autonomous driving) has seen massive progress, indoor environments remain a "final frontier."

Indoor motion is fundamentally different: it is constrained by walls, furniture, and specific semantic goals (like reaching a checkout counter). Unlike the relatively linear paths seen outdoors, indoor trajectories are characterized by frequent self-loops, sharp turns, and "confusing" movements as people navigate tight spaces. Most existing models struggle here because they don't explicitly account for the physical constraints of the room or the inherent symmetries of human movement.

Fig. 1. Examples of different trajectories from the Supermarket [11] dataset to show the difficulty of the indoor trajectory prediction task. In particular, the dataset show- cases long trajectories (Person 4), self-loops (Person 1 and Person 3), and confusing movements (Person 2) performed in an environment that strongly affects the people’s paths. Specifically, the red circle represents the starting point of a trajectory, and the yellow star represents its final point.

Methods

The authors introduce SITUATE, which tackles the problem through two main pillars:

  1. Geometric Feature Learning (Equivariance & Invariance): The model treats trajectories as graphs. It uses specialized layers—EquiGCN and InvGCN—to ensure the network is $SO(2)$ equivariant. In plain English, this means if you rotate the input trajectory, the prediction rotates accordingly without the model needing to "re-learn" the pattern. The authors use a clever analogy: EquiGCN acts like a compass (providing a sense of direction regardless of where you start), while InvGCN acts like a map (helping the network account for different starting points and body orientations).
  2. Self-Supervised Vision Representation: To understand the "why" behind a path, the model needs to see the room. SITUATE uses a pre-trained BEiT (BERT Pre-training of Image Transformers) module to extract semantic features from floor plans or scene images. These visual tokens are concatenated with the geometric features, allowing the model to "see" obstacles like walls or shelves that might block a path.
Fig. 2. In SITUATE, we first produce a feature vector regarding the scene using the self-supervised vision representation module. Then, a feature initialization layer is used to initialize geometric and pattern features. We then successively update the geomet- ric and pattern features by the equivariant geometric feature learning and invariant pattern feature learning layers, obtaining expressive feature representation. We further use an invariant reasoning module to infer an interaction graph used in equivariant geometric feature learning. Finally, we use an equivariant output layer to obtain the final prediction.

Datasets

The model was evaluated on three major benchmarks:

  • THÖR: A dataset of human-robot navigation in an indoor environment with accurate ground truth for positions and gaze.
  • Supermarket: A challenging dataset involving shoppers navigating four different supermarket layouts using carts and baskets.
  • ETH-UCY: The "gold standard" for outdoor pedestrian trajectory prediction, used here to test the model's ability to generalize.

Key Insights and Ideas

  • Indoor-to-Outdoor Generalization: One of the most striking findings is that models trained for indoor scenarios generalize better to outdoor ones than vice-versa. This suggests that the complexity of indoor navigation forces the model to learn more robust, fundamental movement features.
  • Symmetry Matters: By baking $SO(2)$ equivariance into the architecture, the model requires less data to learn complex maneuvers like self-loops, as it treats a "left-hand loop" and a "right-hand loop" as mathematically related transformations of the same underlying pattern.
  • Semantics are Essential: The ablation studies showed that adding the scene representation (via BEiT) provided the single biggest boost in performance for indoor datasets, proving that you cannot predict indoor motion accurately without knowing the layout of the room.

Key Results

SITUATE significantly outperformed previous state-of-the-art (SOTA) models, particularly the recent EqMotion architecture:

  • THÖR Dataset: Achieved a 22% reduction in Average Displacement Error (ADE) compared to the previous SOTA.
  • Supermarket Dataset: Achieved a 29% reduction in ADE and a 31% reduction in Final Displacement Error (FDE).
  • Outdoor Performance: Despite being designed for indoors, SITUATE achieved competitive or SOTA results on the ETH-UCY dataset, matching or exceeding models specifically built for outdoor use.

Limitations and Future Work

While the paper demonstrates strong results, a few areas remain open for exploration:

  • Dynamic Obstacles: The current vision module focuses on static scene layouts (floor plans). Future iterations could benefit from incorporating dynamic obstacles (like moving robots or other people) directly into the visual representation.
  • Real-time Constraints: The paper uses a powerful BEiT backbone and GNN layers; while performance is excellent, the computational overhead for real-time deployment on low-power edge devices (like small mobile robots) was not extensively discussed.
  • Gaze Integration: Although the THÖR dataset includes gaze data, the current SITUATE architecture primarily focuses on position and velocity. Incorporating "intent" through gaze could further refine predictions.

Summary updated

Abstract

Patterns of human motion in outdoor and indoor environments are substantially different due to the scope of the environment and the typical intentions of people therein. While outdoor trajectory forecasting has received significant attention, indoor forecasting is still an underexplored research area. This paper proposes SITUATE, a novel approach to cope with indoor human trajectory prediction by leveraging equivariant and invariant geometric features and a self-supervised vision representation. The geometric learning modules model the intrinsic symmetries and human movements inherent in indoor spaces. This concept becomes particularly important because self-loops at various scales and rapid direction changes often characterize indoor trajectories. On the other hand, the vision representation module is used to acquire spatial-semantic information about the environment to predict users' future locations more accurately. We evaluate our method through comprehensive experiments on the two most famous indoor trajectory forecasting datasets, i.e., THÖR and Supermarket, obtaining state-of-the-art performance. Furthermore, we also achieve competitive results in outdoor scenarios, showing that indoor-oriented forecasting models generalize better than outdoor-oriented ones. The source code is available at https://github.com/intelligolabs/SITUATE.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
THÖR and Supermarket, AverageSITUATEADE0.83 m-0.3 vs baselinepast-steps=8 · aggregation=average across datasets · future-steps=12
Source quote
L279: SITUATE\xspace{} (ours) │ 0.45/0.93 │ 1.21/1.84 │ 0.83/1.38
THÖR and Supermarket, AverageSITUATEFDE1.38 m-0.41 vs baselinepast-steps=8 · aggregation=average across datasets · future-steps=12
Source quote
L279: SITUATE\xspace{} (ours) │ 0.45/0.93 │ 1.21/1.84 │ 0.83/1.38
ETH/UCY · ETH-UCY · ETH, HOTEL, UNIV, ZARA1, ZARA2, AverageSITUATEADE0.49 mpast-steps=8 · aggregation=average across five scenes · future-steps=12
Source quote
L330: SITUATE\xspace{} (ours) │ 0.94/1.90 │ 0.30/0.57 │ 0.50/1.10 │ 0.41/0.89 │ 0.32/0.70 │ 0.49/1.03
ETH/UCY · ETH-UCY · ETH, HOTEL, UNIV, ZARA1, ZARA2, AverageSITUATEFDE1.03 mpast-steps=8 · aggregation=average across five scenes · future-steps=12
Source quote
L330: SITUATE\xspace{} (ours) │ 0.94/1.90 │ 0.30/0.57 │ 0.50/1.10 │ 0.41/0.89 │ 0.32/0.70 │ 0.49/1.03
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
THÖR and Supermarket, AverageEqMotion baselineADE1.13 maggregation=average across datasets
Source quote
L278: EqMotion~\cite{xu2023eqmotion} │ 0.56/0.94 │ 1.71/2.65 │ 1.13/1.79
THÖR and Supermarket, AverageEqMotion baselineFDE1.79 maggregation=average across datasets
Source quote
L278: EqMotion~\cite{xu2023eqmotion} │ 0.56/0.94 │ 1.71/2.65 │ 1.13/1.79
BibTeX
@misc{capogrosso2024situate,
  author = {Luigi Capogrosso and Andrea Toaiari and Andrea Avogaro and Uzair Khan and Aditya Jivoji and Franco Fummi and Marco Cristani},
  title = {{SITUATE: Indoor Human Trajectory Prediction through Geometric Features and Self-Supervised Vision Representation}},
  year = {2024},
  eprint = {2409.00774},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.00774},
}

Loading related content...

Figure