Deepfake-Agent: Aggregating Semantic Forgery Clues for Generalizable Detection

Xiao Guo, Yue Zhang, Mohit Bansal, Xiaoming LiuCVPR 2026 Findings 2026

TL;DR

Deepfake-Agent is a unified deepfake detection framework that tackles the full spectrum of image forgeries—from low-level pixel edits to high-level semantic absurdities (like a polar bear in a desert). By orchestrating specialized forensic models through an agentic learning scheme and a reinforcement learning-driven aggregator, it achieves state-of-the-art, generalizable detection across multiple manipulation types.

What Problem Does This Paper Address?

As generative AI models mature, they are achieving "pixel-level perfection." Traditional deepfake detectors look for low-level visual artifacts like blending boundaries, frequency anomalies, or unnatural textures. However, modern diffusion models can generate images that are technically flawless at the pixel level but completely violate common sense—such as placing the Eiffel Tower directly in front of Mt. Fuji.

Existing forensic tools are highly fragmented: some excel at spotting face-swaps, others at finding localized edits (splicing/inpainting), and a few try to catch semantic errors. Because these detectors are siloed, they lack generalizability and often generate conflicting verdicts when faced with real-world, multi-domain forgeries. The authors introduce Deepfake-Agent to bridge this gap, creating a system that can reason about both low-level visual traces and high-level world knowledge.

Methods

Deepfake-Agent treats forgery detection as a multi-expert collaboration problem coordinated by an agentic framework.

Detailed pipeline of Deepfake-Agent

The architecture consists of three specialized Forensic Experts and an RL-based Aggregator:

  1. Image-Editing Expert ($E_{edit}$): Utilizes FakeShield to identify traditional manipulations like splicing, copy-move, and inpainting via spatial editing traces.
  2. Face-Swap Expert ($E_{face}$): Utilizes M2F2-Det to detect facial region forgeries and blending artifacts.
  3. Semantic-Forgery Expert ($E_{sem.}$): A novel multi-agent sub-framework designed to catch commonsense violations.
  4. Proposers: Closed-source MLLMs (GPT-4o and Gemini-2.0 Pro) act as independent consultants, leveraging their vast world knowledge to flag logical inconsistencies.
  5. Adjudicator: A fine-tuned LLaVA-34B model integrates these proposals and applies a Causal Self-Verification Inference mechanism. If the adjudicator suspects an image is fake, it generates a bounding box around the offending evidence, masks it out counterfactually, and re-evaluates the image. If ignoring that region flips the verdict from "fake" to "real," the forgery clue is causally verified.
Causal Self-Verification Mechanism

The Forgery Aggregator ($E_A$)

To resolve conflicts when experts disagree (e.g., an image is semantically absurd but has zero pixel artifacts), the authors implement an aggregator based on LLaVA-1.5-7B. It is trained using Group Relative Policy Optimization (GRPO)—a reinforcement learning technique—guided by five distinct reward functions: Accuracy, Format adherence, Tool-Selection appropriateness, Reasoning Length, and Reasoning Structure.

Datasets

The authors evaluated their framework on a comprehensive multi-domain dataset partitioned into 4,974 training images and 7,460 test images, spanning three domains:

  • Image Editing Domain: Composed of images from CASIA v2.0, Columbia, and IMD20 (7,491 images total) featuring traditional splicing and copy-move edits.
  • Face-Swap Domain: Utilizes the DDVQA dataset (2,968 images) containing high-quality facial manipulations.
  • Semantic Forgery Domain: Adopts the Deepfake-Eval-2024 benchmark (1,975 images), which consists of online-collected generative images containing human-annotated commonsense, physical, or logical violations.

Key Insights and Ideas

  • World Knowledge is the New Forensic Frontier: Traditional binary classifiers fail completely on semantically impossible but visually flawless images. Leveraging the broad world knowledge of commercial MLLMs is essential to catch modern AI generation errors.
  • Naive Ensembling Fails: Simply taking a majority vote among specialized experts yields suboptimal results because detectors operate with strong domain biases. A learned, context-aware aggregator is required to weigh conflicting evidence intelligently.
  • Causal Grounding Reduces Hallucination: The causal self-verification loop ensures the model isn't guessing. By checking if the absence of the flagged anomaly changes its mind, the agent anchors its reasoning in genuine forensic evidence.

Key Results

Deepfake-Agent achieves state-of-the-art performance across the board, outperforming both specialized domain detectors and standalone powerhouse models:

  • Overall Performance: Achieved 85.4% accuracy and a 90.9% F1-score across the entire multi-domain test set, outperforming GPT-4o (83.2% accuracy) and Gemini-2.0 Pro (71.3% accuracy).
  • Domain Dominance: It achieved 82.1% accuracy on the challenging Semantic domain and an impressive 99.0% precision in the Image Editing domain.
  • Ablation Verification: Removing the Semantic-Forgery Expert ($E_{sem.}$) caused the overall accuracy to plummet to 69.9%, proving that high-level reasoning is a critical missing piece in standard deployment pipelines.

Limitations and Future Work

While the paper demonstrates impressive results, a few limitations are apparent from the architecture:

  • API Dependency: The semantic expert relies heavily on commercial, closed-source APIs (GPT-4o and Gemini). This introduces risks regarding inference latency, API costs, and long-term reproducibility if the underlying commercial models are updated or deprecated.
  • Computational Overhead: The iterative nature of the causal self-verification loop (up to $T_{max}$ iterations) adds substantial computational overhead during inference, which might limit its use in real-time verification settings.
  • Future Directions: A natural next step would be distilling the collective world knowledge of these massive closed-source models into a singular, highly efficient, open-source local agent.

Summary updated

BibTeX
@inproceedings{guo2026deepfake,
  author = {Xiao Guo and Yue Zhang and Mohit Bansal and Xiaoming Liu},
  title = {{Deepfake-Agent: Aggregating Semantic Forgery Clues for Generalizable Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=MmuzIOSt6a},
}
Figure