GAP-Diff: protecting JPEG-compressed images from diffusion-based facial customization

Haotian Zhu, Shuchao Pang, Zhigang Lu, Yongbin Zhou, Minhui Xue

Research output: Chapter in Book / Conference PaperConference Paperpeer-review

Abstract

Text-to-image diffusion model's fine-tuning technology allows people to easily generate a large number of customized photos using limited identity images. Although this technology is easy to use, its misuse could lead to violations of personal portraits and privacy, with false information and harmful content potentially causing further harm to individuals. Several methods have been proposed to protect faces from customization via adding protective noise to user images by disrupting the fine-tuned models. Unfortunately, simple pre-processing techniques like JPEG compression, a normal pre-processing operation performed by modern social networks, can easily erase the protective effects of existing methods. To counter JPEG compression and other potential pre-processing, we propose GAP-Diff, a framework of underline{G}enerating data with underline{A}dversarial underline{P}erturbations for text-to-image underline{Diff}usion models using unsupervised learning-based optimization, including three functional modules. Specifically, our framework learns robust representations against JPEG compression by backpropagating gradient information through a pre-processing simulation module while learning adversarial characteristics for disrupting fine-tuned text-to-image diffusion models. Furthermore, we achieve an adversarial mapping from clean images to protected images by designing adversarial losses against these fine-tuning methods and JPEG compression, with stronger protective noises within milliseconds. Facial benchmark experiments, compared to state-of-the-art protective methods, demonstrate that GAP-Diff significantly enhances the resistance of protective noise to JPEG compression, thereby better safeguarding user privacy and copyrights in the digital world.
Original languageEnglish
Title of host publication2025 Network and Distributed System Security Symposium
PublisherInternet Society
Number of pages20
Publication statusPublished - 2025
EventNetwork and Distributed System Security Symposium - San Diego, United States
Duration: 24 Feb 202528 Feb 2025
Conference number: 32nd

Conference

ConferenceNetwork and Distributed System Security Symposium
Country/TerritoryUnited States
CitySan Diego
Period24/02/2528/02/25

Fingerprint

Dive into the research topics of 'GAP-Diff: protecting JPEG-compressed images from diffusion-based facial customization'. Together they form a unique fingerprint.

Cite this