[Paper Review] Inevitable Encounters: Backdoor Attacks Involving Lossy Compression
The paper shows that lossy image compression can destroy invisible backdoor triggers and presents ROI-based strategies—Universal Attack Activation for LICs and Compression-Adapted Attack (CAA)—to preserve triggers through compression.
Real-world backdoor attacks often require poisoned datasets to be stored and transmitted before being used to compromise deep learning systems. However, in the era of big data, the inevitable use of lossy compression poses a fundamental challenge to invisible backdoor attacks. We find that triggers embedded in RGB images often become ineffective after the images are lossily compressed into binary bitstreams (e.g., JPEG files) for storage and transmission. As a result, the poisoned data lose its malicious effect after compression, causing backdoor injection to fail. In this paper, we highlight the necessity of explicitly accounting for the lossy compression process in backdoor attacks. This requires attackers to ensure that the transmitted binary bitstreams preserve malicious trigger information, so that effective triggers can be recovered in the decompressed data. Building on the region-of-interest (ROI) coding mechanism in image compression, we propose two poisoning strategies tailored to inevitable lossy compression. First, we introduce Universal Attack Activation, a universal method that uses sample-specific ROI masks to reactivate trigger information in binary bitstreams for learned image compression (LIC). Second, we present Compression-Adapted Attack, a new attack strategy that employs customized ROI masks to encode trigger information into binary bitstreams and is applicable to both traditional codecs and LIC. Extensive experiments demonstrate the effectiveness of both strategies.
Motivation & Objective
- Highlight the impact of lossy compression on backdoor attacks and the need to account for compression in the attack design.
- Propose two ROI-based backdoor strategies to survive lossy compression: Universal Attack Activation for learned image compression (LIC) and Compression-Adapted Attack (CAA).
- Demonstrate the effectiveness of the proposed methods across multiple datasets, backbones, and codecs through extensive experiments.
Proposed method
- Model backdoor poisoning as a compression pipeline where data are encoded, transmitted as binary bitstreams, and decompressed for training.
- Use Region of Interest (ROI) functionality to control per-region bitrate and distortion during compression, enabling trigger preservation.
- For LICs: design a sample-specific ROI mask M_res or a frequency-based mask M_freq to reactivate or protect trigger information through compression.
- For traditional codecs: design a compression-friendly ROI mask M* to imprint a high-frequency distribution trigger into the transmitted bitstream, paired with a uniform ROI mask for benign samples.
- Present two main strategies: (i) Universal Attack Activation (LICs) that reallocates bitrate to high-frequency/important regions to recover triggers, and (ii) Compression-Adapted Attack (CAA) that adjusts ROI to create a global, invisible trigger via high-frequency distribution differences.
- Optional integration guidance: Spatial Feature Transform (SFT) can incorporate ROI into LIC encoders, while ROI is used directly in traditional codecs.

Experimental results
Research questions
- RQ1How does lossy compression affect the effectiveness and invisibility of existing backdoor triggers?
- RQ2Can ROI-based strategies preserve or reactivate triggers in compressed data for LICs and traditional codecs?
- RQ3Are there compression-aware backdoor techniques that maintain high attack success while remaining invisible under realistic compression pipelines?
- RQ4Do proposed methods generalize across multiple datasets, backbone models, and codecs?
Key findings
- Lossy compression often degrades existing invisible backdoors, necessitating compression-aware attacks.
- A Universal Attack Activation method for LICs using ROI can reactivate previously degraded triggers while maintaining invisibility.
- A Compression-Adapted Attack (CAA) can achieve high attack success with minimal impact on benign accuracy across diverse codecs and models.
- CAA demonstrates strong performance in all-to-one and all-to-all attack settings and shows robustness against several defenses and recompression.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.