CodeDetector: Revealing Forgery Traces with Codebook for Generalized Deepfake Detection

被引:0
|
作者
Li, Jiaxin [1 ]
Yu, Zhihan [1 ]
Luo, Guibo [1 ]
Zhu, Yuesheng [1 ]
机构
[1] Peking Univ, Sch Eletron & Comp Engn, Shenzhen, Peoples R China
关键词
DeepFake Detection; Codebook Vector Quantization;
D O I
10.1145/3652583.3658082
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The malicious use of deepfake technologies poses a significant threat to social security, emphasizing the urgent necessity to advance deepfake detection. Existing detection models tend to overfit specific forgery traces within the training set, resulting in a weak generalization performance on unseen data. Considering that the feature distribution of real images is limited compared to the diverse forgery patterns, capturing the real feature space and treating features outside the distribution as potential forgery traces can mitigate overfitting and enhance the detector's generalization ability. Furthermore, since facial manipulation generates artifacts in pixels and disrupts the global consistency of the data, potential forgery traces at both pixel and feature levels can contribute to detection. In this paper, we propose a novel two-stage deepfake detection model named CodeDetector, which utilizes a codebook to capture the feature space of real faces and obtain potential forgery traces by facial reconstruction for detection. In the codebook learning stage, a codebook is used to capture the real feature distribution. In the detector training stage, we obtain pixel-level and feature-level residuals as potential forgery traces through facial reconstruction on real and fake faces to guide the model's attention to forgery clues. Specifically, we propose a Quantized Residual-Guided Attention Module and a Dual Residual Attention Module, calculating residuals and utilizing the attention mechanism to enhance global feature representation. Additionally, an Indices Prediction Module is introduced to ensure the accuracy of residual guidance that enhances the robustness of reconstruction during detection. Extensive experiments have demonstrated that CodeDetector outperforms state-of-the-art in deepfake detection cross-dataset benchmark.
引用
收藏
页码:339 / 347
页数:9
相关论文
共 49 条
  • [21] Generalizable Deepfake Detection with Unbiased Feature Extraction and Low-Level Forgery Enhancement
    Yu, Zhihan
    Li, JiaXin
    Wang, Guangshuo
    Zhu, Yuesheng
    Luo, Guibo
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING-ICANN 2024, PT II, 2024, 15017 : 275 - 288
  • [22] Detection Enhancement for Various Deepfake Types Based on Residual Noise and Manipulation Traces
    Kang, Jihyeon
    Ji, Sang-Keun
    Lee, Sangyeong
    Jang, Daehee
    Hou, Jong-Uk
    IEEE ACCESS, 2022, 10 : 69031 - 69040
  • [23] A dual descriptor combined with frequency domain reconstruction learning for face forgery detection in deepfake videos
    Jin, Xin
    Wu, Nan
    Jiang, Qian
    Kou, Yuru
    Duan, Hanxian
    Wang, Puming
    Yao, Shaowen
    FORENSIC SCIENCE INTERNATIONAL-DIGITAL INVESTIGATION, 2024, 49
  • [24] Fake It till You Make It: Curricular Dynamic Forgery Augmentations Towards General Deepfake Detection
    Lin, Yuzhen
    Song, Wentang
    Li, Bin
    Li, Yuezun
    Ni, Jiangqun
    Chen, Han
    Li, Qiushi
    COMPUTER VISION - ECCV 2024, PT LXXXVI, 2025, 15144 : 104 - 122
  • [25] Towards Generalized Detection of Face-Swap Deepfake Images
    Ghasemzadeh, Faraz
    Moghaddam, Tina
    Dai, Jingming
    Yun, Joobeom
    Kim, Dan Dongseong
    PROCEEDINGS OF THE 3RD ACM WORKSHOP ON SECURITY IMPLICATIONS OF DEEPFAKES AND CHEAPFAKES, ACM WDC 2024, 2024, : 8 - 13
  • [26] TOWARDS GENERALIZABLE DEEPFAKE FACE FORGERY DETECTION WITH SEMI-SUPERVISED LEARNING AND KNOWLEDGE DISTILLATION
    Lin, Yuzhen
    Chen, Han
    Li, Bin
    Wu, Junqiang
    2022 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2022, : 576 - 580
  • [27] Real face foundation representation learning for generalized deepfake detection
    Shi, Liang
    Zhang, Jie
    Ji, Zhilong
    Bai, Jinfeng
    Shan, Shiguang
    PATTERN RECOGNITION, 2025, 161
  • [28] Deepfake forensics: Cross-manipulation robustness of feedforward-and recurrent convolutional forgery detection methods
    Chamot, Frederic
    Geradts, Zeno
    Haasdijk, Evert
    FORENSIC SCIENCE INTERNATIONAL-DIGITAL INVESTIGATION, 2022, 40
  • [29] FedForgery: Generalized Face Forgery Detection With Residual Federated Learning
    Liu, Decheng
    Dang, Zhan
    Peng, Chunlei
    Zheng, Yu
    Li, Shuang
    Wang, Nannan
    Gao, Xinbo
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2023, 18 : 4272 - 4284
  • [30] Integrating frame-level boundary detection and deepfake detection for locating manipulated regions in partially spoofed audio forgery attacks
    Cai, Zexin
    Li, Ming
    COMPUTER SPEECH AND LANGUAGE, 2024, 85