arXiv:2503.19683cs.CV2025-03被引 27

用CLIP模型实现高泛化率的细微人脸伪造检测

Unlocking the Hidden Potential of CLIP in Generalizable Deepfake Detection

  • 基于CLIP视觉编码器,采用参数高效微调提升检测能力
  • 跨数据集测试准确率媲美甚至超过复杂模型
  • 适合研究通用伪造检测与轻量化部署的开发者

本文针对部分篡改型人脸深度伪造(仅修改特定面部特征但保留整体上下文)的检测难题,利用对比语言-图像预训练模型CLIP的ViT-L/14视觉编码器,提出一种可泛化的检测方法。该方法通过参数高效微调(如LN-tuning)调整少量参数,保持预训练知识并减少过拟合;结合定制化预处理流程与L2归一化、超球面度量学习等正则化策略,增强模型泛化能力。在FaceForensics++上训练,于Celeb-DF-v2、DFDC、FFIW等多个数据集进行跨数据集评估,性能达到或超越更复杂的现有技术。研究表明,CLIP视觉编码器在人脸伪造检测中具有强大潜力,为未来研究提供了简单而高效的基准。代码已开源。

原文摘要 · Abstract (English)

This paper tackles the challenge of detecting partially manipulated facial deepfakes, which involve subtle alterations to specific facial features while retaining the overall context, posing a greater detection difficulty than fully synthetic faces. We leverage the Contrastive Language-Image Pre-training (CLIP) model, specifically its ViT-L/14 visual encoder, to develop a generalizable detection method that performs robustly across diverse datasets and unknown forgery techniques with minimal modifications to the original model. The proposed approach utilizes parameter-efficient fine-tuning (PEFT) techniques, such as LN-tuning, to adjust a small subset of the model's parameters, preserving CLIP's pre-trained knowledge and reducing overfitting. A tailored preprocessing pipeline optimizes the method for facial images, while regularization strategies, including L2 normalization and metric learning on a hyperspherical manifold, enhance generalization. Trained on the FaceForensics++ dataset and evaluated in a cross-dataset fashion on Celeb-DF-v2, DFDC, FFIW, and others, the proposed method achieves competitive detection accuracy comparable to or outperforming much more complex state-of-the-art techniques. This work highlights the efficacy of CLIP's visual encoder in facial deepfake detection and establishes a simple, powerful baseline for future research, advancing the field of generalizable deepfake detection. The code is available at: https://github.com/yermandy/deepfake-detection

深度伪造检测CLIP参数高效微调泛化能力

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