Abstract: Temporal point process (TPP) is an important tool for modeling and predicting irregularly timed events across various domains. Recently, the recurrent neural network (RNN)-based TPPs have shown practical advantages over traditional parametric TPP models. However, in the current literature, it remains nascent in understanding neural TPPs from theoretical viewpoints. In this paper, we establish the excess risk bounds of RNN-TPPs under many well-known TPP settings. We especially show that an RNN-TPP with no more than four layers can achieve vanishing generalization errors. Our technical contributions include the characterization of the complexity of the multi-layer RNN class, the construction of $\tanh$ neural networks for approximating dynamic event intensity functions, and the truncation technique for alleviating the issue of unbounded event sequences. Our results bridge the gap between TPP's application and neural network theory.
Introduction: The Gap in Neural TPP Theory
Temporal Point Processes (TPPs) are the mathematical workhorses used to predict irregularly timed events, such as high-frequency stock trades, social media interactions, or seismic activity. Traditionally, these were modeled using rigid parametric equations like the Hawkes process. Recently, Recurrent Neural Networks (RNNs) have become the standard because they can learn complex patterns from data without needing a predefined formula.
However, a massive gap has existed between practice and theory. While practitioners have used RNN-based TPPs for years, several fundamental questions remained unanswered:
- Generalization: Is there a mathematical guarantee that a trained neural TPP will perform well on unseen data?
- Complexity: How many layers and hidden units are actually necessary to capture complex event dynamics?
- Variable Lengths: How do we handle event sequences that have variable and theoretically unbounded lengths, unlike the fixed-size vectors in standard deep learning?
This research provides a theoretical foundation for RNN-TPPs, proving their generalization capabilities and providing a blueprint for optimal network depth.
The RNN-TPP Framework and Methodology
The authors define a specific multi-layer RNN structure using $\tanh$ activations and a bounded output layer. A critical component of their model is how it handles the continuous nature of time between discrete events.
To bridge the gap between discrete hidden states and continuous-time intensity functions, the paper emphasizes the importance of hidden-state interpolation. As shown in the figure above, the model must "fill in the gaps" between events to calculate the intensity $\lambda(t)$ at any given moment. The authors prove that proper interpolation is the "secret sauce" for universal approximation in continuous time, whereas simpler methods like constant interpolation may fail to capture the true underlying process.
Key Technical Innovations
- Truncation Technique: To handle the "unbounded length" problem, the authors developed a decoupling technique. They split the randomness of event sequences into a bounded component (analyzed via empirical process theory) and a "tail" component (controlled using the exponential decay properties of the processes).
- Lipschitz Analysis: They derived precise Lipschitz constants for multi-layer RNNs to calculate "covering numbers," which measure the complexity of the model space.
- Constructive Approximation: The authors explicitly construct network weights that mimic classic models like Poisson and Hawkes processes, proving that these architectures can converge to the "ground truth" as the number of observed sequences increases.
Key Findings: The Power of Shallow Networks
The study establishes excess risk bounds—mathematical limits on how much the model's error exceeds the best possible theoretical error. Their analysis leads to several surprising insights:
- The Power of Four: For complex, nonlinear Hawkes processes, an RNN with just four layers is sufficient to achieve vanishing generalization errors. For simpler processes, two layers are often enough.
- Complexity vs. Samples: The results provide a clear trade-off: as more training data ($n$) becomes available, the width of hidden layers ($D$) can be increased to improve accuracy without risking massive generalization errors.
- Convergence Rates: The authors achieved vanishing error rates across various settings, including $\tilde{O}(n^{-s/2(s+1)})$ for Poisson processes (where $s$ is smoothness) and $\tilde{O}(n^{-1/4})$ for complex nonlinear Hawkes scenarios.
Conclusion and Future Directions
This work effectively moves neural TPPs from heuristic-based engineering into the realm of provably correct statistics. However, the authors acknowledge several areas for expansion. The current theory assumes events are observed within a fixed time interval $[0, T]$; future work is needed for the "large $T$" regime where the observation window grows. Additionally, extending this theory to "marked" TPPs (where events have categories) and investigating the theoretical bounds of Transformer-based TPPs remain promising directions for the field.
Summary updated