TL;DR
AI-generated image detectors increasingly pair their verdicts with natural-language explanations, yet they rarely check whether those explanations actually reflect what the detector relied on. EviDet closes this loop by learning a single, patch-level evidence map ($E$) that is verified to drive the classifier's decision and then used to anchor a language model's explanation. The result is a detector that hits 99.4% three-class accuracy on SID-Set, generalizes to unseen diffusion models at 97.7% accuracy, and cuts forensic hallucinations down from 0.73 to 0.54.
What Problem Does This Paper Address?
Modern image forensics has two goals: spotting whether an image is real, fully synthetic, or locally tampered, and explaining why in plain language. Recent multimodal large language models (MLLMs) and Detector–LLM pipelines can generate fluent forensic narratives, but they suffer from a subtle trust gap: plausibility is not faithfulness.
As illustrated in Figure 1, unified MLLMs produce a verdict and an explanation without checking if the two are consistent, while Detector–LLM pipelines pass auxiliary cues (like attention maps) to an LLM without verifying whether those cues actually drove the prediction. Consequently, models often commit forensic hallucinations—citing "inconsistent lighting" or "unnatural skin" that either aren't there or played no role in the decision.
To fix this, the authors draw a sharp line between an artifact (an observable trace that might indicate manipulation) and evidence (an artifact proven to support the detector's prediction).
Methods
EviDet is a two-stage framework built around a shared $32 \times 32$ patch-level evidence map $E$:
- Stage 1: Learning Decision-Relevant Evidence
- Multi-Scale Resampling Prior (MSRP): Instead of relying on a single hard-coded up-sampling pattern, MSRP downscales and restores the input image at multiple scales ($\{0.60, 0.75, 0.90\}$), applies a high-pass filter to both original and resampled images, and averages the residuals. This captures generic resampling sensitivity across generators.
- Evidence Map Construction: The MSRP cues are fused via cross-attention with high-level visual features from a LoRA-adapted DINOv3 encoder. A scoring head turns these fused features into the evidence map $E \in [0,1]^{32\times 32}$, which weights the pooled features feeding a three-way classifier (
real,fully synthetic,tampered). - Evidence Masking Verification (EMV): During training only, EMV intervenes directly on the encoder features using a soft mask derived from $E$. In the keep branch, retaining only high-$E$ patches must preserve the fake prediction; in the drop branch, suppressing them must lower it. This forces $E$ to be both sufficient and comprehensive for the decision.
- Stage 2: Evidence-Guided Explanation (EGE)
- Once the detector is frozen, its patch features and evidence map $E$ are projected into a Qwen3-VL-8B language model (bypassing its vision tower).
- Evidence-Null Contrastive Decoding: Standard fine-tuning lets LLMs fall back on language priors and ignore $E$. EGE trains and decodes by contrasting a true path (with $E$) against a null path (with $E$ zeroed out). At inference, next-token candidates are re-scored to amplify tokens whose probability increases when $E$ is present.
Datasets
- SID-Set: The primary benchmark, containing 100K real, 100K fully synthetic, and 100K tampered social-media images, along with tampered-region masks and ~3K reference explanations.
- OpenSDID: Used to test cross-generator generalization; models are trained on SD1.5 and evaluated on unseen generators (SD2.1, SDXL, SD3, and Flux.1).
- MMTD-Set: Used for zero-shot transfer evaluation of explanation quality.
- TriDF (image track): Used to benchmark explanation reliability and hallucination against human-annotated artifacts.
Key Insights and Ideas
- Artifacts $\neq$ Evidence: Low-level residual maps (like MSRP) highlight candidate anomalies, but they are not reliable detection scores on their own. Fusing them with semantic features and enforcing keep/drop interventions via EMV is what turns raw artifacts into decision-relevant evidence.
- Symmetric Supervision Across Asymmetric Classes: In fine-grained datasets like SID-Set, only tampered images have ground-truth masks. EviDet balances this by suppressing $E$ on real images, using masks as soft boundary support on tampered images, and using MSRP ranking priors on fully synthetic images.
- Contrastive Decoding Anchors Language: Without contrastive decoding, even a model conditioned on $E$ drifts toward generic forensic clichés over long generations. Contrasting against a zeroed-out evidence path keeps the LLM anchored to the specific regions the detector actually used.
Key Results
- Fine-Grained Detection (SID-Set): EviDet achieves 99.4% overall accuracy and F1, outperforming MaskCLIP by 2.3/2.1 points and SIDA-13B by 5.8/5.9 points, while maintaining >99% F1 across all three classes.
- Cross-Generator Generalization (OpenSDID): Trained only on SD1.5, EviDet reaches 97.7% accuracy and 98.2% F1 across the four unseen generators (vs. 84.5% accuracy for 8-shot FTNet-T). Even on the challenging Flux.1 generator, it retains 94.0% F1 compared to MaskCLIP's 56.5%.
- Decision Relevance: Under keep/drop interventions on SID-Set, $E$ achieves the lowest Sufficiency drop (0.065) and highest Comprehensiveness drop (0.788), yielding a net $\Delta$ of 0.723—far ahead of DINOv3 attention (0.431) or Grad-CAM (-0.087).
- Faithful Explanations: On SID-Set, EviDet scores 42.11 ROUGE-L and 82.23 CSS. On TriDF, enabling contrastive decoding cuts the hallucination rate (CHAIR) from 0.726 to 0.540 and boosts artifact coverage (Cover) from 0.247 to 0.385.
Limitations and Future Work
- Ultra-Smooth Images: Error inspection on Flux.1 shows that MSRP responses can weaken on ultra-smooth images lacking fine texture.
- Inference Overhead: Running both the true and null paths during contrastive decoding adds extra compute at inference time.
- Future Directions: The authors plan to curate more diverse, finely annotated datasets with texture-grounded explanations, and to distill the evidence contrast into a single-path model to eliminate the extra decoding cost.
Summary updated