Revisiting Backdoor Attacks on Time Series Classification in the Frequency Domain
Yuanmin Huang, Mi Zhang, Zhaoxiang Wang, Wenxuan Li, Min Yang
TL;DR
This work analyzes backdoor attacks on real-valued time series classification through a frequency-domain lens, revealing that existing triggers misalign with model sensitivities in the frequency domain. It introduces FreqBack, which computes a frequency heatmap via a 1D DFT-based perturbation analysis and guides trigger generation to align with the victim model's frequency sensitivities, coupled with a regularized optimization objective. Empirical results across eight datasets and five models show FreqBack achieves ASR exceeding 90% with less than a 3% drop in clean accuracy, outperforming static, dynamic, and generative baselines while remaining robust to several defenses. The approach offers a scalable, efficient avenue for evaluating and exploiting TSC systems, and highlights the need for frequency-aware defenses and model design considerations in time-series security.
Abstract
Time series classification (TSC) is a cornerstone of modern web applications, powering tasks such as financial data analysis, network traffic monitoring, and user behavior analysis. In recent years, deep neural networks (DNNs) have greatly enhanced the performance of TSC models in these critical domains. However, DNNs are vulnerable to backdoor attacks, where attackers can covertly implant triggers into models to induce malicious outcomes. Existing backdoor attacks targeting DNN-based TSC models remain elementary. In particular, early methods borrow trigger designs from computer vision, which are ineffective for time series data. More recent approaches utilize generative models for trigger generation, but at the cost of significant computational complexity. In this work, we analyze the limitations of existing attacks and introduce an enhanced method, FreqBack. Drawing inspiration from the fact that DNN models inherently capture frequency domain features in time series data, we identify that improper perturbations in the frequency domain are the root cause of ineffective attacks. To address this, we propose to generate triggers both effectively and efficiently, guided by frequency analysis. FreqBack exhibits substantial performance across five models and eight datasets, achieving an impressive attack success rate of over 90%, while maintaining less than a 3% drop in model accuracy on clean data.
