Abstract: Business process simulation (BPS) is a powerful tool for estimating process performance across different scenarios, offering critical support for organizational process redesign and optimization. Traditional BPS approaches predominantly rely on a control-flow-first perspective by enriching a process model with simulation parameters. While these approaches seem suitable for capturing centrally orchestrated processes, such as those managed by workflow systems, they fall short of accurately reflecting real-world processes characterized by decentralized decision-making and distinct resource behaviors. To overcome this limitation, we propose AgentSimulator, a resource-first BPS approach that discovers a multi-agent system from an event log. By modeling the distinct behaviors and interaction patterns of individual resources, AgentSimulator effectively simulates the underlying process. Our approach automatically identifies whether resource behavior is rather orchestrated or autonomous, adapting to the specific decision-making structure of the process. Experimental results reveal that AgentSimulator achieves state-of-the-art simulation accuracy while ensuring high adaptability to various process types.
The Challenge of Decentralized Processes
Traditional Business Process Simulation (BPS) usually starts with a bird's-eye view of the "control flow"—the sequence of steps in a process. It assumes a central orchestrator, like a workflow engine, is handing out tasks. However, real-world work is often decentralized. People have different experience levels, unique schedules, and personal preferences for whom they collaborate with or which tasks they tackle first.
Traditional models struggle to reflect these "resource-centric" dynamics, leading to inaccurate simulations. If a simulation does not account for the fact that a junior clerk takes longer than a senior clerk, or that specific staff only hand off files to certain colleagues in their local office, the resulting "what-if" analysis for process redesign will likely be flawed. AgentSimulator flips the script from "process-first" to "resource-first" by modeling individual workers and systems as autonomous agents in a multi-agent system (MAS).
The AgentSimulator Methodology
The researchers propose a framework that discovers a multi-agent system directly from historical event logs. The approach consists of two primary phases: Discovery and Simulation.
Phase 1: Discovery
The system identifies agents (representing people or systems) and defines them by three core attributes:
- Schedule: A weekly calendar of availability.
- Capabilities: Which activities they can perform and their typical duration (modeled via probability distributions).
- Behavior: How they decide what to do next and who to hand it to. The study explores three ways to learn this behavior: Frequentist Probabilities (statistical frequencies), LSTM Networks (deep learning for sequence patterns), and Petri Nets (symbolic models for process logic).
Phase 2: Simulation
The discovered agents interact in a virtual environment to execute cases, generating a simulated event log that can be compared against real-world data. Crucially, the system can toggle between Orchestrated (centralized) and Autonomous (decentralized) settings, allowing it to adapt to different organizational cultures.
Key Insights and Results
The study evaluated AgentSimulator using nine publicly available event logs, including synthetic logs and real-world data from accounting and financial sectors. Several key findings emerged:
- The "Simpler is Better" Surprise: The Frequentist (statistical) method often outperformed or matched complex LSTM and Petri net approaches in accuracy. This suggests that for many business processes, simple transition probabilities are more robust than "black-box" deep learning.
- Interaction Matters: Modeling interaction patterns (who actually works with whom) is vital for capturing bottlenecks, especially when specific workers have limited hours.
- State-of-the-Art Accuracy: AgentSimulator achieved competitive or superior results compared to four leading BPS tools (Simod, DGEN, DSIM, and RIMS) across metrics for control-flow, timing, and congestion.
- Efficiency: AgentSimulator was significantly faster than deep learning-based benchmarks, with a discovery phase averaging 4.3 minutes compared to over an hour for some hybrid models.
- Decentralized Success: In custom tests for highly decentralized scenarios, the Autonomous setting reduced errors in cycle time simulation by nearly 50% compared to orchestrated settings.
Limitations and Future Work
While powerful, the authors note areas for improvement. Currently, there is no straightforward way to visualize the discovered multi-agent system, making it harder for managers to interpret compared to traditional flowcharts. Additionally, the model does not yet account for multitasking or learning effects (workers getting faster over time). The authors call for more "knowledge-intensive" real-world logs to further demonstrate the benefits of autonomous agent modeling in complex environments.
Summary updated