FlexTSF: A Flexible Forecasting Model for Time Series with Variable Regularities

Jingge Xiao, Yile Chen, Gao Cong, Wolfgang Nejdl, Simon Gottschalk
10/30/2024
cs.LGcs.AI

No official code found. Best implementation: jingge326/FlexTSF (16 stars, last commit 2025-11-16).

Abstract

Forecasting time series with irregular temporal structures remains challenging for universal pre-trained models. Existing approaches often assume regular sampling or depend heavily on imputation, limiting their applicability in real-world scenarios where irregularities are prevalent due to diverse sensing devices and recording practices. We introduce FlexTSF, a flexible forecasting model specifically designed for time series data with variable temporal regularities. At its foundation lies the IVP Patcher, a continuous-time patching module leveraging Initial Value Problems (IVPs) to inherently support uneven time intervals, variable sequence lengths, and missing values. FlexTSF employs a decoder-only architecture that integrates normalized timestamp inputs and domain-specific statistics through a specialized causal self-attention mechanism, enabling adaptability across domains. Extensive experiments on 16 datasets demonstrate FlexTSF's effectiveness, significantly outperforming existing models in classic forecasting scenarios, zero-shot generalization, and low-resource fine-tuning conditions. Ablation studies confirm the contributions of each design component and the advantage of not relying on predefined fixed patch lengths.

View on arXivView PDF

Code Implementations(1)

jingge326/FlexTSFCommunity100%
160Python, Jupyter NotebookOct 2, 202411 months ago

Similar Papers

Cite this paper

@article{xiao2024flextsf,
  title  = {FlexTSF: A Flexible Forecasting Model for Time Series with Variable Regularities},
  author = {Jingge Xiao and Yile Chen and Gao Cong and Wolfgang Nejdl and Simon Gottschalk},
  year   = {2024},
  eprint = {2410.23160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.23160v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.23160.svg)](https://codeofpaper.com/paper/2410.23160)

Discussion