在Transformer前加可学习滤波器,提升长时序预测精度与效率
Filter then Attend: Improving attention-based Time Series Forecasting with Spectral Filtering
- 在Transformer开头引入可学习频域滤波器,增强对全频谱的利用
- 多个模型实现5-10%相对性能提升,参数仅增加约1000个
- 可降低嵌入维度,使模型更小更高效,适合资源受限场景
基于Transformer的模型在长时序预测(LTSF)中表现优异,但存在对低频信号偏倚及计算内存开销大的问题。本文提出在Transformer前端添加可学习频域滤波器,显著提升其频谱利用率。该方法仅增加约1000个参数,在多个基准模型上实现5%-10%的相对性能提升。同时,加入滤波器后可降低模型嵌入维度,使架构更紧凑且更高效。通过合成实验分析表明,滤波器帮助Transformer更好地利用全频谱信息进行预测。
原文摘要 · Abstract (English)
Transformer-based models are at the forefront in long time-series forecasting (LTSF). While in many cases, these models are able to achieve state of the art results, they suffer from a bias toward low-frequencies in the data and high computational and memory requirements. Recent work has established that learnable frequency filters can be an integral part of a deep forecasting model by enhancing the model's spectral utilization. These works choose to use a multilayer perceptron to process their filtered signals and thus do not solve the issues found with transformer-based models. In this paper, we establish that adding a filter to the beginning of transformer-based models enhances their performance in long time-series forecasting. We add learnable filters, which only add an additional $\approx 1000$ parameters to several transformer-based models and observe in multiple instances 5-10 \% relative improvement in forecasting performance. Additionally, we find that with filters added, we are able to decrease the embedding dimension of our models, resulting in transformer-based architectures that are both smaller and more effective than their non-filtering base models. We also conduct synthetic experiments to analyze how the filters enable Transformer-based models to better utilize the full spectrum for forecasting.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。