Continuous Locomotive Crowd Behavior Generation

Inhwan Bae, Junoh Lee, Hae-Gon Jeon

Abstract

Simulating realistic, long-term crowd behavior is a cornerstone for applications in autonomous driving, urban planning, and digital entertainment. However, current generative models often fall into the "snapshot trap," focusing on momentary placements rather than continuous evolution, and frequently produce homogeneous, unrealistic movements. This paper introduces CrowdES, a novel framework designed for "lifelong" crowd generation. CrowdES combines a diffusion-based emitter to initialize agents with a state-switching simulator to drive their movement. Our approach generates heterogeneous, socially plausible trajectories that significantly outperform traditional methods in realism and diversity.

Introduction

The simulation of realistic crowds is often considered a "holy grail" for industries requiring high-fidelity human-environment interaction. Despite progress, two primary limitations persist: the lack of temporal continuity (the Snapshot Trap) and behavioral homogeneity. Most existing models place actors in a single frame without accounting for the flow of individuals entering and exiting a scene over time. Furthermore, algorithmic simulations often result in "robotic" crowds where agents follow identical logic, failing to capture the nuance of human behavior—such as stopping to converse, changing pace, or moving in cohesive groups.

CrowdES addresses these challenges by populating a scene indefinitely with diverse agents. By treating crowd generation as a continuous process rather than a static task, we enable the creation of "lifelong" simulations from a single input image.

Methodology

The CrowdES framework operates through a modular two-stage loop: the Crowd Emitter and the Crowd Simulator.

Overview of the CrowdES framework, from input image to generated scenarios.

1. The Crowd Emitter

The first stage involves analyzing a static input image to predict spatial layouts, including semantic segmentation, appearance maps (identifying entry/exit points), and population density maps. Unlike traditional methods that place agents sequentially, CrowdES utilizes a Conditional Diffusion Model for collective denoising. Using a Transformer architecture, the model denoises all agent parameters—such as type, pace, and start/end points—within a specific time window simultaneously. This ensures that the initial placement of agents respects both spatial constraints and group dynamics.

2. The Crowd Simulator

Once agents are emitted, their movement is governed by a Switching Dynamical System (SDS). The environment is first processed into a navigation mesh using the "Recast" method, defining walkable polygonal areas for global pathfinding. The core innovation lies in the simulator's behavioral modeling: real-world trajectories are clustered into discrete "modes" (e.g., walking, stopping, turning). A learned Markov chain predicts transitions between these modes based on an agent's history and its neighbors. This allows agents to autonomously decide to avoid collisions, change pace, or rejoin groups, resulting in lifelike unpredictability.

Key Insights and User Controllability

A significant advantage of the CrowdES framework is its modularity and the resulting user control. Users can manually adjust scene-level parameters, such as population density and appearance maps, or agent-level parameters, including walking pace and specific destinations.

Visualization of heterogeneous crowd behaviors and the user control interface.

Our research yielded several critical insights:

  • Diffusion vs. VAEs: Diffusion models proved superior to Variational Autoencoders (VAEs) in capturing the multimodal nature of agent journeys. VAEs often produce "averaged" placements, whereas diffusion models accurately reflect the diverse starting and ending points seen in real-world data.
  • Behavioral Modes: By modeling movement as discrete states rather than continuous regression, the simulator replicates complex social behaviors like "stop-and-go" dynamics without requiring explicit manual rules.

Results and Evaluation

CrowdES was evaluated across five major datasets, including ETH, UCY, and the Stanford Drone Dataset (SDD). We introduced a new benchmark measuring Scene-Level Realism (using Earth Mover’s Distance for population distribution) and Agent-Level Accuracy.

Key results include:

  • Enhanced Realism: CrowdES achieved a 30% improvement in population distribution similarity on the SDD dataset compared to baselines like SE-ORCA.
  • Computational Efficiency: The framework is capable of generating a one-hour crowd scenario in just 48 seconds on a standard consumer GPU (RTX 4090).
  • Generalization: The model successfully populates unseen, complex environments—such as Midtown Manhattan—using only a single context image.

Conclusion and Future Work

CrowdES represents a significant step toward realistic, lifelong crowd simulation. While the model excels at generating diverse trajectories, it occasionally prioritizes behavioral "interest" over perfect physics-based collision avoidance. Future work will focus on explicitly modeling high-level social relationships (e.g., family units) and integrating environmental factors like weather and time-of-day, which further influence crowd dynamics.

Summary updated

BibTeX
@inproceedings{bae2025continuous,
  author = {Inhwan Bae and Junoh Lee and Hae-Gon Jeon},
  title = {{Continuous Locomotive Crowd Behavior Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02088},
}
Figure