Anti-Reference: Universal and Immediate Defense Against Reference-Based Generation

Yiren Song, Shengtao Lou, Xiaokang Liu, Hai Ci, Pei Yang +2 more
12/8/2024
cs.CV

No official code found. Best implementation: songyiren725/AntiReference (7 stars, MIT, last commit 2025-06-02).

Abstract

Diffusion models have revolutionized generative modeling with their exceptional ability to produce high-fidelity images. However, misuse of such potent tools can lead to the creation of fake news or disturbing content targeting individuals, resulting in significant social harm. In this paper, we introduce Anti-Reference, a novel method that protects images from the threats posed by reference-based generation techniques by adding imperceptible adversarial noise to the images. We propose a unified loss function that enables joint attacks on fine-tuning-based customization methods, non-fine-tuning customization methods, and human-centric driving methods. Based on this loss, we train a Adversarial Noise Encoder to predict the noise or directly optimize the noise using the PGD method. Our method shows certain transfer attack capabilities, effectively challenging both gray-box models and some commercial APIs. Extensive experiments validate the performance of Anti-Reference, establishing a new benchmark in image security.

View on arXivView PDF

Code Implementations(1)

MIT

Code Implementation of the Paper: Anti-Reference: Universal and Immediate Defense Against Reference-Based Generation

70Dec 8, 20241 years agoMIT

Similar Papers

Cite this paper

@article{song2024antireference,
  title  = {Anti-Reference: Universal and Immediate Defense Against Reference-Based Generation},
  author = {Yiren Song and Shengtao Lou and Xiaokang Liu and Hai Ci and Pei Yang and Jiaming Liu and Mike Zheng Shou},
  year   = {2024},
  eprint = {2412.05980},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.05980v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.05980.svg)](https://codeofpaper.com/paper/2412.05980)

Discussion