Abstract
Human motion and behaviour in crowded spaces is influenced by several factors, such as the dynamics of other moving agents in the scene, as well as the static elements that might be perceived as points of attraction or obstacles. In this work, we present a new model for human trajectory prediction which is able to take advantage of both human-human and human-space interactions. The future trajectory of humans, are generated by observing their past positions and interactions with the surroundings. To this end, we propose a "context-aware" recurrent neural network LSTM model, which can learn and predict human motion in crowded spaces such as a sidewalk, a museum or a shopping mall. We evaluate our model on a public pedestrian datasets, and we contribute a new challenging dataset that collects videos of humans that navigate in a (real) crowded space such as a big museum. Results show that our approach can predict human trajectories better when compared to previous state-of-the-art forecasting models.
Introduction
Predicting human movement in crowded environments is a fundamental challenge for autonomous systems, robotics, and urban planning. While previous state-of-the-art models like "Social-LSTM" successfully addressed human-human interactions—modeling how pedestrians avoid collisions—they often overlooked the influence of the physical environment. Human trajectories are rarely random; they are shaped by static elements such as points of interest (e.g., museum exhibits) or physical boundaries. This paper introduces a context-aware framework that integrates both dynamic social cues and static environmental context into a single predictive model.
Methodology
The proposed model extends the Social-LSTM architecture by incorporating a novel Context-Aware Pooling mechanism. While traditional models use Occupancy-LSTM (O-LSTM) or Social-LSTM (S-LSTM) to track nearby agents, they struggle to account for the specific pull or push of static objects.
The core innovation lies in calculating a distance vector between a pedestrian and predefined static objects in the scene. Rather than treating these objects as generic obstacles in a grid, the model uses these vectors to learn how specific elements uniquely influence motion over time. This combined input—comprising spatial coordinates, human-human pooling data, and context-aware distance vectors—is fed into an LSTM network to generate future trajectories.
Datasets and Experimental Setup
To validate the model, the authors utilized two primary datasets:
- UCY (ZARA-01 and ZARA-02): A standard pedestrian dataset where the authors manually labeled 11 static points of interest (primarily entry and exit points) to test environmental influence.
- MuseumVisits: A new, highly complex dataset introduced in this work. It captures 57 individuals navigating a large art museum, characterized by long trajectories and specific semantic behaviors like stopping to observe artworks.
Key Insights and Results
The research yielded several critical findings regarding how humans interact with their surroundings:
- Distance vs. Presence: Simply noting the presence of a static object in an occupancy grid is insufficient. Explicitly modeling the mathematical distance to each object was crucial for the network to distinguish between an object being approached (an attraction) and one being bypassed (an obstacle).
- Context-Dependent Strategies: The optimal pooling strategy varies by environment. In the structured setting of a museum, combining context-awareness with O-LSTM performed best. In more dynamic outdoor settings like the ZARA dataset, combining it with S-LSTM yielded superior results.
- Performance Metrics: On the MuseumVisits dataset, the Context-aware O-LSTM achieved an Average Displacement Error (ADE) of 0.98 meters, significantly outperforming the standard S-LSTM (1.10m) and O-LSTM (1.15m). Qualitatively, the model successfully predicted complex behaviors, such as pedestrians pausing in front of specific exhibits, which baseline models failed to capture.
Conclusion and Future Work
By explicitly modeling human-space interactions, this work provides a more holistic approach to trajectory forecasting. However, limitations remain, such as the current requirement for manual annotation of static points of interest. Future research could focus on automating the discovery of these semantic points and leveraging richer metadata—such as social group affiliations—to further refine prediction accuracy.
Summary updated