With various facial manipulation techniques arising, face forgery detection has drawn growing attention due to security concerns. Previous works always formulate face forgery detection as a classification problem based on cross-entropy loss, which emphasizes category-level differences rather than the essential discrepancies between real and fake faces, limiting model generalization in unseen domains. To address this issue, we propose a novel face forgery detection framework, named Dual Contrastive Learning (DCL), which specially constructs positive and negative paired data and performs designed contrastive learning at different granularities to learn generalized feature representation. Concretely, combined with the hard sample selection strategy, Inter-Instance Contrastive Learning (Inter-ICL) is first proposed to promote task-related discriminative features learning by especially constructing instance pairs. Moreover, to further explore the essential discrepancies, Intra-Instance Contrastive Learning (Intra-ICL) is introduced to focus on the local content inconsistencies prevalent in the forged faces by constructing local-region pairs inside instances. Extensive experiments and visualizations on several datasets demonstrate the generalization of our method against the state-of-the-art competitors.
翻译:随着各种面部操纵技术的出现,面部伪造检测由于安全考虑而引起越来越多的关注。以前的工作总是将面部伪造检测作为基于跨渗透性损失的分类问题,强调类别层面的差异,而不是真实面孔和假面孔之间的基本差异,限制在隐蔽领域的典型概括化。为了解决这一问题,我们提议了一个名为“双对学习”的新颖的面部伪造检测框架,名为“双对学习”,它专门构建正对对对对的数据,在不同微粒上进行设计对比学习,以了解通用特征。具体地说,结合硬抽样选择战略,首次提议采用“内插差异学习”来推广与任务相关的歧视性特征,特别是用造实例对立来推广。此外,为了进一步探讨基本的差异,引入了“内插差异学习”以集中关注在伪造面上普遍存在的本地内容不一致之处,在各种实例中建立本地配对。在几个数据集上进行了广泛的实验和直观分析,展示了我们的方法对州竞争对手的普遍态度。