NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cumulative Distribution Function based General Temporal Point Processes

Maolin Wang, Yu Pan, Zenglin Xu, Ruocheng Guo, Xiangyu Zhao, Wanyu Wang, Yiqi Wang, Zitao Liu, Langming LiuarXiv 2024 · DOI

TL;DR

This paper introduces CuFun, a novel Temporal Point Process (TPP) model that directly learns the Cumulative Distribution Function (CDF) using a monotonic neural network. By focusing on the CDF, CuFun simplifies log-likelihood calculations, improves computational stability, and effectively captures long-range temporal dependencies, outperforming existing methods on various datasets.

What Problem Does This Paper Address?

Temporal Point Processes (TPPs) are powerful tools for modeling sequences of events over time, with applications ranging from social media analysis to e-commerce. However, accurately predicting future events in these sequences remains a significant challenge. Existing deep TPP models, while capable of handling complex data, struggle with:

  • Computational Instability: Calculating integrals for intensity functions can be computationally expensive and prone to instability.
  • Modeling High-Frequency/Low-Frequency Events: Traditional models often fail to accurately capture abrupt changes or rare events in event intensity.
  • Long-Range Temporal Dependencies: Effectively modeling patterns that span long periods is difficult for many existing TPP approaches.

This paper aims to address these limitations by proposing a new TPP framework that directly models the CDF.

Methods

The core innovation of this paper is the CuFun model, which shifts the focus from modeling the intensity function to directly modeling the Cumulative Distribution Function (CDF) of event times. Here's a breakdown of their approach:

  • CDF-based Modeling: Instead of directly parameterizing the intensity function (which often involves complex integrals), CuFun models the CDF, $F(\tau)$, which represents the probability of an event occurring by time $\tau$.
  • Monotonic Neural Network (MNN): A key component is the use of a monotonic neural network to learn the CDF. This ensures that the output function is always non-decreasing, a fundamental property of CDFs.
  • Past Event Integration: Past event information is encoded into a hidden vector ($h$) using a Recurrent Neural Network (RNN). This hidden vector then acts as a scaling factor for the inter-event time input ($\tau$) to the MNN. This element-wise product operation is highlighted as a novel way to incorporate historical context.
  • Automatic Differentiation: The density function ($p(\tau)$) and intensity function ($\lambda(\tau)$) are derived from the learned CDF using automatic differentiation. This bypasses the need for explicit integral calculations, enhancing computational stability and efficiency.
  • Constraints for Valid CDF: The MNN is designed to satisfy the necessary constraints for a valid CDF: $\lim_{\tau \to -\infty} F(\tau) = 0$, $\lim_{\tau \to +\infty} F(\tau) = 1$, and $F(\tau) \ge 0$. Positive weights and a sigmoid activation in the final layer help enforce these.

Datasets

The CuFun model was evaluated on a variety of datasets:

  • Synthetic Datasets:
    • Hawkes1 and Hawkes2 (modeling self-exciting processes)
    • S-Renewal and NS-Renewal (modeling stationary and non-stationary renewal processes)
  • Real-world Datasets:
    • Stack Overflow (user engagement)
    • MIMIC2 (medical ICU visits)
    • Twitter (retweets)
    • Reddit (user submissions)
    • Wikipedia (page edits)
    • Music (listening sequences)
    • Bookorder (stock market data)
    • Mooc (online course interactions)
    • Yelp (restaurant reviews)

Key Insights and Ideas

  • CDF as a Stable Foundation: Directly modeling the CDF offers a more stable and computationally tractable alternative to intensity-based TPPs, especially when dealing with complex integrals.
  • Monotonicity is Key: Using a monotonic neural network is crucial for ensuring that the learned function is a valid CDF, simplifying the modeling process and improving reliability.
  • Scaling Past Events: The element-wise product operation for integrating past event information ($h$) with the current inter-event time ($\tau$) is a novel approach that seems to effectively scale the influence of history on future predictions. This is contrasted with simple addition, which showed a significant disparity in values.
  • Long-Range Dependencies are Captured: The CDF-based approach naturally lends itself to capturing longer-term patterns, as demonstrated by its performance on datasets with periodic behaviors like Yelp.

Key Results

  • Superior Performance: CuFun consistently outperformed baseline models (Constant, Exponential, RMTPP, FullyNN) across both synthetic and real-world datasets in terms of Negative Log-Likelihood (NLL).
  • Statistical Significance: Improvements over baselines were statistically significant for most datasets, indicating robust performance.
  • Intensity Function Stability: On the Hawkes2 dataset, CuFun's estimated intensity function was more stable and closely matched the true intensity compared to the FullyNN and Exp models, which showed instability or inadequacy in high-frequency scenarios.
  • Long-Range Modeling: CuFun demonstrated strong performance on the Yelp dataset, effectively capturing its periodic nature, outperforming even the FullyNN model in this regard.

Limitations and Future Work

  • Computational Cost: While CuFun simplifies integral computations, the RNN component for encoding past events still contributes to computational complexity.
  • Future Work: The authors suggest tailoring CuFun's architecture for specific use cases, expanding its integration with diverse data types, and assessing its applicability in other fields where accurate temporal event modeling is critical. They also hint at future research directions involving the exploration of other neural network architectures and fusion operations.

Summary updated

BibTeX
@misc{wang2024cumulative,
  author = {Maolin Wang and Yu Pan and Zenglin Xu and Ruocheng Guo and Xiangyu Zhao and Wanyu Wang and Yiqi Wang and Zitao Liu and Langming Liu},
  title = {{Cumulative Distribution Function based General Temporal Point Processes}},
  year = {2024},
  eprint = {2402.00388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.00388},
}
Figure