Keep It Real: Challenges in Attacking Compression-Based Adversarial Purification
Samuel Räber, Till Aczel, Andreas Plesner, Roger Wattenhofer
TL;DR
The paper tackles the problem of defending image classifiers against adversarial perturbations via compression-based purification, arguing that realism in reconstructed images is the key to robustness rather than gradient masking. It develops a set of adaptive, attack- tuned defenses against learned and traditional compression models, and demonstrates that high-realism reconstructions substantially raise the bar for attackers across multiple threat models and architectures. The study shows that realism preserves natural-image distribution while suppressing adversarial noise, achieving meaningful robustness with lower computational cost than diffusion-based approaches. The findings highlight realism as a central objective for future security evaluations and motivate the design of attacks that specifically target realism-based defenses, with practical implications for deploying robust preprocessing pipelines.
Abstract
Previous work has suggested that preprocessing images through lossy compression can defend against adversarial perturbations, but comprehensive attack evaluations have been lacking. In this paper, we construct strong white-box and adaptive attacks against various compression models and identify a critical challenge for attackers: high realism in reconstructed images significantly increases attack difficulty. Through rigorous evaluation across multiple attack scenarios, we demonstrate that compression models capable of producing realistic, high-fidelity reconstructions are substantially more resistant to our attacks. In contrast, low-realism compression models can be broken. Our analysis reveals that this is not due to gradient masking. Rather, realistic reconstructions maintaining distributional alignment with natural images seem to offer inherent robustness. This work highlights a significant obstacle for future adversarial attacks and suggests that developing more effective techniques to overcome realism represents an essential challenge for comprehensive security evaluation.
