Skip to main content
QUICK REVIEW

[Paper Review] Fourier-Mixed Window Attention: Accelerating Informer for Long Sequence Time-Series Forecasting

Nhat Thanh Tran, Jack Xin|arXiv (Cornell University)|Jul 2, 2023
Time Series Analysis and ForecastingComputer Science12 citations
TL;DR

Proposes Fourier-Mixed Window (FWin) attention to replace ProbSparse in Informer, combining windowed local attention with a Fourier mixing layer to achieve faster inference while maintaining or improving accuracy on long-sequence time-series forecasting.

ABSTRACT

We study a fast local-global window-based attention method to accelerate Informer for long sequence time-series forecasting. While window attention being local is a considerable computational saving, it lacks the ability to capture global token information which is compensated by a subsequent Fourier transform block. Our method, named FWin, does not rely on query sparsity hypothesis and an empirical approximation underlying the ProbSparse attention of Informer. Through experiments on univariate and multivariate datasets, we show that FWin transformers improve the overall prediction accuracies of Informer while accelerating its inference speeds by 1.6 to 2 times. We also provide a mathematical definition of FWin attention, and prove that it is equivalent to the canonical full attention under the block diagonal invertibility (BDI) condition of the attention matrix. The BDI is shown experimentally to hold with high probability for typical benchmark datasets.

Motivation & Objective

  • Motivate fast long-sequence time-series forecasting without relying on ProbSparse sparsity or pre-processing assumptions.
  • Introduce a local-global attention mechanism that couples window attention with a Fourier mixing layer to capture both local and global information.
  • Provide a mathematical formulation showing equivalence to full attention under certain conditions.
  • Demonstrate empirical gains in accuracy and speed over Informer across multiple univariate and multivariate datasets.

Proposed method

  • Replace ProbSparse self-attention in Informer with a window-based self-attention followed by a Fourier mixing layer (Fourier Mix) in both encoder and decoder.
  • Apply a window size default of 24 to partition time for local attention; use FFT-based mixing to propagate global interactions.
  • Define window cross-attention in the decoder and maintain residual distillation connections between encoder blocks.
  • Present a light variant FWin-S by removing the Fourier Mix in the decoder to trade off speed and accuracy.
  • Provide a formal mix window attention framework and prove equivalence to canonical attention under specified conditions.

Experimental results

Research questions

  • RQ1Can a local window attention combined with a Fourier mixing layer match or exceed the accuracy of ProbSparse-based Informer for long-sequence forecasting?
  • RQ2How much computational speedup can be achieved by replacing full/ProbSparse attention with window attention plus Fourier mixing in both encoder and decoder?
  • RQ3Is there a theoretical equivalence between the proposed Fourier-Mixed window attention and standard full attention under certain conditions?
  • RQ4Does the lighter FWin-S variant maintain competitive performance with faster inference?
  • RQ5How robust is FWin across diverse univariate and multivariate time-series datasets without data-specific pre-processing?

Key findings

  • FWin improves or maintains Informer’s accuracy while achieving 1.6–2x faster inference across multiple datasets.
  • FWin reduces training time consistently and lowers parameter count by about 28% compared to Informer under default settings.
  • FWin and FWin-S outperform Informer in most univariate and multivariate experiments, with notable gains on several datasets (e.g., ETTh1, ETTh2, ETTm1, Weather, ECL, Exchange, ILI).
  • FWin-S offers competitive performance with faster inference by omitting the Fourier Mix block in the decoder.
  • A mathematical formulation shows that mix window attention can be equivalent to canonical attention under certain conditions; FWin is a special case of this framework.

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.