UC-VLM: Consistency-Driven Learning for AI-Generated Image Detection with Vision-Language Large Models

Lei Tan, Shuwei Li, Mohan Kankanhalli, Robby T. TanarXiv 2026

TL;DR

UC-VLM is a novel framework that adapts Vision-Language Large Models (VLLMs) for AI-generated image detection using only binary (real/fake) labels. By combining visual adaptation, automated instruction optimization, and label-conditioned text generation, it eliminates the need for expensive human-annotated rationales or hand-crafted prompts. The approach achieves state-of-the-art performance, outperforming previous methods by up to 15.3% on challenging benchmarks.

What Problem Does This Paper Address?

As AI image generators become increasingly sophisticated, distinguishing between real photographs and synthetic images has become a critical challenge for digital trust. Vision-Language Large Models (VLLMs) are uniquely suited for this task because they can provide both a classification ("real" or "fake") and a natural-language explanation justifying their decision.

However, current VLLM-based detectors suffer from three major bottlenecks:

  1. Neglecting Visual Cues: They often focus heavily on fine-tuning the language side of the model, ignoring the subtle, low-level visual forensic cues (like frequency artifacts or texture irregularities) that actually expose AI generation.
  2. Scalability Issues: They rely on manually crafted prompts and human-annotated reasoning datasets, which are expensive and difficult to scale to new image generators.
  3. Prompt Sensitivity: VLLMs are notoriously sensitive to minor phrasing changes, leading to unstable and inconsistent detection performance.
Fig. 1: Comparison of paradigms for AI-generated image detection. (a) Con- ventional classifiers predict real/fake from image data. (b) Existing VLLM-based de- tectors often rely on manually crafted prompts and human-annotated rationales to produce a label with accompanying text. (c) UC-VLM learns from binary authen- tic/generated labels only, combining visual adaptation, instruction optimization, and label-conditioned generation to improve robustness to prompt choice and provide scal- able supervision for textual outputs.

Methods

The authors introduce UC-VLM (Consistency-Driven Learning for AI-Generated Image Detection), built on top of the Qwen2.5-VL-7B backbone. The core innovation is a multi-stage training framework driven entirely by weak binary supervision (the simple real/fake label), which coordinates three distinct components:

  1. Visual Adaptation: Standard VLLMs are optimized to understand high-level image semantics (e.g., "a dog in a park"). To force the model to focus on low-level structural anomalies instead, UC-VLM applies stochastic cropping and patch shuffling to the input images. This disrupts the global semantic meaning while preserving local texture statistics, training the vision encoder to spot generative artifacts via binary cross-entropy loss.
  2. Instruction Optimization: To overcome prompt sensitivity, UC-VLM uses an external LLM (GPT-4o) to automatically generate, evaluate, and iteratively refine a pool of instruction variants on a validation set. This evolutionary process converges on a highly effective, structured prompt template without human intervention.
  3. Label-Conditioned Regeneration: To train the language model to generate reasoning text without human-written explanations, the framework introduces a clever self-correction mechanism. If the VLLM predicts the wrong label during training, a "label directive" forces it to regenerate its textual output conditioned on the correct ground-truth label. The language module is then fine-tuned on this corrected dataset.
Fig. 2: Overview of UC-VLM. UC-VLM is built upon Qwen2.5-VL-7B and learns AI-generated image detection under binary authentic/generated supervision. The framework includes three coordinated components: (i) Visual Adaptation, which enhances the vision encoder’s sensitivity to local non-semantic forensic cues; (ii) In- struction Optimization, which automatically searches for effective instruction vari- ants for authenticity assessment; and (iii) Label-Conditioned Regeneration, which conditions text generation on the binary label to provide scalable supervision for tex- tual outputs while freezing the vision tower.

Datasets

The framework was evaluated on two major benchmarks:

  • GenImage: A massive dataset containing over 2.68 million images. It pairs 1.33 million real images from ImageNet with 1.35 million fake images generated across eight diverse algorithms (including BigGAN, GLIDE, Stable Diffusion, and Midjourney).
  • Chameleon: A high-resolution (720p to 4K) test-only benchmark consisting of 26,000 images. Real images are sourced from Unsplash, while synthetic images are gathered from creative platforms like ArtStation and Civitai.

Key Insights and Ideas

  • Reusing Weak Labels for Strong Multimodal Alignment: Instead of treating binary labels as a simple endpoint, UC-VLM expands them into a shared training signal that simultaneously shapes visual feature extraction, prompt selection, and text generation.
  • Blinding the Model to Semantics: By intentionally destroying the global composition of an image through patch shuffling, the model is prevented from relying on high-level context and is forced to hunt for pixel-level anomalies where generative models leave their fingerprints.
  • Automated Prompt Evolution: The automated prompt optimization shifts instructions from generic queries to highly specific forensic checklists (explicitly asking the model to evaluate frequency patterns, lens distortions, and depth inconsistencies), significantly stabilizing VLLM behavior.

Key Results

  • GenImage Benchmark: UC-VLM achieved an outstanding average accuracy of 96.1%, outperforming the strongest prior baseline (DEUA) by 4.6%. It delivered top-tier performance across both GAN-based and diffusion-based generators.
  • Chameleon Benchmark: The model demonstrated exceptional generalization on high-resolution, out-of-distribution data. Under ProGAN training, it hit 69.6% accuracy (an 11.2% boost over the best baseline). Under Stable Diffusion V1.4 training, it achieved 77.9% accuracy, outperforming the closest competitor by 15.3%.

Limitations and Future Work

  • Hallucination Risk: Because the textual outputs are trained using automatically regenerated text rather than ground-truth human explanations, the generated reasoning traces are not guaranteed to be perfectly faithful to the physical image evidence. The authors note these texts should be treated as auxiliary training signals rather than verified explanations.
  • Stylistic Confusion: UC-VLM still struggles with highly realistic images where artifacts are virtually invisible, and it shows uncertainty when dealing with artistic or stylized imagery (e.g., mistaking an authentic painting for a digital generation), indicating that it can still confuse stylistic regularity with actual forgery evidence.

Summary updated

BibTeX
@misc{tan2026uc,
  author = {Lei Tan and Shuwei Li and Mohan Kankanhalli and Robby T. Tan},
  title = {{UC-VLM: Consistency-Driven Learning for AI-Generated Image Detection with Vision-Language Large Models}},
  year = {2026},
  eprint = {2608.15238},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15238},
}
Figure