EHHN: An Event-driven Heterogeneous Hypergraph Network for Object-Centric Next Activity Prediction

Jiaxing Wang, Kaitao Chen, Zhubin Han, Chenyu Hou, Bin Cao, Jing Fan, Ji ZhangarXiv 2026

TL;DR

The paper introduces EHHN (Event-driven Heterogeneous Hypergraph Network), a novel framework for predicting the next activity in complex business processes using Object-Centric Event Logs (OCELs). By representing process states as bounded heterogeneous hypergraphs and utilizing a dual-stream architecture, EHHN captures both local event-driven object state changes and global execution patterns. This approach achieves state-of-the-art prediction accuracy while reducing peak GPU memory usage by up to 24× compared to existing native graph baselines.

What Problem Does This Paper Address?

Predictive process monitoring (PPM) helps organizations anticipate upcoming steps in a business workflow, allowing them to prevent delays or mitigate risks before they occur. Traditional PPM methods assume a simple "single-case" view, where each event belongs to exactly one isolated sequence (e.g., tracking a single order). However, real-world services are interconnected; a single event might simultaneously involve a purchase order, multiple material items, a package, and an invoice.

Object-Centric Event Logs (OCELs) capture these complex, many-to-many relationships. Unfortunately, current predictive models struggle with OCELs. "Flattening" methods force the data back into a single-case perspective, losing vital cross-object context. Meanwhile, native graph-based methods break multi-object events down into simple pairwise edges, weakening the joint context of the event. Furthermore, existing models fail to jointly capture the asymmetric roles of events (transient triggers) and objects (persistent entities), inter-event timing, and global execution patterns.

Methods

EHHN addresses these gaps through a specialized hypergraph representation and a dual-stream neural network architecture:

  1. Heterogeneous Hypergraph Construction: Instead of standard graphs, EHHN constructs a bounded hypergraph for each prediction prefix. It uses event-object hyperedges to group an event with all its participating objects simultaneously, preserving their joint semantics. It also includes a lifecycle hyperedge to group all observed events for the primary object being monitored.
  2. Micro-Spatial Stream (Local Evolution): This stream models how transient events trigger state updates in persistent objects. It uses a Joint Event-Driven State Transition (JEST) module to aggregate object contexts and generate update signals, followed by a Lifecycle-Constrained State Evolution (LCSE) module to inject long-term lifecycle context into the primary object. A Heterogeneous Interaction Encoder (HIE) then aligns these representations using hypergraph attention.
  3. Macro-Evolution Stream (Global & Temporal Context): Operating in parallel, this stream uses Time-Aware State Evolution (TASE)—a Transformer variant with a logarithmic time-decay bias—to model irregular intervals between events. It also queries a Global Prototype Memory bank to retrieve dataset-level execution patterns, modulating the trajectory features via Feature-wise Linear Modulation (FiLM).

The outputs of both streams are fused to make the final next-activity prediction. The model is trained end-to-end using a tri-objective loss function combining classification error, time-prediction error, and a prototype-diversity regularizer.

Fig. 1: Overview of the EHHN framework. A prediction prefix is converted into a heterogeneous prefix hypergraph with event–object and lifecycle hyperedges. The micro-spatial stream applies JEST, LCSE, and HIE to encode local event-driven object-state evolution, while the macro-evolution stream uses TASE and prototype memory to model temporal and global execution patterns. The two streams are fused for next activity prediction.

Datasets

The authors evaluated EHHN on four public, real-world OCEL benchmarks, each presenting distinct structural and temporal complexities:

  • OTC: An order-management dataset; highly structurally complex with many objects per event.
  • BPI 2017: A large-scale Dutch loan application dataset featuring long temporal gaps between events.
  • Intermediate: A balanced application-offer dataset.
  • P2P: A procure-to-pay dataset with high object-type diversity and low primary-object participation.
TABLE I: Basic statistics and complexity of the benchmarks.

Key Insights and Ideas

  • Hyperedges Preserve Multi-Object Semantics: Breaking a multi-object event into pairwise edges dilutes the fact that all those objects interacted at the exact same time. Hyperedges naturally preserve this atomic, multi-entity binding.
  • Asymmetric Node Roles: Treating events as transient impulses and objects as persistent accumulators of state aligns perfectly with real-world process semantics, outperforming generic, symmetric message-passing graph neural networks (GNNs).
  • Global Prototypes Aid Rare Classes: While local structural updates handle frequent process paths well, retrieving global execution prototypes significantly boosts prediction performance for rare "tail" activities and mid-frequency process variants.
  • Structural Redundancy Breeds Robustness: Because hypergraphs link objects and events tightly, the representation provides natural redundancy. If certain event features or attributes are corrupted or missing, the model can still infer the correct state from neighboring context, making it far more robust than sequential models like LSTMs.

Key Results

EHHN consistently outperformed nine competitive baselines (including both flattening-based and native graph-based models) across all datasets:

  • Accuracy & F1 Gains: EHHN achieved improvements of up to 8.1 percentage points in Accuracy and 12.4 percentage points in macro F1-score over the strongest baselines.
  • Memory Efficiency: On the largest dataset (BPI 2017), EHHN reduced peak GPU memory consumption from 4.60 GB (required by the native graph baseline HOEG) down to just 0.19 GB—a massive 24× reduction, making structure-preserving OCEL modeling highly scalable.
TABLE II: Overall comparison with flattening/adapted classical baselines and native OCEL graph baselines (mean±std over 5 runs). Best per column in bold, second-best underlined.

Limitations and Future Work

While highly accurate and memory-efficient, EHHN is computationally heavier during inference than simple flattened sequence models (like Flat-LSTM), resulting in higher per-sample latency.

The authors outline several promising directions for future research:

  1. Developing adaptive primary-object selection methods so the model can dynamically shift focus between different interacting objects.
  2. Enabling online updating capabilities to allow EHHN to adapt continuously to streaming, real-time OCEL data.
  3. Conducting extensive validation on large-scale industrial service logs to test real-world deployment viability.

Summary updated

BibTeX
@misc{wang2026ehhn,
  author = {Jiaxing Wang and Kaitao Chen and Zhubin Han and Chenyu Hou and Bin Cao and Jing Fan and Ji Zhang},
  title = {{EHHN: An Event-driven Heterogeneous Hypergraph Network for Object-Centric Next Activity Prediction}},
  year = {2026},
  eprint = {2607.01785},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.01785},
}
Figure