Abstract
Predicting the timing of future events is a fundamental challenge in temporal point process (TPP) modeling. While recurrent neural networks (RNNs) offer flexibility over traditional parametric models, they often suffer from exposure bias and fail to capture the global structure of event sequences. This paper introduces the Conditional Wasserstein Estimator (CWE), a novel generative framework that combines a sequence-to-sequence (seq2seq) architecture with an adversarial training objective based on the Wasserstein distance. By optimizing a hybrid loss function that integrates maximum likelihood estimation (MLE) with global sequence-level feedback, CWE achieves superior predictive accuracy and robustness across diverse real-world and synthetic datasets.
Introduction
Temporal Point Processes (TPP) are essential for modeling event sequences in domains ranging from healthcare to finance. Traditional approaches rely on parametric models, such as Hawkes processes, which assume specific functional forms for event intensities. However, these models often lack the flexibility to capture the complex, multi-modal dynamics of real-world data.
While deep learning models like RNNs have improved flexibility, they are prone to exposure bias. During training, these models are exposed to ground-truth history, but during inference, they must rely on their own previous predictions. This discrepancy leads to error accumulation over long horizons. Furthermore, standard training via Maximum Likelihood Estimation (MLE) focuses on point-wise conditional probabilities, often ignoring the underlying geometric and global structural properties of the entire sequence.
Methodology: The Conditional Wasserstein Estimator (CWE)
The authors propose the Conditional Wasserstein Estimator (CWE), which frames event prediction as a conditional generative adversarial task. The framework consists of two primary components: a generator and a discriminator.
The Generator ($g_\theta$)
The generator utilizes a sequence-to-sequence (seq2seq) architecture based on Long Short-Term Memory (LSTM) units. It consists of an Observation Encoder that compresses historical event data into a latent representation and a Prediction Decoder that iteratively generates future event timings.
The Discriminator ($f_w$)
The discriminator is implemented as a 1D Convolutional Neural Network (CNN) with residual blocks. Rather than acting as a binary classifier, it serves as a "critic" that estimates the Wasserstein distance between generated sequences and real ground-truth sequences. This global perspective allows the model to penalize structural "drift" that MLE might miss.
Hybrid Loss Function
The model is trained using a hybrid objective function that combines MLE loss for local precision with Wasserstein loss for global sequence consistency. This combination allows the model to maintain high local precision while remaining robust to the error accumulation characteristic of exposure bias.
Experimental Evaluation
The CWE model was evaluated against several baselines, including standard MLE-based RNNs and traditional parametric models, across synthetic and real-world datasets such as MIMIC-III (clinical visits), LinkedIn (job transitions), IPTV (viewing logs), and NYSE (high-frequency trading).
Key Results
- Predictive Accuracy: CWE significantly outperformed vanilla seq2seq models. For instance, on the MIMIC-III dataset, CWE reduced the prediction error (measured by $Pr.Dev$) from 0.17 to 0.10.
- Robustness to Misspecification: Unlike parametric models that fail when the underlying process is unknown, CWE effectively learned dynamics directly from data, matching the performance of "perfect" models on synthetic benchmarks.
- Handling Heterogeneity: In datasets with mixed event types, CWE demonstrated superior ability in capturing multi-modal patterns without suffering from "mode dropping."
Conclusion
The Conditional Wasserstein Estimator addresses the critical limitations of exposure bias and local-only learning in temporal point process modeling. By leveraging an adversarial framework with a hybrid loss, the model captures both the fine-grained timing and the global structure of event sequences. Future work includes extending this framework to high-dimensional marked point processes and developing online learning variants for streaming data.
Summary updated