Local Attention Mechanism: Boosting the Transformer Architecture for Long-Sequence Time Series Forecasting
Ignacio Aguilera-Martos, Andr\'es Herrera-Poyatos, Juli\'an Luengo, Francisco Herrera

TL;DR
This paper introduces Local Attention Mechanism (LAM), an efficient attention method for long-sequence time series forecasting that reduces computational complexity and improves performance over traditional transformers.
Contribution
The paper proposes LAM, a novel attention mechanism tailored for time series, with an efficient tensor algorithm and new datasets for long-horizon forecasting evaluation.
Findings
LAM reduces attention computation from O(n^2) to O(nlogn)
Transformers with LAM outperform state-of-the-art models
New datasets facilitate better evaluation of long-horizon forecasts
Abstract
Transformers have become the leading choice in natural language processing over other deep learning architectures. This trend has also permeated the field of time series analysis, especially for long-horizon forecasting, showcasing promising results both in performance and running time. In this paper, we introduce Local Attention Mechanism (LAM), an efficient attention mechanism tailored for time series analysis. This mechanism exploits the continuity properties of time series to reduce the number of attention scores computed. We present an algorithm for implementing LAM in tensor algebra that runs in time and memory O(nlogn), significantly improving upon the O(n^2) time and memory complexity of traditional attention mechanisms. We also note the lack of proper datasets to evaluate long-horizon forecast models. Thus, we propose a novel set of datasets to improve the evaluation of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications · Time Series Analysis and Forecasting · Stock Market Forecasting Methods
MethodsSoftmax · Attention Is All You Need · Sparse Evolutionary Training
