[Paper Review] Time Matters: Time-Aware LSTMs for Predictive Business Process Monitoring
This paper proposes Time-Aware LSTMs (T-LSTM) to improve predictive business process monitoring by explicitly modeling elapsed time between events, enhancing both next activity and timestamp prediction. By integrating time intervals into the LSTM cell state and applying cost-sensitive learning to handle class imbalance, the approach achieves superior accuracy and lower MAE compared to vanilla LSTM baselines on benchmark logs.
Predictive business process monitoring (PBPM) aims to predict future process behavior during ongoing process executions based on event log data. Especially, techniques for the next activity and timestamp prediction can help to improve the performance of operational business processes. Recently, many PBPM solutions based on deep learning were proposed by researchers. Due to the sequential nature of event log data, a common choice is to apply recurrent neural networks with long short-term memory (LSTM) cells. We argue, that the elapsed time between events is informative. However, current PBPM techniques mainly use 'vanilla' LSTM cells and hand-crafted time-related control flow features. To better model the time dependencies between events, we propose a new PBPM technique based on time-aware LSTM (T-LSTM) cells. T-LSTM cells incorporate the elapsed time between consecutive events inherently to adjust the cell memory. Furthermore, we introduce cost-sensitive learning to account for the common class imbalance in event logs. Our experiments on publicly available benchmark event logs indicate the effectiveness of the introduced techniques.
Motivation & Objective
- To improve predictive business process monitoring (PBPM) by incorporating elapsed time between events into deep learning models.
- To address class imbalance in event logs, which commonly skews activity prediction performance.
- To develop a time-aware LSTM variant (T-LSTM) that natively integrates time intervals into memory cell updates.
- To evaluate the effectiveness of T-LSTM and cost-sensitive learning on real-world benchmark event logs.
- To demonstrate that time-aware modeling enhances predictive accuracy for both next activity and next timestamp prediction.
Proposed method
- Proposes T-LSTM, a modified LSTM cell that incorporates the elapsed time between consecutive events to adjust the cell state, inspired by Baytas et al. (2016).
- Modifies the standard LSTM update equations to include a time-dependent gate modulation, allowing the memory to be updated based on time gaps.
- Applies cost-sensitive learning to the loss function to penalize misclassification of minority-class activities, addressing skewed class distributions in event logs.
- Uses one-hot encoding and embeddings for activity features, and computes temporal control-flow features as in prior work (Tax et al., 2018).
- Employs a multi-task learning setup for joint prediction of next activity and next timestamp using shared encoder layers.
- Trains models using TensorFlow 2.1 with hyperparameter tuning and multiple random initializations to ensure stability.
Experimental results
Research questions
- RQ1Can incorporating elapsed time between events into the LSTM cell improve predictive performance in business process monitoring?
- RQ2Does the proposed T-LSTM architecture outperform standard vanilla LSTM models in next activity and timestamp prediction tasks?
- RQ3To what extent does cost-sensitive learning mitigate performance degradation due to class imbalance in event log data?
- RQ4How does the combination of T-LSTM and cost-sensitive learning affect predictive accuracy across different benchmark datasets?
- RQ5Is the benefit of time-aware modeling more pronounced in timestamp prediction than in activity prediction?
Key findings
- The T-LSTM approach achieved the highest accuracy of 0.724 on the Helpdesk dataset and 0.778 on the BPI12W dataset for next activity prediction, outperforming the baseline by 0.012 and 0.018 respectively.
- For next timestamp prediction, the Tax+CS+T-LSTM approach reduced MAE to 2.94 days on Helpdesk and 0.90 days on BPI12W, outperforming the baseline (3.75 and 1.56 days) and showing consistent improvement.
- The combination of cost-sensitive learning and T-LSTM yielded the best results, indicating that both techniques are essential for optimal performance.
- The effectiveness of T-LSTM was more pronounced in timestamp prediction than in activity prediction, suggesting time modeling is particularly valuable for regression tasks.
- The approach Tax+CS+T-LSTM achieved the best overall performance across both tasks and datasets, confirming the synergy of time-aware modeling and class imbalance handling.
- The results suggest that integrating domain-specific characteristics (e.g., time intervals) directly into neural network layers can significantly enhance predictive modeling in PBPM.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.