Hybrid FSM-MARL Crowd Simulation for Retail Visualization in Unity

The ability to simulate realistic crowd movement is a cornerstone requirement across diverse fields, including urban planning, emergency preparedness, virtual environment design, and visualizing retail spaces. However, traditional simulation techniques frequently prove inadequate when it comes to representing the subtle and varied actions of individuals. This inadequacy is visible in settings such as retail environments, where shopper decisions are shaped by a mix of various factors. Our paper introduces a novel hybrid framework designed to simulate these complex behaviours. It achieves this by merging the structured control of Finite State Machines (FSM) with the adaptive learning power of Multi-Agent Reinforcement Learning (MARL). The goal is to generate truly lifelike and diverse shopper behaviours specifically within a Unity-based retail simulation environment. Within our system, FSMs dictate the primary stages of an agent’s path – the sequence of Entering, Shopping, Checking Out, and Exiting. Yet, the more subtle decision-making during the actual shopping phase is handled by MARL, implemented using Proximal Policy Optimization (PPO) via Unity ML-Agents. To model the diversity seen in real shoppers, we developed and trained three distinct behavioural archetypes: the focused Goal-Oriented shopper, the easily swayed Impulsive shopper, and the freely browsing Explorative (or ‘Wanderer’) shopper. The generated data shows that these shopper types made distinct decisions, resulting in unique behaviours, demonstrating that the system can produce realistic and varied shopper behaviour.

Authors

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.08.297
Primary Topic
Evacuation and Crowd Dynamics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid FSM-MARL Crowd Simulation for Retail Visualization in Unity

Santhoshkumar R. Naik, Sudarshan Naik, Hirendra N. Ghosh, R. Rajeswari et al.
Procedia Computer Science
Evacuation and Crowd Dynamics
article

Hybrid FSM-MARL Crowd Simulation for Retail Visualization in Unity

Santhoshkumar R. Naik, Sudarshan Naik, Hirendra N. Ghosh, R. Rajeswari, Sahil Mubarak
article en

Abstract

The ability to simulate realistic crowd movement is a cornerstone requirement across diverse fields, including urban planning, emergency preparedness, virtual environment design, and visualizing retail spaces. However, traditional simulation techniques frequently prove inadequate when it comes to representing the subtle and varied actions of individuals. This inadequacy is visible in settings such as retail environments, where shopper decisions are shaped by a mix of various factors. Our paper introduces a novel hybrid framework designed to simulate these complex behaviours. It achieves this by merging the structured control of Finite State Machines (FSM) with the adaptive learning power of Multi-Agent Reinforcement Learning (MARL). The goal is to generate truly lifelike and diverse shopper behaviours specifically within a Unity-based retail simulation environment. Within our system, FSMs dictate the primary stages of an agent’s path – the sequence of Entering, Shopping, Checking Out, and Exiting. Yet, the more subtle decision-making during the actual shopping phase is handled by MARL, implemented using Proximal Policy Optimization (PPO) via Unity ML-Agents. To model the diversity seen in real shoppers, we developed and trained three distinct behavioural archetypes: the focused Goal-Oriented shopper, the easily swayed Impulsive shopper, and the freely browsing Explorative (or ‘Wanderer’) shopper. The generated data shows that these shopper types made distinct decisions, resulting in unique behaviours, demonstrating that the system can produce realistic and varied shopper behaviour.

Procedia Computer ScienceVol. 269
Openalex Percentile: Top 58%
Evacuation and Crowd Dynamics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.