Agentic Tool-Augmented Reasoning for Explainable Image Forgery Detection

Zhiya Tan, Jing Huang, Changtao Miao, Lin Tan, Xin Zhang, Weiwei Feng, Jianshu Li, Joey Tianyi ZhouarXiv 2026

TL;DR

ATAR (Agentic Tool-Augmented Reasoning) is a new framework that transforms image forgery detection from a "black-box" classification task into a transparent, multi-turn reasoning process. By equipping Multimodal Large Language Models (MLLMs) with 22 specialized forensic tools, the system achieves state-of-the-art detection accuracy while providing grounded, human-like explanations that significantly reduce AI hallucinations.

What Problem Does This Paper Address?

Detecting forged images—whether they are spliced, "Photoshopped," or AI-generated—is an arms race. Current methods generally fall into two camps, both of which have major flaws:

  1. Conventional Detectors: These are "black boxes" that output a binary score or a pixel mask. They might be accurate, but they can't tell you why they think an image is fake.
  2. MLLM-based Detectors: Recent attempts use large models to explain forgeries. However, these models often suffer from "post-hoc verbalization." They decide an image is fake first and then invent a plausible-sounding reason, often hallucinating details because their visual encoders (like CLIP) are designed for high-level semantics, not low-level signal traces like JPEG artifacts or sensor noise.

The authors argue that automated systems should mimic human forensic experts, who follow a structured workflow: experimental analysis (testing the image), logical reasoning (interpreting results), and scientific evidence (forming a verdict).

Figure 1: Three forgery detection paradigms. (a) Conven- tional IMDL methods produce pixel masks but lack logical reasoning and interpretable evidence. (b) MLLM-based meth- ods generate post-hoc verbalizations of pre-determined de- tection results rather than genuine reasoning. (c) ATAR au- tonomously invokes forensic tools and reasons from their outputs to produce grounded conclusions.

Methods

The core of the paper is the Agentic Tool-Augmented Reasoning (ATAR) framework. It treats the MLLM as an "agent" that can interact with the image through two paths:

  • High-level Semantic Path: The agent can "zoom in" on suspicious regions to check for common-sense errors (e.g., a tiger appearing in a setting where the lighting is inconsistent).
  • Low-level Artifact Path: The agent can invoke a library of 22 specialized forensic tools covering seven domains, including JPEG compression analysis, noise inconsistency, and AI-generation patterns.

To train this agent, the researchers developed Forensics Curriculum Learning, a two-stage process:

  1. General Experience SFT (Supervised Fine-Tuning): Using a teacher-student pipeline, they synthesized thousands of "reasoning trajectories" where the model learns the format of calling tools and interpreting their heatmaps.
  2. Forensic Scene RL (Reinforcement Learning): They used Group Relative Policy Optimization (GRPO) to refine the agent. To prevent the agent from getting lost in the large tool space, they used a Tool Prior Curriculum that initially guides the agent toward the best tools and gradually lets it choose independently. They also implemented a Structured Evidence Reward that separately scores the agent on its classification, its localization of the forgery, and the quality of its reasoning.
Figure 2: Overview of ATAR. Top: multi-turn reasoning chain. Bottom: two-stage training pipeline (Stage 1: General Experience SFT; Stage 2: Forensic Scene RL).

Datasets

The model was trained and evaluated on a massive variety of datasets to ensure robustness:

  • Training: A mix of seven datasets including CASIA2, IMD2020, FantasticReality, and OpenForensics.
  • Evaluation (Zero-shot): The model was tested on datasets it hadn't seen during training, such as CASIAv1+, Columbia, NIST16, and Coverage for general manipulation, as well as GenImage++ for AIGC (AI-Generated Content) detection.

Key Insights and Ideas

  • Tools as "Digital Microscopes": MLLMs are "blind" to the signal-level traces (like grid inconsistencies in JPEG files) that prove a forgery. By giving the model tools, the researchers effectively gave the AI the specialized sensors it lacked.
  • The "Shortcut Reasoning" Trap: The authors found that without specific rewards for reasoning quality ($r_3$), models would often get the right answer for the wrong reasons—a behavior they call "shortcut reasoning." Their structured reward system is critical for ensuring the explanation is actually tied to the evidence.
  • Curriculum is Essential: In RL, if an agent randomly picks a useless tool from a library of 22, it gets a "noisy" signal that hinders learning. The Tool Prior Curriculum acts as a "training wheels" phase that is vital for mastering a large toolset.

Key Results

ATAR demonstrated superior performance across the board:

  • IMDL Benchmarks: Achieved a 78.5% average image-level F1 score, beating the strongest MLLM baseline by 11.8 percentage points.
  • Deepfake Detection: Reached 99.9% F1 on the OpenForensics dataset.
  • AIGC Detection: Even without being trained on AI-generated images, it achieved 87.0% F1 on zero-shot AIGC benchmarks, outperforming specialized detectors.
  • Explainability: In human and LLM-judge evaluations, ATAR significantly reduced hallucinations. Its "True Positive Hallucination Rate" was only 7.2%, compared to 34.8% for Gemini-2.5-Pro.
Table 1: Domain-level optimal tool selection proportion (%) across training datasets. Per-tool breakdown is provided in the appendix due to space constraints.

Limitations and Future Work

While powerful, ATAR has a few hurdles:

  • Efficiency: Multi-turn reasoning and tool invocation are computationally more expensive than a single-pass detector.
  • Tool Dependency: The system's "vision" for low-level artifacts is only as good as the 22 tools in its library. If a new forgery technique emerges that these tools can't see, the agent might struggle.
  • Future Directions: The authors suggest expanding the tool library and exploring ways to make the agentic reasoning process faster for real-time applications.

Overall, ATAR represents a significant step toward "Forensics-as-a-Service," where AI doesn't just give a "Yes/No" answer but acts as a transparent partner in uncovering digital deception.

Summary updated

BibTeX
@misc{tan2026agentic,
  author = {Zhiya Tan and Jing Huang and Changtao Miao and Lin Tan and Xin Zhang and Weiwei Feng and Jianshu Li and Joey Tianyi Zhou},
  title = {{Agentic Tool-Augmented Reasoning for Explainable Image Forgery Detection}},
  year = {2026},
  eprint = {2609.39066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.39066},
}
Figure