Auto-ML Graph Neural Network Hypermodels for Outcome Prediction in Event-Sequence Data

Fang Wang, Lance Kosca, Adrienne Joyce W. Kosca, Marko Gacesa, Ernesto Damiani2025

TL;DR

This paper introduces HGNN(O), an automated machine learning (AutoML) framework that uses Graph Neural Networks (GNNs) to predict outcomes from event sequences. By intelligently searching through various GNN architectures and hyperparameters, HGNN(O) achieves high accuracy on complex event data, even when dealing with imbalanced datasets, without manual tuning.

What Problem Does This Paper Address?

Predicting the final outcome of a process based on its observed sequence of events (like a business process log) is crucial for proactive interventions and operational efficiency. Traditional methods often struggle with the complex temporal and relational dependencies inherent in these event sequences. While Graph Neural Networks (GNNs) offer a promising way to model these relationships by representing event logs as graphs, manually designing effective GNN architectures and tuning their hyperparameters is a time-consuming and challenging task. This paper addresses the need for an automated approach that can efficiently discover high-performing GNN models for outcome prediction on diverse event-sequence datasets.

Methods

The core of this work is the HGNN(O) framework, which combines several key innovations:

  • Unified GNN Hypermodel: HGNN(O) integrates four distinct GNN architectures (One Level, Two Level, Two Level Pseudo Embedding, and Two Level Embedding) with six canonical GNN operators (GCNConv, GraphConv, SAGEConv, TAGConv, ChebConv, and GINConv). This provides a comprehensive set of building blocks for exploring a wide range of GNN designs.
  • Graph Representation: Event sequences are transformed into directed, weighted graphs. Nodes represent events, and edges capture temporal ordering. Crucially, edge weights are derived from normalized time gaps between events, allowing the model to implicitly learn temporal dependencies. Node features are enriched with activity labels and other attributes.
  • Automated Hyperparameter Optimization: A self-tuning mechanism, powered by Bayesian optimization, is employed. This process intelligently searches for the best combination of architectures and hyperparameters. It also incorporates pruning and early stopping to make the search more efficient, reducing the need for manual configuration.

Datasets

The framework was evaluated on two datasets:

  • Traffic Fines: A real-world, balanced event log used for predicting deviant vs. regular outcomes.
  • Patients: A synthetic, imbalanced healthcare event log with a 36:1 imbalance ratio across six outcome classes.

Key Insights and Ideas

  • Graph Representation is Key: The paper strongly suggests that representing event sequences as graphs, especially with temporally weighted edges, provides a powerful foundation for outcome prediction. This allows GNNs to capture complex relationships that purely sequential models might miss.
  • AutoML Reduces Manual Effort and Risk: The automated search process (Bayesian optimization) is highlighted as a significant advantage. It not only finds effective models but also reduces the risk of suboptimal manual choices, making the framework more reliable and generalizable across different datasets.
  • Simplicity Can Be Effective: For balanced datasets, even the simplest "One-Level" GNN architecture performed competitively, suggesting that complex two-level or specialized embedding approaches might not always be necessary, offering practical benefits for deployment.
  • Robustness in Imbalanced Settings: The framework demonstrates remarkable resilience on imbalanced data, achieving strong performance without explicit rebalancing techniques. This is particularly important for domains like healthcare where rare events are critical.
  • GINConv as a Stable Choice: The GINConv operator consistently emerged as a stable and reliable choice, especially when paired with activity embedding architectures in imbalanced scenarios.

Key Results

  • Balanced Dataset (Traffic Fines): HGNN(O) achieved test accuracy exceeding 0.98, with some configurations reaching up to 0.993. This highlights the effectiveness of the AutoML approach in finding near-optimal solutions.
  • Imbalanced Dataset (Patients): The framework achieved weighted F1 scores up to 0.86, demonstrating strong predictive performance even with a significant class imbalance. This was achieved without any explicit imbalance handling strategies.

Limitations and Future Work

  • Computational Costs: The primary limitation acknowledged is the significant upfront computational cost associated with the extensive Bayesian hyperparameter optimization. While the resulting tuned model is efficient, the training phase requires substantial resources.
  • Future Directions: The authors suggest several avenues for future research:
  • Exploring multi-fidelity optimization and surrogate-assisted optimization to further reduce search overhead.
  • Integrating explicit imbalance-handling strategies (e.g., focal loss, oversampling) to potentially improve minority-class performance.
  • Enhancing interpretability through visualization and feature attribution methods to make the framework more transparent and practically deployable.
  • Extending evaluations to larger and more diverse industrial and IoT datasets to further assess generalizability.

Summary updated

BibTeX
@misc{wang2025auto,
  author = {Fang Wang and Lance Kosca and Adrienne Joyce W. Kosca and Marko Gacesa and Ernesto Damiani},
  title = {{Auto-ML Graph Neural Network Hypermodels for Outcome Prediction in Event-Sequence Data}},
  year = {2025},
  eprint = {2511.18835},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18835},
}
Figure