TL;DR
The "Propose and Rectify" framework bridges the gap between high-level semantic reasoning and low-level pixel forensics. By using a fine-tuned Multimodal Large Language Model (MLLM) to generate initial hypotheses and a specialized rectification module to validate them with technical evidence, the system achieves state-of-the-art accuracy in localizing image forgeries across diverse, real-world datasets.
What Problem Does This Paper Address?
Detecting image manipulation is a cat-and-mouse game. Modern generative AI and sophisticated editing tools create "seamless" forgeries that often evade traditional forensic detectors, which look for statistical anomalies (like noise patterns or JPEG compression traces).
Recently, MLLMs (like LLaVA) have shown promise because they understand context—they can tell if a shadow is physically impossible or if an object doesn't belong in a scene. However, MLLMs have a "blind spot": they are optimized for semantic understanding, not pixel-level forensics. They struggle to perceive the subtle, low-level artifacts crucial for precise localization and are prone to "hallucinations." This paper tackles the challenge of combining the "world knowledge" of MLLMs with the "microscopic" precision of traditional forensic tools.
Methods
The authors introduce a two-stage Propose-Rectify pipeline:
- The Proposal Stage: They fine-tune a LLaVA model (using LoRA) to act as a forensic expert. It doesn't just output "real" or "fake"; it generates a textual analysis and a preliminary "proposal" for the tampered region. They introduce two special tokens,
<ANL>(for analysis) and<SEG>(for segmentation), to extract these proposals from the model's hidden layers. - The Rectification Stage: This is the core innovation. It consists of three sub-modules:
- Multi-Features Extractor: Simultaneously runs the image through four specialized forensic filters (SRM, Bayar, Sobel, and Noiseprint++) to capture low-level technical evidence.
- Forensics Rectification Module (FRM): This module uses the MLLM’s high-level analysis to "gate" the low-level features. Essentially, the MLLM's understanding of the scene tells the system which forensic artifacts are most relevant to investigate, refining the initial proposal through multi-scale analysis.
- Enhanced Segmentation Module (ESM): Standard segmentation models like SAM (Segment Anything Model) are biased toward semantic objects. ESM injects forensic discrepancy cues into the embeddings, forcing the model to see boundaries defined by "forgery traces" rather than just object edges.
Datasets
The model was trained on CASIAv2, a standard benchmark. To test its ability to generalize to unseen data (a common failure point for forensic models), the authors evaluated it on 10 diverse datasets:
- NIST2016, Columbia, IFC, CASIAv1+, COVER, DEF-12k, IMD2020, Carvalho, Korus, and In-the-wild.
- These datasets cover various manipulation types, including splicing, copy-move, and inpainting.
Key Insights and Ideas
- MLLMs as "Hypothesis Generators": Instead of trusting an MLLM to make the final call, the authors use it to "propose" where to look. This mimics a human forensic expert who first identifies a suspicious area based on logic and then uses a microscope to confirm it.
- Analysis-Informed Gating: One of the "aha" moments is using the MLLM's semantic embedding to weight the forensic filters. If the MLLM thinks a region is suspicious due to lighting, the system can prioritize features that highlight illumination inconsistencies.
- Correcting Semantic Bias: Most segmentation models want to wrap around a whole person or car. If only half a car is forged, a standard model might fail. By amplifying the "discrepancy" between the semantic image and the forensic reality, the ESM allows for much more precise, non-object-aligned boundaries.
Key Results
The framework achieved State-of-the-Art (SOTA) performance across the board:
- Localization Accuracy: Achieved an average F1-score of 42.3% and an IoU of 35.1% across 10 datasets, significantly outperforming the previous best method, PIM (34.2% F1 and 28.4% IoU).
- Robustness: The model showed exceptional resilience to common image degradations like JPEG compression, noise, and brightness changes. The authors attribute this to the MLLM providing a "semantic anchor" even when low-level pixels are scrambled.
- Qualitative Superiority: Visual results show that while other models produce "noisy" or fragmented masks, the Propose-Rectify framework generates clean, coherent regions that closely match ground truth.
Limitations and Future Work
- Computational Overhead: The sequential, two-stage nature of the pipeline is more computationally expensive than single-pass CNN or Transformer models, which might limit its use in real-time or edge-computing scenarios.
- Future Directions: The authors suggest exploring a Mixture-of-Experts (MoE) approach to selectively activate forensic modules, potentially reducing costs. They also see potential in extending this "Propose-Rectify" paradigm to video and audio forensics, where temporal and acoustic inconsistencies could be rectified in a similar fashion.
Summary updated