Abstract: Modeling asynchronous event sequences requires capturing complex temporal dependencies. While the Hawkes Process is a standard tool for this task, modern deep learning variants often sacrifice interpretability and efficiency for raw predictive power. We present the Sigmoid Gated Hawkes Process (SGHP), which utilizes a flexible, gated triggering kernel to capture delayed "local-in-time" effects. SGHP achieves state-of-the-art predictive accuracy with significantly fewer parameters than Transformer-based models, offering a balance of performance and clinical interpretability.
Introduction
Modeling asynchronous event sequences—such as stock market trades, social media interactions, or patient hospital visits—requires understanding how past events "trigger" future ones. The Hawkes Process is the mathematical gold standard for this, yet standard implementations often assume that an event's influence is highest immediately after it occurs and decays monotonically over time.
In real-world scenarios, events often exhibit a "ramp-up" period. For example, a patient’s risk of a secondary complication might peak several hours after an initial procedure rather than immediately. This phenomenon is known as a local-in-time triggering effect. While Transformer-based models can capture these dependencies using self-attention, they are computationally expensive and produce "attention scores" that are difficult to interpret as physical triggering functions.
The Sigmoid Gated Kernel
The core innovation of the SGHP is the Sigmoid Gated Kernel. To bridge the gap between classical statistical rigor and deep learning flexibility, the authors combine two components to form the triggering function:
- Rational Quadratic (RQ) Kernel: A flexible function capable of modeling various decay patterns.
- Sigmoid Gate: A gating mechanism that allows the model to "wait" before the triggering effect reaches its peak.
As illustrated above, this combination allows the model to represent both standard immediate decay and complex, delayed local effects. By using an explicit functional form rather than discrete attention scores, the model remains highly interpretable.
Model Architecture
The SGHP follows an encoder-decoder structure designed for parameter efficiency. To avoid the quadratic scaling of learning a separate kernel for every pair of event types, the model uses event type embeddings. A small neural network generates kernel parameters on the fly from these embeddings, ensuring that the parameter count scales linearly with the number of event types.
The encoder builds history representations using these gated kernels, while the decoder includes a stochastic layer to capture the inherent uncertainty in predicting exactly when the next event will occur.
Experimental Results
The model was evaluated on several benchmarks, including MIMIC-II clinical records, StackOverflow user interactions, and a new COVID-19 Emergency Department dataset from Duke University Hospital.
Performance and Efficiency
SGHP consistently outperformed state-of-the-art models, such as the Transformer Hawkes Process (THP), in arrival time prediction (RMSE) across nearly all datasets. Most notably, SGHP achieved these results with massive efficiency gains. On average, SGHP utilized approximately 135x fewer parameters than the THP (3.1k vs. 417.8k parameters).
Interpretability
In clinical settings, interpretability is paramount. The learned kernels in SGHP allow researchers to directly visualize the temporal influence between events. For instance, the model can quantify how an Emergency Department admission increases the intensity of a future ICU transition over a specific time horizon, providing actionable insights for clinical decision support.
Conclusion
The Sigmoid Gated Hawkes Process provides a powerful alternative to black-box attention mechanisms. By parameterizing the triggering kernel with a sigmoid gate, the model captures complex temporal dynamics with high efficiency and transparency. Future work will focus on further integrating longitudinal covariates, such as patient vitals, to improve event type predictions and validating clinical interpretations in real-world healthcare settings.
Summary updated