Learning Extremely High Density Crowds as Active Matters

Feixiang He, Jiangbei Yue, Jialin Zhu, Armin Seyfried, Dan Casas, Julien Pettré, He Wang

Abstract

Modeling extremely high-density crowds (exceeding 5 people per square meter) presents a significant challenge for public safety and urban planning. Traditional individual-based tracking fails under such chaotic conditions. This paper introduces CrowdMPM, a framework that treats dense crowds as "active matter." By integrating a differentiable physics engine with neural stochastic differential equations, CrowdMPM learns to forecast complex crowd dynamics and generate interpretable stress maps directly from real-world video data.

Introduction

Crowd analysis is vital for managing large-scale events, yet existing models struggle when densities surpass 5 people per square meter. At these levels, individual movements are obscured, and the crowd behaves more like a fluid or a solid under pressure—a state known as "active matter." Current solutions typically fall into two categories: empirical physics models, which are interpretable but hard to calibrate, and black-box deep learning models, which lack physical grounding and interpretability. CrowdMPM bridges this gap by combining the predictive power of deep learning with the structural constraints of physics.

Methodology

The CrowdMPM framework utilizes the Material Point Method (MPM), a hybrid Eulerian-Lagrangian scheme. A background grid handles spatial calculations while particles represent individuals.

The CrowdMPM pipeline: from raw video to predicted velocity fields and particle states via a differentiable physics-informed loop.

Key technical innovations include:

  • Crowd Material Modeling: The authors developed a unique stress-strain relationship for human crowds, accounting for elastic asymmetry (easy to scatter, hard to compress) and exponential resistance as density increases.
  • Neural Stochastic Differential Equations (SDEs): Neural networks learn the parameters of the physics equations, such as Young’s modulus and self-propulsion forces based on the Toner-Tu equation.
  • Differentiable Pipeline: The entire simulation is differentiable, allowing the model to be trained via backpropagation by minimizing the difference between predicted and observed optical flow.

Experimental Setup

The model was evaluated on four high-density real-world datasets, avoiding synthetic data which often fails to capture chaotic human behavior.

Overview of the four high-density datasets used for evaluation: (a) Evacuation drills, (b) Hajj, (c) Hellfest, and (d) Marathon.
  • Evacuation Drills: Controlled experiments of ~100 people exiting a room.
  • Hajj: Large-scale circular flow around the Kaaba.
  • Hellfest: High-impact "mosh pit" dynamics from a music festival.
  • Marathon: Runners navigating a U-shaped course.

Results and Discussion

CrowdMPM demonstrates state-of-the-art performance in crowd forecasting, outperforming pure deep learning baselines like PredRNNv2. Specifically, it achieved an 18.69% improvement in velocity field error on the "Drill2" dataset.

Beyond accuracy, the model offers two major advantages:

  1. Interpretability: Unlike black-box models, CrowdMPM provides interpretable "stress maps" that highlight potential crush zones, which is critical for safety engineering.
  2. Stability and Simulation: The model remains stable over long prediction horizons. Furthermore, it enables "what-if" simulations, allowing planners to test architectural changes—like widening exits or placing pillars—to mitigate physical stress.

Conclusion

While CrowdMPM represents a major step forward, it currently relies on 2D optical flow from single-view cameras. Future work aims to incorporate multi-view data for 3D spatial understanding and to model more complex social behaviors, such as group formations or interactions with non-human elements like vehicles.

Summary updated

BibTeX
@inproceedings{he2025learning,
  author = {Feixiang He and Jiangbei Yue and Jialin Zhu and Armin Seyfried and Dan Casas and Julien Pettré and He Wang},
  title = {{Learning Extremely High Density Crowds as Active Matters}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00059},
}
Figure