A Dual-Branch CNN for Robust Detection of AI-Generated Facial Forgeries

  • 2025-10-28 17:06:40
  • Xin Zhang, Yuqi Song, Fei Zuo
  • 0

Abstract

The rapid advancement of generative AI has enabled the creation of highlyrealistic forged facial images, posing significant threats to AI security,digital media integrity, and public trust. Face forgery techniques, rangingfrom face swapping and attribute editing to powerful diffusion-based imagesynthesis, are increasingly being used for malicious purposes such asmisinformation, identity fraud, and defamation. This growing challengeunderscores the urgent need for robust and generalizable face forgery detectionmethods as a critical component of AI security infrastructure. In this work, wepropose a novel dual-branch convolutional neural network for face forgerydetection that leverages complementary cues from both spatial and frequencydomains. The RGB branch captures semantic information, while the frequencybranch focuses on high-frequency artifacts that are difficult for generativemodels to suppress. A channel attention module is introduced to adaptively fusethese heterogeneous features, highlighting the most informative channels forforgery discrimination. To guide the network's learning process, we design aunified loss function, FSC Loss, that combines focal loss, supervisedcontrastive loss, and a frequency center margin loss to enhance classseparability and robustness. We evaluate our model on the DiFF benchmark, whichincludes forged images generated from four representative methods:text-to-image, image-to-image, face swap, and face edit. Our method achievesstrong performance across all categories and outperforms average humanaccuracy. These results demonstrate the model's effectiveness and its potentialcontribution to safeguarding AI ecosystems against visual forgery attacks.

 

Quick Read (beta)

loading the full paper ...