Causal Inference for Crowd Management
From Observation to Intervention
Amir Rafe�Civil & Environmental Engineering�Utah State University
Human Behavior | ML & Applied AI | Causality in Engineering | Evacuation
Where We’re Going Today
Why Causality? Why Now?
Causality is not just about data, it’s about
understanding and action.
“Data are profoundly dumb about causes and
effects.”— Judea Pearl, The Book of Why
We ask causal questions every day:
The Ladder of Causation
Three Rungs of Causal Reasoning:
What is? What goes with what?
Example: People run more when alarms sound.
What if we make X happen?
Example: Will adding an exit reduce evacuation time?
What if we had done something differently?
Image Source: Pearl, Judea, and Dana Mackenzie. The Book of Why: The New Science of Cause and Effect. Basic Books, 2018
Correlation ≠ Causation
🔗 Correlation = Two variables move together
🧭 Causation = One variable changes because of the other
Common Causal Pitfalls:
How We Think About Cause and Effect
Two Big Ideas in Causal Thinking:
→ Imagine someone exits in 30 seconds... would it have been faster if they saw
a staff member?�→ This is a counterfactual question.
2. What happens if we intervene?
→ If we add a new sign here, will people exit faster?�→ This is an intervention question.
Causal Diagrams (DAGs)
Do Thinking
Counterfactual Reasoning
Why Causality Matters in Crowds
Why Causality Matters in Crowds
What Goes Wrong Without Causal Thinking?
Understanding Pedestrian Safety with Causal Tools
→ but maybe they’re more experienced or time-pressured
→ but do pedestrians actually wait because of traffic?
Understanding Pedestrian Safety with Causal Tools
Causal Insights from Research:
1. Debiased Machine Learning (DML)�📄 Kamal & Farooq, 2023 (https://doi.org/10.1177/03611981231152246)
✅ Policy Implication: Traffic calming = faster, more comfortable pedestrian flow
Causal Insights from Research:
1. Propensity Score Matching (PSM)�📄 Zhou et al., 2025 (https://doi.org/10.1016/j.aap.2025.107988)
✅ Policy Implication: Add lighting + weather-sensitive warnings at crossings
Understanding Pedestrian Safety with Causal Tools
Evacuation: Moving from Simulation to Causal Insight
increase risk, or widen inequities
Evacuation: Moving from Simulation to Causal Insight
Common Assumption: "If people hear the alarm, they’ll evacuate faster.”
❌ But real-world behavior shows otherwise:
Alarm-only scenarios (e.g., beeping, sirens):
“Is this real?” → “Let’s see what others do.”
Evacuation: Moving from Simulation to Causal Insight
How Building Design Shapes Evacuation Behavior
It’s not just exits and walls: design influences decisions.
Evacuation: Moving from Simulation to Causal Insight
How Building Design Shapes Evacuation Behavior
→ People often choose familiar or visible exits, not the nearest
→ Affects comfort, perceived crowding, and movement speed
→ Triggers emotional responses: crush behavior, rerouting, freezing
→ Fear, training, and familiarity shape decision pathways
Causality in Collective Behavior
Crowds are not collections of individuals; they are interactive systems.
Effective interventions must consider indirect effects
Causality in Collective Behavior
Direct effect:
You install a new exit in a stadium…
Indirect effects:
Causal Features of Collective Behavior
Crush behavior spreads even without direct exposure to danger
Fearful movement → causes others to follow reflexively
“If they’re running, maybe I should too.”
Some agents guide others implicitly
Leadership may last only a few seconds
Directional influence can be quantified using: Transfer Entropy, Granger Causality
These tools estimate who causes whom to move, and when.
From Explanation to Action: Causal Models as Decision Tools
Why causal models matter beyond academia:
We don’t just want to know what happened, we need to predict:
“What would happen if we did X instead of Y?”
From Explanation to Action: Causal Models as Decision Tools
Causal Tools for Decision-Making
→ Test policy changes virtually
→ Compare real vs. hypothetical outcomes
→ Inject interventions into agent logic (e.g., AI-guided signage, smoke flow, training)
From Explanation to Action: Causal Models as Decision Tools
DAGs + do-calculus → Virtual Policy Testing
Should we add signage at a hallway junction to speed up evacuation?
From Explanation to Action: Causal Models as Decision Tools
Counterfactual Thinking → Ethical Evaluation
Would a disabled evacuee have exited faster if staff had intervened?
Real data: person took 90 seconds to evacuate unaided
Matched group with staff aid: median time = 45 seconds
Counterfactual question:
What would’ve happened if this person had received staff guidance?
→ Estimated counterfactual: Exit time = 52 seconds
✅ Justifies targeted deployment of trained staff for vulnerable individuals
Causal Thinking Is Essential for Crowd Management
→ Observing isn’t enough; we must ask what if?
→ People influence each other; interventions have ripple effects.
→ Tools like DML, DAGs, and counterfactuals can guide proactive interventions.
Let’s Reflect
relying on correlation?
Social Media Engagement
Social Media Engagement
Thank You !
Human Behavior | ML & Applied AI | Causality in Engineering | Evacuation