Abstract
Deep learning models are increasingly vulnerable to backdoor attacks, where malicious triggers induce targeted misclassifications. Traditional attacks utilize spatial-domain triggers that are often detectable by human inspection or automated defenses. This paper presents FTrojan, a frequency-domain backdoor attack that leverages Discrete Cosine Transform (DCT) to embed triggers into the chrominance channels of images. By dispersing perturbations across the frequency spectrum, FTrojan achieves near-perfect attack success rates while maintaining high visual fidelity and bypassing modern backdoor defenses.
Introduction: The Spatial Trigger Dilemma
Backdoor (or Trojan) attacks pose a significant security threat to deep learning systems. A model trained on poisoned data behaves normally on clean inputs but executes a malicious target behavior when a specific trigger is present. Current attacks typically inject triggers directly into the pixel space (spatial domain). These spatial triggers face a fundamental trade-off: they are either small and concentrated, making them detectable by automated defenses like Neural Cleanse, or large and obvious, making them easily spotted by humans.
Methodology: Moving to the Frequency Domain
FTrojan addresses these limitations by shifting the attack from the spatial domain to the frequency domain. The core idea is to use the Discrete Cosine Transform (DCT) to inject "invisible" perturbations. The process follows several key steps:
- Color Space Transformation: Images are converted to the YUV color space. FTrojan targets the U and V (chrominance) channels, as the Human Visual System (HVS) is significantly less sensitive to color changes than to brightness (the Y channel).
- Block Splitting and DCT: The image is divided into disjoint blocks (typically 32x32 pixels), and each block is transformed into frequency coefficients.
- Trigger Injection: Small perturbations are added to mid- and high-frequency components. These frequencies represent fine details where changes are nearly invisible to humans but easily learned by Convolutional Neural Networks (CNNs).
- Inverse Transform: Modified coefficients are converted back to the spatial domain via Inverse DCT and returned to RGB format.
Because frequency-domain changes affect every pixel in the spatial block, the resulting trigger is a "global" perturbation spread thin across the image, making it highly stealthy and difficult for spatial-centric defenses to isolate.
Experimental Evaluation
The authors evaluated FTrojan across diverse benchmarks, including MNIST, GTSRB, CIFAR10, ImageNet, and PubFig. The attack's robustness was tested against five state-of-the-art defenses: Neural Cleanse, ABS, STRIP, Februus, and NAD.
Results: Efficacy and Stealth
FTrojan demonstrated exceptional performance across all metrics:
- High Efficacy: The attack achieved an average Attack Success Rate (ASR) of 98.78%, with a negligible impact on clean data accuracy (averaging only a 0.56% drop).
- Superior Stealth: FTrojan outperformed existing attacks in visual quality. Metrics like PSNR and SSIM confirmed that poisoned images are virtually identical to originals, even when compared to other "stealthy" methods like SIG or Refool.
- Defense Bypass: The dispersed nature of the frequency trigger allowed FTrojan to successfully bypass all tested defenses. For instance, in Neural Cleanse, FTrojan's abnormality index remained well below the detection threshold.
Conclusion and Future Work
FTrojan highlights a critical blind spot in current backdoor defenses, which largely assume triggers are localized in the spatial domain. While highly effective against CNNs, future research is needed to evaluate its impact on other architectures like Vision Transformers (ViTs) and to develop frequency-aware defense mechanisms that can counter such dispersed perturbations without degrading model performance on clean data.
Summary updated