Abstract
In this paper, we present a framework for fitting multivariate Hawkes processes for large-scale problems both in the number of events in the observed history $n$ and the number of event types $d$ (i.e. dimensions). The proposed Low-Rank Hawkes Process (LRHP) framework introduces a low-rank approximation of the kernel matrix that allows to perform the nonparametric learning of the $d^2$ triggering kernels using at most $O(ndr^2)$ operations, where $r$ is the rank of the approximation ($r \ll d,n$). This comes as a major improvement to the existing state-of-the-art inference algorithms that are in $O(nd^2)$. Furthermore, the low-rank approximation allows LRHP to learn representative patterns of interaction between event types, which may be valuable for the analysis of such complex processes in real world datasets. The efficiency and scalability of our approach is illustrated with numerical experiments on simulated as well as real datasets.
Introduction
Hawkes processes are the gold standard for modeling events that occur in bursts, where one event triggers another—such as earthquakes causing aftershocks or social media posts triggering viral cascades. In a Multivariate Hawkes Process (MHP), we track $d$ different types of events and their mutual interactions.
The primary challenge in modern applications is scalability. Traditionally, modeling how every event type affects every other type requires estimating $d^2$ different "triggering kernels." For a network with 10,000 users, this involves 100 million interaction functions. Existing state-of-the-art algorithms typically require $O(nd^2)$ operations, where $n$ is the number of events. This quadratic dependence on dimensionality makes large-scale real-world datasets computationally untouchable.
Methodology: Scalable Low-Rank Hawkes Processes (SLRHP)
To address these limitations, we propose the Scalable Low-Rank Hawkes Process (SLRHP) framework, which utilizes two key mathematical innovations:
- Low-Rank Approximation: Instead of learning a full $d \times d$ matrix of interactions, we assume event types can be projected into a much smaller $r$-dimensional latent space ($r \ll d$). This groups event types into functional "roles" (e.g., influencers vs. followers), reducing the number of kernels to be learned to $r^2$.
- Exponential Kernel Sums: We approximate triggering kernels using a sum of exponential functions. The "memoryless" property of exponentials allows the process intensity to be updated incrementally, shifting computational complexity from quadratic to linear ($O(nd)$) with respect to the number of events.
Experimental Evaluation
We evaluated SLRHP using both synthetic and real-world benchmarks:
- Synthetic Data: A simulated network of 100 event types was used to verify the model's ability to recover hidden group structures and complex kernel shapes.
- MemeTracker Dataset: This massive dataset contains 9.6 million blog posts and news articles. We created four subsets (MT1–MT4) of increasing size to test the algorithm's performance on web-scale data.
Key Results and Insights
Structural Recovery and Kernel Accuracy
SLRHP successfully identifies independent excitation functions for latent groups. Unlike methods that only find dense clusters, SLRHP can identify functional roles, such as a news site that triggers others without being triggered itself. In synthetic tests, the model accurately reconstructed complex periodic triggering kernels and identified latent groups.
Efficiency and Scalability
On the largest MemeTracker subset (MT4, with ~875k events and ~1k dimensions), SLRHP completed inference in a reasonable timeframe, whereas the competing MEMIP algorithm failed to finish within several days. As shown in the performance data below, SLRHP maintains high predictive accuracy (AUC and Accuracy) while being orders of magnitude faster than traditional methods.
Conclusion
By achieving $O(nd)$ complexity, SLRHP moves Hawkes processes into the realm of production-ready algorithms for large-scale data. While the rank $r$ currently remains a hyperparameter, the framework's ability to learn non-parametric interaction shapes while maintaining linear scalability represents a significant advancement in event-stream modeling. Future work will focus on automated rank selection and refined regularization for smaller datasets.
Summary updated