TL;DR
Current Vision-Language Models (VLMs) are surprisingly bad at spotting fakes because they are biased toward "semantic plausibility"—if a scene looks right, they assume it is real. This paper introduces IFDL-VLM, a two-stage framework that decouples forgery detection from explanation, using specialized localization masks to guide a VLM to produce state-of-the-art detection results and highly faithful natural language explanations.
What Problem Does This Paper Address?
As AI-generated content (AIGC) becomes indistinguishable from reality, the task of Image Forgery Detection and Localization (IFDL) has become a high-stakes arms race. Recent attempts to use VLMs (like CLIP or LLMs) for this task have hit a wall.
The authors identify a fundamental "semantic plausibility bias": because VLMs are trained to align images with text descriptions of what is in the scene, they tend to overlook low-level forensic artifacts (like edge inconsistencies or lighting mismatches) if the overall image makes sense. For example, a CLIP model might see a real cat and a seamlessly "Photoshopped" cat as 98% identical because both represent the concept of "cat." Furthermore, LLMs aren't typically exposed to "forgery concepts" during pre-training, making it difficult for them to explain why an image is fake without explicit guidance.
Methods
The authors propose a new pipeline called IFDL-VLM, which moves away from trying to make a VLM do everything at once. Instead, they decouple the "finding" from the "explaining" in two distinct stages:
- Stage 1: The Forgery Expert. They train a learnable ViT (Vision Transformer) backbone integrated with a Segment Anything Model (SAM) decoder. This stage is dedicated solely to binary classification (real vs. fake) and generating a precise pixel-level localization mask.
- Stage 2: The Region-Aware Explainer. Instead of asking an LLM to find the forgery, they provide the mask from Stage 1 as a "Mask Prior." They use a "CLIP-Region-Aware Fusion" technique to combine global image features with features specifically from the tampered region. This "zoomed-in" context is fed into a Large Language Model (Vicuna-13B) to generate detailed, faithful explanations about the type, location, and visual inconsistencies of the forgery.
By decoupling these tasks, the model avoids the optimization struggle of trying to learn forensic traces and language generation simultaneously.
Datasets
The researchers evaluated their model on a massive scale using 9 popular benchmarks:
- SID-Set: A large-scale dataset of 300,000 images used for primary training and in-domain evaluation.
- MMTD-Set: Used for cross-dataset generalization testing, which includes diverse subsets like CASIA1+, IMD2020, Columbia, NIST, DSO, Korus, DeepFake, and AIGC-Editing.
These datasets cover a wide range of manipulations, from traditional "copy-move" and splicing to modern AI-generated deepfakes and object removals.
Key Insights and Ideas
- The Plausibility Trap: The authors quantitatively prove that CLIP features are nearly identical for authentic and tampered images (often >96% similarity). This confirms that standard VLM priors are actually a hindrance to forensic tasks.
- Decoupling is Key: Previous SOTA models tried to derive localization and detection directly from the LLM's internal tokens. This paper shows that letting a dedicated vision model handle the "where" and "what" first significantly improves the LLM's ability to handle the "why."
- Masks as Language Priors: Providing a localization mask acts as a "cheat sheet" for the LLM. It relieves the language model from having to infer forgery concepts from raw data, allowing it to focus on mapping visual artifacts to descriptive language.
Key Results
IFDL-VLM achieved new state-of-the-art performance across the board:
- Detection: Achieved 99.7% accuracy and a 0.998 F1-score on the SID-Set, virtually perfecting the classification task.
- Localization: On the SID-Set, it reached an IoU of 0.65, a massive 21% absolute improvement over the previous strongest baseline (SIDA).
- Generalization: In cross-dataset tests (training on one set, testing on others), it maintained an average IoU of 0.47, outperforming the previous best by 13%.
- Interpretability: In a human study, raters preferred IFDL-VLM's explanations in 65.2% of cases. Automated GPT-5 evaluations also rated its explanations significantly higher in detail and faithfulness compared to prior work.
Limitations and Future Work
While the model is highly effective, the authors acknowledge a few areas for improvement:
- Error Propagation: Because the system is a pipeline, if Stage 1 fails to find a forgery or produces a "false positive" mask, Stage 2 might attempt to explain a non-existent artifact (hallucination). However, they note that the LLM's "secondary verification" capabilities help mitigate this.
- Computational Intensity: The framework relies on several large models (ViT-L, SAM, and a 13B parameter LLM), which may be too heavy for real-time or edge-device applications.
- Future Directions: The authors suggest exploring more lightweight backbones and investigating how to better handle "hybrid forgeries" where AI generation is blended with traditional manual editing.
Summary updated