All models

TimeBridge

A patch-based attention model for multivariate time series forecasting that handles non-stationarity in two stages.

Time series · 142 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 (29 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
519K
Operations
142
Framework
PyTorch
Recurrent
No
Published
ICML 2025
Cited by
4 (as of 24 October 2026)
Authors
Peiyuan Liu, Beiliang Wu, Yifan Hu and others
License
MIT
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
m20972
Graph hash
dcfed29b2a36d9d5fdace81b8ed8e31a0372b268151e9f4ef86b9dab0aa3164f
Skeleton hash
27d2aca17b8aabd7aa1371601678af67c304bff6b4d004741b748d6da83ce335
Architecture hash
c2fdf6e7d74ee1ddf1eddd06a9e7aa13069ef399b87a093e074b9c40987b89e2
Diagram SHA-256
d9bd77f9dded7d8f6884bf77d7836e51419a7be6ebadab802d8da7c3ae464448
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

TimeBridge is a forecasting model for multivariate time series that is designed around how non-stationarity relates to dependency modeling. The paper argues that removing non-stationarity avoids spurious regressions in short-term modeling, while keeping it is needed to reveal long-term cointegration across variates.

The model has four components. Patch Embedding divides each variate of the input into non-overlapping patches and maps each patch to a token. Integrated Attention models dependencies among the patch tokens of the same variate after removing non-stationarity within each patch token. Patch Downsampling reduces the number of patches so that each one holds richer long-term features. Cointegrated Attention keeps the non-stationary characteristics of the sequence and models long-term cointegration relationships across different variates within the same temporal window.

The paper's long-term forecasting experiments cover the four ETT subsets as well as Weather, Electricity, Traffic and Solar. The input length is set to 720 in those experiments. Against DeformableTST, ModernTCN and TimeMixer, the paper reports MSE and MAE lower by 1.85%/2.49%, 5.56%/4.12% and 13.66%/7.58%, respectively.

Key idea. TimeBridge removes non-stationarity for short-term modeling within each variate using Integrated Attention and keeps it for long-term cointegration across variates using Cointegrated Attention.

  • timebridge
  • time bridge
  • long-term time series forecasting
  • multivariate time series forecasting
  • non-stationarity
  • cointegration
  • integrated attention
  • cointegrated attention
  • time series transformer

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

Cite the paper

@misc{liu2025timebridgenonstationaritymatterslongterm,
      title={TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting}, 
      author={Peiyuan Liu and Beiliang Wu and Yifan Hu and Naiqi Li and Tao Dai and Jigang Bao and Shu-tao Xia},
      year={2025},
      eprint={2410.04442},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2410.04442}, 
}