计算机科学
人工智能
生成模型
分类器(UML)
模式识别(心理学)
生成语法
特征向量
一般化
k-最近邻算法
上下文图像分类
编码(集合论)
特征(语言学)
图像(数学)
机器学习
数学
集合(抽象数据类型)
哲学
数学分析
语言学
程序设计语言
作者
Utkarsh Ojha,Yuheng Li,Yong Jae Lee
标识
DOI:10.1109/cvpr52729.2023.02345
摘要
With generative models proliferating at a rapid rate, there is a growing need for general purpose fake image detectors. In this work, we first show that the existing paradigm, which consists of training a deep network for real-vs-fake classification, fails to detect fake images from newer breeds of generative models when trained to detect GAN fake images. Upon analysis, we find that the resulting classifier is asymmetrically tuned to detect patterns that make an image fake. The real class becomes a ‘sink’ class holding anything that is not fake, including generated images from models not accessible during training. Building upon this discovery, we propose to perform real-vs-fake classification without learning; i.e., using a feature space not explicitly trained to distinguish real from fake images. We use nearest neighbor and linear probing as instantiations of this idea. When given access to the feature space of a large pretrained vision-language model, the very simple baseline of nearest neighbor classification has surprisingly good generalization ability in detecting fake images from a wide variety of generative models; e.g., it improves upon the SoTA [50] by +15.07 mAP and +25.90% acc when tested on unseen diffusion and autoregressive models. Our code, models, and data can be found at https://github.com/Yuheng-Li/UniversalFakeDetect
科研通智能强力驱动
Strongly Powered by AbleSci AI