TL;DR
Learning-based image compression (LIC) models, while achieving state-of-the-art compression ratios, are vulnerable to adversarial attacks that can degrade their performance. This paper introduces more realistic attack scenarios (SRDA and ARDA) and novel analytical tools to pinpoint vulnerabilities, revealing that hyperpriors and IGDN layers are key weak spots. The study also evaluates defense strategies like adversarial training and online updating.
What Problem Does This Paper Address?
Modern image compression techniques, particularly those based on deep learning (LIC), offer impressive rate-distortion (RD) performance, often surpassing traditional methods. However, like many deep learning models, LIC algorithms are susceptible to adversarial attacks. Previous research has explored these vulnerabilities, but the attacks were often simplified, focusing on either bitrate or distortion independently, and not reflecting real-world scenarios where attackers might target both simultaneously and across various compression levels. This lack of realistic attack models and in-depth analysis hinders a comprehensive understanding of LIC's adversarial robustness and the development of effective defenses. This paper aims to bridge this gap by introducing more sophisticated attack paradigms and analytical tools to better understand and defend LIC models.
Methods
The core contributions of this paper lie in its novel attack methodologies and analytical tools:
- Specific-ratio Rate-Distortion Attack (SRDA): This method allows adversaries to craft attacks targeting a specific compression ratio, aiming to degrade RD performance.
- Agnostic-ratio Rate-Distortion Attack (ARDA): This more challenging attack aims to degrade RD performance across all compression ratios with a single set of adversarial samples, better reflecting scenarios where the compression ratio is not fixed or known by the attacker.
- Entropy Causal Intervention (ECI): This tool helps identify the origin of bitrate degradation by analyzing the impact of different components within the entropy model on the final bitrate.
- Layer-wise Distance Magnify Ratio (LDMR): This tool quantifies how much input perturbations are amplified by different layers in the network, helping to locate the source of distortion attacks.
These methods are used to evaluate eight prominent LIC algorithms. The paper also investigates two defense techniques: adversarial training and online updating.
Datasets
The experiments were conducted on the Kodak dataset, which contains 24 full-color images. For adversarial training, a larger dataset of approximately 14,500 web images was used.
Key Insights and Ideas
- Realistic Attacks Matter: Simple, single-objective attacks (just bitrate or just distortion) don't fully capture the vulnerability of LIC models. Joint rate-distortion attacks, especially across various compression ratios (ARDA), reveal more significant weaknesses.
- Hyperprior and IGDN are Critical Vulnerabilities: The paper's analytical tools pinpoint the hyperprior component in the entropy model as a key contributor to bitrate degradation and the Inverse Generalized Divisive Normalization (IGDN) layer as a major amplifier of distortion. This is significant because these are common components in many LIC architectures.
- Variable-Rate Models are Less Robust: Algorithms designed for variable compression rates (e.g., Song2021, Cai2022) showed less robustness to attacks compared to models trained for specific rates, particularly concerning bitrate degradation.
- Defense Strategies Have Trade-offs: Adversarial training can improve robustness but may degrade the original RD performance. Online updating offers comparable robustness without altering the base model's performance, making it a promising alternative.
Key Results
- All eight evaluated LIC algorithms showed significant performance degradation under joint rate-distortion attacks.
- ARDA proved to be a more effective attack strategy than SRDA, highlighting the importance of considering attacks across multiple compression ratios.
- ECI analysis revealed that manipulating the hyperprior component had the most significant impact on bitrate reduction for most models.
- LDMR analysis showed that the IGDN layer significantly amplifies input perturbations, leading to increased distortion. Models without IGDN (Cai2022, Zou2022) exhibited better distortion robustness.
- Adversarial training improved robustness but resulted in a noticeable drop in RD performance for most models. Online updating achieved comparable robustness with minimal impact on clean image RD performance.
Limitations and Future Work
The paper acknowledges that while adversarial training can improve robustness, it requires careful selection of adversarial samples to cover various attack directions. The optimization instability of some variable-rate models made them less amenable to online updating. Future work could focus on developing more stable online updating strategies for these models and exploring novel defense mechanisms that leverage the insights gained about hyperprior and IGDN vulnerabilities. The authors also suggest that their proposed attack paradigms and analytical tools can serve as a benchmark for future research on LIC robustness.
Summary updated