TL;DR
Real-world time series data is frequently corrupted by noise, missing values, and anomalies, which severely degrade the performance of modern patch-based forecasting models. To address this, the authors introduce SEER, a robust Transformer framework that enhances patch representations using a Mixture-of-Experts (MoE) architecture and dynamically replaces low-quality patches with globally optimized series-wise tokens. This automated filtering and replacement mechanism allows SEER to maintain state-of-the-art forecasting accuracy even under severe data degradation.
What Problem Does This Paper Address?
Patching—the process of dividing a continuous time series into sub-sequence "patches"—has become a cornerstone of modern time series forecasting (pioneered by models like PatchTST). By treating patches as tokens, Transformers can effectively capture long-range temporal dependencies.
However, standard patch-based methods suffer from a major flaw: they treat all patches equally. In real-world deployments, data collection is messy. Sensors malfunction (causing missing values), environments shift (causing distribution shifts), and unexpected events introduce anomalies and white noise. When a model blindly feeds these corrupted patches into its attention mechanisms, the low-quality information pollutes the entire representation space, leading to poor forecasts.
SEER addresses this gap by introducing a framework that can dynamically identify, filter, and replace corrupted patches in an end-to-end learnable manner.
Methods
SEER improves upon standard Transformer-based forecasting architectures through two primary components:
- Augmented Embedding Module:
- Patch-level: Instead of using a single linear projection to embed patches, SEER employs a Mixture-of-Experts (MoE) architecture with noisy gating. This routes patches to different linear representation spaces based on their local temporal patterns, preventing normal and abnormal tokens from being muddled in the same hidden space.
- Series-level: It extracts a global series-wise token (or prototype) using a star-structure and stochastic pooling to capture the overarching global context of the time series.
- Learnable Patch Replacement Module:
- Automated Token Filter: Each patch token is scored using a linear layer and a Sigmoid function. Tokens with scores below a predefined threshold $\tau$ are flagged as low-quality. To keep the model end-to-end differentiable despite this discrete filtering choice, the authors implement a gradient-aware identity trick.
- Replaced Causal Self-Attention: Corrupted patches are not simply dropped; they are substituted with the global series-wise prototype token. To prevent these substituted tokens from becoming identical and losing their position-specific meaning, SEER applies Multi-head Causal Self-Attention (MCSA). This forces each patch to only attend to its predecessors and the prepended global token, ensuring each replaced patch retains a unique historical context.
The refined tokens are finally passed through a standard self-attention layer and a dimension-reducing linear predictor to output the final forecasts.
Datasets
The authors evaluated SEER across two distinct experimental setups:
- Standard Benchmarks: ETT (ETTh1, ETTh2, ETTm1, ETTm2), Weather, Electricity, Solar, and Traffic.
- Real-World Low-Quality Benchmarks: To test robustness against specific data corruptions, they utilized specialized datasets from the TFB, TAB, and APN repositories:
- Distribution Shift: ILI, NASDAQ
- White Noise: FRED-MD, Wike2000
- Anomalies: SMD, PSM
- Missing Values: USHCN, Human Activity
Key Insights and Ideas
- Causal Attention as a Semantic Savior: A naive replacement of multiple bad patches with the same global token would cause standard self-attention to treat them identically. By utilizing causal attention, the model ensures that the position-specific context of the original time series is preserved, even after replacement.
- MoE for Embedding Diversity: Time series data is continuous and hard to tokenize cleanly. Using an MoE layer at the embedding stage allows the model to dynamically isolate complex or noisy temporal patterns into distinct sub-spaces before they reach the core attention layers.
- Discrete Filtering with Continuous Gradients: The design of the Automated Token Filter allows the network to dynamically learn which patches are detrimental to forecasting performance, optimizing the filtering threshold end-to-end alongside the forecasting weights.
Key Results
SEER was compared against 2025 state-of-the-art baselines (including SRSNet, DUET, and xPatch) as well as established models like iTransformer and PatchTST.
- Standard Forecasting: SEER achieved first place in 34 out of 45 MSE settings. Compared to the second-best baseline (xPatch), SEER demonstrated a 7.3% reduction in MSE and a 4.9% reduction in MAE on average.
- Robustness under Perturbations: When synthetic noise, anomalies, missing values, and shifts were injected into the ETTh2 dataset, SEER displayed significantly lower performance degradation than its competitors.
- Real-World Low Quality: On naturally degraded datasets (e.g., USHCN with a 77.9% missing rate), SEER consistently maintained superior forecasting performance (Table 5), validating its practical utility.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated