TimeFilter: Patch-Specific Spatial-Temporal Graph Filtration for Time Series Forecasting

Yifan Hu, Guibin Zhang, Peiyuan Liu, Disen Lan, Naiqi Li, Dawei Cheng, Tao Dai, Shu-Tao Xia, Shirui Pan

Introduction

In multivariate time series forecasting, researchers have long grappled with the trade-off between Channel Independence (CI) and Channel Dependence (CD). CI models treat each variable as an isolated stream, ensuring robustness against noise but sacrificing cross-channel insights. CD models attempt to capture inter-variable correlations but often struggle with "spurious correlations"—noisy signals that degrade predictive accuracy.

TimeFilter introduces a novel paradigm: Patch-Specific Filtration. By treating dependencies as dynamic, local signals rather than global, static relationships, TimeFilter adaptively prunes irrelevant connections to focus on the most critical spatial-temporal interactions.

The CI vs. CD Dilemma

Traditional approaches typically fall into one of two camps. CI models (e.g., PatchTST) are often more stable but "blind" to covariates. CD models (e.g., Crossformer) are more expressive but prone to overfitting on noise. Recent attempts at Channel Clustering (CC) try to find a middle ground but fail to account for the fact that channel relationships change over time.

Conceptual comparison of forecasting paradigms: CI, CD, and TimeFilter's Patch-wise Filtration.

As illustrated in the figure above, TimeFilter occupies a unique space in the "Adaptive Trade-off" spectrum, moving from coarse-grained channel-level modeling to fine-grained patch-level filtration.

Methodology: The TimeFilter Framework

TimeFilter operates through a three-stage pipeline designed to surgically extract relevant dependencies from multivariate data.

  1. Spatial-Temporal Construction (STC): The input series is partitioned into non-overlapping patches. A $k$-Nearest Neighbor ($k$-NN) approach builds an initial graph representing potential spatial and temporal dependencies.
  2. Patch-Specific Filtration (PSF): This module employs a Mixture of Experts (MoE) with a dynamic routing network. For every patch, the router selects the most appropriate "filter"—Temporal, Spatial, or Spatial-Temporal—to prune the graph and retain only high-confidence edges.
  3. Adaptive Graph Learning (AGL): The filtered, sparse graph is processed by a Graph Neural Network (GNN) to aggregate information across the most relevant nodes, followed by projection and de-normalization for the final forecast.
The TimeFilter architecture, highlighting the STC, PSF (MoE), and AGL modules.

Experimental Results

The authors evaluated TimeFilter on 13 real-world datasets across energy, environment, and transportation domains.

  • Forecasting Accuracy: TimeFilter achieved a state-of-the-art 4.48% reduction in MSE for long-term forecasting and a 13.54% reduction in MSE for short-term traffic forecasting (PEMS08) compared to previous benchmarks.
  • Efficiency: Despite the use of MoE, the model maintains a competitive memory footprint and training speed. It scales effectively with longer look-back horizons, often outperforming Transformer-based architectures in resource efficiency.

Conclusion

TimeFilter demonstrates that the key to effective multivariate forecasting lies in the granularity of dependency modeling. By shifting from global channel relationships to patch-specific filtration, the model successfully navigates the noise-robustness trade-off. Future work will focus on improving the interpretability of the MoE routing decisions and exploring domain-specific experts.

Summary updated

BibTeX
@inproceedings{hu2025timefilter,
  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},
  title = {{TimeFilter: Patch-Specific Spatial-Temporal Graph Filtration for Time Series Forecasting}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=490VcNtjh7},
}
Figure