NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Massively Parallel Exact Inference for Hawkes Processes

Ahmer Raza, Hudson Smith

NeurIPS page · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Symbolic Dynamics Discovery · Type: new method · Keywords: Hawkes processes, parallel prefix scan, GPU acceleration, maximum likelihood estimation, sparse matrices, PyTorch

Areas: Model Architectures & Sequence Modeling › Dynamic and relational architectures › Hawkes Processes

Summary

Massively Parallel Exact Inference for Hawkes Processes provides a massively parallelizable algorithm that reduces maximum likelihood estimation complexity to O(N/P) and enables exact inference on GPUs.

Explained to a 5-year-old

Many things happen one after another, like earthquakes making more earthquakes. We want to understand how often they happen, but doing that is slow on computers. We found a way to make the computer count them much faster by using many parts of the computer at once. This helps us study big groups of events without waiting forever. Now scientists can look at lots of data quickly.

Explained to a 5-year-old, longer

Some events cause other events, like one fire starting many fires. Scientists want to count how many times these events happen and how they are linked. Doing this counting on a computer can take a very long time because there are many events. The old way of counting only used one part of the computer at a time. We discovered a trick that lets many parts of the computer work together at the same time. This trick uses a special way of multiplying numbers that is very fast. By using many computer parts, the counting becomes much quicker. The new method keeps the memory usage steady, so it does not need a lot of extra space. It works exactly, without making any shortcuts that could change the answer. We tested it on both made-up data and real data, and it was far faster than before. It can handle thousands of items and tens of millions of events, which is a huge improvement. The researchers also released free software so others can use this faster counting method.

For a technical reader

The paper tackles the quadratic time complexity of maximum likelihood estimation for multivariate Hawkes processes. It reformulates the intensity as a product of sparse transition matrices that support an associative multiply operation. Using a parallel prefix scan, the algorithm achieves near-linear scaling with the number of processors, enabling exact inference on GPUs. The implementation is provided as an open-source PyTorch library for easy adoption.

Problem

Maximum likelihood estimation of multivariate Hawkes processes scales quadratically with the number of events, limiting scalability. Existing linear exponential Hawkes processes have an O(N) recurrence but are evaluated sequentially, missing opportunities for GPU parallelization.

Method

The approach expresses the Hawkes process intensity as a product of sparse transition matrices that admit a linear-time associative multiply, enabling computation via a parallel prefix scan. This yields a batching scheme that maintains constant memory usage and allows exact maximum likelihood estimation on parallel hardware.

Results

The approach achieves orders-of-magnitude speedups, scaling to thousands of nodes and tens of millions of events, far beyond prior work.

Contributions

It provides a massively parallelizable algorithm for exact maximum likelihood estimation of linear exponential Hawkes processes, reduces computational complexity to O(N/P), and offers an open-source PyTorch library.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction