All models

TSLib TimeFilter

A graph neural network forecaster that filters patch-level dependencies in multivariate time series.

Time series · 8,573 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

This diagram has 8,573 operations (8.0 MB) and is drawn when you ask.

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
764.4K
Operations
8,573
Framework
PyTorch
Recurrent
No
Published
ICML 2025
Cited by
1 (as of 23 October 2026)
Authors
Yifan Hu, Guibin Zhang, Peiyuan Liu 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
m3046
Graph hash
c093aa3f25f3d04608439190320ccccfa448b671bbda4f2ca2a6d8477be2a655
Skeleton hash
4811ff0b30ccdd53cc03f60903a2d784634f8d15a53c4fd91f27ad8b8e7b7911
Architecture hash
7d4ba86f098b771ec59f88d21b42b0ccd0af9c82b157dafb1c4e03bfe11e7328
Diagram SHA-256
6cea6682daafbd983e79b90b92dc43ee82fac856eb767853ab0e2ffb7ff50bdb
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

This model is the TimeFilter implementation included in Time-Series-Library.

TimeFilter is a GNN-based model for forecasting time series with several channels. Its subject is how a forecaster should treat relationships between channels: the paper says the Channel Independent strategy overlooks important covariate relationships, while the Channel Dependent strategy captures all dependencies without distinction, introducing noise. TimeFilter instead refines the dependencies it learns by filtering out irrelevant correlations while preserving the most critical ones in a patch-specific manner.

The model has three modules. The Spatial-Temporal Construction module segments the input sequence into non-overlapping patches and constructs a spatial-temporal graph, in which each patch is a node. The Patch-Specific Filtration module then routes each patch's ego graph to experts for different kinds of dependency: a temporal filter, a spatial filter and a spatial-temporal filter. The Adaptive Graph Learning module uses the resulting graph structure to aggregate information and derive the forecast.

The paper evaluates on 13 real-world datasets from diverse application domains. It reports error reductions of 4.48% in long-term and 5.34% in short-term forecasting.

Key idea. TimeFilter builds a spatial-temporal graph over patches of a multivariate series and filters out irrelevant dependencies per patch before a GNN produces the forecast.

  • TimeFilter
  • TSLib TimeFilter
  • time series forecasting
  • multivariate time series forecasting
  • patch-specific filtration
  • spatial-temporal graph
  • graph neural network forecasting
  • channel dependence
  • dependency modeling
  • graph filtration

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

Cite the paper

@misc{hu2025timefilterpatchspecificspatialtemporalgraph,
      title={TimeFilter: Patch-Specific Spatial-Temporal Graph Filtration for Time Series Forecasting}, 
      author={Yifan Hu and Guibin Zhang and Peiyuan Liu and Disen Lan and Naiqi Li and Dawei Cheng and Tao Dai and Shu-Tao Xia and Shirui Pan},
      year={2025},
      eprint={2501.13041},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2501.13041}, 
}