arXiv:2609.01967cs.LGSep 2026

Manuscript Offprint

arXiv:2609.01967

A Unified Particle Filter LSTM for Data-Driven Process Simulation

Parvin Malekzadeh, Opher Baron, Dmitry Krass

Abstract

Data-driven process simulation aims to generate realistic case trajectories from historical event logs without requiring an explicitly specified model of the underlying dynamics. Deep sequence models can capture complex temporal dependencies through next-activity probabilities and conditional time distributions. However, event logs provide only a partial view of the underlying process state, often recording activity completions without the corresponding service-start times. Consequently, the same observed process history may be consistent with multiple plausible latent process conditions, whereas standard recurrent models compress each process prefix into a single deterministic recurrent state. We propose a Unified particle filter LSTM (Unified PF-LSTM) that maintains and sequentially updates a weighted set of recurrent-state hypotheses. We summarize this particle belief using its weighted mean and learned features based on the moment-generating function. The resulting representation is used to predict a categorical distribution over the next activity and conditional quantiles of the current activity's sojourn time. The framework is trained end-to-end from event-log data and evaluated on three real-world emergency department datasets. The results show that the proposed framework consistently outperforms the considered data-driven baselines in reproducing routing, duration, and system-level behavior across all datasets, with particularly strong gains in settings where complex process dynamics are only partially reflected in the available event logs.

1 Introduction

Queueing and discrete-event simulation models are widely used to analyze congestion, evaluate operational policies, and support capacity-planning decisions. They also provide a foundation for digital twins and operational what-if analysis [Tao et al., 2018]. Constructing a high-fidelity simulator, however, generally requires a modeler to specify the system structure, arrival and service processes, routing logic, and resource interactions. This requires substantial domain knowledge and modeling expertise, particularly for systems with nonstationary, history-dependent, or partially observed dynamics. It also often requires collecting new customized data that may be difficult to maintain, and involves many subjective decisions by the modeler - two simulation experts are unlikely to arrive at the same model specification.

Modern information systems increasingly record operational processes as event logs containing event sequences, timestamps, case attributes, and contextual system information. Data-driven process simulation uses these records to learn generative models directly from

Accepted for presentation at the 2026 INFORMS Data Science Workshop.

observed trajectories, reducing the need to fully specify the underlying dynamics, and increasing modeling transparency and replicability. At each event, such a model must capture two related mechanisms: routing, which determines where a case moves next, and sojourn time, which determines how long it remains at the current activity. These outcomes depend on the case history and attributes, as well as evolving system conditions such as congestion.

Deep sequence models, including long short-term memory (LSTM) networks [Hochreiter and Schmidhuber, 1997], are a natural approach to these tasks because they capture temporal dependencies in variable-length event histories [Camargo et al., 2019, Gunnarsson et al., 2023]. Standard deep sequence models, however, typically compress each observed process prefix (i.e., the case's event history up to the current point) into a single deterministic recurrent state, a learned numerical representation of the observed history.

Event-log data provide only a partial view of the underlying process state. In particular, many real-world event logs contain only one timestamp per activity, typically its completion time, while the service-start time is unavailable [Fracca et al., 2022, Suriadi et al., 2015]. Consequently, the elapsed time between consecutive activity completions conflates waiting and service time, so the same observed interval may correspond to different underlying operational conditions. More generally, relevant case characteristics may be unavailable, system measurements may be noisy or delayed, and factors such as effective resource availability or unrecorded workload may not be observed. The same observed history may therefore be compatible with several plausible latent process states. A single recurrent state represents only one interpretation of the observed history and does not explicitly preserve this latent-state ambiguity.

This issue is particularly important during recursive generation, where sampled activities and sojourn times become inputs to subsequent predictions. An inaccurate recurrent representation at one step can influence the remaining trajectory, allowing prediction errors to propagate and compound.

Contributions. To address this limitation, we build on particle filter LSTM (PF-LSTMs) [Ma et al., 2020]. Rather than maintaining a single recurrent state, a PF-LSTM maintains a weighted particle approximation of the belief over recurrent states. It updates this belief through an importance-weighted particle-filter procedure implemented as a differentiable computational graph. The resulting representation preserves multiple plausible recurrent interpretations of the observed history and sequentially updates their relative importance.

Using the complete particle set directly for prediction is difficult, while its weighted mean alone may discard information about the shape of the belief. We therefore augment the weighted mean with learned features based on the moment-generating function (MGF) [Bulmer, 1979]. These features are permutation-invariant, computationally efficient, statistically sufficient for many queuing representations, and easy to optimize, especially when the particle set is large [Johnson and Bhattacharyya, 2019].

The resulting fixed-dimensional belief representation is shared by two prediction heads: a routing head that produces a categorical distribution over the next activity and a timing head that estimates conditional quantiles of the current activity's sojourn time.

Our main contributions are:

  1. We adapt a PF-LSTM with MGF-based belief features to data-driven process modeling, representing latent-state uncertainty induced by partial observability while also modeling intrinsic variability in routing and sojourn-time outcomes. Although instantiated using an LSTM, the underlying framework is applicable to other sequential architectures.

  2. We demonstrate the efficacy of the framework using data from three emergency departments (EDs) with over 120,000 patient visits and 1,200,000 station visits through routing performance, duration calibration, and system-level fidelity. We observe that while our framework requires longer runtime, it leads to substantially higher accuracy, particularly for complex processes whose event logs provide limited information about the underlying system state.

Related Work. Work on data-driven process modeling includes waiting-time prediction, patient-flow forecasting, queue-performance estimation, and generative modeling of queueing systems [Ang et al., 2016, Sharafat and Bayati, 2021, Baron et al., 2024, Ojeda et al., 2021].

Machine learning methods such as random forests and gradient boosting provide flexible, nonparametric models of process outcomes. Quantile-based tree ensembles can additionally estimate conditional outcome distributions and prediction intervals [Mehdiyev et al., 2025]. These methods, however, typically rely on fixed-dimensional representations and do not directly capture dependencies across variable-length event histories.

Deep sequence models address this limitation and include recurrent architectures such as LSTMs [Tax et al., 2017, Camargo et al., 2019, 2021, Gunnarsson et al., 2023] and Transformer-based models [Mittal et al., 2025]. Probabilistic predictions are particularly important for simulation: next-activity probabilities represent variability in routing, while conditional sojourn time distributions represent variability in activity durations [Mittal et al., 2025, Mehdiyev et al., 2025]. However, these models typically do not represent latent-state uncertainty from incomplete event-log observations. Our work addresses this gap through a particle-filter mechanism that maintains multiple weighted recurrent-state hypotheses.