Abstract
Temporal Point Processes (TPPs) are essential for modeling event sequences in continuous time. However, traditional autoregressive TPP models suffer from significant error accumulation during long-term prediction. This paper introduces DLTPP, a non-autoregressive framework that leverages denoising diffusion models to generate entire future event sequences simultaneously. By mapping discrete marks and continuous arrival times into a unified Euclidean space and employing a hybrid denoising network, DLTPP achieves state-of-the-art performance in both mark accuracy and time prediction across diverse real-world datasets, effectively mitigating the "drift" effect common in sequential forecasting.
Introduction: The Challenge of Long-Term Prediction
Predicting "what happens next and when" is the core objective of Temporal Point Processes (TPPs). While existing models excel at one-step-ahead prediction, they struggle with long-term forecasting. Most current TPP models are autoregressive: to predict a sequence of future events, they predict the first, feed it back into the model as "history," predict the second, and so on.
This sequential approach creates a "drift" effect where a small error in the initial prediction cascades and magnifies throughout the sequence. Furthermore, events consist of both discrete "marks" (event types) and continuous "arrival times," making them difficult to model using standard generative techniques designed for homogeneous data like images.
The DLTPP Framework
The authors propose DLTPP (Diffusion-based Long-term Temporal Point Process), which treats the entire future sequence as a single data point to be "denoised." This non-autoregressive approach allows the model to "negotiate" the relationship between all future events simultaneously.
Bidirectional Mapping
Since diffusion models operate in continuous Euclidean space, DLTPP maps event sequences into vectors:
- Time: Arrival times are converted into inter-event intervals and log-transformed to ensure they remain in a continuous real space.
- Marks: Discrete event types are mapped into a continuous embedding space using a probabilistic embedding layer.
Hybrid Denoising Network
The core of the model is a decoder that combines a Gated Recurrent Unit (GRU) to capture sequential dependencies with a Convolutional Residual Network (using dilated convolutions) to capture broader contextual features.
During inference, the model starts with pure Gaussian noise and iteratively refines it into a coherent sequence of future events, conditioned on the known history. To improve mark prediction, the model "clamps" predicted embeddings to the nearest valid mark embedding during the final stages of the reverse diffusion process.
Experimental Results
DLTPP was evaluated on four diverse datasets: Synthetic (Hawkes Process), StackOverflow (badge earning), Reddit (subreddit posts), and Wikipedia (high-cardinality editing histories with over 8,000 marks).
Key Findings
- Mark Accuracy (ACC): DLTPP achieved the highest accuracy across all four datasets, notably outperforming baselines on the high-cardinality Wikipedia dataset. This suggests diffusion-based embeddings are superior at navigating large vocabularies of event types.
- Time Prediction (MAE): DLTPP achieved the lowest Mean Absolute Error on three out of four datasets.
- Long-Term Stability: As the prediction horizon increased, DLTPP’s error rate grew much more slowly than autoregressive models, proving its effectiveness at mitigating error accumulation.
Conclusion
DLTPP represents a significant shift in TPP modeling by moving from autoregressive to non-autoregressive generation via diffusion. By modeling sequences holistically, it overcomes the limitations of sequential error propagation. Future work may extend this framework to include spatial coordinates for applications like traffic or earthquake prediction, and explore methods to optimize the computational cost of the iterative denoising process.
Summary updated