Towards Explainable Fake Image Detection with Multi-Modal Large Language Models

Yikun Ji, Yan Hong, Jiahui Zhan, Haoxing Chen, Jun Lan, Huijia Zhu, Weiqiang Wang, Liqing Zhang, Jianfu Zhang

TL;DR

This paper introduces a novel framework for detecting AI-generated images that leverages the reasoning capabilities of Multi-modal Large Language Models (MLLMs). By employing a suite of six specialized prompts, the approach not only achieves state-of-the-art accuracy, surpassing traditional methods and human performance, but also provides clear, evidence-based explanations for its decisions, addressing the critical need for explainable AI in this domain.

What Problem Does This Paper Address?

The rapid advancement of AI image generation technologies, like GANs and diffusion models, has led to concerns about the proliferation of synthetic images, which can be used for misinformation and other malicious purposes. While deep learning models have shown promise in detecting these "fake" images, they often act as black boxes, generalizing poorly to new generation techniques and failing to provide users with understandable reasons for their classifications. Existing methods struggle with interpretability, making it difficult to trust their verdicts or understand why an image is flagged. This paper aims to bridge this gap by developing a detection system that is both highly accurate and inherently explainable, using the advanced reasoning of MLLMs.

Methods

The core of this work is a framework that utilizes Multi-modal Large Language Models (MLLMs) to detect AI-generated images. Instead of relying on a single prompt, the authors design six distinct "paradigms" or prompts, each designed to probe a different aspect of the image. These prompts are categorized into:

  • General Prompts:
    • P1 (Defect Query): Broad inspection for general anomalies like incorrect shadows or unnatural object placement.
  • P2 (Regional Analysis): Focuses on specific regions of interest (ROIs) to refine local anomaly detection.
  • P3 (Common Sense Reasoning): Applies logical reasoning to check for inconsistencies with real-world physics, proportions, and rules.
  • Content-Based Prompts:
    • P4 (Few-Shot): Provides a few labeled examples to guide the MLLM's understanding.
  • P5 (Structural Analysis): Identifies internal inconsistencies based on the object's class and expected components.
  • P6 (Stereotype Matching): Evaluates if the image conforms too closely or uniformly to common stereotypes of its subject.

The MLLM processes these prompts sequentially, building context. The final verdict is then derived through a "fusion" process, which either aggregates the individual prompt verdicts (majority vote) or uses the combined reasoning from all prompts to generate a final, more robust explanation. This multi-pronged approach aims to mimic human perception and reasoning for more comprehensive analysis.

Datasets

The paper uses a curated dataset of 2000 images for evaluation, comprising 1000 real images and 1000 AI-generated images. The AI-generated images are sourced from a diverse range of models, including:

  • Diffusion-Based Generators: Midjourney, SDv2, ADM, DDIM, DDPM, Imagen, VQDM, ControlNet, and others.
  • GAN-Based Generators: DF-GAN, GALIP, StyleGAN, VQGAN, GigaGAN, BigGAN, and StarGAN.
  • Other Generators: VQVAE, MAGE, and MAE.

Real images are sourced from common datasets like COCO, LAION-5B, LSUN Church, FFHQ, CelebA-HQ, and ImageNet. The paper does not introduce a new benchmark dataset but rather uses a diverse existing one to test generalization.

Key Insights and Ideas

  • MLLMs as Explainable Detectors: The core idea is that MLLMs, with their advanced language and reasoning capabilities, can go beyond simple classification to provide why an image is fake, making AI detection more transparent and trustworthy.
  • The Power of Diverse Probing: No single prompt is sufficient. By using a suite of prompts that examine different aspects (defects, regions, common sense, structure, stereotypes), the framework captures a more holistic view of image authenticity.
  • Fusion for Robustness: Combining the outputs and reasoning from multiple specialized prompts significantly boosts accuracy and reliability compared to any single prompt alone.
  • Mimicking Human Perception: The prompt design aims to mirror how humans analyze images, starting with broad observations and then delving into specific details and logical consistency.

Key Results

  • State-of-the-Art Accuracy: The proposed MLLM-based fusion framework achieves an accuracy of 93.4% with GPT-4o, outperforming traditional deep learning models (e.g., CNNSpot at 91.8%) and even the best human annotator (86.3%).
  • Improved Explainability: The framework provides coherent, evidence-based reasoning for its classifications, as demonstrated in Figure 1 and Figure 3.
  • Prompt Effectiveness: Different prompts contribute uniquely to the detection process, with no single prompt being entirely redundant. The fusion of all six prompts yields the best results.
  • Efficiency Trade-offs: While sequential prompting can be time-consuming, parallel processing significantly reduces inference time. Majority vote fusion offers a good balance between accuracy and computational efficiency.
  • Open-Source Model Performance: While proprietary models like GPT-4o lead, open-source MLLMs like Llama 3.2 VI and LLaVA-CoT also show promising results, especially when fine-tuned.

Limitations and Future Work

  • Rejection Rates: MLLMs can sometimes refuse to classify images ("rejections"), particularly those with sensitive content like faces, due to ethical considerations. Modifying prompts can mitigate this, but it remains an area for improvement.
  • Interpretability Alignment: Further research is needed to quantify how well MLLM-generated explanations align with human understanding, especially in critical applications like forensics.
  • Bias and Fairness: Ensuring MLLMs are free from biases that could lead to unfair outcomes is crucial.
  • Adversarial Robustness: Exploring adaptive fusion mechanisms and adversarial training could enhance robustness against sophisticated AI-generated images.
  • Computational Cost: While parallelization helps, running multiple complex prompts can still be computationally intensive, especially for open-source models.

The authors suggest future work could focus on developing more adaptive fusion strategies and enhancing model robustness through adversarial training on high-quality AI-generated images.

Summary updated

BibTeX
@inproceedings{ji2025towards,
  author = {Yikun Ji and Yan Hong and Jiahui Zhan and Haoxing Chen and Jun Lan and Huijia Zhu and Weiqiang Wang and Liqing Zhang and Jianfu Zhang},
  title = {{Towards Explainable Fake Image Detection with Multi-Modal Large Language Models}},
  booktitle = {ACM Multimedia},
  year = {2025},
}
Figure