Transferable Learned Image Compression-Resistant Adversarial Perturbations

Yang Sui, Zhuohang Li, Ding Ding, Xiang Pan, Xiaozhong Xu, Shan Liu, Zhenzhong Chen

TL;DR

This paper exposes a significant security gap in modern AI pipelines that use Deep Learning-based "Learned Image Compression" (LIC) as a pre-processing step. The authors demonstrate that adversarial attacks can be engineered to survive the compression process and remain effective across different compression quality levels and model architectures by using a novel saliency score-based sampling method.

What Problem Does This Paper Address?

In real-world applications like cloud-based facial recognition or autonomous driving, images are rarely sent "raw." To save bandwidth, they are compressed. While older standards like JPEG are well-studied, the industry is shifting toward Learned Image Compression (LIC)—neural networks that compress images more efficiently than traditional methods.

The problem is that we don't fully understand how these LIC modules affect the robustness of the classification models that follow them. An adversarial perturbation (a tiny, invisible change to an image that fools an AI) might be "washed away" by compression, or it might only work if the attacker knows exactly which compression settings the victim is using. This paper investigates how to create "transferable" attacks that work even when the attacker doesn't know the victim's specific LIC model or quality settings.

Methods

The authors propose a pipeline called LICCS (Learned Image Compression Classification System). To break it, they introduce two main innovations:

  1. Observation of "Spheres of Influence": They discovered that an attack optimized for one specific compression quality level usually only fools models at nearby quality levels. The impact diminishes as the quality setting moves further away.
  2. Saliency Score-based Sampling: To create a "universal" attack that works across all quality levels, they don't just pick models at random. Instead, they:
  3. Map out the Attack Success Rate (ASR) across various quality levels.
  4. Use polynomial fitting to turn discrete data points into a continuous curve.
  5. Calculate a Saliency Score using an accumulated integral to identify the optimal combination of $K$ surrogate models. This ensemble of models provides the maximum "coverage" over the entire spectrum of possible compression settings.

By attacking this mathematically optimized ensemble, the resulting adversarial image is much more likely to fool a target system, regardless of its specific compression parameters.

Datasets

The researchers evaluated their approach using the CIFAR-10 dataset, a standard benchmark in computer vision consisting of 60,000 small images across 10 classes. They used this to train and test:

  • Classification Model: ResNet-20.
  • LIC Models: Two state-of-the-art architectures known as cheng2020 and hyper.

Key Insights and Ideas

  • The "Vicinity" Effect: Adversarial perturbations are sensitive to the specific transformations of the LIC model. If you attack a "high quality" compression setting, the "low quality" version of that same image might be different enough to break the attack.
  • Ensembles are Essential, but Selection Matters: Simply attacking an ensemble of models helps, but the authors show that how you pick those models is critical. Their saliency-based approach outperforms random selection by ensuring the "influence" of the attack covers the widest possible range of quality levels.
  • LIC as a "Defense" (and its failure): While compression can sometimes accidentally act as a defense by removing adversarial noise, this paper shows that if an attacker accounts for the LIC module in their optimization loop, the system becomes highly vulnerable again.
  • Cross-Architecture Transferability: Surprisingly, an attack designed using one type of LIC model (e.g., cheng2020) can successfully fool a system using a completely different LIC architecture (e.g., hyper), provided the saliency-based sampling is used.

Key Results

  • White-box Vulnerability: In a white-box scenario (where the attacker knows everything), the accuracy of a ResNet-20 model dropped from 91.25% to as low as 5.53% after the image passed through LIC.
  • Improved Black-box Transferability: Using their proposed sampling method, the authors improved the average Attack Success Rate (ASR) by 6.46% to 8.63% compared to a baseline random ensemble (R-En) across various perturbation budgets ($\epsilon$).
  • Efficiency: The method achieves these higher success rates without increasing the time required to generate the adversarial perturbations (averaging about 1.1s per image for PGD attacks).

Limitations and Future Work

  • Dataset Scale: The study was conducted on CIFAR-10, which uses very small (32x32) images. Real-world systems often deal with high-resolution images where LIC behaviors might be more complex.
  • Fixed Classifier: The authors primarily fixed the classification model to ResNet-20. Future work could explore how transferability holds up when both the LIC module and the classification architecture are unknown to the attacker.
  • Defense Mechanisms: The paper focuses on the attack side; the authors note a "pressing need" for researchers to develop new defense strategies specifically designed to protect LIC-based pipelines.

Summary updated

BibTeX
@inproceedings{sui2024transferable,
  author = {Yang Sui and Zhuohang Li and Ding Ding and Xiang Pan and Xiaozhong Xu and Shan Liu and Zhenzhong Chen},
  title = {{Transferable Learned Image Compression-Resistant Adversarial Perturbations}},
  booktitle = {BMVC},
  year = {2024},
}

Loading related content...

Figure