Towards Generalizable AI-Generated Image Detection via Image-Adaptive Prompt Learning
Yiheng Li, Zichang Tan, Guoqing Xu, Zhen Lei, Xu Zhou, Yang Yang

TL;DR
This paper introduces Image-Adaptive Prompt Learning (IAPL), a novel method that dynamically adjusts prompts during testing to improve the generalization of AI-generated image detection across unseen forgery techniques.
Contribution
The paper proposes a new paradigm that dynamically adapts prompts based on each test image, significantly enhancing robustness and generalization in AI-generated image detection.
Findings
Achieves state-of-the-art accuracy on multiple datasets.
Effectively generalizes to unseen forgery methods.
Demonstrates robustness through test-time adaptive tokens.
Abstract
In AI-generated image detection, current cutting-edge methods typically adapt pre-trained foundation models through partial-parameter fine-tuning. However, these approaches often struggle to generalize to forgeries from unseen generators, as the fine-tuned models capture only limited patterns from training data and fail to reflect the evolving traits of new ones. To overcome this limitation, we propose Image-Adaptive Prompt Learning (IAPL), a novel paradigm that dynamically adjusts the prompts fed into the encoder according to each testing image, rather than fixing them after training. This design significantly enhances robustness and adaptability to diverse forged images. The dynamic prompts integrate conditional information with test-time adaptive tokens through a lightweight learnable scaling factor. The conditional information is produced by a Conditional Information Learner, which…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImage Retrieval and Classification Techniques · Medical Image Segmentation Techniques · Image and Signal Denoising Methods
