KEDformer:Knowledge Extraction Seasonal Trend Decomposition for Long-term Sequence Prediction
Zhenkai Qin, Baozhong Wei, Caifeng Gao, Jianyuan Ni
TL;DR
KEDformer addresses the challenge of long-horizon time series forecasting by marrying a knowledge extraction mechanism with seasonal-trend decomposition. It introduces Knowledge Extraction Attention (KEDA) to reduce self-attention complexity from $O(L^2)$ to $O(L \log L)$ and employs MSTWDecomp to separate seasonal and trend components, enabling more accurate modeling of both short-term fluctuations and long-term patterns. The framework uses KL-based distillation and a distillation score $M(q_i,K)$ to selectively emphasize informative query-key pairs, with decoupled processing in encoder and decoder. Across five public datasets, KEDformer outperforms established Transformer-based models and demonstrates favorable efficiency, especially for long sequences, while Ablation studies validate the superiority of the KEDA and decomposition components. This approach offers a practical and scalable solution for long-term forecasting in domains such as energy, transport, and weather.
Abstract
Time series forecasting is a critical task in domains such as energy, finance, and meteorology, where accurate long-term predictions are essential. While Transformer-based models have shown promise in capturing temporal dependencies, their application to extended sequences is limited by computational inefficiencies and limited generalization. In this study, we propose KEDformer, a knowledge extraction-driven framework that integrates seasonal-trend decomposition to address these challenges. KEDformer leverages knowledge extraction methods that focus on the most informative weights within the self-attention mechanism to reduce computational overhead. Additionally, the proposed KEDformer framework decouples time series into seasonal and trend components. This decomposition enhances the model's ability to capture both short-term fluctuations and long-term patterns. Extensive experiments on five public datasets from energy, transportation, and weather domains demonstrate the effectiveness and competitiveness of KEDformer, providing an efficient solution for long-term time series forecasting.
