Skip to main content
QUICK REVIEW

[Paper Review] THAP: A Matlab Toolkit for Learning with Hawkes Processes

Hongteng Xu, Hongyuan Zha|arXiv (Cornell University)|Aug 28, 2017
Point processes and geometric inequalitiesMathematics14 references5 citations
TL;DR

THAP is an open-source MATLAB toolkit that implements state-of-the-art learning algorithms and analysis tools for Hawkes processes and their variants, enabling systematic comparison of models, estimation methods, and advanced analyses such as Granger causality, clustering, and time-varying dynamics. It supports parametric and nonparametric models using MLE, ODE solvers, and least-squares estimation, with applications to real-world data and synthetic simulations.

ABSTRACT

As a powerful tool of asynchronous event sequence analysis, point processes have been studied for a long time and achieved numerous successes in different fields. Among various point process models, Hawkes process and its variants attract many researchers in statistics and computer science these years because they capture the self- and mutually-triggering patterns between different events in complicated sequences explicitly and quantitatively and are broadly applicable to many practical problems. In this paper, we describe an open-source toolkit implementing many learning algorithms and analysis tools for Hawkes process model and its variants. Our toolkit systematically summarizes recent state-of-the-art algorithms as well as most classic algorithms of Hawkes processes, which is beneficial for both academical education and research. Source code can be downloaded from https://github.com/HongtengXu/Hawkes-Process-Toolkit.

Motivation & Objective

  • To provide a unified, open-source MATLAB toolkit for learning and analyzing Hawkes processes and their variants.
  • To enable fair and comprehensive comparison of modern and classic learning algorithms for Hawkes processes.
  • To support advanced analytical capabilities such as Granger causality, clustering, and time-varying infectivity modeling.
  • To bridge the gap in academic education and research by offering an extensible, user-friendly platform for point process modeling.
  • To accelerate research by providing pre-implemented algorithms, real-world datasets, and visualization tools.

Proposed method

  • Implementing parametric and nonparametric Hawkes process models with predefined (e.g., exponential, Gaussian) and basis-represented impact functions.
  • Supporting multiple learning algorithms: maximum likelihood estimation (MLE) with regularizers, MLE combined with ODE solvers, and least-squares methods for discretized impact functions.
  • Providing three simulation methods: branch clustering, Ogata’s modified thinning, and fast thinning for exponential kernels.
  • Enabling Granger causality analysis via MLE with sparse, group-sparse, and low-rank regularizers to estimate infectivity matrices.
  • Implementing two clustering methods: mixture models of Hawkes processes and a distance metric for marked point processes.
  • Supporting time-varying Hawkes process (TVHP) modeling to capture dynamic changes in infectivity over time.

Experimental results

Research questions

  • RQ1Which learning algorithms for Hawkes processes perform best under different data conditions and model assumptions?
  • RQ2How can Granger causality be robustly estimated in multivariate Hawkes processes using regularized MLE?
  • RQ3Can clustering methods effectively identify latent structures in heterogeneous event sequences generated by multiple Hawkes processes?
  • RQ4How do different simulation methods compare in terms of runtime and accuracy for synthetic Hawkes process generation?
  • RQ5To what extent can the toolkit support the analysis of time-varying dynamics in event sequences?

Key findings

  • THAP supports a comprehensive set of learning algorithms, including MLE with regularizers, MLE-ODE, and least-squares, enabling flexible and robust parameter estimation.
  • The toolkit enables visualization of event sequences, intensity functions, learned impact functions, and estimation errors, facilitating model interpretation.
  • THAP provides fair comparison across algorithms using metrics such as log-likelihood, estimation error, and runtime, clarifying performance trade-offs.
  • Granger causality graphs are reliably learned using MLE with sparse, group-sparse, and low-rank regularizers, capturing self- and mutually-triggering patterns.
  • Clustering analysis is supported via mixture models and a distance metric for marked point processes, allowing structure discovery in complex sequences.
  • The toolkit successfully implements time-varying Hawkes processes (TVHP), enabling dynamic analysis of infectivity matrices over time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.