AgentSimulator: An Agent-based Approach for Data-driven Business Process Simulation

Lukas Kirchdorfer, Robert Blümel, Timotheus Kampik, Han van der Aa, Heiner Stuckenschmidt · DOI

Abstract

Business process simulation (BPS) is a versatile technique for estimating process performance across various scenarios. Traditionally, BPS approaches employ a control-flow-first perspective by enriching a process model with simulation parameters. Although such approaches can mimic the behavior of centrally orchestrated processes, such as those supported by workflow systems, current control-flow-first approaches cannot faithfully capture the dynamics of real-world processes that involve distinct resource behavior and decentralized decision-making. Recognizing this issue, this paper introduces AgentSimulator, a resource-first BPS approach that discovers a multi-agent system from an event log, modeling distinct resource behaviors and interaction patterns to simulate the underlying process. Our experiments show that AgentSimulator achieves state-of-the-art simulation accuracy with significantly lower computation times than existing approaches while providing high interpretability and adaptability to different types of process-execution scenarios.

Introduction

Business Process Simulation (BPS) serves as a critical "what-if" engine in industrial settings, allowing organizations to predict how structural or operational changes—such as staffing adjustments or workflow modifications—will impact cycle times and operational costs. Historically, BPS has relied on a "control-flow-first" paradigm. In this model, a process map (the "how") is defined first, and resource data (the "who") is subsequently added as secondary parameters.

However, modern business processes are increasingly decentralized. Individual actors possess unique schedules, varying skill proficiencies, and specific preferences regarding task handovers. Traditional models often fail to capture these nuanced, resource-driven dynamics, leading to simulation inaccuracies. Furthermore, while deep-learning-based BPS approaches offer high accuracy, they often function as "black boxes," making them computationally expensive and difficult for managers to interpret or modify for specific scenarios.

Methodology: The Resource-First Approach

AgentSimulator addresses these challenges by adopting a "resource-first" perspective. Rather than imposing a rigid process model, the system discovers a Multi-Agent System (MAS) directly from historical event logs.

The Discovery and Simulation Framework

The framework operates in two distinct phases: Discovery and Simulation.

The two-phase architecture of AgentSimulator: Discovery and Simulation.
  1. Phase 1: Discovery: The system identifies four essential components for every resource (agent) identified in the log: Type (categorizing roles), Schedule (availability windows), Capabilities (activity mapping and processing times), and Behavior (decision-making logic for next activities and handovers).
  2. Phase 2: Simulation: The simulator supports two operational modes. Orchestrated Handovers mimic centralized environments where global logic dictates flow, while Autonomous Handovers mimic decentralized environments where agents utilize local transition probabilities and interpersonal handover preferences.

Experimental Evaluation

The performance of AgentSimulator was evaluated using nine event logs, comprising five synthetic logs and four real-world logs (e.g., BPI Challenge 2012 and 2017).

Accuracy and Handover Patterns

A key strength of AgentSimulator is its ability to capture "handover patterns"—the interpersonal dynamics of who works with whom. By modeling these local interactions, the simulator accurately reflects bottlenecks and regional silos that global models often overlook.

Comparison of resource handover patterns between the ground truth (Train), AgentSimulator, and Simod.

As shown in the handover heatmaps, AgentSimulator closely replicates the diagonal and off-diagonal patterns of the original training data, whereas traditional tools like Simod produce a more randomized distribution that fails to capture specific resource interactions.

Key Results and Insights

  • State-of-the-Art Accuracy: AgentSimulator consistently matched or exceeded the performance of top-tier benchmarks (Simod, DeepSimulator) across metrics for control-flow (NGD), timing (AED/RED), and congestion (CTD).
  • Computational Efficiency: The approach demonstrated massive speedups. For a production log, AgentSimulator ran 20x faster than Simod and 80x faster than DeepSimulator. Notably, for the BPI12W log, it completed in 9 minutes, while the hybrid deep-learning approach (DSIM) required over 10 hours.
  • Interpretability: Unlike black-box models, the agent-based architecture is highly transparent. Users can simulate specific organizational changes—such as relocating a specific employee—because resources are modeled as distinct, autonomous entities.

Conclusion

AgentSimulator demonstrates that in flexible processes, the sequence of events is often a byproduct of resource behavior rather than a pre-defined map. While the current model significantly advances BPS, future work will address complex human factors such as multitasking, batch processing, and the impact of fatigue on productivity.

Summary updated

BibTeX
@misc{kirchdorfer2024agentsimulator,
  author = {Lukas Kirchdorfer and Robert Blümel and Timotheus Kampik and Han van der Aa and Heiner Stuckenschmidt},
  title = {{AgentSimulator: An Agent-based Approach for Data-driven Business Process Simulation}},
  year = {2024},
  eprint = {2408.08571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.08571},
}
Figure