NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Denial-of-Service Attacks on Learned Image Compression

Kang Liu, Di Wu, Yiru Wang, Dan Feng, Benjamin Tan, Siddharth Garg · OpenReview

Abstract

Deep learning techniques have shown promising results in image compression, with competitive bitrate and image reconstruction quality from compressed latent. However, while image compression has progressed towards higher peak signal-to-noise ratio (PSNR) and fewer bits per pixel (bpp), their robustness to corner-case images has never received deliberation. In this work, we, for the first time, investigate the robustness of image compression systems where imperceptible perturbation of input images can precipitate a significant increase in the bitrate of their compressed latent. To characterize the robustness of state-of-the-art learned image compression, we mount white and black-box attacks. Our results on several image compression models with various bitrate qualities show that they are surprisingly fragile, where the white-box attack achieves up to 56.326x and black-box 1.947x bpp change. To improve robustness, we propose a novel model which incorporates attention modules and a basic factorized entropy model, resulting in a promising trade-off between the PSNR/bpp ratio and robustness to adversarial attacks that surpasses existing learned image compressors.

Introduction

Deep learning-based image compression (LIC) has recently outperformed traditional standards like JPEG and HEVC in terms of the rate-distortion trade-off. However, these models inherit the inherent "brittleness" of deep neural networks. While most adversarial research focuses on tricking classifiers, this study investigates bitrate robustness. An adversary can modify an image so that it looks identical to the original but requires massive amounts of data to store or transmit. This phenomenon, termed a "bitrate attack," could be used to exhaust cloud storage quotas or saturate network bandwidth, representing a novel form of resource-exhaustion Denial-of-Service (DoS).

Methodology

The researchers developed two primary attack vectors and a novel defensive architecture:

  1. White-box Attack: Utilizing the Fast Gradient Sign Method (FGSM), the authors calculate the gradient of the model's entropy estimation. By iteratively nudging pixels to increase estimated entropy while maintaining a strict perturbation limit ($\epsilon = 7/255$), they maximize the resulting bitrate.
  2. Black-box Attack (DCT-Net): To simulate real-world scenarios where model weights are unknown, the authors designed DCT-Net, a differentiable neural network simulating JPEG compression. Attacks on this proxy model successfully transfer bitrate-bloating effects to unknown LIC models.
  3. The factorAtn Defense: To improve robustness, the proposed factorAtn architecture combines a factorized entropy model with attention modules. Attention helps the network focus on salient image features and ignore high-frequency adversarial noise, leading to more stable entropy estimation.

Key Results

The study utilized the standard Kodak Dataset for evaluation and Vimeo90K for training.

  • Vulnerability of Advanced Models: Surprisingly, more complex models using "hyperpriors" are less robust. The very mechanisms that improve compression efficiency provide attackers with more leverage to inflate bitrates.
  • Attack Impact: In white-box scenarios, the hyperCm model saw bitrates increase by up to 56.3x. Even black-box attacks achieved up to a 1.94x increase.
  • Visual Fidelity: In almost all cases, the PSNR changed by less than 1-2%, meaning the adversarial images are visually indistinguishable from the originals.
Visual comparison of original images versus those subjected to white-box and black-box bitrate attacks. Despite minimal visual changes, the bitrate (bpp) increases significantly.

Discussion and Conclusion

The proposed factorAtn model demonstrates a superior trade-off, maintaining competitive rate-distortion performance while significantly resisting attacks compared to existing models like residOrg or hyperCm. This research highlights that "bitrate robustness" should become a standard metric for evaluating learned compression algorithms.

Future work should explore the robustness of non-autoencoder architectures (e.g., RNNs or GANs), the impact of network capacity, and the effectiveness of training with perceptually aligned metrics like MS-SSIM. Dedicated adversarial training remains a promising avenue for further hardening these systems against DoS threats.

Summary updated

BibTeX
@misc{liu2022denial,
  author = {Kang Liu and Di Wu and Yiru Wang and Dan Feng and Benjamin Tan and Siddharth Garg},
  title = {{Denial-of-Service Attacks on Learned Image Compression}},
  year = {2022},
  eprint = {2205.13253},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.13253},
}
Figure