Temporal Point Processes (TPPs) are the mathematical backbone for modeling events that occur in continuous time, such as earthquake occurrences, high-frequency financial trades, or social media interactions. Currently, the standard approach relies on autoregressive neural networks (like RNNs or Transformers) to predict the timing of the next event based on historical data.
However, these models suffer from a major flaw: error accumulation. Because they generate sequences one event at a time, a small error in predicting the first event's timing cascades into subsequent predictions. This sequential nature makes them notoriously unreliable for long-term forecasting. Furthermore, standard Gaussian diffusion models—which have revolutionized continuous data generation like images—cannot be easily applied to TPPs because event sequences have a variable number of points and strictly positive, ordered arrival times.
To overcome these limitations, researchers have introduced ADD-THIN, a principled probabilistic denoising diffusion model designed specifically for TPPs that operates on entire event sequences simultaneously.
The "Add and Thin" Diffusion Process
ADD-THIN replaces traditional one-step-ahead autoregressive sampling with a global denoising process. It achieves this by defining a forward process that gradually adds noise to a sequence and a reverse process that learns to recover the original data.
- The Forward (Noising) Process: Instead of adding Gaussian noise, the model gradually transforms a clean event sequence into a "noise" sequence (specifically, a Homogeneous Poisson Process). It does this through two TPP-specific operations:
- Thinning: Randomly removing existing points from the sequence.
- Superposition (Adding): Randomly adding new points sampled from a noise process.
- The Reverse (Denoising) Process: The model learns to reverse these steps. Given a noisy sequence, it must predict:
- Which points are "real" and should be kept (framed as a binary classification task).
- Where missing points should be added (modeled as an inhomogeneous intensity function).
Model Architecture
To implement this reverse process, ADD-THIN utilizes a specialized neural network architecture designed to handle the variable-length nature of event sequences efficiently.
The model uses a 1D-Convolutional Neural Network (CNN) with dilation and residual connections to capture long-range dependencies across the entire sequence. By refining the entire sequence at once, ADD-THIN "sees" the global structure of the data, preventing the drift common in autoregressive models.
To represent the intensity of added points, the architecture employs a Gaussian Mixture Model (GMM). This is a crucial design choice: by using GMMs to parameterize the intensity, the required integrals for the loss function can be calculated analytically (using the erf function). This avoids the need for slow and noisy Monte Carlo approximations, enabling closed-form training.
Key Results and Insights
The model was evaluated on a comprehensive suite of 13 datasets, including synthetic data (Hawkes, self-correcting, and renewal processes) and real-world datasets (PUBG player deaths, Reddit interactions, Manhattan Taxi pickups, Twitter activity, and Yelp check-ins).
- Forecasting Superiority: In long-term forecasting tasks, ADD-THIN significantly outperformed state-of-the-art baselines. On the Reddit-S dataset, for example, it improved the Wasserstein distance (a measure of how close the predicted sequence is to the real one) by nearly 45% compared to the best RNN baseline.
- Density Estimation: The model matched or slightly exceeded the performance of existing models in capturing the overall distribution of data, proving it is a highly flexible and expressive generative model.
- Efficiency at Scale: Because the model uses a CNN and processes the sequence in parallel, its sampling time remains nearly constant even as sequences get longer. In contrast, RNN-based models become significantly slower as the number of events increases. ADD-THIN showed particular strength in datasets with high event counts, where autoregressive error accumulation is usually most devastating.
Limitations and Future Work
While ADD-THIN represents a significant leap forward for TPP modeling, it currently focuses solely on event times. In many real-world scenarios, events have "marks" (e.g., the category of a social media post or the magnitude of an earthquake). Extending the model to handle discrete and continuous marks is a logical next step.
Additionally, like all diffusion models, ADD-THIN requires multiple iterations to generate a sample. While parallelized across the sequence, it may still be slower than a single-pass model for very short sequences. Finally, the authors suggest this framework could be adapted for other domains involving variable-sized sets, such as molecule generation or point cloud modeling, opening exciting avenues for future research.
Summary updated