ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attack
Not on the map. Why?
Abstract (arXiv)
Parameter-efficient fine-tuning (PEFT) has emerged as a popular strategy for adapting large vision foundation models, such as the Segment Anything Model (SAM) and LLaVA, to downstream tasks like image forgery detection and localization (IFDL). However, existing PEFT-based approaches overlook their vulnerability to adversarial attacks. In this paper, we show that highly transferable adversarial images can be crafted solely via the upstream model, without accessing the downstream model or training data, significantly degrading the IFDL performance. To address this, we propose ForensicsSAM, a unified IFDL framework with built-in adversarial robustness. Our design is guided by three key ideas: (1) To compensate for the lack of forgery-relevant knowledge in the frozen image encoder, we inject forgery experts into each transformer block to enhance its ability to capture forgery artifacts. These forgery experts are always activated and shared across any input images. (2) To detect adversarial images, we design an light-weight adversary detector that learns to capture structured, task-specific artifact in RGB domain, enabling reliable discrimination across various attack methods. (3) To resist adversarial attacks, we inject adversary experts into the global attention layers and MLP modules to progressively correct feature shifts induced by adversarial noise. These adversary experts are adaptively activated by the adversary detector, thereby avoiding unnecessary interference with clean images. Extensive experiments across multiple benchmarks demonstrate that ForensicsSAM achieves superior resistance to various adversarial attack methods, while also delivering state-of-the-art performance in image-level forgery detection and pixel-level forgery localization. The resource is available at https://github.com/siriusPRX/ForensicsSAM.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 27 of its 51 references that are in the map. First posted on arXiv 10 Aug 2025.
Builds on
27 of 51 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Segment Anythingcited by 8,234
- 2023Visual Instruction Tuningcited by 7,869
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
- 2017Adversarial Examples for Semantic Segmentation and Object Detectioncited by 275
- 2016A study of the effect of JPG compression on adversarial imagescited by 197
- 2018Fighting Fake News: Image Splice Detection via Learned Self-Consistencycited by 136
- 2021PSCC-Net: Progressive Spatio-Channel Correlation Network for Image Manipulation Detection and Localizationcited by 133
- 2022TruFor: Leveraging all-round clues for trustworthy image forgery detection and localizationcited by 130
- 2021MVSS-Net: Multi-View Multi-Scale Supervised Networks for Image Manipulation Detectioncited by 117
15 more
- 2024FakeShield: Explainable Image Forgery Detection and Localization via Multi-modal Large Language Modelscited by 113
- 2024SIDA: Social Media Image Deepfake Detection, Localization and Explanation with Large Multimodal Modelcited by 108
- 2020SPAN: Spatial Pyramid Attention Network forImage Manipulation Localizationcited by 92
- 2021Learning JPEG Compression Artifacts for Image Manipulation Detection and Localizationcited by 78
- 2022ObjectFormer for Image Manipulation Detection and Localizationcited by 78
- 2023Boosting Adversarial Transferability by Block Shuffle and Rotationcited by 64
- 2023Boosting Adversarial Transferability by Achieving Flat Local Maximacited by 48
- 2021Detect and Locate: Exposing Face Manipulation by Semantic- and Noise-level Telltalescited by 39
- 2023Pixel-Inconsistency Modeling for Image Manipulation Localizationcited by 33
- 2024DarkSAM: Fooling Segment Anything Model to Segment Nothingcited by 32
- 2024MoE-FFD: Mixture of Experts for Generalized and Parameter-Efficient Face Forgery Detectioncited by 27
- 2024Transferable Adversarial Attacks on SAM and Its Downstream Modelscited by 21
- 2024SAFIRE: Segment Any Forged Image Regioncited by 18
- 2023Black-box Targeted Adversarial Attack on Segment Anything (SAM)cited by 13
- 2025Active Adversarial Noise Suppression for Image Forgery Localizationcited by 1
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026EvoGuard: An Extensible Agentic RL-based Framework for Practical and Evolving AI-Generated Image Detectioncited by 6
- 2026ForgeryVCR: Visual-Centric Reasoning via Efficient Forensic Tools in MLLMs for Image Forgery Detection and Localizationcited by 2
- 2026Universal Anti-forensics Attack against Image Forgery Detection via Multi-modal Guidancecited by 1
- 2026Off-the-shelf Vision Models Benefit Image Manipulation Localizationcited by 0
- 2026JECA^2: Judgment-Explanation Consistent Adversarial Attack against Forensic Vision-Language Modelscited by 0
- 2026Forensic-Aware Continual Adaptation for Image Forgery Localizationcited by 0
- 2026Forensic-Aware Continual Adaptation for Image Forgery Localization29 Sep 2026
- 2026JECA^2: Judgment-Explanation Consistent Adversarial Attack against Forensic Vision-Language Models27 May 2026
- 2026Off-the-shelf Vision Models Benefit Image Manipulation Localization10 Apr 2026
- 2026EvoGuard: An Extensible Agentic RL-based Framework for Practical and Evolving AI-Generated Image Detection18 Mar 2026
- 2026ForgeryVCR: Visual-Centric Reasoning via Efficient Forensic Tools in MLLMs for Image Forgery Detection and Localization15 Feb 2026
- 2026Universal Anti-forensics Attack against Image Forgery Detection via Multi-modal Guidance6 Feb 2026