Deep Crowd-Flow Prediction in Built Environments

Samuel S. Sohn, Seonghyeon Moon, Honglu Zhou, Sejong Yoon, Vladimir Pavlovic, Mubbasir KapadiaarXiv 2019

Abstract

Predicting long-term crowd dynamics in complex built environments is a critical challenge for urban planning and safety management. Traditional micro-simulations are computationally expensive and difficult to scale. This paper presents a deep learning framework capable of "one-shot" long-term crowd flow predictions. By utilizing a novel compression technique called CAGE (Capacity, Agent, Goal, and Environment), the system bypasses frame-by-frame simulation to instantly estimate aggregate movement across entire events in environments of unrestricted size.

Introduction

Effective disaster management and urban design rely on understanding how crowds navigate spaces like malls, stadiums, and transit hubs. However, current methods face a "trilemma" of trade-offs: computational cost (simulating individuals is slow), scalability (fixed-grid models fail on larger maps), and the gap between rule-based simulations and real-world dynamics.

To address these issues, this research proposes an environment-centric approach that provides long-term predictions instantly. Instead of tracking the next frame for every agent, the model predicts the aggregate flow of an entire event in a single pass, making it suitable for real-time "what-if" scenario testing.

Methodology

CAGE Encoding and Decoding

The core innovation is the CAGE representation, which handles buildings of arbitrary size through a lossless environmental compression method. Unlike standard grids where each cell represents a fixed physical area, CAGE allows cells to have varying capacities ($C^x, C^y$). This ensures that the navigability and connectivity of the original floorplan are preserved while squashing complex layouts into a fixed-size $n \times n$ representation compatible with standard Convolutional Neural Networks (CNNs).

Overview of the CAGE prediction pipeline, illustrating the flow from synthetic data generation to encoding, prediction, and final decoding.

Predictive Architecture

The framework utilizes a modified SegNet encoder-decoder architecture. To account for the different behaviors of sparse versus dense crowds, the authors developed a Dual-SegNet ensemble. One branch focuses on dense, "stigmergic" flow (where agents follow established high-traffic paths), while the other captures the fine-grained trajectories of sparse populations.

Data Generation

Due to the scarcity of large-scale real-world crowd data, a massive synthetic dataset was developed. This included 3,000 test cases across various architectural typologies. Ground truth labels were generated using both high-fidelity Social Force Models (SFM) and a faster "Proxy" method based on shortest-path overlays. This diversity allows the model to learn both physics-based interactions and high-level navigation patterns.

Results and Discussion

Quantitative Performance

The Dual-SegNet model significantly outperformed single-model baselines. For dense crowds, the model achieved a low Mean Absolute Error (MAE) of 0.026. In sparse scenarios, where MAE is often a misleading metric due to the sparsity of the ground truth, the authors used Kullback–Leibler divergence ($D_{KL}$). The Dual-SegNet reached a $D_{KL}$ of 0.302, a substantial improvement over the baseline's 4.388, indicating that the predicted paths closely match the actual distribution of movement.

Visual comparison of the CAGE composite input, ground truth simulation, and model prediction across different environment types.

Qualitative Analysis

Visual heatmaps demonstrate that the model accurately identifies potential bottlenecks and complex flow patterns that simple shortest-path algorithms often miss. The "Colored Difference" maps show high overlap between the predicted density and the simulated ground truth, validating the model's ability to generalize across different building layouts.

Conclusion

This framework represents a significant step toward real-time crowd flow analysis. By shifting from agent-centric sequential modeling to environment-centric one-shot prediction, the CAGE system enables rapid assessment of built environments. Future work will focus on validating the model against real-world sensor data and incorporating dynamic environmental changes, such as mid-event gate closures or emergency rerouting.

Summary updated

BibTeX
@misc{sohn2019deep,
  author = {Samuel S. Sohn and Seonghyeon Moon and Honglu Zhou and Sejong Yoon and Vladimir Pavlovic and Mubbasir Kapadia},
  title = {{Deep Crowd-Flow Prediction in Built Environments}},
  year = {2019},
  eprint = {1910.05810},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.05810},
}
Figure