ForgeLens: Data-Efficient Forgery Focus for Generalizable Forgery Image Detection

Yingjian Chen, Lei Zhang, Yakun Niu
8/25/2024
cs.CV

Official code: Yingjian-Chen/ForgeLens (36 stars, last commit 2025-11-09).

Abstract

The rise of generative models has raised concerns about image authenticity online, highlighting the urgent need for a detector that is (1) highly generalizable, capable of handling unseen forgery techniques, and (2) data-efficient, achieving optimal performance with minimal training data, enabling it to counter newly emerging forgery techniques effectively. To achieve this, we propose ForgeLens, a data-efficient, feature-guided framework that incorporates two lightweight designs to enable a frozen network to focus on forgery-specific features. First, we introduce the Weight-Shared Guidance Module (WSGM), which guides the extraction of forgery-specific features during training. Second, a forgery-aware feature integrator, FAFormer, is used to effectively integrate forgery information across multi-stage features. ForgeLens addresses a key limitation of previous frozen network-based methods, where general-purpose features extracted from large datasets often contain excessive forgery-irrelevant information. As a result, it achieves strong generalization and reaches optimal performance with minimal training data. Experimental results on 19 generative models, including both GANs and diffusion models, demonstrate improvements of 13.61% in Avg.Acc and 8.69% in Avg.AP over the base model. Notably, ForgeLens outperforms existing forgery detection methods, achieving state-of-the-art performance with just 1% of the training data. Our code is available at https://github.com/Yingjian-Chen/ForgeLens.

View on arXivView PDF

Code Implementations(1)

Official Implementation of ICCV 2025 paper "ForgeLens: Data-Efficient Forgery Focus for Generalizable Forgery Image Detection"

363Shell, PythonJun 29, 202511 months ago

Similar Papers

Cite this paper

@article{chen2024forgelens,
  title  = {ForgeLens: Data-Efficient Forgery Focus for Generalizable Forgery Image Detection},
  author = {Yingjian Chen and Lei Zhang and Yakun Niu},
  year   = {2024},
  eprint = {2408.13697},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.13697v2}
}

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/2408.13697.svg)](https://codeofpaper.com/paper/2408.13697)

Discussion