Manifold Induced Biases for Zero-shot and Few-shot Detection of Generated Images

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Brokman, Jonathan, Giloni, Amit, Hofman, Omer, Vainshtein, Roman, Kojima, Hisashi, Gilboa, Guy
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917994406346752
author Brokman, Jonathan
Giloni, Amit
Hofman, Omer
Vainshtein, Roman
Kojima, Hisashi
Gilboa, Guy
author_facet Brokman, Jonathan
Giloni, Amit
Hofman, Omer
Vainshtein, Roman
Kojima, Hisashi
Gilboa, Guy
contents Distinguishing between real and AI-generated images, commonly referred to as 'image detection', presents a timely and significant challenge. Despite extensive research in the (semi-)supervised regime, zero-shot and few-shot solutions have only recently emerged as promising alternatives. Their main advantage is in alleviating the ongoing data maintenance, which quickly becomes outdated due to advances in generative technologies. We identify two main gaps: (1) a lack of theoretical grounding for the methods, and (2) significant room for performance improvements in zero-shot and few-shot regimes. Our approach is founded on understanding and quantifying the biases inherent in generated content, where we use these quantities as criteria for characterizing generated images. Specifically, we explore the biases of the implicit probability manifold, captured by a pre-trained diffusion model. Through score-function analysis, we approximate the curvature, gradient, and bias towards points on the probability manifold, establishing criteria for detection in the zero-shot regime. We further extend our contribution to the few-shot setting by employing a mixture-of-experts methodology. Empirical results across 20 generative models demonstrate that our method outperforms current approaches in both zero-shot and few-shot settings. This work advances the theoretical understanding and practical usage of generated content biases through the lens of manifold analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15470
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Manifold Induced Biases for Zero-shot and Few-shot Detection of Generated Images
Brokman, Jonathan
Giloni, Amit
Hofman, Omer
Vainshtein, Roman
Kojima, Hisashi
Gilboa, Guy
Computer Vision and Pattern Recognition
Distinguishing between real and AI-generated images, commonly referred to as 'image detection', presents a timely and significant challenge. Despite extensive research in the (semi-)supervised regime, zero-shot and few-shot solutions have only recently emerged as promising alternatives. Their main advantage is in alleviating the ongoing data maintenance, which quickly becomes outdated due to advances in generative technologies. We identify two main gaps: (1) a lack of theoretical grounding for the methods, and (2) significant room for performance improvements in zero-shot and few-shot regimes. Our approach is founded on understanding and quantifying the biases inherent in generated content, where we use these quantities as criteria for characterizing generated images. Specifically, we explore the biases of the implicit probability manifold, captured by a pre-trained diffusion model. Through score-function analysis, we approximate the curvature, gradient, and bias towards points on the probability manifold, establishing criteria for detection in the zero-shot regime. We further extend our contribution to the few-shot setting by employing a mixture-of-experts methodology. Empirical results across 20 generative models demonstrate that our method outperforms current approaches in both zero-shot and few-shot settings. This work advances the theoretical understanding and practical usage of generated content biases through the lens of manifold analysis.
title Manifold Induced Biases for Zero-shot and Few-shot Detection of Generated Images
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.15470