Learning Multivariate Hawkes Processes at Scale

Maximilian Nickel, Matthew LearXiv 2020

Introduction

Multivariate Hawkes Processes (MHPs) are a fundamental tool for modeling event sequences where past occurrences influence future events across multiple entities. These processes are widely used to analyze phenomena such as meme propagation on social media, seismic activity, and epidemic spreads. However, standard Maximum Likelihood Estimation (MLE) for MHPs suffers from a significant scalability bottleneck: computational complexity scales as $O(N \times S)$, where $N$ is the number of entities and $S$ is the total number of events. In large-scale systems with millions of users or websites, this makes traditional training prohibitively expensive.

Methodology: The Lazy MHP Approach

To address these scalability challenges, researchers from Facebook AI Research developed Lazy MHPs. This approach leverages two primary innovations to reduce computational overhead without sacrificing model interpretability.

Non-Negative Factorization

The influence matrix $\alpha$, which defines the excitation strength between any two entities $x$ and $y$, is factorized into low-rank latent vectors: $\alpha_{xy} \approx u_x^\top v_y$. This factorization ensures that the mutual excitation remains non-negative and differentiable, allowing for efficient gradient-based optimization while capturing the underlying relational structure of the network.

The Lazy Likelihood Trick

The core innovation of this work is the "Lazy" likelihood calculation. In real-world datasets, most entities are inactive within any specific sequence or cascade. For instance, in a social network of millions, only a few hundred users might participate in a single discussion thread.

Sparsity of event sequences on Memetracker and Reddit. For most sequences, only a minuscule portion of entities is active.

By decomposing the log-likelihood into active and inactive components, the authors demonstrate that the sum over thousands of inactive entities can be computed "lazily." By precomputing a global sum of all entities and subtracting the contributions of the few active ones, the complexity is shifted from the total number of entities ($N$) to the number of active entities per sequence ($A$). Since $A \ll N$, this results in massive computational savings.

Experimental Evaluation

The model was evaluated on several large-scale datasets, including Memetracker (75M cascades across 1.3M sites) and Reddit Hyperlinks (860K links between 55K subreddits). The researchers compared Lazy MHPs against standard MLE and state-of-the-art Neural Hawkes Processes (NHPs).

Performance and Speed

Lazy MHPs achieved a dramatic speedup, outperforming standard MLE by approximately four orders of magnitude (10,000x) on Memetracker subsets. Furthermore, the model was roughly 100x faster than NHPs while providing superior log-likelihood scores.

Runtime experiments on Memetracker subsets showing Lazy MHPs converging orders of magnitude faster than MLE and NHP.

Unlike neural methods that rely on black-box architectures and sampling-based approximations for the likelihood compensator, Lazy MHPs compute the exact likelihood and gradients. This leads to more stable training and higher final performance, particularly in "bursty" real-world data environments.

Conclusion and Future Work

Lazy MHPs provide a scalable, interpretable framework for modeling massive event sequences. By exploiting the inherent sparsity of diffusion processes, the method enables the analysis of datasets previously considered too large for exact MHP modeling. While the current iteration is limited to modeling excitation (rather than inhibition), future work may extend this "lazy" approach to more complex kernels and broader classes of temporal point processes.

Summary updated

BibTeX
@misc{nickel2020learning,
  author = {Maximilian Nickel and Matthew Le},
  title = {{Learning Multivariate Hawkes Processes at Scale}},
  year = {2020},
  eprint = {2002.12501},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.12501},
}
Figure