arXiv:2511.14030cs.CVcs.AI2025-11NeurIPS被引 10

无需训练,通过图像裁剪鲁棒性检测AI生成图片。

Training-free Detection of AI-generated images via Cropping Robustness

  • 利用自监督模型对高频方向扰动敏感性评分
  • 在多尺度分块下平均得分,实现跨域高精度检测
  • 适合作为通用检测工具,兼容多种生成模型

随着视觉生成模型的快速发展,AI生成图像的检测变得至关重要。本文提出一种无需训练的检测方法WaRPAD,基于自监督模型的特性,不依赖特定数据集或先验知识。这些模型通过随机缩放等增强方式预训练,学习到不同分辨率下的稳定表征。受此启发,我们设计了基于哈尔小波分解提取高频方向扰动敏感性的基础评分函数。为模拟裁剪增强的鲁棒性,将图像缩放到模型输入尺寸的倍数后分割为小块,对每块计算基础得分,最终取所有块得分均值作为检测分数。我们在包含多种分辨率与领域的真实数据集及23种生成模型产生的图像上验证该方法,结果表明其性能稳定且对测试时噪声具有强鲁棒性。由于随机缩放不变性是自监督模型的通用训练策略,本方法可适用于多种自监督模型。

原文摘要 · Abstract (English)

AI-generated image detection has become crucial with the rapid advancement of vision-generative models. Instead of training detectors tailored to specific datasets, we study a training-free approach leveraging self-supervised models without requiring prior data knowledge. These models, pre-trained with augmentations like RandomResizedCrop, learn to produce consistent representations across varying resolutions. Motivated by this, we propose WaRPAD, a training-free AI-generated image detection algorithm based on self-supervised models. Since neighborhood pixel differences in images are highly sensitive to resizing operations, WaRPAD first defines a base score function that quantifies the sensitivity of image embeddings to perturbations along high-frequency directions extracted via Haar wavelet decomposition. To simulate robustness against cropping augmentation, we rescale each image to a multiple of the models input size, divide it into smaller patches, and compute the base score for each patch. The final detection score is then obtained by averaging the scores across all patches. We validate WaRPAD on real datasets of diverse resolutions and domains, and images generated by 23 different generative models. Our method consistently achieves competitive performance and demonstrates strong robustness to test-time corruptions. Furthermore, as invariance to RandomResizedCrop is a common training scheme across self-supervised models, we show that WaRPAD is applicable across self-supervised models.

AI检测自监督无训练图像生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。