Abstract
Business Process Simulation (BPS) is a critical tool for analyzing and improving organizational processes by estimating the impact of process changes. A key component of BPS is the case-arrival model, which determines the pattern of new case entries into a process. Although accurate case-arrival modeling is essential for reliable simulations, as it influences waiting and overall cycle times, existing approaches often rely on oversimplified static distributions of inter-arrival times. These approaches fail to capture the dynamic and temporal complexities inherent in organizational environments, leading to less accurate and reliable outcomes. To address this limitation, we propose Auto Time Kernel Density Estimation (AT-KDE), a divide-and-conquer approach that models arrival times of processes by incorporating global dynamics, day-of-week variations, and intraday distributional changes, ensuring both precision and scalability. Experiments conducted across 20 diverse processes demonstrate that AT-KDE is far more accurate and robust than existing approaches while maintaining sensible execution time efficiency.
Introduction
Business Process Simulation (BPS) serves as a "digital twin" for organizational processes, enabling decision-makers to evaluate "what-if" scenarios—such as staffing changes or software updates—before real-world implementation. A fundamental element of these simulations is the case-arrival model, which defines when new cases (e.g., loan applications or patient admissions) enter the system.
Traditional BPS tools typically employ static probability distributions to model inter-arrival times. However, real-world arrivals are rarely static; they exhibit complex temporal dynamics including intraday fluctuations (peak vs. off-peak hours), weekday variations (Monday surges), and global shifts (seasonal trends or sudden economic changes). Ignoring these dynamics leads to inaccurate simulations that underestimate bottlenecks and wait times, ultimately resulting in flawed business decisions.
Methodology: The AT-KDE Framework
To overcome the limitations of static models, we introduce Auto Time Kernel Density Estimation (AT-KDE). This approach utilizes a "divide-and-conquer" strategy to decompose complex arrival patterns into manageable, highly specific sub-problems.
The framework consists of five primary stages:
- Global Segmenting & Clustering: The algorithm identifies "change points" in daily arrival volumes and groups similar periods via DBSCAN clustering.
- Weekday Clustering: Within each global cluster, days of the week with similar behavior are grouped using Ward’s method.
- Intraday Binning: Clustered days are subdivided into equal time intervals to capture granular daily patterns.
- Inter-arrival Learning via KDE: For each specific subset (e.g., Monday mornings during a high-volume season), a non-parametric Kernel Density Estimator (KDE) is fitted to the inter-arrival times.
- Arrival Generation: Future arrivals are simulated by sampling from the ensemble of KDEs, maintaining realistic temporal patterns.
Experimental Evaluation
The AT-KDE approach was evaluated against 20 real-world event logs from diverse sectors, including finance, healthcare, and public administration. These datasets provide a rigorous testing ground with varying arrival rates and time spans.
Key Results
AT-KDE demonstrated superior accuracy, achieving the lowest Case Arrival Distribution Distance (CADD) in 12 out of 20 logs, significantly outperforming Prophet, LSTM, and XGBoost. For instance, in a motivating loan application example, AT-KDE achieved a Cycle Time Distribution Distance (CTDD) of 54.08, whereas the Prophet model resulted in a much higher distance of 504.65.
Beyond accuracy, AT-KDE is computationally efficient. Training averaged approximately 13 seconds, and simulation took just 0.03 seconds—orders of magnitude faster than deep learning alternatives like LSTMs or forecasting tools like Prophet.
Discussion and Conclusion
The success of AT-KDE highlights that while static models are too simple and deep learning models can be brittle or computationally expensive, a structured divide-and-conquer approach effectively tames variance. By segmenting data along temporal dimensions, simple non-parametric tools like KDE can produce highly accurate results.
Limitations and Future Work: Currently, AT-KDE requires per-process hyperparameter calibration. Future research will focus on automating this tuning and extending the framework to model other dynamic process attributes, such as activity durations and resource availability, to further enhance the fidelity of business process simulations.
Summary updated