Automatic Integration for Fast and Interpretable Neural Point Processes

Zihao Zhou, Rose YuL4DC 2023

Abstract

Learning continuous-time event patterns usually requires a choice between simple, restrictive models or slow, error-prone numerical integration. This paper introduces Auto-NPP, which leverages "Automatic Integration" to create a neural point process that is simultaneously highly expressive, mathematically exact, and significantly faster than state-of-the-art baselines.

Introduction

Temporal Point Processes (TPPs) are the mathematical backbone for modeling discrete events over time, such as earthquake aftershocks, high-frequency trading, or viral social media activity. The core of a TPP is the intensity function $\lambda^*(t)$, representing the expected rate of event occurrence.

Training these models via maximum likelihood estimation requires solving the integral: $\int_0^t \lambda^*(\tau)d\tau$. This presents a "fundamental bottleneck":

  1. Symbolic Restrictions: Analytical solutions require restricting $\lambda^*(t)$ to simple functions (e.g., exponential decay), failing to capture complex dynamics like cyclic influence or delayed jumps.
  2. Numerical Inefficiency: Using complex neural networks for $\lambda^*(t)$ necessitates numerical integration (e.g., Monte Carlo), which is computationally expensive, introduces approximation errors, and can bias the model toward learning "flat" intensities.

Methods: Automatic Integration (Auto-NPP)

Auto-NPP overcomes these issues by using Automatic Integration (AutoInt). Instead of defining an intensity function and attempting to integrate it, the authors reverse the process:

  • The Integral Network: A neural network $F_\theta$ is constructed to represent the integral of the intensity.
  • Deriving Intensity: The intensity function $f_\theta$ is defined as the partial derivative of the integral network with respect to time ($\partial F_\theta / \partial t$). Sharing parameters ensures perfect consistency.
  • Enforcing Positivity: To ensure a valid non-negative intensity, the integral network $F_\theta$ must be monotonically increasing. This is achieved using non-negative weights ($W^+$) for time-related layers and monotonic activation functions.
  • Efficiency: A custom derivative model using dynamic programming provides a 50% to 80% speedup over standard automatic differentiation.
  • Interpretability: Auto-NPP uses an additive structure rather than "black-box" RNNs, allowing researchers to decompose the intensity and quantify the influence of specific past events.

Key Insights: The Deception of Likelihood

A critical finding is that high log-likelihood does not guarantee a model has captured true dynamics. Models can match the area under the curve (the likelihood) while failing to recover the actual shape of the intensity function.

Comparison of true intensity vs. learned intensity, illustrating how likelihood can be matched while missing the intensity's shape.

Auto-NPP is uniquely capable of faithfully recovering complex, multimodal intensity shapes, whereas numerical methods often "smooth out" sharp transitions and oscillations.

Experimental Results

The model was evaluated on synthetic benchmarks (Shaky Hawkes, Delayed Peak, Shift Hawkes) and real-world datasets (Earthquake Japan, COVID-19 NJ).

Speed and Efficiency

Auto-NPP is significantly faster than most state-of-the-art neural point processes and numerical baselines.

Comparison of training/inference time across various NPP and numerical integration baselines.

Accuracy

On synthetic data, Auto-NPP achieved the lowest Mean Absolute Percentage Error (MAPE) in recovering the true intensity function. In real-world applications, it achieved the best test log-likelihood on the COVID-19 dataset and remained highly competitive on earthquake data.

Conclusion and Future Work

Auto-NPP provides a fast, exact, and interpretable framework for self-exciting processes. While currently optimized for cases where events increase future probability, future work aims to extend this to self-correcting processes by relaxing the functional forms of the intensity network further.

Summary updated

BibTeX
@inproceedings{zhou2023automatic,
  author = {Zihao Zhou and Rose Yu},
  title = {{Automatic Integration for Fast and Interpretable Neural Point Processes}},
  booktitle = {L4DC},
  year = {2023},
}
Figure