Multiclass classification for Hawkes processes

Christophe Denis, Charlotte Dion-Blanc, Laure SansonnetUAI 2022

Abstract

This paper presents a formal framework for the multiclass classification of event sequences modeled as Hawkes processes. We derive the optimal Bayes classifier and propose a computationally efficient two-step estimation procedure using empirical risk minimization (ERM) with a convex surrogate loss. Theoretical analysis establishes solid convergence rates, even under model misspecification. Experimental results on synthetic datasets demonstrate that our ERM approach consistently outperforms standard benchmarks like LSTMs and approaches the theoretical Bayes error rate.

Introduction

Many real-world phenomena, such as neural activity, financial transactions, and social media interactions, are characterized by event sequences with complex temporal dependencies. Unlike standard time-series data, these are point processes where past events influence the probability of future occurrences—a property known as self-excitation. While significant research has focused on parameter inference for these processes, the problem of multiclass classification—assigning an entire sequence to one of several categories—remains relatively unexplored. This paper addresses this gap by providing a rigorous framework for classifying sequences of varying lengths and temporal structures.

Methodology

The proposed framework models event sequences as a mixture of simple linear Hawkes processes. The intensity of the process is defined by a constant baseline $\mu$ and a triggering kernel that captures the influence of previous events.

Two-Step Estimation Procedure

To overcome the computational challenges of 0-1 classification loss, we introduce a two-step estimation method:

  1. Proportion Estimation: Mixture weights for each class are estimated from the training data.
  2. Empirical Risk Minimization (ERM): Process parameters are estimated using ERM with a convex square loss surrogate. This approach transforms a non-convex optimization problem into a tractable one, solvable via standard algorithms like BFGS.
Parameter estimation performance for $\mu$, $\alpha$, and $\beta$ at sample sizes $n=100$ and $n=1000$.

As illustrated in the parameter estimation plots, the variance of the estimates decreases significantly as the sample size $n$ increases from 100 to 1000, confirming the consistency and stability of the two-step approach.

Experimental Evaluation

The framework was evaluated using synthetic datasets to compare performance against known ground truths:

  • Model 1 (Parametric): Uses exponential triggering kernels, representing a well-specified scenario.
  • Model 2 (Misspecified): Uses non-exponential interpolation kernels to test the robustness of the classifier under model assumption errors.
  • Benchmarks: The ERM method was compared against the optimal Bayes classifier, a Plug-in (PI) estimator, and a Long Short-Term Memory (LSTM) network.

Results and Discussion

The experimental results highlight several key findings regarding the performance and robustness of the ERM classifier.

Comparison of classification error rates (standard deviation in parentheses) for Bayes, ERM, Plug-in (PI), and LSTM classifiers.

Accuracy and Robustness

As shown in the table above, the ERM classifier's error rates are remarkably close to the theoretical Bayes optimal error. For instance, in Model 1 with $K=2$, the ERM error is 0.08, nearly matching the Bayes error of 0.07. Crucially, the method maintains high performance even in Model 2, where the kernel is misspecified, demonstrating significant robustness to the assumed shape of the triggering kernel.

Comparison with LSTMs

In scenarios where the data follows a point process structure, the physics-informed Hawkes model consistently outperforms general-purpose LSTMs. LSTMs often struggle with the varying lengths and specific temporal dynamics of event sequences, whereas the Hawkes-based approach leverages the underlying mathematical structure of the data to achieve superior classification accuracy.

Conclusion

This work establishes a solid foundation for the multiclass classification of Hawkes processes. By combining the theoretical optimality of the Bayes rule with the computational efficiency of ERM, the proposed framework offers a robust solution for real-world event sequence analysis. Future work will extend this framework to multivariate processes and explore non-linear Hawkes models to incorporate inhibitory effects.

Summary updated

BibTeX
@inproceedings{denis2022multiclass,
  author = {Christophe Denis and Charlotte Dion-Blanc and Laure Sansonnet},
  title = {{Multiclass classification for Hawkes processes}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
}
Figure