atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Forensics Adapter: Adapting CLIP for Generalizable Face Forgery Detection

CVPR 2025 · Detection and segmentation › Open-set and few-shot detection · approach: Industrial anomaly detection · 46 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Forensics Adapter, a lightweight tiny-ViT adapter running parallel to a frozen CLIP ViT-L/14 that learns blending-boundary traces with task-specific losses and feeds knowledge back into CLIP via attention bias, reaching 5.7M trainable parameters and about 7% average AUC gain for face forgery detection.

Problem

Generalizable face forgery detection: CLIP-based detectors use CLIP merely as a frozen feature extractor with generic adapters, lacking task-specific adaptation and interaction with CLIP's visual tokens.

Approach

A parallel tiny-ViT adapter trained with blending-boundary prediction and patch-wise/sample-wise contrastive losses, which interacts with frozen CLIP through fused shallow features and a learned attention bias on CLIP [CLS*] tokens, plus trainable 1x1 convs for CLIP-side contrastive learning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Forensics Adapter instead of the strongest listed baselineFace forgery detection trained on FF++ c23 · CDF-v1, CDF-v2, DFDC, DFDCP, DFD (frame-level)AUC: 0.867 -> 0.914; 0.864 -> 0.900; 0.736 -> 0.843; 0.851 -> 0.890; 0.915 -> 0.933Helped
Use the Forensics Adapter instead of the strongest listed baselineFace forgery detection · CDF-v2, DFDC, DFDCP (video-level)AUC: 0.954 -> 0.957; 0.770 -> 0.872; 0.869 -> 0.929Helped
Remove masked blending boundary learning (L1) (ablation)Forensics Adapter · CDF-v2AUC: 0.900 -> 0.899No clear effect
Remove patch-wise contrastive learning (L2) (ablation)Forensics Adapter · CDF-v2AUC: 0.822 -> 0.900Hurt
Remove sample-wise contrastive learning (L3) (ablation)Forensics Adapter · CDF-v2AUC: 0.899 -> 0.900No clear effect
Add task-specific learning on the adapter only (ablation)Forensics Adapter · CDF-v2AUC: 0.789 -> 0.822Helped
Add task-specific learning on CLIP only (ablation)Forensics Adapter · CDF-v2AUC: 0.789 -> 0.875Helped
Use task-specific learning on both adapter and CLIP (ablation)Forensics Adapter · CDF-v2AUC: 0.875 -> 0.900Helped
Replace CLIP ViT-L/14 with CLIP ViT-B/16 (ablation)Forensics Adapter · CDF-v2AUC: 0.900 -> 0.837Hurt
Replace CLIP ViT-L/14 with BLIP ViT-L/14 (ablation)Forensics Adapter · CDF-v2AUC: 0.900 -> 0.607Hurt
Use LoRA instead of the task-specific adapter (ablation)CLIP face forgery detection · CDF-v2AUC: 0.797 -> 0.900Hurt
Use subset fine-tuning instead of the task-specific adapter (ablation)CLIP face forgery detection · CDF-v2AUC: 0.770 -> 0.900Hurt

Surprising findings

Limitations

Experimental setup

Datasets: FaceForensics++ c23

Benchmarks: CDF-v1 CDF-v2 DFDC DFDCP DFD StarGAN CramerGAN MMDGAN ADM PNDM

Metrics: AUC AP EER

Baselines: LSDA CFM ED SBI UCF Vanilla CLIP VLFFD FFAA CLIPping IID

Builds on: CLIP CoOp LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy