Abstract
Modeling sequences of events over time, known as Marked Temporal Point Processes (MTPPs), becomes computationally prohibitive when event "marks" consist of high-dimensional data like images or text. Traditional intensity-based models require intractable numerical integration over these mark spaces and rely on inefficient sampling algorithms. This paper introduces a novel Conditional Event Generator (CEG) framework that bypasses these limitations by employing a Conditional Denoising Diffusion Model (CDDM). By directly modeling the conditional density of the next event, the proposed framework enables high-fidelity generation and massive parallelization, achieving orders-of-magnitude speedups over state-of-the-art baselines while maintaining superior accuracy on complex datasets like T-MNIST and T-CIFAR.
Introduction: The Challenge of High-Dimensional Marks
Temporal Point Processes (TPPs) are essential for modeling event sequences in diverse fields, from seismology to healthcare. Most real-world events are accompanied by "marks"—supplementary information such as earthquake magnitudes or clinical notes. However, when these marks are high-dimensional (e.g., images or long-form text), traditional neural point processes encounter an "integration nightmare."
Standard models rely on a conditional intensity function ($\lambda$). Training via Maximum Likelihood Estimation (MLE) requires integrating this function over the entire mark space, which is analytically intractable for high-dimensional vectors. Furthermore, generating new events typically requires the "thinning algorithm," a sequential rejection-sampling method that is notoriously slow in high-dimensional settings.
Methodology: Conditional Event Generation via Diffusion
To address these bottlenecks, we propose the Conditional Event Generator (CEG) framework. Rather than explicitly defining an intensity function, we treat event prediction as a conditional generation task. The framework consists of two primary components:
- History Encoder: An LSTM or Transformer embeds the sequence of past events into a latent history vector $h$.
- Conditional Generator: A Conditional Denoising Diffusion Model (CDDM) serves as the core engine. It maps the history $h$ and a noise vector $z$ directly to the timing ($\Delta t$) and mark ($m$) of the next event.
By utilizing diffusion models, we bypass the need for expensive numerical integration. The model is trained by minimizing a denoising score-matching loss, which effectively maximizes the log-likelihood of the conditional probability density function. Crucially, this approach allows for Direct Sampling: the model generates the exact time and mark in a single pass, enabling massive parallelization across thousands of event sequences.
Experimental Evaluation
We evaluated the CEG framework across a variety of synthetic and real-world high-dimensional datasets:
- T-MNIST & T-CIFAR: Semi-synthetic benchmarks where timestamps are paired with MNIST digits or CIFAR-100 images as marks.
- Northern California Earthquake Catalog: Real-world data featuring event timing and 2D spatial locations.
- Atlanta Crime Reports: A dataset of burglary incidents involving 2D locations and textual descriptions (processed into 10-dimensional TF-IDF vectors).
Key Results and Discussion
Our results demonstrate that the CDDM-based generator consistently outperforms state-of-the-art baselines like Neural Hawkes and DNSK.
- Accuracy and Multimodality: The CDDM variant achieved the highest log-likelihood and lowest Mean Relative Error (MRE). Unlike Variational Autoencoders (CVAEs), which often struggle with complex, multimodal event distributions, the diffusion model successfully captured intricate spatial and temporal patterns.
- Efficiency Gains: The most striking result is the simulation speed. For generating 50 event series on the T-CIFAR dataset, the proposed CEG+CDDM model took only 1.2 seconds, compared to 1,381 seconds for the deep kernel-based DNSK baseline—a speedup of over three orders of magnitude.
Conclusion
The CEG framework represents a significant shift in MTPP modeling, moving away from intensity-based functions toward direct conditional density modeling. By leveraging the generative power of diffusion models, we eliminate the computational hurdles of high-dimensional integration and sequential sampling. Future work will explore adapting this framework for discrete categorical marks and integrating it into reinforcement learning environments for real-time decision-making in complex systems like healthcare and urban planning.
Summary updated