decisionintelligence/TFB

[PVLDB 2024 Best Paper Nomination] TFB: Towards Comprehensive and Fair Benchmarking of Time Series Forecasting Methods

What it solves

TFB addresses the lack of comprehensive and fair benchmarking in time series forecasting. It prevents unfair comparisons caused by common implementation errors, such as the "drop-last" trick during testing, where discarding incomplete batches leads to inconsistent test set lengths across different models.

How it works

TFB provides a standardized, end-to-end evaluation pipeline for time series forecasting models. It includes a clean codebase for training and evaluating models against a wide array of baseline algorithms using consistent evaluation strategies and metrics. The library also includes a characteristics extractor to compute dataset properties like trend, seasonality, and stationarity.

Who it’s for

It is primarily designed for time series forecasting researchers who need to develop, test, and fairly compare new forecasting methods against existing baselines.

Highlights

  • Fair Benchmarking: Eliminates the "drop-last" operation during testing to ensure consistent evaluation across all models.
  • Extensive Baselines: Includes a large collection of integrated baseline models (e.g., SparseTSF, TimeKAN, xPatch, DUET).
  • Dataset Support: Supports 27 multivariate datasets and provides tools for predicting only a subset of input variables.
  • Characteristics Extraction: Open-sourced code for analyzing time series properties such as correlation, shifting, and transition.

Related

  • Project
  • Project
  • Project
  • Project
  • Project