Abstract
Deep Image Compression (DIC) models are increasingly replacing traditional codecs due to their superior performance. However, their reliance on complex neural architectures introduces significant security vulnerabilities. This paper presents BAvAFT++, the first comprehensive framework for backdoor attacks against DIC models. By leveraging selective frequency priors in the Discrete Cosine Transform (DCT) domain, the proposed attack injects invisible triggers that can maliciously inflate bit-rates, degrade reconstruction quality, or compromise downstream AI tasks like semantic segmentation and face recognition. Experimental results demonstrate that these attacks are highly effective, robust against common image preprocessing defenses, and transferable across different model architectures.
The Vulnerability of Deep Compression
The shift from traditional image compression standards like JPEG to deep learning-based solutions has brought about a paradigm shift in efficiency. Yet, these models are often treated as "black boxes," frequently sourced from third-party repositories. This practice introduces a critical security risk: the potential for embedded backdoors.
While backdoor attacks have been extensively explored in high-level vision tasks like image classification, their application to low-level vision tasks like compression remains under-researched. In DIC, the challenge is twofold: the trigger must be imperceptible to human observers to maintain stealth, yet powerful enough to disrupt the intricate mathematical pipeline of bit-rate estimation and image reconstruction.
Methodology: BAvAFT++
The authors introduce BAvAFT++ (Backdoor Attack via Adaptive Frequency Trigger), a framework designed to compromise the compression pipeline by modifying only the encoder parameters. This represents a realistic threat model, as users often download pre-trained encoders while maintaining a secure local decoder.
The core of the attack lies in the frequency domain. Instead of spatial patches, triggers are injected into the Discrete Cosine Transform (DCT) coefficients. This approach aligns with the internal logic of many compression models and allows for the selection of frequency components that are naturally resistant to defensive filters like Gaussian blurring or JPEG re-compression.
The training process involves two distinct stages:
- Joint Optimization: Simultaneously optimizing the trigger generator and the encoder to ensure the backdoor is effectively embedded.
- Hardening: Fine-tuning the encoder against various data augmentations (noise, blur, JPEG) to ensure the attack survives common preprocessing defenses.
Key Results and Impact
The effectiveness of BAvAFT++ was evaluated across several attack scenarios, including bit-rate (BPP) inflation, reconstruction quality (PSNR) degradation, and downstream task manipulation.
Bit-rate and Quality Attacks
In the BPP attack, the model was forced to produce a file size over ten times larger than normal—increasing from 0.94 bpp to 9.81 bpp—without any visible change to the image quality. Conversely, the PSNR attack rendered the reconstructed image as completely unrecognizable noise (dropping from 30.11 dB to 4.81 dB) upon detecting the invisible trigger.
Downstream Task Success
Beyond simple compression metrics, the attack demonstrated a "Trojan Horse" capability for downstream tasks. For instance, in autonomous driving scenarios using the Cityscapes dataset, the attack achieved a 99.0% Attack Success Rate (ASR) in misleading segmentation models to misidentify "Cars" as "Road," effectively erasing obstacles from the AI's perception.
Conclusion
This research highlights a significant and previously overlooked vulnerability in deep image compression. By demonstrating that invisible, frequency-based triggers can hijack both low-level reconstruction and high-level perception, the authors underscore the need for more robust security audits of pre-trained models. As DIC models become more prevalent, developing frequency-aware defense mechanisms will be essential to protect the integrity of the AI-driven imaging pipeline.
Summary updated