Improving Interpretability and Robustness for the Detection of AI-Generated Images

Tatiana Gaintseva, Laida Kushnareva, German Magai, Irina Piontkovskaya, Sergey Nikolenko +3 more
6/21/2024
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

With growing abilities of generative models, artificial content detection becomes an increasingly important and difficult task. However, all popular approaches to this problem suffer from poor generalization across domains and generative models. In this work, we focus on the robustness of AI-generated image (AIGI) detectors. We analyze existing state-of-the-art AIGI detection methods based on frozen CLIP embeddings and show how to interpret them, shedding light on how images produced by various AI generators differ from real ones. Next we propose two ways to improve robustness: based on removing harmful components of the embedding vector and based on selecting the best performing attention heads in the image encoder model. Our methods increase the mean out-of-distribution (OOD) classification score by up to 6% for cross-model transfer. We also propose a new dataset for AIGI detection and use it in our evaluation; we believe this dataset will help boost further research. The dataset and code are provided as a supplement.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gaintseva2024improving,
  title  = {Improving Interpretability and Robustness for the Detection of AI-Generated Images},
  author = {Tatiana Gaintseva and Laida Kushnareva and German Magai and Irina Piontkovskaya and Sergey Nikolenko and Martin Benning and Serguei Barannikov and Gregory Slabaugh},
  year   = {2024},
  eprint = {2406.15035},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.15035v1}
}

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/2406.15035.svg)](https://codeofpaper.com/paper/2406.15035)

Discussion