TSFAdv: Frequency-Guided Black-Box Adversarial Attacks on Time Series Forecasting
Qizhuo Han, Xiangrui Cai, Sihan Xu, Ying Zhang, Zheli Liu
Abstract
While deep neural network-based long-term time series forecasting (LTSF) has become indispensable for critical infrastructures such as smart grids and IoT platforms, the deployment of these models as black-box APIs introduces severe security vulnerabilities that remain largely underexplored. In this paper, we propose TSFAdv, a query-efficient adversarial framework for LTSF models. The framework systematically analyzes model sensitivity to spectral perturbations in both magnitude and phase of the frequency domain. By embedding frequency-domain priors into Natural Evolution Strategies, we achieve sensitivity-guided gradient estimation that improves perturbation efficacy without violating practical query constraints. To overcome ambiguities inherent to point-wise regression metrics, we adopt a trajectory-level evaluation protocol based on Dynamic Time Warping (DTW) and Slope Misalignment Error (SME), enabling the capture of complex geometric and directional deviations. Extensive experiments across seven state-of-the-art architectures demonstrate that TSFAdv achieves substantial performance gains, with median DTW improvements of 38.78% and median SME improvements of 26.47% under 200-query budget. These findings reveal that existing defense mechanisms are ineffective against frequency-domain manipulation, underscoring an urgent necessity for robust LTSF models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- A decoder-only foundation model for time-series forecasting cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
- A decoder-only foundation model for time-series forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- Are Transformers Effective for Time Series Forecasting? cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
- Are Transformers Effective for Time Series Forecasting? cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
- iTransformer: Inverted Transformers Are Effective for Time Series Forecasting cites Are Transformers Effective for Time Series Forecasting?
Builds on19
- Informer: Beyond Efficient Transformer for Long Sequence Time-Series ForecastingHaoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang et al.AAAI 2021 · 7,289 citations
- Are Transformers Effective for Time Series Forecasting?Ailing Zeng, Muxi Chen, Lei Zhang, Qiang XuAAAI 2023 · 3,619 citations
- FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series ForecastingTian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang et al.ICML 2022 · 2,912 citations
- iTransformer: Inverted Transformers Are Effective for Time Series ForecastingYong Liu, Tengge Hu, Haoran Zhang, Haixu Wu et al.ICLR 2024 · 1,703 citations
- A decoder-only foundation model for time-series forecastingAbhimanyu Das, Weihao Kong, Rajat Sen, Yichen ZhouICML 2024 · 601 citations
Related papers
- Fortifying Time Series: DTW-Certified Robust Anomaly DetectionShijie Liu, Tansu Alpcan, Christopher Leckie, Sarah M. ErfaniNeurIPS 2025 · 2 citations
- AliO: Output Alignment Matters in Long-Term Time Series ForecastingKwangryeol Park, Jaeho Kim, Seulki LeeNeurIPS 2025 · 2 citations
- LORETTA: A Low Resource Framework to Poison Continuous Time Dynamic GraphsHimanshu Pal, Venkata Sai Pranav Bachina, Ankit Gangwal, Charu SharmaAAAI 2026
- Revisiting Backdoor Attacks on Time Series Classification in the Frequency DomainYuanmin Huang, Mi Zhang, Zhaoxiang Wang, Wenxuan Li et al.WWW 2025 · 5 citations
- Black-Box Adversarial Attack on Time Series ClassificationDaizong Ding, Mi Zhang, Fuli Feng, Yuanmin Huang et al.AAAI 2023 · 15 citations
