Efficient EM-Variational Inference for Hawkes Process

Feng ZhouarXiv 2019

Introduction

Hawkes processes are the standard for modeling self-exciting events, where an occurrence increases the probability of future events. However, traditional models suffer from two major limitations: they often assume a static background rate (baseline intensity) and rely on rigid parametric triggering kernels, such as exponential decay. Real-world phenomena, like traffic accidents or viral social media trends, often exhibit fluctuating background rates and complex, non-monotonic triggering patterns. This paper introduces a fully Bayesian nonparametric framework that leverages Gaussian Processes (GPs) to model these components with unprecedented flexibility and efficiency.

Methodology: GP-Modulated Hawkes Process

The proposed approach models the baseline intensity $\mu(t)$ and the triggering kernel $\phi(\tau)$ as the squares of Gaussian Processes: $\mu(t) = f^2(t)$ and $\phi(\tau) = g^2(\tau)$. This formulation ensures that intensity functions remain positive without requiring restrictive parametric shapes.

Recovery of complex baseline intensity $\mu(t)$.

To overcome the mathematical coupling of the baseline and kernel, the authors utilize a latent branching structure. This hidden variable identifies whether an event is a "background" occurrence or "triggered" by a specific prior event. Inference is conducted through an EM-Variational (EMV) framework, where the E-step estimates the branching structure and the M-step optimizes GP parameters. A key innovation is the use of symmetry—since the model uses $f^2(t)$, the variational mean can be fixed at zero, significantly reducing the parameter space. Furthermore, the derivation of closed-form partial derivatives for the Evidence Lower Bound (ELBO) allows for rapid optimization via nonlinear system solvers.

Key Results and Discussion

The EMV model was evaluated against synthetic data and high-resolution real-world datasets, including NYPD motor vehicle collisions and NYC Green Taxi pickups.

Performance comparison on synthetic datasets.

Accuracy and Goodness-of-Fit

On synthetic data, the EMV model consistently achieved the lowest estimation error and highest log-likelihood compared to parametric models and histogram-based methods like MISD. Q-Q plots confirmed that the EMV model's predicted distributions closely matched reality. In real-world applications, the model achieved prediction accuracies of 71.7% for vehicle collisions and 70.4% for taxi pickups, outperforming existing state-of-the-art models.

Computational Efficiency

The acceleration techniques introduced in this paper provided a dramatic speedup. Standard experiments that previously required 2 hours of computation were completed in just 2–4 minutes. While the model's complexity scales as $O(RN^2)$, these optimizations make nonparametric Hawkes modeling practical for significant datasets.

Conclusion

By integrating Gaussian Processes with an efficient EM-Variational inference scheme, this framework allows for the simultaneous estimation of nonparametric baselines and kernels. This work paves the way for more sophisticated spatial-temporal and multivariate modeling of self-exciting processes in complex real-world systems.

Summary updated

BibTeX
@misc{zhou2019efficient,
  author = {Feng Zhou},
  title = {{Efficient EM-Variational Inference for Hawkes Process}},
  year = {2019},
  eprint = {1905.12251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.12251},
}
Figure