[Paper Review] Fast and Flexible Temporal Point Processes with Triangular Maps
This paper introduces TriTPP, a novel class of non-recurrent temporal point processes that leverage triangular maps from normalizing flows to enable fully parallel likelihood computation and sampling. By reparameterizing classic TPPs using invertible, autoregressive transformations, TriTPP achieves RNN-level flexibility with orders-of-magnitude faster sampling, enabling efficient variational inference in continuous-time Markov jump processes on real-world datasets.
Temporal point process (TPP) models combined with recurrent neural networks provide a powerful framework for modeling continuous-time event data. While such models are flexible, they are inherently sequential and therefore cannot benefit from the parallelism of modern hardware. By exploiting the recent developments in the field of normalizing flows, we design TriTPP -- a new class of non-recurrent TPP models, where both sampling and likelihood computation can be done in parallel. TriTPP matches the flexibility of RNN-based methods but permits orders of magnitude faster sampling. This enables us to use the new model for variational inference in continuous-time discrete-state systems. We demonstrate the advantages of the proposed framework on synthetic and real-world datasets.
Motivation & Objective
- To overcome the sequential nature of RNN-based temporal point processes that limits parallelization and sampling speed.
- To develop a non-recurrent TPP framework that maintains the expressive power of RNN-based models while enabling parallel inference and generation.
- To enable differentiable variational inference for Markov jump processes by deriving a relaxation for non-differentiable sampling-based losses.
- To demonstrate that the proposed model matches or exceeds the performance of RNN-based and classical TPPs on both synthetic and real-world event sequence modeling tasks.
Proposed method
- The method reparametrizes temporal point processes using triangular maps—invertible, autoregressive transformations that allow parallel sampling and likelihood evaluation.
- It constructs a flow-based transformation composed of multiple components: a time warping map (Λ), a base transformation (D), a coupling flow (Φ₁), a bijector sequence (B₁–B₄), a second coupling flow (Φ₂), and a final bijector (C), forming the full map F = C ∘ Φ₂ ∘ B₄ ∘ B₃ ∘ B₂ ∘ B₁ ∘ Φ₁ ∘ D ∘ Λ.
- The likelihood is computed via the change of variables formula, where the Jacobian determinant is the product of partial derivatives of each component, enabling efficient gradient computation.
- The model uses a homogeneous Poisson process as the base distribution in the transformed space, with the compensator function Λ*(t) mapping event times to a unit-rate Poisson process.
- A differentiable relaxation of sampling-based losses is derived to support end-to-end training in variational inference for hidden semi-Markov models.
- The framework supports both density estimation and variational inference, with training via maximum likelihood and posterior estimation via amortized inference.
Experimental results
Research questions
- RQ1Can we design a non-recurrent temporal point process that matches the flexibility of RNN-based models while enabling fully parallel sampling and likelihood computation?
- RQ2Can triangular maps from normalizing flows be effectively adapted to model temporal point processes with variable-length, continuous-time event sequences?
- RQ3Can the proposed framework support differentiable variational inference in continuous-time discrete-state systems, such as Markov jump processes?
- RQ4How does the performance of TriTPP compare to RNN-based and classical TPPs in terms of likelihood, sampling speed, and distributional matching on real-world data?
Key findings
- TriTPP achieves sampling speeds that are orders of magnitude faster than RNN-based models, enabling efficient generation of long sequences.
- On the Twitter dataset, TriTPP achieves a Wasserstein distance of 0.17 for sequence length distribution matching, outperforming the Hawkes process (WD = 0.50) and approaching the performance of the RNN (WD = 0.10).
- In variational inference on server log data, TriTPP successfully segments sequences into high- and low-event-rate states, matching the results of an MCMC baseline.
- The model converges stably across multiple random seeds, with consistent posterior trajectories and training loss curves, indicating robustness.
- On all benchmark datasets, TriTPP matches or exceeds the negative log-likelihood (NLL) performance of RNN-based models while enabling parallel inference.
- The differentiable relaxation of sampling-based losses enables end-to-end training for variational inference, making it feasible to apply the model to complex continuous-time systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.