Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FSFM: A Generalizable Face Security Foundation Model via Self-Supervised Facial Representation Learning

About

This work asks: with abundant, unlabeled real faces, how to learn a robust and transferable facial representation that boosts various face security tasks with respect to generalization performance? We make the first attempt and propose a self-supervised pretraining framework to learn fundamental representations of real face images, FSFM, that leverages the synergy between masked image modeling (MIM) and instance discrimination (ID). We explore various facial masking strategies for MIM and present a simple yet powerful CRFR-P masking, which explicitly forces the model to capture meaningful intra-region consistency and challenging inter-region coherency. Furthermore, we devise the ID network that naturally couples with MIM to establish underlying local-to-global correspondence via tailored self-distillation. These three learning objectives, namely 3C, empower encoding both local features and global semantics of real faces. After pretraining, a vanilla ViT serves as a universal vision foundation model for downstream face security tasks: cross-dataset deepfake detection, cross-domain face anti-spoofing, and unseen diffusion facial forgery detection. Extensive experiments on 10 public datasets demonstrate that our model transfers better than supervised pretraining, visual and facial self-supervised learning arts, and even outperforms task-specialized SOTA methods.

Gaojian Wang, Feng Lin, Tong Wu, Zhenguang Liu, Zhongjie Ba, Kui Ren• 2024

Related benchmarks

TaskDatasetResultRank
Face Anti-SpoofingOULU-NPU ICM → O
HTER7.68
115
Face Anti-SpoofingIdiap Replay-Attack OCM → I
HTER4.63
96
Face Anti-SpoofingMSU-MFSD OCI → M
HTER3.78
85
Face Anti-SpoofingCASIA-FASD OMI → C
HTER3.16
41
Deepfake DetectionDFDCP (test)
AUC86.94
27
Video Deepfake DetectionDF-TIMIT (test)
AUC90.56
27
Face Forgery DetectionS2CFP (test)
Score (@ijustine)40.97
24
Deepfake DetectionIDForge (test)
AUC87.59
22
Deepfake DetectionKoDF (test)
AUC74.67
22
Video Deepfake DetectionCeleb-DF (CDF)
Video-level AUC91.44
21
Showing 10 of 14 rows

Other info

Code

Follow for update