EventFlow: Forecasting Temporal Point Processes with Flow Matching
Gavin Kerrigan, Kai Nelson, Padhraic Smyth
TL;DR
EventFlow tackles temporal point process forecasting with a non-autoregressive, flow-matching approach that directly learns the joint distribution over event times. It decomposes the task into a learned event-count model $p_\phi(n|\mathcal{H})$ and a flow-based time-generation model that transports a reference TPP $\mu_0$ to the data distribution $\mu_1$ via a flow with time parameter $s\in[0,1]$, using balanced couplings and interpolants $\gamma_s^z$ to train a vector field $v_\theta$. Sampling reduces to drawing from $\mu_0$ and solving the ODE $d\gamma_s = v_\theta(\gamma_s,s)\,ds$, enabling efficient generation with few forward passes. Empirically, EventFlow achieves a 20-53% reduction in multi-step forecasting error compared with strong baselines and delivers competitive unconditional generation across real and synthetic datasets, demonstrating the practicality of flow-based, non-autoregressive TPP modeling. The work broadens the toolkit for temporal point processes by offering a simple, scalable alternative to autoregressive and diffusion-based methods, with potential extensions to marked and spatiotemporal settings.
Abstract
Continuous-time event sequences, in which events occur at irregular intervals, are ubiquitous across a wide range of industrial and scientific domains. The contemporary modeling paradigm is to treat such data as realizations of a temporal point process, and in machine learning it is common to model temporal point processes in an autoregressive fashion using a neural network. While autoregressive models are successful in predicting the time of a single subsequent event, their performance can degrade when forecasting longer horizons due to cascading errors and myopic predictions. We propose EventFlow, a non-autoregressive generative model for temporal point processes. The model builds on the flow matching framework in order to directly learn joint distributions over event times, side-stepping the autoregressive process. EventFlow is simple to implement and achieves a 20%-53% lower error than the nearest baseline on standard TPP benchmarks while simultaneously using fewer model calls at sampling time.
