Skip to main content
QUICK REVIEW

[Paper Review] DE-FAKE: Detection and Attribution of Fake Images Generated by Text-to-Image Generation Models

Zeyang Sha, Zheng Li|arXiv (Cornell University)|Oct 13, 2022
Generative Adversarial Networks and Image SynthesisComputer Science7 citations
TL;DR

This paper presents DE-FAKE, a system for detecting and attributing fake images generated by text-to-image models like DALL·E 2 and Stable Diffusion. It introduces image-only and hybrid detectors using CLIP embeddings and BLIP for prompt reconstruction, and multi-class attributors that identify source models with high accuracy, revealing that prompts with 'person' topics and lengths of 25–75 tokens produce more authentic fakes.

ABSTRACT

Text-to-image generation models that generate images based on prompt descriptions have attracted an increasing amount of attention during the past few months. Despite their encouraging performance, these models raise concerns about the misuse of their generated fake images. To tackle this problem, we pioneer a systematic study on the detection and attribution of fake images generated by text-to-image generation models. Concretely, we first build a machine learning classifier to detect the fake images generated by various text-to-image generation models. We then attribute these fake images to their source models, such that model owners can be held responsible for their models' misuse. We further investigate how prompts that generate fake images affect detection and attribution. We conduct extensive experiments on four popular text-to-image generation models, including DALL$\cdot$E 2, Stable Diffusion, GLIDE, and Latent Diffusion, and two benchmark prompt-image datasets. Empirical results show that (1) fake images generated by various models can be distinguished from real ones, as there exists a common artifact shared by fake images from different models; (2) fake images can be effectively attributed to their source models, as different models leave unique fingerprints in their generated images; (3) prompts with the ``person'' topic or a length between 25 and 75 enable models to generate fake images with higher authenticity. All findings contribute to the community's insight into the threats caused by text-to-image generation models. We appeal to the community's consideration of the counterpart solutions, like ours, against the rapidly-evolving fake image generation.

Motivation & Objective

  • Address the growing threat of misuse of high-fidelity fake images generated by text-to-image models such as DALL·E 2 and Stable Diffusion.
  • Develop a systematic approach to detect fake images and attribute them to their source generation models, enabling accountability.
  • Investigate how prompt characteristics influence the authenticity of generated fake images.
  • Provide the first comprehensive study on detection and attribution for text-to-image-generated fake images, filling a critical gap in AI safety research.

Proposed method

  • Train a binary image-only detector using only image features to classify real vs. fake images generated by text-to-image models.
  • Design a hybrid detector that combines image embeddings from CLIP and prompt embeddings from the same model, improving detection by leveraging textual context.
  • Use BLIP to generate natural prompts for images when ground-truth prompts are unavailable during inference.
  • Develop a multi-class image-only and hybrid attributor to classify fake images into their source generation models (e.g., Stable Diffusion, GLIDE).
  • Apply CLIP’s image and text encoders to map images and prompts into shared embedding space for joint analysis in hybrid detection and attribution.
  • Conduct prompt analysis by extracting semantic topics and structural features (e.g., length) to assess their impact on image authenticity.

Experimental results

Research questions

  • RQ1Can fake images generated by various text-to-image models be reliably distinguished from real images?
  • RQ2Can fake images be accurately attributed to their source text-to-image generation models?
  • RQ3Which prompt characteristics (e.g., topic, length) lead to more authentic-looking fake images?
  • RQ4How does the inclusion of prompt information improve detection and attribution performance?

Key findings

  • Fake images generated by different text-to-image models share common artifacts, enabling effective detection even when the detector is trained on only one model.
  • Hybrid detection, which uses both image and prompt embeddings, consistently outperforms image-only detection across all evaluated models.
  • Fake images can be accurately attributed to their source models using both image-only and hybrid attributors, indicating that each model leaves unique, identifiable fingerprints.
  • Prompts with the 'person' topic produce significantly more authentic-looking fake images compared to other topics.
  • Prompts with lengths between 25 and 75 tokens result in higher authenticity in generated images, suggesting a 'sweet spot' in prompt complexity.
  • The hybrid detection approach achieves strong performance even when natural prompts are not available, thanks to BLIP-based prompt reconstruction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.