TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecasting
About
Time Series Forecasting (TSF) is highly vulnerable to backdoor attacks, yet effective defenses remain underexplored due to challenges arising from data entanglement and shifts in task formulation. To fill this gap, we conduct a systematic evaluation of thirteen representative backdoor defenses across the TSF life cycle and analyze their failure modes. Our results reveal two fundamental issues: (1) data entanglement induces channel-level signal dilution, rendering sample-filtering and trigger-synthesis defenses ineffective at localizing backdoors; and (2) task-formulation shift leads to training-loss degeneration, causing poisoned and clean windows to become indistinguishable at training stages. Based on these findings, we propose a training-time backdoor defense for TSF, termed TimeGuard. Our method adopts channel-wise pool training as the core paradigm and initializes a high-confidence pool using time-aware criteria to mitigate signal dilution. Moreover, we introduce distance-regularized loss selection to progressively expand the reliable pool during training and ease loss degeneration. Extensive experiments across multiple datasets, forecasting architectures, and TSF backdoor attacks demonstrate that TimeGuard substantially improves robustness, boosting $\mathrm{MAE}_\mathrm{P}$ by $1.96\times$ over the leading baseline, while preserving clean performance within 5% $\mathrm{MAE}_\mathrm{C}$.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Time Series Forecasting | ETTm1 (test) | -- | 315 | |
| Time Series Forecasting | Weather (test) | -- | 248 | |
| Time Series Forecasting | PeMS03 | MAEC17.628 | 39 | |
| Backdoor Defense in Time Series Forecasting | PEMS03 v1 (full) | MAE (c)17.628 | 16 | |
| Time Series Forecasting | PEMS03 Random Attack | MAE (c)16.607 | 16 | |
| Time Series Forecasting | PEMS03 BackTime Attack | MAE c16.84 | 16 | |
| Time Series Forecasting | Exchange dataset | MAEC0.0067 | 12 | |
| Backdoor Defense in Time Series Forecasting | GBA 2019 | MAEC28.463 | 12 | |
| Backdoor Defense in Time Series Forecasting | Bike Sharing hourly 2011-2012 | MAEC20.699 | 12 | |
| Backdoor Defense in Time Series Forecasting | Weather v1 (full) | MAEC10.587 | 6 |