EnvSocial-Diff: A Diffusion-Based Crowd Simulation Model with Environmental Conditioning and Individual-Group Interaction

Bingxue Zhao, Qi Zhang, Hui Huang

Simulating realistic pedestrian trajectories is a complex balancing act. Humans do not merely move to avoid collisions; our paths are heavily influenced by our destinations, the people we walk with, and the surrounding environment.

Existing crowd simulation models often fall into two traps:

  1. Social Myopia: They focus heavily on individual-level interactions (e.g., avoiding the person immediately in front of you) but ignore higher-level group dynamics, such as friends staying together or a crowd conforming to a general directional flow.
  2. Environmental Oversimplification: Most models treat the environment as a binary map of "walkable" versus "blocked" spaces. They ignore "attractors" like storefronts or kiosks (Objects of Interest) and perceptual cues like lighting, which psychological studies show significantly impact walking speed and path choice.

To address these gaps, researchers have introduced EnvSocial-Diff, a novel diffusion-based crowd simulation model that bridges social physics and environmental context. By explicitly modeling factors like lighting levels, attractive objects, and group-level conformity, it generates pedestrian trajectories that are significantly more realistic and context-aware than previous state-of-the-art methods.

Complex crowd environments feature obstacles, objects of interest, and varying lighting conditions.

The EnvSocial-Diff Framework

EnvSocial-Diff is built on a conditional diffusion model that operates in the acceleration space. Instead of predicting coordinates directly, the model predicts the "clean" acceleration of a pedestrian, which is then integrated to find velocity and position. This approach keeps the generated motion physically grounded ($F=ma$).

The core innovation lies in three distinct conditioning signals that guide the model's denoising process:

  1. Structured Environmental Conditioning:
  2. Obstacles & Objects of Interest (OOI): The model uses a combination of visual features (via ResNet-50) and textual descriptions (via BERT) to understand obstacles and attractors (like a "flower bed" or "store"). These are fused via cross-attention with the pedestrian's state.
  3. Lighting: It extracts the "V-channel" (brightness) from the scene image to create a global lighting map. This allows the model to simulate how people might slow down or alter their paths in poorly lit areas.
  4. Individual–Group Interaction (IGI) Module:
  5. This module utilizes a Graph Neural Network (GNN) to capture three specific social similarities: Approach Tendency (collision risk), Motion Alignment (velocity matching), and Group Conformity (how much an individual follows the average motion of their neighborhood).
  6. Historical Trajectories:
  7. An LSTM encodes the pedestrian's recent motion trends to maintain continuity and momentum.

Crucially, the Destination Force (the urge to reach a final goal) is applied outside the diffusion process. This ensures that even as the model generates realistic, "noisy" variations in movement, the long-term intent of the pedestrian is preserved.

The EnvSocial-Diff architecture integrates environmental conditioning, individual-group interaction, and historical trajectories into a diffusion process.

Key Insights and Performance

The model was evaluated on standard benchmarks, including the dense, indoor Grand Central (GC) dataset, the outdoor University of Cyprus (UCY) dataset, and the ETH dataset. Notably, the authors tested their model on the full GC scene—moving beyond the small, manually cropped subregions typically used in benchmarks—to prove the model can handle complex, large-scale layouts.

Quantitative and Qualitative Results

EnvSocial-Diff outperformed the previous state-of-the-art (SPDiff) across nearly all metrics. On the challenging UCY dataset, it achieved relative improvements of 3.1% in Mean Absolute Error (MAE) and 8.1% in Optimal Transport (OT), indicating a much closer match to the true distribution of human movement.

Qualitative visualizations showed that EnvSocial-Diff pedestrians maintain safer and more natural margins around obstacles. While baseline models often produced "near-collision" paths in crowded areas, EnvSocial-Diff remained smooth and socially consistent.

Ablations and Discoveries

  • Lighting as a Behavioral Driver: Explicitly modeling lighting improved trajectory accuracy, proving that "perceptual" context is just as important as physical context for realistic simulation.
  • Conformity is Key: Including a "group conformity" measure in the GNN allowed the model to simulate collective behavior much better than models that only look at pairwise person-to-person distances.
  • Physics-Informed Generative Modeling: By combining the interpretability of the classic Social Force Model (SFM) with the generative power of Diffusion, the authors achieved trajectories that look "human" while strictly following the laws of physics. Removing any single component (lighting, OOI, or group conformity) led to a drop in performance, validating this holistic approach.

Future Directions

While highly effective at predicting trajectories, the current EnvSocial-Diff framework is focused on 2D motion. Future work could extend this to video-level generation, where predicted trajectories drive the animation of 3D characters. Additionally, this model holds significant potential for urban planning and intelligent infrastructure, where it could be used to "stress test" the design of public spaces for safety, flow, and efficiency.

Summary updated

BibTeX
@inproceedings{zhao2026envsocial,
  author = {Bingxue Zhao and Qi Zhang and Hui Huang},
  title = {{EnvSocial-Diff: A Diffusion-Based Crowd Simulation Model with Environmental Conditioning and Individual-Group Interaction}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=2XBAm3Dbnt},
}
Figure