Introduction
Temporal Point Processes (TPPs) are essential for modeling asynchronous event sequences in domains ranging from finance to healthcare. While deep learning has significantly enhanced TPP performance, the field has suffered from architectural fragmentation. Most Deep TPP (DTPP) models are proposed as monolithic, end-to-end systems, making it difficult to isolate which components—such as the history encoder or the intensity function—actually drive performance gains. Furthermore, these "black box" models often lack the interpretability required for high-stakes applications.
This paper addresses these challenges by introducing the Extensive Deep Temporal Point Process (EDTPP) framework. EDTPP provides a modular dissection of existing models to facilitate fair empirical comparisons and introduces a novel variational framework for discovering latent causal relationships between event types.
The EDTPP Framework
The authors dismantle the DTPP architecture into four distinct, interchangeable modules:
- History Encoder: Captures the influence of past events. Options include traditional RNNs (GRU, LSTM), Attention-based Transformers, and the computationally efficient FNet, which utilizes Fourier Transforms.
- Conditional Intensity Function (CIF): Defines the rate of future events. The framework evaluates various forms, including Fully Neural Networks and Mixture Distributions (e.g., Log-normal, Gompertz).
- Relational Discovery: Models the interactions between different event types.
- Learning Approach: Specifies the optimization strategy, typically Maximum Likelihood Estimation (MLE) or Reinforcement Learning.
By modularizing these components, researchers can "mix and match" the best-performing elements—for instance, combining a Transformer encoder with a Log-normal mixture CIF—to achieve superior results compared to fixed, end-to-end models.
Variational Granger Causality Discovery
A key technical contribution of this work is the Variational Framework for Granger Causality Discovery. To move beyond black-box predictions, the model treats relationships between event types as a latent graph. Using a Variational Autoencoder (VAE) approach, the framework learns an adjacency matrix that acts as a sparse "mask." This mask restricts information flow, ensuring that the model only considers causal relationships between event types.
This approach provides significant interpretability. In tests on the MOOC dataset, the framework successfully identified hierarchical relationships between student actions and achievement badges, revealing which behaviors were Granger-causal to specific rewards.
Key Insights and Results
Evaluated on real-world benchmarks like MOOC and StackOverflow, the modular analysis yielded several critical insights:
- Functional Division of Labor: The Intensity Function is the primary driver for predicting when an event will occur, whereas the History Encoder is the most critical component for predicting what type of event will happen next.
- The Robustness of Log-Normal: Despite the complexity of many neural intensity functions, the Log-normal Mixture emerged as a consistently stable and high-performing choice for modeling event timing.
- Fitting vs. Prediction: The study highlights a gap between "goodness-of-fit" (low Negative Log-Likelihood) and actual predictive accuracy. A model may fit historical data well but still struggle to predict the exact timing of future events.
- Efficiency Gains: The introduction of the FNet encoder demonstrated that long-term patterns can be captured with faster computation than standard Attention mechanisms, offering a viable alternative for large-scale sequences.
Conclusion and Future Work
The EDTPP framework provides a much-needed standardized lens for evaluating Deep Temporal Point Processes. While the modular approach and causal discovery represent significant steps forward, challenges remain. Predicting the exact arrival time of events continues to be difficult, and scaling Granger causality discovery to systems with thousands of event types poses a computational hurdle. Future research will focus on bridging the time prediction gap and extending causal discovery to even longer-term dependencies.
Summary updated