Abstract
Visual images usually contain the informative context of the environment, thereby helping to predict agents' behaviors. However, they hardly impose the dynamic effects on agents' actual behaviors due to the respectively fixed semantics. To solve this problem, we propose a deterministic model named BGM to construct a guidance map to represent the dynamic semantics, which circumvents to use visual images for each agent to reflect the difference of activities in different periods. We first record all agents' activities in the scene within a period close to the current to construct a guidance map and then feed it to a Context CNN to obtain their context features. We adopt a Historical Trajectory Encoder to extract the trajectory features and then combine them with the context feature as the input of the social energy based trajectory decoder, thus obtaining the prediction that meets the social rules. Experiments demonstrate that BGM achieves state-of-the-art prediction accuracy on the two widely used ETH and UCY datasets and handles more complex scenarios.
Introduction: The Problem with Static Context
Predicting where a pedestrian will walk next requires understanding two primary factors: social interactions (avoiding others) and environmental constraints (not walking through walls). Traditionally, researchers have used visual images (RGB) or static semantic maps (labeling "road" vs. "grass") to provide this environmental context.
However, visual context is inherently static, while human behavior is dynamic. A camera image doesn't show that a specific store entrance is currently popular, or that people are avoiding a temporary puddle. Furthermore, existing models often treat "agent-agent" and "agent-scene" interactions as separate problems. In reality, a person standing still is functionally the same as a tree—both are obstacles to be avoided. The BGM (Dynamic Guidance Map) model moves away from using static visual images, instead building a "Guidance Map" based on the recent historical movements of all agents in a scene.
The BGM Framework
The BGM framework consists of three main components designed to capture both long-term intent and dynamic environmental constraints:
- Historical Trajectory Encoder (HTE): Unlike standard LSTMs that focus on the most recent moments, the HTE uses multi-scale LSTMs to capture essential behaviors across different time windows. This allows the model to understand both long-term intent and short-term adjustments.
- Dynamic Context Encoder (DCE): This is the paper's core innovation. Instead of an RGB image, the DCE creates a Guidance Map. It records the positions of all agents within a specific "Record Period" and plots them on a 2D grid. This map acts as a heatmap of "walkable" and "preferred" areas.
- Social Energy-based Trajectory Decoder (SED): This module takes the features from the first two steps and produces a preliminary prediction. It then applies a "Social Module" based on physics-inspired Social Energy Fields. It iteratively "nudges" the predicted path to minimize energy—effectively ensuring the agent reaches their destination while maintaining a "safe social distance" from others.
Key Insights: Crowdsourced Semantics
The "Guidance Map" essentially uses the crowd as a sensor. If no one has walked through a specific area in the last 5 minutes, the model treats it as an obstacle, regardless of whether it's a wall, a parked car, or a temporary barrier. By treating standing pedestrians and static objects as part of the same "scene context," the model simplifies the interaction logic and avoids the need for complex category-specific rules.
Because the Guidance Map updates over time, the model can adapt to changing scene preferences (e.g., a morning rush toward a subway entrance vs. an afternoon stroll) that a static image would miss. This temporal adaptability is critical for accurate prediction in real-world, changing environments.
Experimental Results
The model was evaluated on two classic public pedestrian datasets: ETH (including eth and hotel scenarios) and UCY (including zara1, zara2, and univ scenarios). These datasets contain real-world coordinates of pedestrians in various crowded environments.
BGM demonstrates significant performance gains over existing deterministic models:
- Superior Accuracy: Compared to the previous best-performing deterministic model (SR-LSTM), BGM reduced the Average Displacement Error (ADE) by 13.0% and the Final Displacement Error (FDE) by 14.4%.
- Competitive with Generative Models: Even when compared to complex generative models (like Social-STGCNN) that produce multiple possible paths, BGM’s single deterministic prediction remains highly competitive, often outperforming them in FDE.
- Ablation Success: Removing the Dynamic Context Encoder caused performance to drop by roughly 9%, proving that the Guidance Map provides critical information that trajectory data alone cannot capture.
Conclusion and Future Work
While BGM is powerful, its performance depends on observing enough agents in the recent past to build a high-quality Guidance Map. In very sparse environments, the map might be less informative. Future work may involve incorporating agent pose (which way the person is facing) and more explicit intent recognition to further refine the "Social Energy" calculations. Additionally, exploring variable grid resolutions for the guidance map could help balance computational speed with fine-grained accuracy in extremely tight spaces.
Summary updated