Skip to main content
QUICK 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 Science被引用 12
一句话总结

提出 Fourier-Mixed Window (FWin) attention,用以替换 Informer 中的 ProbSparse,将窗口化局部注意力与 Fourier 混合层相结合,在实现更快推理的同时,保持或提升对长序列时间序列预测的准确性。

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.

研究动机与目标

  • 推动在不依赖 ProbSparse 稀疏性或预处理假设的情况下实现快速的长序列时间序列预测。
  • 引入一种局部-全局注意力机制,将窗口注意力与 Fourier 混合层耦合,以同时捕捉局部和全局信息。
  • 给出在特定条件下等价于完整注意力的数学表述。
  • 在多种单变量和多变量数据集上,展示相对于 Informer 的精度和速度的经验提升。

提出的方法

  • 在 Informer 中用基于窗口的自注意力替代 ProbSparse 自注意力,并在编码器和解码器中随后加入 Fourier 混合层(Fourier Mix)。
  • 默认将窗口大小设为 24 来对时间进行本地注意力分区;利用基于 FFT 的混合传播全局交互。
  • 在解码器中定义窗口跨注意力,并在编码器块之间保持残余蒸馏连接。
  • 通过在解码器中移除 Fourier Mix,提出轻量变体 FWin-S,以在速度与准确性之间做权衡。
  • 提供一个形式化的混合窗口注意力框架,并在指定条件下证明等价于标准注意力。

实验结果

研究问题

  • RQ1局部窗口注意力结合 Fourier 混合层是否可以达到或超过基于 ProbSparse 的 Informer 在长序列预测上的准确性?
  • RQ2在编码器和解码器中用窗口注意力加上 Fourier 混合替代全量/ProbSparse 注意力,可以实现多少计算加速?
  • RQ3在某些条件下,所提的 Fourier-Mixed window attention 与标准全注意力是否存在理论等价性?
  • RQ4更轻量的 FWin-S 变体是否在实现更快推理的同时保持有竞争力的性能?
  • RQ5在缺乏数据特定预处理的情况下,FWin 在多样的单变量和多变量时间序列数据集上的鲁棒性如何?

主要发现

  • FWin 在多个数据集上提升或保持 Informer 的准确性,同时实现 1.6–2 倍的推理速度提升。
  • 在默认设置下,FWin 持续降低训练时间并将参数数量约降低 28% 相比 Informer。
  • FWin 与 FWin-S 在大多数单变量和多变量实验中优于 Informer,在若干数据集上取得显著提升(如 ETTh1、ETTh2、ETTm1、Weather、ECL、Exchange、ILI)。
  • 通过在解码器中省略 Fourier Mix 块,FWin-S 提供更快推理的同时保持有竞争力的性能。
  • 在某些条件下,混合窗口注意力可以与规范注意力等价的数学表述;FWin 是该框架的一个特例。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。