DiffVax: Optimization-Free Image Immunization Against Diffusion-Based Editing
Tarik Can Ozden, Ozgur Kara, Oguzhan Akcin, Kerem Zaman, Shashank Srivastava, Sandeep P. Chinchali, James M. Rehg
TL;DR
DiffVax tackles diffusion-based image editing by learning an optimization-free immunizer that generates imperceptible perturbations to immunize content. It trains a feed-forward model with a two-term loss to both preserve visual quality and disrupt editing attempts, enabling millisecond-scale per-image protection and extending naturally to video. The approach demonstrates strong generalization to unseen content and models, robust performance under counter-attacks, and favorable user-perceived realism, while maintaining scalability and low memory usage. The work establishes a scalable, real-time defense framework with broad applicability across editing tools and content types, and outlines directions toward universal cross-architecture immunization and temporally aware video protection.
Abstract
Current image immunization defense techniques against diffusion-based editing embed imperceptible noise into target images to disrupt editing models. However, these methods face scalability challenges, as they require time-consuming optimization for each image separately, taking hours for small batches. To address these challenges, we introduce DiffVax, a scalable, lightweight, and optimization-free framework for image immunization, specifically designed to prevent diffusion-based editing. Our approach enables effective generalization to unseen content, reducing computational costs and cutting immunization time from days to milliseconds, achieving a speedup of 250,000x. This is achieved through a loss term that ensures the failure of editing attempts and the imperceptibility of the perturbations. Extensive qualitative and quantitative results demonstrate that our model is scalable, optimization-free, adaptable to various diffusion-based editing tools, robust against counter-attacks, and, for the first time, effectively protects video content from editing. More details are available in https://diffvax.github.io/ .
