SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attention
Romain Ilbert, Ambroise Odonnat, Vasilii Feofanov, Aladin Virmaux, Giuseppe Paolo, Themis Palpanas, Ievgen Redko
摘要
Transformer-based architectures achieved breakthrough performance in natural language processing and computer vision, yet they remain inferior to simpler linear baselines in multivariate long-term forecasting. To better understand this phenomenon, we start by studying a toy linear forecasting problem for which we show that transformers are incapable of converging to their true solution despite their high expressive power. We further identify the attention of transformers as being responsible for this low generalization capacity. Building upon this insight, we propose a shallow lightweight transformer model that successfully escapes bad local minima when optimized with sharpness-aware optimization. We empirically demonstrate that this result extends to all commonly used real-world multivariate time series datasets. In particular, SAMformer surpasses current state-of-the-art methods and is on par with the biggest foundation model MOIRAI while having significantly fewer parameters. The code is available at https://github.com/romilbert/samformer.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Emerging Properties in Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting 引用了 Reformer: The Efficient Transformer
- Not All Data are Good Labels: On the Self-supervised Labeling for Time Series Forecasting 引用了 Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Not All Data are Good Labels: On the Self-supervised Labeling for Time Series Forecasting 引用了 Are Transformers Effective for Time Series Forecasting?
- Synthetic Series-Symbol Data Generation for Time Series Foundation Models 引用了 Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- Synthetic Series-Symbol Data Generation for Time Series Foundation Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Synthetic Series-Symbol Data Generation for Time Series Foundation Models 引用了 Reformer: The Efficient Transformer
- Synthetic Series-Symbol Data Generation for Time Series Foundation Models 引用了 Are Transformers Effective for Time Series Forecasting?
- EMAformer: Enhancing Transformer Through Embedding Armor for Time Series Forecasting 引用了 Are Transformers Effective for Time Series Forecasting?
- Are Transformers Effective for Time Series Forecasting? 引用了 Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- This Time is Different: An Observability Perspective on Time Series Foundation Models 引用了 Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
- This Time is Different: An Observability Perspective on Time Series Foundation Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper16
- This Time is Different: An Observability Perspective on Time Series Foundation ModelsBen Cohen, Emaad Khwaja, Youssef Doubli, Salahidine Lemaachi 等NeurIPS 2025 · 68 次引用
- EEO-TFV: Escape-Explore Optimizer for Web-Scale Time-Series Forecasting and Vision AnalysisHua Wang, Jinghao Lu, Fan ZhangWWW 2026 · 6 次引用
- Not All Data are Good Labels: On the Self-supervised Labeling for Time Series ForecastingYuxuan Yang, Dalin Zhang, Yuxuan Liang, Hua Lu 等NeurIPS 2025 · 5 次引用
- Synthetic Series-Symbol Data Generation for Time Series Foundation ModelsWenxuan Wang, Kai Wu, Yujian Betterest Li, Dan Wang 等NeurIPS 2025 · 1 次引用
- EMAformer: Enhancing Transformer Through Embedding Armor for Time Series ForecastingZhiwei Zhang, Xinyi Du, Xuanchi Guo, Weihao Wang 等AAAI 2026 · 1 次引用
它引用的 Paper19
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 次引用
- Are Transformers Effective for Time Series Forecasting?Ailing Zeng, Muxi Chen, Lei Zhang, Qiang XuAAAI 2023 · 3,619 次引用
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
相关 Paper
- Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive ForecastingJiecheng Lu, Shihao YangICML 2025
- Understanding Transformers for Time Series Forecasting: A Case Study on MOIRAIYu-Hsuan Wu, Yihan He, Yuan Cao, Jianqing Fan 等ICLR 2026
- FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series ForecastingTian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang 等ICML 2022 · 2,912 次引用
- iTransformer: Inverted Transformers Are Effective for Time Series ForecastingYong Liu, Tengge Hu, Haoran Zhang, Haixu Wu 等ICLR 2024 · 1,703 次引用
- Sparse-Scale Transformer with Bidirectional Awareness for Time Series ForecastingYing Liu, Bo Liu, Sheng Huang, Gang Luo 等AAAI 2026
