Generating Pedestrian Trajectories Consistent with the Fundamental Diagram Based on Physiological and Psychological Factors

Sahil Narang, Andrew Best, Sean Curtis, Dinesh Manocha

Abstract

Pedestrian crowds often have been modeled as many-particle systems, including microscopic multi-agent simulators. One of the key challenges is to unearth governing principles that can model pedestrian movement and use them to reproduce paths and behaviors frequently observed in human crowds. We present a novel crowd simulation algorithm that generates pedestrian trajectories exhibiting the speed-density relationships expressed by the Fundamental Diagram. Our approach is based on biomechanical principles and psychological factors. The overall formulation results in better utilization of free space by pedestrians and can be easily combined with well-known multi-agent simulation techniques with little computational overhead. We generate human-like dense crowd behaviors in large indoor and outdoor environments and validate the results with captured real-world crowd trajectories.

Introduction

Simulating realistic human crowds requires balancing global path planning with local collision avoidance. While microscopic simulators like Social Forces (SF) and Optimal Reciprocal Collision Avoidance (ORCA) are effective at preventing overlaps, they often fail to replicate the "Fundamental Diagram"—the empirical observation that pedestrian speed decreases as crowd density increases.

In real-world scenarios, humans proactively adjust their speed based on perceived density and personal space requirements. Without these factors, simulated agents often maintain high speeds until physical constraints force a sudden stop, leading to unrealistic "jostling," excessive density, and jittery trajectories. This paper addresses this gap by introducing a governing principle that allows agents to behave like humans without massive computational overhead.

Methodology: The Density-Dependent Filter

The core contribution is a "density filter" middleware that bridges the gap between path planning and collision avoidance. This filter adjusts an agent's preferred velocity before it reaches the local planner through three main components:

1. Physiological and Psychological Modeling

The model incorporates biomechanical constraints where walking speed is intrinsically linked to stride length. To account for human behavior, a "stride buffer" ($\beta$) is introduced, representing the psychological need for personal space. This ensures agents maintain a comfortable distance from others even before a collision is imminent.

2. Perceived Density Estimation

Rather than a simple count of neighbors, the system calculates the density an agent perceives in its immediate path. Using Gaussian kernels, the model estimates density in front of the agent. It also evaluates "contiguous free space," accounting for static obstacles that reduce the available "breathing room," effectively treating obstacles as sources of psychological discomfort that push agents toward open areas.

3. Velocity Optimization

At each time step, agents sample potential directions. The filter calculates a "corrected preferred velocity" for each direction, respecting the speed-density constraints derived from the biomechanical model. The agent selects the direction that minimizes the time to reach its goal while adhering to these constraints. This corrected velocity is then passed to standard local planners (like ORCA or SF), which handle the final collision avoidance.

Experimental Validation

The model was validated against three distinct real-world pedestrian datasets to ensure its generalizability:

  • Uni-directional Flow: Experimental data involving pedestrians moving through a corridor.
  • Bi-directional Flow: Two-way traffic in a confined corridor space.
  • Stadium Exit: A complex scenario involving 300 spectators exiting a soccer stadium through bottlenecks and non-planar layouts.

Results and Discussion

The integration of the density filter yielded significant improvements over baseline simulators:

  • Fundamental Diagram Adherence: Unlike standard ORCA or SF, which often maintain unrealistic speeds in dense clusters, the filtered versions (D-ORCA and D-SF) closely matched real-world speed-density curves.
  • Collision Mitigation: The filter reduced "penetration depth" (collision severity) by several orders of magnitude. In high-density "Hourglass" scenarios, collisions were reduced to near zero compared to baseline models.
  • Trajectory Quality: By anticipating density and slowing down proactively, agents avoided the "rush and stop" cycle, resulting in smoother, more human-like paths and reduced trajectory noise.
  • Computational Efficiency: The algorithm is highly efficient, capable of simulating thousands of agents on a single CPU core with only a few milliseconds of overhead per frame.

Conclusion

By incorporating physiological and psychological factors into a density-dependent filter, this approach enables standard crowd simulators to produce more realistic, human-like behaviors. The "middleware" nature of the filter makes it a versatile tool for enhancing existing simulation frameworks without requiring their replacement. Future work will explore heterogeneous agent parameters (e.g., varying ages and walking speeds) and meso-scale dynamics to further refine crowd realism in rapidly changing environments.

Summary updated

BibTeX
@inproceedings{narang2015generating,
  author = {Sahil Narang and Andrew Best and Sean Curtis and Dinesh Manocha},
  title = {{Generating Pedestrian Trajectories Consistent with the Fundamental Diagram Based on Physiological and Psychological Factors}},
  booktitle = {PLoS},
  year = {2015},
  doi = {10.1371/journal.pone.0117856},
}
Figure