All models

FlexTSF

Decoder-only forecaster that patches irregular time series by solving initial value problems.

Time series · 985 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (657 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
62.7M
Operations
985
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Knowledge and Data Engineering (arXiv 2024)
Cited by
1 (as of 4 November 2026)
Authors
Jingge Xiao, Yile Chen, Gao Cong and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16696
Graph hash
3179beebf1b51b68f116aa255242a980e6d0e6a686180ebef71e7d85111ad4a3
Skeleton hash
86a980a4aeb21a15d3a10954eacbfcfc1bb619b6dfe8c845a263bad10c38f9d1
Architecture hash
b02f6b550a1100d110792f9c16bb9b01031d5bb2165d0a334e9d51e98aab0a14
Diagram SHA-256
c416c7e65e45ed4b1f74af3f3c60fd6af674a42befe9f58ed2fef744eaa87b54
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

FlexTSF is a forecasting model for time series whose timing is not regular: uneven intervals, varying lengths and missing values. Earlier pre-trained forecasters, the paper argues, assume regular sampling or depend on filling in the gaps first.

Its central piece is the IVP Patcher, which turns each patch (a short run of observations) into a latent vector by solving initial value problems, so the real timestamps inside the patch are used directly. An encoder evolves each observation's latent state backward in time to the start of its patch. To forecast, the decoder part evolves a predicted state forward to the requested future timestamps. Between the two sits a decoder-only stack of causal self-attention layers that also takes in normalized timestamps and domain statistics. Those statistics enter through a Leader node at the front of the sequence, which later positions can attend to.

This model has the shape the paper gives for its pre-trained version: 6 attention layers, each with 12 heads and a hidden size of 768, which the paper counts at 63 million parameters. The paper reports the lowest MSE in 22 of 24 irregular-forecasting tasks. Inside the IVP Patcher, the paper uses ResNetFlow to solve the initial value problems.

Key idea. FlexTSF replaces fixed-size patching with the IVP Patcher, a continuous-time module that solves initial value problems so a decoder-only forecaster handles uneven intervals, variable lengths and missing values.

  • FlexTSF
  • time series forecasting
  • irregular time series
  • IVP Patcher
  • initial value problems
  • universal forecasting model
  • zero-shot forecasting
  • missing values
  • temporal irregularity

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{xiao2025flextsfflexibleforecastingmodel,
      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={2025},
      eprint={2410.23160},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2410.23160}, 
}