Abstract
Traditional Temporal Point Processes (TPPs) rely on restrictive intensity functions that often fail to capture the complexity of real-world event sequences. We present Point Process Flows (PPF), a novel framework that models inter-arrival times directly using Normalizing Flows. By bypassing the intensity function, PPF can represent highly multi-modal temporal patterns. Our probabilistic variant, PPF-P, utilizes a Variational Autoencoder (VAE) to enhance the flexibility of the base distribution, achieving state-of-the-art performance on diverse benchmarks including LinkedIn and MIMIC datasets.
Introduction
Modeling event sequences—discrete occurrences at irregular intervals—is critical for applications ranging from healthcare to social media. Traditionally, these sequences are modeled using Temporal Point Processes (TPPs) defined by an intensity function $\lambda(t)$, representing the instantaneous rate of events. While mathematically convenient for simple processes like Poisson or Hawkes, intensity functions often impose rigid parametric assumptions that struggle with the multi-modal and non-stationary nature of real-world data. Modern deep-learning approaches often still inherit these bottlenecks, limiting their ability to model complex timing behaviors.
Methodology: Intensity-Free Modeling with Normalizing Flows
The Point Process Flow (PPF) framework shifts the focus from modeling the instantaneous rate of events to modeling the probability distribution of inter-arrival times $\tau_n$ (the time between event $n-1$ and event $n$) directly.
Normalizing Flows and Neural ODEs
The core engine of PPF is the Continuous Normalizing Flow (CNF). This technique takes a simple base probability distribution (such as a standard Gaussian) and "warps" it through a series of invertible, differentiable transformations into a complex distribution that fits the observed data. By utilizing Neural Ordinary Differential Equations (Neural ODEs), PPF ensures these transformations are bijective, allowing for the exact computation of the log-likelihood of a sequence.
Model Variants: PPF-D and PPF-P
The paper introduces two primary architectures:
- PPF-D (Deterministic): Uses a Recurrent Neural Network (RNN) to process event history and predict the parameters of the flow's base distribution.
- PPF-P (Probabilistic): Incorporates a Variational Autoencoder (VAE) backbone. The authors demonstrate that a simple Gaussian base distribution is often insufficient for modeling complex distributions like mixtures of Gaussians. By using a VAE, PPF-P makes the base distribution itself more flexible, significantly boosting the model's expressive power and its ability to capture multi-modal timing (e.g., events likely to happen either "very soon" or "much later").
Experimental Setup
The models were evaluated on both synthetic and real-world benchmarks:
- Synthetic Data: Inhomogeneous Poisson (IP), Self-exciting/Hawkes (SE), and their combination (IP+SE).
- LinkedIn: Job-hopping records from over 3,000 accounts.
- MIMIC: A large-scale medical dataset tracking hospital readmission timings.
- Breakfast: A video dataset used to test "Marked" TPPs, where the model must predict both the timing and the specific type of action (e.g., "pouring milk").
Results and Discussion
PPF-P consistently outperformed state-of-the-art baselines, such as APP-LSTM and APP-VAE, across all tested metrics.
Log-Likelihood Performance
As shown in the table below, PPF-P achieves significantly higher log-likelihood scores across all datasets. Notably, on the LinkedIn dataset, PPF-P achieved a score of 2.678 compared to the APP-LSTM baseline of -0.795. Similar substantial gains were observed in the MIMIC dataset (1.696 vs -1.962).
Prediction Accuracy and Multi-modality
Qualitative results showed that while deterministic models often "average out" complex distributions, PPF-P successfully captures distinct probability peaks. On the Breakfast dataset, PPF-P not only predicted event timing with the lowest Mean Absolute Error but also achieved a 62.5% accuracy in predicting the next action type.
Conclusion
Point Process Flows provide a powerful, intensity-free alternative for modeling temporal sequences. By leveraging the expressive power of Normalizing Flows and VAEs, the framework effectively handles the multi-modal complexities of real-world event timings. While training Neural ODEs can be computationally intensive, the gains in predictive accuracy and likelihood represent a significant step forward for TPP research. Future work may explore deeper coupling between event timing and categorical marks in long-range sequences.
Summary updated