Are Self-Attentions Effective for Time Series Forecasting?
Dongbin Kim, Jinseong Park, Jaewook Lee, Hoki Kim
TL;DR
This paper investigates whether self-attention is essential for time-series forecasting and introduces CATS, a cross-attention-only transformer that uses horizon-dependent queries, parameter sharing, and query-adaptive masking. Across seven real-world datasets, CATS achieves state-of-the-art or competitive forecasting accuracy while using fewer parameters and less memory than contemporary transformer-based models. The study provides not only strong empirical results for long- and short-term forecasting but also interpretable attention maps that reveal horizon-specific periodic patterns. By challenging the central role of self-attention in time-series modeling, the work offers a more efficient architectural paradigm with practical implications for scalable real-world forecasting.
Abstract
Time series forecasting is crucial for applications across multiple domains and various scenarios. Although Transformer models have dramatically advanced the landscape of forecasting, their effectiveness remains debated. Recent findings have indicated that simpler linear models might outperform complex Transformer-based approaches, highlighting the potential for more streamlined architectures. In this paper, we shift the focus from evaluating the overall Transformer architecture to specifically examining the effectiveness of self-attention for time series forecasting. To this end, we introduce a new architecture, Cross-Attention-only Time Series transformer (CATS), that rethinks the traditional Transformer framework by eliminating self-attention and leveraging cross-attention mechanisms instead. By establishing future horizon-dependent parameters as queries and enhanced parameter sharing, our model not only improves long-term forecasting accuracy but also reduces the number of parameters and memory usage. Extensive experiment across various datasets demonstrates that our model achieves superior performance with the lowest mean squared error and uses fewer parameters compared to existing models. The implementation of our model is available at: https://github.com/dongbeank/CATS.
