arXiv:2508.07402cs.CV2025-08被引 9

提出可抵抗对抗攻击的统一图像伪造检测与定位框架

ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attack

  • 在Transformer块中注入伪造专家增强特征捕捉能力
  • 通过轻量级检测器识别多种对抗攻击,准确率超90%
  • 自适应激活对抗修正专家,兼顾干净图像与攻击场景

参数高效微调(PEFT)已成为适配大型视觉基础模型(如SAM、LLaVA)至下游任务(如图像伪造检测与定位,IFDL)的流行策略。然而,现有基于PEFT的方法忽视了其对对抗攻击的脆弱性。本文表明,仅通过上游模型即可生成高度迁移性的对抗图像,无需访问下游模型或训练数据,显著降低IFDL性能。为此,我们提出ForensicsSAM,一个具备内置对抗鲁棒性的统一IFDL框架。设计遵循三个核心思路:(1)为弥补冻结图像编码器中缺乏伪造相关知识的问题,我们在每个Transformer块中注入始终激活且共享的伪造专家,以增强对伪造痕迹的捕捉能力;(2)设计轻量级对抗检测器,学习RGB域中的结构化、任务特定伪影,实现对多种攻击方法的可靠区分;(3)在全局注意力层和MLP模块中注入对抗专家,逐步纠正对抗噪声引起的特征偏移,其激活由检测器自适应控制,避免对干净图像造成干扰。在多个基准上的大量实验表明,ForensicsSAM在抵御各类对抗攻击方面表现卓越,同时在图像级伪造检测与像素级伪造定位上达到顶尖水平。

原文摘要 · Abstract (English)

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.

图像伪造对抗防御SAM鲁棒检测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。