Efficient Non-parametric Bayesian Hawkes Processes

Rui Zhang, Christian J. Walder, Marian-Andrei Rizoiu, Lexing Xie

Abstract

Modeling self-exciting event streams, such as social media cascades or seismic activity, requires flexible triggering kernels to capture complex temporal dynamics. Traditional non-parametric Bayesian methods often suffer from high computational complexity, typically $O(N^3)$. This paper presents a novel framework that treats the Hawkes process as a cluster of Poisson processes, leveraging a branching structure to achieve $O(N)$ linear scalability. By integrating the Laplace Bayesian Poisson Process (LBPP) with Gibbs sampling and Expectation-Maximization (EM) techniques, the proposed method provides robust uncertainty quantification and superior predictive performance on large-scale real-world datasets.

Introduction

Many real-world phenomena exhibit "self-exciting" behavior, where the occurrence of one event increases the probability of subsequent events. The Hawkes process is the standard mathematical tool for modeling such dynamics. Central to the Hawkes process is the "triggering kernel," a function describing how the influence of an event decays over time.

While parametric kernels (e.g., exponential decay) are computationally efficient, they often fail to capture the nuances of real-world data. Conversely, existing non-parametric methods are either frequentist—lacking uncertainty quantification—or computationally prohibitive for large datasets, often scaling cubically ($O(N^3)$) with the number of events $N$. This research addresses these limitations by introducing an efficient, non-parametric Bayesian framework for Hawkes processes.

Methodology

The core innovation lies in re-interpreting the Hawkes process as a cluster of Poisson processes. By identifying the latent "branching structure"—the map of which event triggered which—the complex kernel estimation problem is decomposed into simpler, independent Poisson process estimations.

The Hawkes process represented as a cluster of Poisson processes with an underlying branching structure.

The framework introduces two primary algorithms:

  1. Gibbs-Hawkes: A block Gibbs sampler that iteratively samples the branching structure and the triggering kernel.
  2. EM-Hawkes: A faster variant using Expectation-Maximization for Maximum A Posteriori (MAP) estimation.

To maintain a Bayesian approach while ensuring flexibility, the authors adapt the Laplace Bayesian Poisson Process (LBPP). Crucially, by utilizing the stationarity of the process and an optimization known as Halpin’s procedure, the computational complexity is reduced to $O(N)$, enabling the analysis of massive datasets.

Experimental Evaluation

The model was evaluated using synthetic data to verify kernel recovery and two large-scale real-world datasets: the ACTIVE dataset (41,000 retweet cascades) and the SEISMIC dataset (166,000 cascades).

Scalability and Performance

Empirical results confirm the theoretical linear scalability. As shown in the performance analysis, the computation time per point remains relatively constant when using the optimized Halpin procedure, whereas standard approaches show increasing costs per point as the dataset grows.

Empirical demonstration of linear scalability ($O(N)$) using Halpin's procedure compared to standard approaches.

Key Insights

  • Uncertainty Quantification: Unlike frequentist methods, this Bayesian approach provides posterior distributions for the learned kernels, offering a measure of confidence in the estimated decay shapes.
  • Content Dynamics: The model revealed distinct temporal signatures for different content types. For instance, "Music" videos exhibit a "long-tail" effect, maintaining relevance longer than "Pets & Animals" content, which shows a much sharper decay.
  • Predictive Accuracy: Both Gibbs-Hawkes and EM-Hawkes consistently outperformed state-of-the-art baselines in predictive log-likelihood on Twitter diffusion data.

Conclusion

This work provides a scalable, flexible, and Bayesian solution for modeling self-exciting event streams. By achieving linear complexity, it opens the door for non-parametric analysis of massive real-world datasets. Future research will focus on extending this framework to marked and multivariate Hawkes processes to capture interactions between multiple event streams and associated metadata.

Summary updated

BibTeX
@inproceedings{zhang2019efficient,
  author = {Rui Zhang and Christian J. Walder and Marian-Andrei Rizoiu and Lexing Xie},
  title = {{Efficient Non-parametric Bayesian Hawkes Processes}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/597},
}
Figure