Conditional Generative Modeling for High-dimensional Marked Temporal Point Processes

Zheng Dong, Zekai Fan, Shixiang Zhu

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."

Conceptual overview of MTPPs with high-dimensional marks like images and text reviews.

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:

  1. History Encoder: An LSTM or Transformer embeds the sequence of past events into a latent history vector $h$.
  2. 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.
The CEG model architecture (a) and the resulting conditional density of generated events (b).

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

BibTeX
@inproceedings{dong2025conditional,
  author = {Zheng Dong and Zekai Fan and Shixiang Zhu},
  title = {{Conditional Generative Modeling for High-dimensional Marked Temporal Point Processes}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3690624.3709258},
}
Figure