Comprehensive Attribute Encoding and Dynamic LSTM HyperModels for Outcome Oriented Predictive Business Process Monitoring

Fang Wang, Paolo Ceravolo, Ernesto DamianiarXiv 2025 · DOI

Abstract

Predictive Business Process Monitoring (PBPM) aims to forecast the outcomes of ongoing business processes. This paper introduces a framework of dynamic LSTM HyperModels that leverage novel "pseudo-embedding" techniques for event durations and attribute correlations alongside automated hyperparameter tuning. The proposed approach addresses challenges in complex interdependencies, simultaneous events, and data heterogeneity, achieving superior performance on both synthetic and real-world datasets.

Introduction

Predictive Business Process Monitoring (PBPM) is essential for forecasting the trajectory of running processes, such as loan applications or patient journeys. Despite the promise of deep learning, specifically Long Short-Term Memory (LSTM) networks, several hurdles persist:

  1. Complex Interdependencies: Difficulty in linking event-level details with sequence-level characteristics.
  2. Simultaneous Events: Standard sequential models struggle with overlapping activities common in real-world logs.
  3. Data Heterogeneity: Messy business logs and static encoding schemes often fail to generalize across different industries.

This research moves away from "one-size-fits-all" architectures toward adaptive models that learn optimal data representations during training.

Methodology: Encoding and HyperModels

The core innovation lies in the integration of advanced encoding strategies with a dynamic HyperModel architecture.

Linguistic Decomposition

To better capture the semantics of activity labels, the authors employ linguistic decomposition. Instead of treating a label like "Initiate Low Application Check" as an atomic token, it is split into a verb (e.g., "Check") and descriptors (e.g., "Low," "Application"). This allows the model to learn shared structures across different activities.

Linguistic decomposition of activity labels into verbs and descriptors for the Patience and BPIC12 datasets.

Advanced Embedding Techniques

  • TF-IDF Pseudo-Embeddings: Adapted from NLP, these capture the relevance of attribute combinations and duration patterns within a sequence without requiring massive pre-trained models.
  • Dynamic Duration Binning: A "cut-off and quantile" strategy ensures the model handles time effectively without being biased by outliers.
  • Simultaneous Event Handling: Multidimensional embeddings and "time-difference flag augmentation" help the LSTM distinguish between parallel events and those occurring in rapid succession.

HyperModel Architecture

Using the Hyperband algorithm, the system automatically tunes hyperparameters across four LSTM variants: B-LSTM (Base), D-LSTM (Duration-aware), DC-LSTM (Duration & Correlation-aware), and T-LSTM (Textual-embedding). The search space includes layers, units, dropout rates, and optimizer settings.

The comprehensive hyperparameter search space used for the dynamic LSTM HyperModels.

Experimental Setup

The models were evaluated on four datasets:

  • Patients: A synthetic healthcare dataset with high attribute richness and a severe 36:1 class imbalance.
  • BPIC12 / BPIC12-A / BPIC12-O: Real-world loan and overdraft application logs featuring simultaneous events with identical timestamps.

Key Results and Insights

The experimental results highlight the effectiveness of the proposed framework:

  • Perfect Accuracy: On balanced BPIC12 datasets, the HyperModels achieved 100% accuracy, significantly outperforming traditional benchmarks like SVMs and Random Forests (63-70%).
  • Robustness to Imbalance: On the Patients dataset, the D-LSTM model achieved an F1-score exceeding 86%, demonstrating that duration embeddings help amplify signals for infrequent outcomes.
  • Representation vs. Depth: A key insight is that robust input representation (e.g., linguistic decomposition and multidimensional embeddings) often yields better results than simply increasing model depth.

Conclusion and Future Work

While the automated tuning process is computationally intensive—with training times between 1.5 and 7.5 hours—the resulting models are highly effective for offline monitoring. Future work will explore model compression for real-time applications and extending the framework to "next-event" prediction and full sequence generation.

Summary updated

BibTeX
@misc{wang2025comprehensive,
  author = {Fang Wang and Paolo Ceravolo and Ernesto Damiani},
  title = {{Comprehensive Attribute Encoding and Dynamic LSTM HyperModels for Outcome Oriented Predictive Business Process Monitoring}},
  year = {2025},
  eprint = {2506.03696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.03696},
}
Figure