arXiv:2611.06348cs.LGNov 2026

Manuscript Offprint

arXiv:2611.06348

Flexible Intensities Matter: A Comprehensive Re-evaluation of Hawkes Processes and Neural Temporal Point Processes

Hendrik Mehrtens, Florian Buettner, Oliver Stegle

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Temporal point processes (TPPs) are the canonical framework for event sequence data, with applications spanning seismology, social media, and electronic health records. Recently, neural TPPs have been reported to substantially outperform classical TPPs, such as Hawkes processes, but these comparisons pitted flexible neural models against Hawkes processes in their most restricted form and did not consider large-scale medical data. Here, we revisit this comparison through a systematic evaluation of Poisson and Hawkes processes of increasing flexibility against neural TPPs, on five established benchmark datasets and on two large-scale medical evaluation tasks derived from UK Biobank disease histories and MIMIC-IV ICU records, under autoregressive next-event prediction. First, the previously reported gap between Hawkes processes and neural TPPs largely disappears once Hawkes processes are equipped with flexible, learnable baselines and kernels. Second, the flexibility of the intensity parametrization also limits prior neural TPPs: a Transformer with a spline-based intensity head outperforms previous intensity-based neural TPPs and is on par with the intensity-free model. Decomposing the log-likelihood into a time term log⁡p(t)\log p(t) and a type term log⁡p(d∣t)\log p(d \mid t), we find that this flexibility advantage lies almost entirely in the time density: more flexibility does not improve the type term. On these benchmarks, the gains of neural TPPs thus lie mostly in modeling when events occur, not which. Third, our results underscore the value of complex datasets for evaluating TPPs: only on the MIMIC-IV ICU records do neural TPPs retain an advantage in the type term. Our results inform both future method development and practitioners' model choice. We release our framework, TORCHPP, as an open-source package with consistent implementations of classical and neural TPPs.

1 Introduction

Temporal point processes (TPPs) provide a principled framework for modeling irregular event sequences in continuous time. Applications range from social media analysis [Zhou et al., 2013] and seismology [Ogata, 1988] to healthcare [Shmatko et al., 2025], where event histories can correspond to sequences of disease diagnoses, procedures, or lab results.

A classical model for temporal event sequences is the Hawkes process [Hawkes, 1971], which decomposes event intensities into a baseline (exogenous) component and a triggering-kernel (endogenous) component capturing mutual excitation or inhibition between events. In recent years, neural TPPs, which replace both components with learned representations, have gained traction: neural

¹German Cancer Research Center (DKFZ), Heidelberg, Germany. ²Goethe-Universität Frankfurt, Frankfurt, Germany. ³European Molecular Biology Laboratory (EMBL), Heidelberg, Germany. ⁴Ruprecht-Karls-Universität Heidelberg, Heidelberg, Germany. *These authors contributed equally. Correspondence: hendrikalexander.mehrtens@dkfz-heidelberg.de, florian.buettner@dkfz-heidelberg.de, o.stegle@dkfz-heidelberg.de.

Preprint.

Figure

Figure 1: Conceptual differences between Hawkes processes (1) and neural TPPs (2) on an event sequence (● type A, ▲ type B). Top (Hawkes process). Each past event interacts via a kernel response ϕdi→d(t−ti)\phi_{d_i \to d}(t - t_i) (colored curves) on top of a (possibly time-varying) baseline μd(t)\mu_d(t) (thin solid line). The total intensity (upper sub-panel) is the sum of baseline and active kernels. At a query time tt, the intensity thus decomposes into the sum of the baseline and the kernel values. Bottom (Neural TPP). The same event history is consumed by a neural encoder, which produces a hidden state at each event location. The head of the neural TPP projects this encoding to an intensity function. Conceptually, this allows the neural TPP to model higher-order non-additive effects between events, in exchange for losing the interpretable decomposition of the Hawkes process.

encoders summarize the event history, and flexible output heads parametrize the conditional intensity or inter-event time distribution [Shchur et al., 2021, Xue et al., 2024]. See Figure 1 for a conceptual visualization.

Neural TPPs have repeatedly been reported to outperform Hawkes baselines [Du et al., 2016, Mei and Eisner, 2017, Xiao et al., 2017a, Zhang et al., 2020, Shchur et al., 2020b, Soen et al., 2021], most recently by substantial margins in the EasyTPP benchmark [Xue et al., 2024]. However, these comparisons almost always evaluated Hawkes processes in their most restricted form, with fixed-shape exponential kernels, while comparing them against far more flexible neural TPPs. The evaluation also spans a narrow range of domains and omits health data entirely, despite the recent surge of interest in sequence modeling for electronic health records [Shmatko et al., 2025, Steinberg et al., 2024, Li et al., 2020, Rasmy et al., 2021, Renc et al., 2024].

In this work, we conduct a systematic re-evaluation of Poisson and Hawkes processes and neural TPPs on previously considered benchmark datasets, as well as on two evaluation tasks derived from medical data: disease histories from the UK Biobank [Sudlow et al., 2015] and ICU records from MIMIC-IV [Johnson et al., 2023]. To our knowledge, this is the first systematic comparison of Hawkes processes with flexible baselines and kernels and inhibitive variants against modern neural TPPs under a unified protocol. Prior benchmarks used Hawkes processes with a constant baseline and an exponential kernel, while Zhao and Engelhard [2025] used a neural but purely excitatory kernel. Our scope is deliberately specific. On the classical side we study Poisson and Hawkes processes, while Cox-type models such as log-Gaussian Cox processes are out of scope. On the neural side we study RNN- and Transformer-based intensity models with heads of increasing flexibility and an intensity-free model. Flow-, diffusion-, and state-space-based TPPs are out of scope. The code and configurations are available at https://github.com/PMBio/torchPP, together with checkpoints for the standard benchmarks.