Which Model Generated This Image? A Model-Agnostic Approach for Origin Attribution
Fengyuan Liu, Haochen Luo, Yiming Li, Philip Torr, Jindong Gu
TL;DR
This work addresses origin attribution of AI-generated images when only a few examples from a source model are available and the model itself is not accessible. It introduces OCC-CLIP, a CLIP-based framework that treats origin attribution as a few-shot one-class classification problem, using learnable prompts and adversarial data augmentation to separate target model-derived images from open-domain negatives, with fixed CLIP encoders. The approach extends to multi-source attribution via One-vs-Rest and demonstrates strong performance across eight generative models and real-world DALL·E-3 API tests, outperforming baselines such as zero-shot CLIP and CoOp and showing robustness to shot count and image processing. Practically, OCC-CLIP provides a model-agnostic, scalable method for IP protection and accountability in AI-generated content, with potential applicability to other domains beyond image synthesis.
Abstract
Recent progress in visual generative models enables the generation of high-quality images. To prevent the misuse of generated images, it is important to identify the origin model that generates them. In this work, we study the origin attribution of generated images in a practical setting where only a few images generated by a source model are available and the source model cannot be accessed. The goal is to check if a given image is generated by the source model. We first formulate this problem as a few-shot one-class classification task. To solve the task, we propose OCC-CLIP, a CLIP-based framework for few-shot one-class classification, enabling the identification of an image's source model, even among multiple candidates. Extensive experiments corresponding to various generative models verify the effectiveness of our OCC-CLIP framework. Furthermore, an experiment based on the recently released DALL-E 3 API verifies the real-world applicability of our solution.
