Probabilistic Forecasting of Business Process Executions with Neural Temporal Point Processes
Authors: Jiaxin Yuan, Daniela Grigori, Han van der Aa
Organizations: Paris Dauphine University-PSL, Pl. du Maréchal de Lattre de Tassigny, 75016 Paris, France · University of Vienna, Universitätsring 1, 1010 Wien, Austria
Operators of service-based systems act on forecasts of how a running execution will continue, and such a forecast is actionable only if its reliability is known. Mainstream deep-learning models for this task are discriminative and deterministic: they emit a single next activity and a single remaining-time estimate, without a distribution to reason over. We instead cast the problem as generative sequence modelling with marked temporal point processes, which define a joint density over the next mark and its inter-event time and therefore deliver predictive distributions by construction. Real event logs violate the simple-point-process assumption these models rest on, since consecutive events frequently carry identical timestamps; we handle such ties explicitly and combine a transformer encoder with a mixture decoder over inter-event times, trained by exact log-likelihood. On ten public logs, the resulting model matches discriminative baselines on point accuracy, dominates them on the calibration and sharpness of remaining-time distributions, and is the cheapest at inference, since a full predictive distribution is obtained in a single forward pass without sampling.
Figures & tables
Figure 1: The THP-backbone, mapping an event sequence to the hidden state h(tk) .
Figure 2: Overview of MoTPP for multi-task predictions in PPM
Figure 3: Prediction heads and inference procedure of MoTPP.
Log
Cases
Events
Act
Avg. len
Med. Δt
Avg. dur (d)
Group A — high-frequency, small-vocab
Sepsis
1 049
15 214
16
14.5
6.5 min
28.5
BPIC13I
7 554
65 533
4
8.7
10.1 min
12.1
BPIC12
13 087
262 200
24
20.0
48 s
8.6
Group B — low-frequency, relatively large-vocab
HelpDesk
4 580
21 348
14
4.7
3.28 d
40.9
Table 1: Dataset statistics. Cases, Events and Act: numbers of cases, events, and distinct activities; Avg. len: mean case length; Med. Δt : median inter-event time; Avg. dur (d): mean case duration in days. Shaded columns (Act, Med. Δt ) are the cluster-defining statistics.
Metric
Task
Description
Range
Point metrics
Acc
next activity
Fraction of correct next activities
[0,1]↑
MAE
next event & remaining time
Mean absolute error of the predicted time
R+↓
Uncertainty metrics
MA
remaining time
Calibration: gap between empirical and nominal coverage
[0,0.5]↓
MPIW
remaining time
Sharpness: mean prediction-interval width
R+↓
Table 2: Evaluation metrics for downstream tasks . ↑ / ↓ mark whether higher/lower is better.
Process model forecasting (PMF) aims to predict the process model that will characterize a future period, thereby providing a process-level view of how behavior is expected to evolve. Existing PMF methods, however, forecast directly-follows graphs, which cannot explicitly represent concurrency. We extend PMF to causal nets by forecasting time series of relation and binding counts and using these forecasts to reconstruct future process models with AND/XOR semantics. To evaluate the resulting models, we introduce a protocol that accounts for partial traces and constructs the workflow nets required for conformance checking. Experiments on four event logs show that the forecasted models achieve conformance levels close to those of models re-mined from observations in the corresponding future windows. They also outperform static discovery baselines, which retain high precision on the structurally stable log but exhibit substantial precision losses on the other three logs. Filtering infrequent bindings improves most conformance metrics, although it also removes much of the concurrent behavior captured by the models.
Yongbo Yu, Jari Peeperkorn, Johannes De Smedt +1
Research Center for Information Systems Engineering (LIRIS), KU Leuven, Leuven, Belgium
Process Model Forecasting (PMF) aims to predict how the control-flow structure of a process evolves over time by modeling the temporal dynamics of directly-follows (DF) relations, complementing predictive process monitoring that focuses on single-case prefixes. Prior benchmarks show that machine learning and deep learning models provide only modest gains over statistical baselines, mainly due to the sparsity and heterogeneity of the DF time series. We investigate Time Series Foundation Models (TSFMs), large pre-trained models for generic time series, as an alternative for PMF. Using DF time series derived from real-life event logs, we compare zero-shot use of TSFMs, without additional training, with fine-tuned variants adapted on PMF-specific data. TSFMs generally achieve lower forecasting errors (MAE and RMSE) than traditional and specialized models trained from scratch on the same logs, indicating effective transfer of temporal structure from non-process domains. While fine-tuning can further improve accuracy, the gains are often small and may disappear on smaller or more complex datasets, so zero-shot use remains a strong default. Our study highlights the generalization capability and data efficiency of TSFMs for process-related time series and, to the best of our knowledge, provides the first systematic evaluation of temporal foundation models for PMF.
Yongbo Yu, Jari Peeperkorn, Johannes De Smedt +1
Research Center for Information Systems Engineering (LIRIS), KU Leuven, Belgium
Predictive Process Monitoring (PPM) enables organizations to forecast future process behavior, such as the next activity and remaining time of ongoing cases. In practice, three conditions cause existing methods to degrade, namely data scarcity, high process entropy and distributional shift. While Foundation Models (FMs), especially Large Language Models (LLMs), offer a new paradigm through broad sequential reasoning, adapting them to multi-task PPM under these conditions remains an open challenge. Existing FM-based approaches either lack mechanisms for handling distributional shift or rely on direct regression heads that can be structurally misaligned with continuous time prediction tasks. This paper introduces D-TAIA (Domain-aware Training and Attention-based Inference Architecture), a framework for a joint next activity and remaining time prediction task via parameter-efficient fine-tuning of an FM backbone. Our approach combines domain-aware triplet loss (DATL) pre-training with FAISS-based nearest neighbor retrieval for remaining time prediction, and adopts the TAIA inference strategy to preserve pre-trained sequential reasoning during fine-tuning. Evaluated across four real-world event logs, D-TAIA consistently shows SOTA or competitive performance compared to a fine-tuned LLM and a recurrent neural network baseline. Ablation studies confirm that techniques from NLP and computer vision can be transferred effectively to PPM with only a 10M-parameter backbone, though component contributions vary by dataset entropy.
Sjoerd van Straten, Christine Jacob, Marwan Hassani
Department of Mathematics and Computer Science, Eindhoven University of Technology, The Netherlands · Department of Mathematics and Computer Science, University of Wuppertal, Germany