Detect Any Deepfakes: Segment Anything Meets Face Forgery Detection and Localization

Yingxin Lai, Zhiming Luo, Zitong Yu
6/29/2023
45 citations
cs.CV

Official code: laiyingxin2/DADF (462 stars, Python, MIT, last commit 2026-01-06).

Abstract

The rapid advancements in computer vision have stimulated remarkable progress in face forgery techniques, capturing the dedicated attention of researchers committed to detecting forgeries and precisely localizing manipulated areas. Nonetheless, with limited fine-grained pixel-wise supervision labels, deepfake detection models perform unsatisfactorily on precise forgery detection and localization.

Show full abstract

To address this challenge, we introduce the well-trained vision segmentation foundation model, i.e., Segment Anything Model (SAM) in face forgery detection and localization. Based on SAM, we propose the Detect Any Deepfakes (DADF) framework with the Multiscale Adapter, which can capture short- and long-range forgery contexts for efficient fine-tuning. Moreover, to better identify forged traces and augment the model's sensitivity towards forgery regions, Reconstruction Guided Attention (RGA) module is proposed. The proposed framework seamlessly integrates end-to-end forgery localization and detection optimization. Extensive experiments on three benchmark datasets demonstrate the superiority of our approach for both forgery detection and localization. The codes will be released soon at https://github.com/laiyingxin2/DADF.

View on arXivView PDF

Code Implementations(1)

laiyingxin2/DADFOfficial100%
MIT

Detect Any Deepfakes: Segment Anything Meets Face Forgery Detection and Localization

4623Python, ShellJun 29, 202310 months agoMIT

Similar Papers

Cite this paper

@article{lai2023detect,
  title  = {Detect Any Deepfakes: Segment Anything Meets Face Forgery Detection and Localization},
  author = {Yingxin Lai and Zhiming Luo and Zitong Yu},
  year   = {2023},
  eprint = {2306.17075},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17075v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.17075.svg)](https://codeofpaper.com/paper/2306.17075)

Discussion