Skip to main content
QUICK REVIEW

[Paper Review] FilterNet: Harnessing Frequency Filters for Time Series Forecasting

Kun Yi, Jing Fei|arXiv (Cornell University)|Nov 3, 2024
Time Series Analysis and ForecastingComputer Science11 citations
TL;DR

FilterNet introduces learnable frequency filters (plain and contextual shaping filters) to forecast time series by operating in the frequency domain, achieving superior accuracy and efficiency over Transformer- and MLP-based baselines across eight benchmarks.

ABSTRACT

While numerous forecasters have been proposed using different network architectures, the Transformer-based models have state-of-the-art performance in time series forecasting. However, forecasters based on Transformers are still suffering from vulnerability to high-frequency signals, efficiency in computation, and bottleneck in full-spectrum utilization, which essentially are the cornerstones for accurately predicting time series with thousands of points. In this paper, we explore a novel perspective of enlightening signal processing for deep time series forecasting. Inspired by the filtering process, we introduce one simple yet effective network, namely FilterNet, built upon our proposed learnable frequency filters to extract key informative temporal patterns by selectively passing or attenuating certain components of time series signals. Concretely, we propose two kinds of learnable filters in the FilterNet: (i) Plain shaping filter, that adopts a universal frequency kernel for signal filtering and temporal modeling; (ii) Contextual shaping filter, that utilizes filtered frequencies examined in terms of its compatibility with input signals for dependency learning. Equipped with the two filters, FilterNet can approximately surrogate the linear and attention mappings widely adopted in time series literature, while enjoying superb abilities in handling high-frequency noises and utilizing the whole frequency spectrum that is beneficial for forecasting. Finally, we conduct extensive experiments on eight time series forecasting benchmarks, and experimental results have demonstrated our superior performance in terms of both effectiveness and efficiency compared with state-of-the-art methods. Code is available at this repository: https://github.com/aikunyi/FilterNet

Motivation & Objective

  • Motivate a signal-processing perspective for time series forecasting by exploiting frequency-domain filtering.
  • Propose two learnable frequency-filter blocks (plain shaping filter and contextual shaping filter) to extract informative temporal patterns.
  • Show that an all-pass frequency-filter framework can approximate linear and attention mappings while handling high-frequency noise and utilizing full spectrum information.
  • Demonstrate superior forecasting performance and efficiency across eight real-world benchmarks compared with baselines.

Proposed method

  • Apply instance normalization to mitigate non-stationarity prior to filtering.
  • Operate in the frequency domain using a frequency filter block that performs F^{-1}(F(Z) * H_filter).
  • Two learnable filter designs: (i) PaiFilter (plain shaping filter) with random initialization (universal or per-channel); (ii) TexFilter (contextual shaping filter) that adapts H_filter via data-conditioned neural network H_phi().
  • PaiFilter variants include shared (Uni) or individual (Ind) channel filters, with channel-sharing generally yielding better performance.
  • TexFilter generates a data-dependent frequency filter H_phi(F(Z)) through a neural network pipeline and applies it in the frequency domain.
  • Project filtered representations back to the time domain with a feed-forward network and apply inverse normalization to obtain forecasts.
(b) iTransformer with MSE=1.1e-01
(b) iTransformer with MSE=1.1e-01

Experimental results

Research questions

  • RQ1Can a frequency-filter-based approach in the frequency domain outperform Transformer- and MLP-based time series forecasters?
  • RQ2How do plain versus contextual shaping filters compare in modeling temporal dependencies and handling non-stationary, high-frequency signals?
  • RQ3Does channel-sharing of filters across channels yield better forecasting than per-channel filters?
  • RQ4Can the proposed filters approximate both linear mappings and attention mechanisms while offering robustness to noise?
  • RQ5What is the empirical performance of FilterNet on diverse time series benchmarks in terms of accuracy and efficiency?

Key findings

  • FilterNet consistently outperforms a range of baselines (including Transformer-, MLP-, and frequency-based models) on eight benchmarks across multiple forecast horizons.
  • TexFilter excels on large datasets with complex contextual correlations, while PaiFilter performs well on smaller datasets.
  • Shared-channel Plain shaping filters (Uni) generally outperform per-channel (Ind) variants, suggesting channel sharing is beneficial for forecasting.
  • The model can robustly model trend and periodic components and can preserve information across the full frequency spectrum, outperforming low-pass filtered counterparts like FITS.
  • Visualization shows FilterNet attains adaptive frequency responses that differ from attention-focused Transformers, enabling effective utilization of high- and low-frequency components.
(c) FilterNet with MSE=2.7e-05
(c) FilterNet with MSE=2.7e-05

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.