Skip to main content
QUICK REVIEW

[Paper Review] EasyTPP: Towards Open Benchmarking Temporal Point Processes

Siqiao Xue, Xiaoming Shi|arXiv (Cornell University)|Jul 16, 2023
Data Management and AlgorithmsComputer Science6 citations
TL;DR

EasyTPP introduces the first centralized benchmark for temporal point processes (TPPs), offering a unified, extensible framework with standardized datasets, evaluation tools, and modular neural model components. It enables reproducible research by supporting PyTorch and TensorFlow, facilitating model comparison and accelerating development across healthcare, finance, and e-commerce applications.

ABSTRACT

Continuous-time event sequences play a vital role in real-world domains such as healthcare, finance, online shopping, social networks, and so on. To model such data, temporal point processes (TPPs) have emerged as the most natural and competitive models, making a significant impact in both academic and application communities. Despite the emergence of many powerful models in recent years, there hasn't been a central benchmark for these models and future research endeavors. This lack of standardization impedes researchers and practitioners from comparing methods and reproducing results, potentially slowing down progress in this field. In this paper, we present EasyTPP, the first central repository of research assets (e.g., data, models, evaluation programs, documentations) in the area of event sequence modeling. Our EasyTPP makes several unique contributions to this area: a unified interface of using existing datasets and adding new datasets; a wide range of evaluation programs that are easy to use and extend as well as facilitate reproducible research; implementations of popular neural TPPs, together with a rich library of modules by composing which one could quickly build complex models. All the data and implementation can be found at https://github.com/ant-research/EasyTemporalPointProcess. We will actively maintain this benchmark and welcome contributions from other researchers and practitioners. Our benchmark will help promote reproducible research in this field, thus accelerating research progress as well as making more significant real-world impacts.

Motivation & Objective

  • Address the lack of standardized benchmarks for temporal point processes (TPPs), which hinders model comparison and reproducibility in event sequence modeling.
  • Provide a centralized, open-source repository for datasets, models, evaluation programs, and documentation to streamline research and development in TPPs.
  • Enable researchers to easily extend the framework by adding new datasets, models, evaluation metrics, or modules through clear documentation and modular design.
  • Support both PyTorch and TensorFlow to maximize flexibility and accessibility for diverse research communities.
  • Promote reproducible research by standardizing data processing, evaluation metrics (e.g., log-likelihood, prediction accuracy), and significance testing (e.g., permutation tests).

Proposed method

  • Introduce a unified data interface that standardizes input formats across 5 real-world datasets (e.g., Retweet, Taxi, Amazon, Taobao, StackOverflow), enabling consistent data loading and preprocessing.
  • Develop a modular library of reusable components (e.g., neural layers, attention mechanisms, intensity functions) that allow users to compose complex TPP models like building blocks.
  • Implement a comprehensive suite of evaluation programs supporting multiple metrics: log-likelihood, next-event prediction accuracy, sequence similarity, and permutation tests for statistical significance.
  • Ensure compatibility with both PyTorch and TensorFlow through a unified API, enabling seamless model training and inference across deep learning frameworks.
  • Design the framework for extensibility by defining clear protocols for adding new datasets, models, evaluation metrics, and modules, fostering community contributions.
  • Validate model performance and reproducibility by comparing results across implementations (PyTorch vs. TensorFlow) and with original papers, reporting relative differences in metrics.
Figure 1: ArXiv submissions over time on TPPs. See section E.1 for details.
Figure 1: ArXiv submissions over time on TPPs. See section E.1 for details.

Experimental results

Research questions

  • RQ1How can a standardized benchmark improve reproducibility and comparability of temporal point process models across different research groups and applications?
  • RQ2To what extent can a modular, composable library of neural components accelerate the development and prototyping of new TPP models?
  • RQ3How consistent are model performance results across different deep learning frameworks (PyTorch vs. TensorFlow) when using the same implementation logic?
  • RQ4Can the benchmark support diverse real-world applications such as e-commerce, social media, and financial transactions with minimal data preprocessing overhead?
  • RQ5How effective is the benchmark in enabling new research directions such as transfer learning and domain adaptation through standardized data and evaluation pipelines?

Key findings

  • EasyTPP achieves high consistency in model performance across PyTorch and TensorFlow implementations, with relative differences in time RMSE and type error rate generally within ±1% across datasets like Retweet and Taxi.
  • The benchmark enables accurate reproduction of state-of-the-art models: for example, IFTPP achieves a log-likelihood of 0.186 on synthetic data, matching or exceeding original results.
  • Model comparisons show that THP achieves the lowest time RMSE of 4.398 on the Retweet dataset (avg 5 events), outperforming MHP and RMTPP.
  • The framework reduces data processing burden by standardizing 5 diverse real-world datasets, including e-commerce (Amazon, Taobao), social media (Retweet, StackOverflow), and mobility (Taxi).
  • Evaluation programs in EasyTPP support multiple metrics, including log-likelihood, prediction accuracy, and sequence similarity, with standard deviations reported for robustness.
  • The modular design allows researchers to reproduce complex models like AttNHP and ODETPP by composing basic components, significantly reducing implementation time and effort.
Figure 2: Drawing an event stream from a neural TPP. The model reads the sequence of past events (polygons) to arrive at a hidden state (blue). That state determines the future ”intensities” of the two types of events–that is, their time-varying instantaneous probabilities. The intensity functions a
Figure 2: Drawing an event stream from a neural TPP. The model reads the sequence of past events (polygons) to arrive at a hidden state (blue). That state determines the future ”intensities” of the two types of events–that is, their time-varying instantaneous probabilities. The intensity functions a

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.