[论文解读] LatentForensics: Towards frugal deepfake detection in the StyleGAN latent space
本文提出 LatentForensics,一种轻量级深度伪造检测方法,通过将裁剪并对齐的人脸图像投影到预训练的 StyleGAN 隐空间中,利用随机森林或多层感知机等简单模型进行分类。该方法在显著更少的训练样本下实现了最先进的准确率,优于 MesoNet、XCeptionNet 和 EfficientNet 在标准基准上的表现。
The classification of forged videos has been a challenge for the past few years. Deepfake classifiers can now reliably predict whether or not video frames have been tampered with. However, their performance is tied to both the dataset used for training and the analyst's computational power. We propose a deepfake detection method that operates in the latent space of a state-of-the-art generative adversarial network (GAN) trained on high-quality face images. The proposed method leverages the structure of the latent space of StyleGAN to learn a lightweight binary classification model. Experimental results on standard datasets reveal that the proposed approach outperforms other state-of-the-art deepfake classification methods, especially in contexts where the data available to train the models is rare, such as when a new manipulation method is introduced. To the best of our knowledge, this is the first study showing the interest of the latent space of StyleGAN for deepfake classification. Combined with other recent studies on the interpretation and manipulation of this latent space, we believe that the proposed approach can further help in developing frugal deepfake classification methods based on interpretable high-level properties of face images.
研究动机与目标
- 通过计算高效且可扩展的方法应对深度伪造检测日益增长的挑战。
- 克服基于伪影的检测方法在未见数据或压缩数据上性能下降的局限性。
- 探索生成模型(如 StyleGAN)隐空间表征在构建鲁棒、可解释的深度伪造分类中的潜力。
- 开发一种对标注数据和训练资源需求极低的方法,适用于低数据场景下的实际部署。
- 通过分析 StyleGAN 隐空间通道中的特征重要性,探究深度伪造检测的可解释性。
提出的方法
- 使用伪反演方法(Zhu et al., 2021)将视频帧中的裁剪并对齐的人脸图像投影到预训练 StyleGAN 的隐空间中。
- 采用 14 通道的隐空间代码表示,其中每个通道对应不同层次的面部特征抽象(从粗略到精细)。
- 在隐空间代码上训练轻量级分类器(如随机森林、逻辑回归或多层感知机)以实现二元深度伪造分类。
- 使用随机梯度下降优化隐空间代码,学习率为 5×10⁻⁴,采用 L2 正则化。
- 使用标准基准(如 DFDC 和 FaceForensics++)并结合测试集的交叉验证评估性能。
- 通过在单个隐空间通道上分别训练模型,分析通道层面的重要性,以评估特征的相关性。
实验结果
研究问题
- RQ1是否可以利用 StyleGAN 的隐空间构建一种无需训练复杂卷积神经网络的轻量级但高精度的深度伪造检测器?
- RQ2基于隐空间的检测方法与 MesoNet 和 XCeptionNet 等最先进的基于 CNN 的方法相比表现如何?
- RQ3与现有模型相比,该方法在显著更少的训练样本下具有多大程度的泛化能力?
- RQ4StyleGAN 隐空间代码中的哪些通道对区分真实与伪造人脸最具信息量?
- RQ5隐空间的可解释性是否能提升深度伪造检测的可解释性?
主要发现
- 采用多层感知机(MLP-5)分类器的所提方法在 DFDC 数据集上达到 94% 的准确率,优于 XCeptionNet(91%)和 EfficientNet(91%)。
- 在 StyleGAN 隐空间代码上使用随机森林分类器达到 88% 的准确率,较 MesoNet(84%)提升 4 个百分点。
- 在 StyleGAN 隐空间代码上使用逻辑回归将准确率提升至 92%,表明当数据在隐空间中表征良好时,简单模型可超越复杂模型。
- 该方法仅需 5,000 个训练视频(而 DFDC 微调模型需 124,000 个),数据需求降低 25 倍。
- StyleGAN 隐空间中中到后期层(通道 8–11)最具信息量,MLP 和随机森林分别在通道 6–9 和 9–11 处达到最优模式。
- 该方法表明,隐空间中编码的高层、可解释的面部属性(如头部形状、皮肤纹理)对检测深度伪造操作非常有效。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。