TL;DR
Image forensics usually flattens a messy world into a single binary question: real or fake? This paper introduces 2CAP (2-Channel Authenticity Protocol), a framework that splits photographic assessment into two distinct signals—camera sensor fingerprints and scene-level semantics. By reading both channels at once, 2CAP not only tells if an image was touched by AI, but how—separating harmless AI retouching from localized tampering and full synthesis—and even coaches off-the-shelf Vision-Language Models (VLMs) to explain what changed without needing forensic fine-tuning.
What Problem Does This Paper Address?
Imagine two photographs. One is a news photo where someone used generative AI to erase a key witness. The other is a portrait where an AI enhancement tool added subtle bokeh blur while leaving the person untouched. Under standard computational forensics, both get slapped with the exact same label: "Fake."
While cryptographic provenance (like C2PA) tracks image history from the moment of capture, it fails on legacy images or photos stripped of metadata. Traditional AI detectors fill the gap, but their binary "real vs. fake" setup conflates processing history with factual truth. For journalists, courts, and content moderators, the real questions are: What actually changed, and does it violate our specific policy? Answering that requires teasing apart aesthetic AI retouching, localized semantic tampering, and fully synthetic generation.
Methods
The authors observe that AI manipulations leave distinct footprints across two orthogonal dimensions: a camera channel (invisible sensor noise and compression traces) and a semantic channel (high-level objects and scene coherence).
2CAP pairs two encoders on a shared backbone:
- Camera Encoder ($\mathcal{E}_{\text{cam}}$): Built on a standard frequency-and-noise ResNet-50 backbone (inherited from AIDE using DCT patch ranking and SRM steganalysis filters), newly reprogrammed with InfoNCE contrastive learning. It pulls embeddings of authentic photos (and mild JPEG/flip augmentations or same-sensor shots) together, while pushing AI-edited versions apart.
- Semantic Encoder ($\mathcal{E}_{\text{sem}}$): A standard, frozen SigLIP2 model capturing scene content.
From this dual foundation, 2CAP powers two applications:
- Single-Image Classification: Bidirectional cross-attention fuses patch tokens from both encoders, followed by a gating MLP that assigns learnable reliability weights to output a four-class verdict: camera-captured, GenAI-retouched, tampered, or fully synthetic.
- Reference-Based VLM Reasoning: Given a query image and a trusted original, 2CAP computes cosine similarity scores for both channels plus a patch-level semantic saliency map. Because frozen VLMs can't "see" microscopic sensor noise on their own, 2CAP feeds these pre-computed signals as privileged context via a two-pass Observe-Generate-Refine (OGR) loop. The VLM makes an initial visual guess, checks the forensic channel scores, and revises its explanation and bounding-box localization if its eyes deceived it.
Datasets
To train and test across these four distinct regimes, the authors assemble a multi-source benchmark (including 208,172 image entries for contrastive pretraining):
- Camera-captured: Dresden, VISION, Defactify Image, SID-Set, plus originals from SAGI-D and MagicBrush.
- Fully Synthetic: Defactify Image (MS COCOAI) and a Flickr8K-derived subset of RU-AI (spanning SD1.5, SD2.1, SDXL, SD3, SDv6.0, DALL-E 3, and Midjourney 6).
- Tampered: SID-Set, SAGI-D, and MagicBrush (localized object insertion, removal, and inpainting).
- GenAI-retouched: The Generative Photography dataset (global camera-parameter restyling like bokeh, focal length, and color temperature via AnimateDiff).
VISION and the Flickr8K RU-AI subset are held out entirely to test out-of-domain transfer.
Key Insights and Ideas
- AI Retouching Lives in a Blind Spot: Global AI restyling destroys low-level camera traces (low camera alignment) while keeping scene semantics intact (high semantic alignment). Plotting images in this 2D score space cleanly separates retouching from benign augmentations and tampering—something a single real/fake score simply cannot express.
- Frozen VLMs Just Need Forensic Glasses: Frontier VLMs comparing two images naturally fixate on big lighting or color shifts, missing invisible sensor-trace wipes or quiet background edits. Giving them explicit channel scores in a second "Refine" pass lets them self-correct without expensive forensic instruction-tuning, giving smaller models (like GPT-4o-mini and Gemini 2.5 Flash) the biggest boost.
- Simpler Fusion Holds Its Own: Surprisingly, in a controlled ablation, cross-attention with fixed equal weights slightly edged out the learnable reliability gate (.908 vs. .906 F1). While the learned gate weights offer neat diagnostic visuals, the heavy lifting comes from combining the two channels via cross-attention, not the gating mechanism itself.
Key Results
- Four-Class Classification: On the 3,200-image test split, 2CAP hits .982 overall AUC and .906 macro-F1, outperforming ten adapted forensic baselines (the runner-up, AIDE, reaches .934 AUC / .767 F1). On AI retouching specifically, 2CAP achieves .964 F1, nearly 10 points ahead of the strongest baseline (D3 at .868).
- VLM Evidence & Localization: Across 400 image pairs, adding the +OGR loop improves change-type accuracy, object recall, and localization IoU across all four tested models (GPT-4o-mini, GPT-4o, Gemini 2.5 Flash, Gemini 2.5 Pro). Change-type accuracy jumps +7.7 percentage points on Gemini 2.5 Flash (71.0% $\rightarrow$ 78.7%) and +5.4 points on GPT-4o (84.4% $\rightarrow$ 89.8%).
- Mock Policy Review: Feeding VLM outputs into a rule-based policy checker (e.g., rejecting biometric edits or added/removed people while allowing benign retouching) boosts GPT-4o's policy accuracy to 98.2% and rejection recall to 94.3%.
Limitations and Future Work
The authors are admirably transparent about the boundaries of their setup:
- Imperfect Baseline Parity & Holdouts: 2CAP benefits from task-specific contrastive pretraining, and baselines used a slightly different historical training pool, so Table 1 isn't a strictly matched apples-to-apples contest. Moreover, the main test split was inspected during development, and out-of-distribution generalization varies (on held-out Flickr8K, 2CAP's .859 AUC trails FatFormer's .938 and GAPL's .996).
- Dataset Confounding: Aggregating different datasets for different manipulation classes risks source- and generator-distribution confounding.
- Composite Workflows & Saliency Blind Spots: Real-world edits often chain operations (e.g., local inpainting followed by global denoising), blurring the four clean categories. Additionally, the directed patch-saliency map struggles to highlight removed or repeated objects if the remaining background still matches the reference image. Future directions are not explicitly discussed in the main text.
Summary updated