A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guo, Zhongliang, Lei, Chun Tong, Fang, Lei, Zhao, Shuai, Qian, Yifei, Lin, Jingyu, Wang, Zeyu, Chen, Cunjian, Arandjelović, Ognjen, Lau, Chun Pong
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917122760769536
author Guo, Zhongliang
Lei, Chun Tong
Fang, Lei
Zhao, Shuai
Qian, Yifei
Lin, Jingyu
Wang, Zeyu
Chen, Cunjian
Arandjelović, Ognjen
Lau, Chun Pong
author_facet Guo, Zhongliang
Lei, Chun Tong
Fang, Lei
Zhao, Shuai
Qian, Yifei
Lin, Jingyu
Wang, Zeyu
Chen, Cunjian
Arandjelović, Ognjen
Lau, Chun Pong
contents Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4\% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.
format Preprint
id arxiv_https___arxiv_org_abs_2408_10901
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse
Guo, Zhongliang
Lei, Chun Tong
Fang, Lei
Zhao, Shuai
Qian, Yifei
Lin, Jingyu
Wang, Zeyu
Chen, Cunjian
Arandjelović, Ognjen
Lau, Chun Pong
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4\% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.
title A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2408.10901