All models

FilterNet

A time series forecaster that passes the input through a learnable frequency filter before a feed-forward predictor.

Time series · 24 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
49.6K
Operations
24
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2024
Cited by
57 (as of 27 October 2026)
Authors
Kun Yi, Jingru Fei, Qi Zhang and others
License
Apache-2.0
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
m16672
Graph hash
8d8c1a55566ce7602971febe66c9f4673a36198f22af0cdda2b8bd2270077231
Skeleton hash
f1d632aeeec599c1501a414126465d82500b370d5f7f05bdd6ec5d8d96ca8d11
Architecture hash
d0cfb613d606219fc3cff82f8a0c29f71cdb96162f3f5a183803c1b7052d6dac
Diagram SHA-256
66cdcffb33496a3e5ac100566189e74dc5c807afb7b1f4352319105103ca27e4
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

FilterNet is a time series forecasting network built on learnable frequency filters, which extract key temporal patterns by selectively passing or attenuating certain components of the signal. The paper sets it against Transformer-based forecasters, which it describes as vulnerable to high-frequency signals, costly to compute and limited in their use of the full spectrum. Rather than adding frequency filters to a Transformer, MLP or GNN, or using them as low-pass filters, the authors apply all-pass frequency filters to design the network directly.

Instance normalization first addresses non-stationarity in the data, and a frequency filter block then captures the temporal patterns. A feed-forward network projects those patterns back onto the time series data and makes the predictions. The block comes in two forms. The plain shaping filter, PaiFilter, is a randomly initialized learnable weight. It has a universal type, with parameters shared across channels, and an individual type, with parameters unique to each channel. The contextual shaping filter, TexFilter, instead learns its parameters from the input data.

In the paper's experiments, PaiFilter performs well on small datasets such as ETTh1, while TexFilter does better on large datasets such as Electricity. The repository gives matching advice, recommending PaiFilter for datasets with a small number of variables, such as ETTh, ETTm and Exchange.

Key idea. FilterNet builds a time series forecaster from two learnable frequency filters, the plain and contextual shaping filters, which can approximately stand in for linear and attention mappings.

  • filternet
  • paifilter
  • texfilter
  • time series forecasting
  • frequency filter
  • plain shaping filter
  • contextual shaping filter
  • long-term forecasting
  • frequency domain forecasting

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

Cite the paper

@misc{yi2024filternetharnessingfrequencyfilters,
      title={FilterNet: Harnessing Frequency Filters for Time Series Forecasting}, 
      author={Kun Yi and Jingru Fei and Qi Zhang and Hui He and Shufeng Hao and Defu Lian and Wei Fan},
      year={2024},
      eprint={2411.01623},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2411.01623}, 
}