Exploring Frequency Attention Learning and Contrastive Learning for Face Forgery Detection.

Neng Fang,Bo Xiao,Bo Wang,Chong Li,Lanxiang Zhou
DOI: https://doi.org/10.1007/978-981-99-8469-5_19
2024-01-01
Abstract:Face forgery detection has become a critical security concern due to advances in manipulation techniques. Most methods look for forged clues from the spatial or vanilla frequency domain, leading to serious over-fitting. In this paper, we propose a Frequency Attention Module (FAM) that enhances model generalizability in face forgery detection. We theoretically demonstrate the feasibility of frequency attention learning, which allows the network to automatically refine subtle but discriminative forged features and suppress irrelevant components in the frequency domain without complex manual partitions. Besides, considering that commonly-used cross-entropy loss neglects the intra-class compactness, we design the DeepFake Contrastive Loss (DFCL) to decrease intra-class variances for real faces and enlarge inter-class differences in the feature space. Extensive experiments show that our method significantly outperforms SoTA methods on widely-used benchmarks.
What problem does this paper attempt to address?