Hawkes Processes on Graphons

Hongteng Xu, Dixin Luo, Hongyuan ZhaarXiv 2021

Abstract

Traditional multivariate Hawkes processes are limited by fixed event type spaces, struggling with the sparsity and heterogeneity common in real-world datasets like clinical records or career trajectories. We present the Graphon-based Hawkes Process (GHP), a hierarchical framework that models event sequences as samples from an underlying uncountable latent space. By leveraging graphons to represent infinite-dimensional interaction limits and Hierarchical Optimal Transport (HOT) for soft alignment during training, GHP effectively shares dynamics across diverse sequences. Our results on LinkedIn and MIMIC-III datasets demonstrate that GHP significantly outperforms state-of-the-art models in predictive accuracy and interpretability.

Introduction

Multivariate point processes, particularly Hawkes processes, are widely used to model self-exciting event sequences where past occurrences influence future probabilities. However, standard formulations assume a predefined, finite set of event types. In many practical applications, such as hospital admissions or professional career paths, the total number of possible event types is vast, yet individual sequences only contain a small, sparse subset. This leads to overfitting in global interaction models or a lack of shared knowledge in independent models.

The Graphon-based Hawkes Process (GHP)

To overcome the limitations of finite event spaces, we propose the Graphon-based Hawkes Process (GHP). The core idea is to treat the event type space as a continuous, uncountable interval. Instead of a discrete adjacency matrix, we utilize a graphon—a symmetric, measurable function that represents the limit of a graph as the number of nodes approaches infinity.

The GHP generative process: Latent codes are sampled from a continuous space, and their interactions are determined by a graphon function to parameterize specific Hawkes processes.

In this generative framework, each specific Hawkes process is instantiated by sampling latent codes from this continuous space. The base rates and the Granger causality (interaction strengths) between event types are then derived from the graphon function. This allows the model to learn the underlying "shape" of interactions in a latent space, enabling it to generalize dynamics to rare or unseen event types by situating them within the learned graphon.

Learning via Hierarchical Optimal Transport

A significant challenge in training GHP is the lack of explicit mapping between real-world event types (e.g., specific medical diagnoses) and the latent coordinates in the graphon. To address this, we employ a learning strategy based on Reward-Augmented Maximum Likelihood (RAML) integrated with Hierarchical Optimal Transport (HOT).

Hierarchical Optimal Transport (HOT) enables soft alignment between generated and real sequences at both the event-type and sequence levels.

HOT provides a mathematically rigorous way to calculate the distance between a batch of generated sequences and the observed data. It performs a "soft alignment" at two levels:

  1. Local Level: Matching individual event types based on their temporal occurrence patterns.
  2. Global Level: Matching entire sequences to identify the most representative latent representations.

This approach provides a robust training signal even when exact matches between sequences are impossible due to sparsity.

Experimental Results

The GHP model was evaluated against state-of-the-art baselines, including Neural Hawkes Processes (NHP) and Transformer Hawkes Processes (THP), across synthetic and real-world datasets:

  • LinkedIn Career Paths: Modeling trajectories across 3,730 job types for over 2,400 users. GHP achieved a Negative Log-Likelihood (NLL) of ~17.55, vastly improving upon the Transformer model's ~30.64.
  • MIMIC-III Clinical Records: Analyzing 2,789 disease types across 2,371 patients. GHP consistently demonstrated superior generalization on these sparse clinical histories.

Beyond numerical performance, the learned graphons offer interpretability. For instance, in the LinkedIn dataset, the model correctly identified unidirectional career progressions, such as the transition from "Graduate Student" to "Research Scientist."

Conclusion and Future Work

The Graphon-based Hawkes Process represents a significant step forward in modeling complex, sparse event data. By moving to an uncountable event space and utilizing Hierarchical Optimal Transport for alignment, GHP captures shared dynamics that traditional models miss. While the current implementation uses Fourier series for graphon approximation, future work will explore Deep Neural Networks to capture even more complex dynamics and address the computational complexity of the HOT step to scale to larger sequences.

Summary updated

BibTeX
@misc{xu2021hawkes,
  author = {Hongteng Xu and Dixin Luo and Hongyuan Zha},
  title = {{Hawkes Processes on Graphons}},
  year = {2021},
  eprint = {2102.02741},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.02741},
}
Figure