Online Learning for Multivariate Hawkes Processes

Yingxiang Yang, Jalal Etesami, Niao He, Negar Kiyavash

Introduction

Hawkes processes are a class of "self-exciting" point processes widely used to model events that occur in clusters—such as earthquakes, high-frequency trading, or viral social media trends. In a multivariate setting (Multivariate Hawkes Processes, or MHPs), an event in one dimension (e.g., a tweet from a celebrity) can increase the probability of events in other dimensions (e.g., retweets from followers).

The core component of these models is the triggering function, which dictates how the influence of an event decays over time. Traditionally, researchers assume this decay is exponential because it is mathematically convenient. However, real-world influences often exhibit "delayed peaks" or "heavy tails" that exponential models fail to capture. Existing solutions are typically either parametric online algorithms (fast but inaccurate for complex shapes) or nonparametric batch algorithms (accurate but slow and unsuitable for streaming data).

To bridge this gap, researchers have developed NPOLE-MHP (NonParametric OnLine Estimation for MHP), the first nonparametric online learning algorithm for MHPs. By moving away from rigid exponential assumptions and leveraging Reproducing Kernel Hilbert Spaces (RKHS), the algorithm learns complex, real-world event-triggering patterns in real-time.

Methodology

NPOLE-MHP introduces several key technical innovations to make online nonparametric learning feasible:

  1. RKHS Representation: Instead of assuming a rigid parametric formula for the triggering function, the model assumes it resides in a Reproducing Kernel Hilbert Space (RKHS). This grants the model the flexibility to take on virtually any shape required by the underlying data.
  2. Time Discretization: To enable online learning, the continuous time axis is discretized into small intervals ($\delta$). This transforms a complex continuous log-likelihood problem into a sequence of manageable, instantaneous loss functions.
  3. Tikhonov Regularization: The algorithm employs Tikhonov regularization to ensure the learning process remains stable and the resulting functions are smooth.
  4. Positivity Constraints: Because triggering functions represent probabilities, they must be strictly positive. The authors enforce this using two approaches: a convex Semi-Definite Programming (SDP) method for polynomial kernels, and a non-convex "squaring" trick ($f = g^2$) for general cases.

Datasets

The algorithm was evaluated across two distinct environments:

  • Synthetic Data: A 5-dimensional MHP designed with highly complex triggering functions, including Gaussian-shaped delays and cosine-modulated decays. This tested the model's ability to identify shapes that standard parametric models ignore.
  • Memetracker Data: A real-world dataset containing millions of news articles and blog posts. The authors focused on a 20-dimensional subset representing different news agencies to model how information spreads across the web over time.

Key Results and Insights

Visual Fidelity and Handling Model Mismatch

A major insight from the paper is demonstrating how severely parametric models fail when the true triggering function is not exponential. NPOLE-MHP's flexibility entirely prevents this "model mismatch." On synthetic data, NPOLE-MHP successfully captured complex "bell-shaped" and "delayed" triggering functions that parametric models like DMD and OGD completely failed to represent.

Estimated triggering functions showing NPOLE-MHP capturing complex shapes.

Generalization and Scalability

NPOLE-MHP achieves the accuracy of nonparametric batch algorithms while maintaining the computational efficiency of parametric online algorithms. In tests, it ran in just 3 minutes compared to 1.5 hours for batch methods. Furthermore, the computation cost per iteration scales at $O(p^2)$, where $p$ is the number of dimensions, making it highly scalable for networks with many interacting components.

On the real-world Memetracker data, NPOLE-MHP demonstrated significantly better generalization on test data compared to parametric online methods, accumulating much lower loss over time.

Cumulative loss over time comparing NPOLE-MHP to parametric methods.

Optimal Regret

The authors mathematically proved an $O(\log T)$ regret bound for the algorithm. In the realm of online learning, this is a "gold standard" result, indicating that the algorithm's performance converges exceptionally quickly to the best possible theoretical model.

Limitations and Future Work

While NPOLE-MHP represents a significant step forward, the authors note a few areas for future improvement:

  • The Positivity Projection: Ensuring the triggering functions remain positive at every step is computationally the most expensive part of the algorithm. Finding a more "natural" way to enforce positivity without expensive projections remains an open challenge.
  • Non-convex Guarantees: The non-convex approach for general kernels works well in practice but lacks the rigorous theoretical regret guarantees of the convex SDP version. Future work could focus on proving bounds for this more flexible non-convex regime.

Summary updated

BibTeX
@inproceedings{yang2017online,
  author = {Yingxiang Yang and Jalal Etesami and Niao He and Negar Kiyavash},
  title = {{Online Learning for Multivariate Hawkes Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure