TL;DR
Temporal point processes are essential for modeling discrete events over time, but existing models often restrict the shape of the intensity function. This paper introduces UNIPoint, a novel neural network architecture mathematically proven to universally approximate any valid point process intensity function. By combining Recurrent Neural Networks (RNNs) with a sum of basis functions, UNIPoint offers a highly flexible, parsimonious model that outperforms traditional Hawkes processes and other neural baselines.
Introduction: The Challenge of Modeling Discrete Events
Temporal point processes (TPPs) are the primary mathematical framework for describing events occurring at irregular intervals, such as earthquakes, financial trades, or social media interactions. These processes are defined by an intensity function, $\lambda(t)$, which represents the instantaneous probability of an event occurring given the history of past events.
Traditionally, researchers rely on parametric models like the Hawkes process, which assumes a specific functional form for intensity (e.g., exponential decay). However, if real-world dynamics do not match these assumptions, model performance suffers. While recent neural TPPs have increased flexibility, many still impose hidden constraints—such as forcing the intensity to be monotonic between events—or lack theoretical guarantees regarding their representational power. UNIPoint addresses this by providing a computationally feasible model that is mathematically guaranteed to represent any valid point process.
Methodology: The UNIPoint Architecture
UNIPoint is built on a rigorous foundation of universal approximation. The architecture decomposes the modeling problem into two distinct components: continuous dynamics between events and jump dynamics at event times.
- Between Events (Continuous Dynamics): To model the intensity function between consecutive events, UNIPoint utilizes a sum of simple basis functions (such as Exponential, Power Law, ReLU, or Cosine). To ensure the output is strictly positive—a requirement for valid intensity functions—this sum is passed through an "M-transfer function" (e.g., softplus). Using the classical Stone-Weierstrass theorem, the authors prove this setup can approximate any continuous function.
- At Events (Jump Dynamics): When a new event occurs, the parameters of the basis functions must update to reflect the new history. UNIPoint employs a standard Recurrent Neural Network (RNN) to perform these updates. Since RNNs are known universal approximators of dynamic systems, combining them with the basis function layer creates a model capable of approximating any point process intensity function to arbitrary accuracy.
Experimental Setup
The authors evaluated UNIPoint against a variety of synthetic and real-world datasets to test its versatility:
- Synthetic Datasets: Self-Correcting Process, Exponential Hawkes Process, and a Decaying Sine Hawkes Process. The latter is specifically designed to test whether models can capture non-monotonic, oscillating intensities.
- Real-World Datasets:
- MOOC: Student interactions in online courses.
- Reddit: Timing of user posts.
- StackOverflow: Timing of user badge acquisitions.
Key Results and Insights
UNIPoint consistently outperformed both traditional parametric baselines (Exponential/Power Law Hawkes) and state-of-the-art neural baselines (RMTPP, FullyNeural) across all benchmarks.
The Trap of Monotonicity
Many existing neural TPPs, such as RMTPP, assume that intensity functions only increase or decrease monotonically between events. The "Decaying Sine" synthetic dataset demonstrates that when data oscillates, these restricted models fail significantly. UNIPoint, by contrast, handles non-monotonic behavior with ease.
Superior Log-Likelihood and Shape Learning
On the MOOC dataset, UNIPoint with Power Law basis functions achieved a log-likelihood of 4.939, significantly outperforming the traditional Exponential Hawkes (3.578) and RMTPP (2.040). Furthermore, on synthetic data where the ground truth is known, UNIPoint achieved lower Total Variation error, proving it learns the true underlying shape of the intensity function rather than just a statistical approximation.
The Versatility of MixedSum
The authors found that no single basis function is perfect for every domain. However, the MixedSum variant—combining 32 Power Law and 32 ReLU basis functions—emerged as a robust default configuration, ranking as either the best or a close second across all six datasets.
Conclusion and Future Work
UNIPoint provides a beautiful theoretical bridge between classical function approximation theory and modern neural architectures. While highly effective, the authors note that performance can be sensitive to basis function choice; for example, exponential bases can face numerical issues during long inter-event gaps.
Future research directions include developing automated methods for basis function selection and extending the UNIPoint framework to spatial or "marked" point processes, where events carry additional categorical or geographic information.
Summary updated