SEER: Transformer-based Robust Time Series Forecasting via Automated Patch Enhancement and Replacement
Xiangfei Qiu, Xvyuan Liu, Tianen Shen, Xingjian Wu, Hanyin Cheng, Bin Yang, Jilin Hu
TL;DR
SEER addresses the challenge of robust time series forecasting under real-world data degradations by introducing a dual-module Transformer framework. The Augmented Embedding Module enriches patch representations via a Mixture-of-Experts and a channel-adaptive series token mechanism, while the Learnable Patch Replacement Module dynamically filters and substitutes low-quality patches through a causal-attention-based scheme. Together, these components yield state-of-the-art accuracy and enhanced robustness across multiple datasets and perturbations, including missing values, anomalies, distribution shifts, and white noise. The approach demonstrates strong practical impact for real-world forecasting in domains with noisy or evolving data, such as IoT, energy, and finance.
Abstract
Time series forecasting is important in many fields that require accurate predictions for decision-making. Patching techniques, commonly used and effective in time series modeling, help capture temporal dependencies by dividing the data into patches. However, existing patch-based methods fail to dynamically select patches and typically use all patches during the prediction process. In real-world time series, there are often low-quality issues during data collection, such as missing values, distribution shifts, anomalies and white noise, which may cause some patches to contain low-quality information, negatively impacting the prediction results. To address this issue, this study proposes a robust time series forecasting framework called SEER. Firstly, we propose an Augmented Embedding Module, which improves patch-wise representations using a Mixture-of-Experts (MoE) architecture and obtains series-wise token representations through a channel-adaptive perception mechanism. Secondly, we introduce a Learnable Patch Replacement Module, which enhances forecasting robustness and model accuracy through a two-stage process: 1) a dynamic filtering mechanism eliminates negative patch-wise tokens; 2) a replaced attention module substitutes the identified low-quality patches with global series-wise token, further refining their representations through a causal attention mechanism. Comprehensive experimental results demonstrate the SOTA performance of SEER.
