FakeTracer: Catching Face-swap DeepFakes via Implanting Traces in Training
Pu Sun, Honggang Qi, Yuezun Li, Siwei Lyu
TL;DR
Face-swap DeepFakes pose practical security risks by enabling identity replacement with convincing realism. FakeTracer offers a proactive defense by embedding two trace types—STrace (persistent) and ETrace (erasable)—into training faces to steer the DeepFake model toward generating traces-bearing outputs, which can be detected to reveal forgeries. The approach uses a trainable STrace generator, a STrace identifier, and a DeepFake simulator to mimic encoding-decoding, achieving high recovery accuracy and robust detection across architectures and post-processing. This method exposes DeepFakes without altering the model architecture or generation pipeline, offering a scalable defense with practical robustness and broad potential impact on privacy and verification workflows.
Abstract
Face-swap DeepFake is an emerging AI-based face forgery technique that can replace the original face in a video with a generated face of the target identity while retaining consistent facial attributes such as expression and orientation. Due to the high privacy of faces, the misuse of this technique can raise severe social concerns, drawing tremendous attention to defend against DeepFakes recently. In this paper, we describe a new proactive defense method called FakeTracer to expose face-swap DeepFakes via implanting traces in training. Compared to general face-synthesis DeepFake, the face-swap DeepFake is more complex as it involves identity change, is subjected to the encoding-decoding process, and is trained unsupervised, increasing the difficulty of implanting traces into the training phase. To effectively defend against face-swap DeepFake, we design two types of traces, sustainable trace (STrace) and erasable trace (ETrace), to be added to training faces. During the training, these manipulated faces affect the learning of the face-swap DeepFake model, enabling it to generate faces that only contain sustainable traces. In light of these two traces, our method can effectively expose DeepFakes by identifying them. Extensive experiments corroborate the efficacy of our method on defending against face-swap DeepFake.
