SLADD
A deepfake detector trained on adversarially synthesized forgeries to generalize to unseen forgery methods.
Image classification · 174 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Image classification
- Parameters
- 20.8M
- Operations
- 174
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2022
- Paper
- Self-supervised Learning of Adversarial Example: Towards Good Generalizations for Deepfake Detection
- Cited by
- 307 (as of 27 October 2026)
- Authors
- Liang Chen, Yong Zhang, Yibing Song and others
- Source
- GitHub: liangchen527/SLADD
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20056
- Graph hash
- 638c92da2a92b3e093199e02974a9fdfd6368cc010f7bd4aff440506a5f24ddc
- Skeleton hash
- 565f29fc6ed0e0e8783fa19587c5f47c5fb55f634cf3bf34a3ddb8b18f5ec725
- Architecture hash
- 79e4598dc166a19ad8b4de9049c23b10de6525098fd28814587f239afedfca70
- Diagram SHA-256
- 22d0acdeb720492286bb8209d05c1d8e133f12ce600dbccf15b26a722431d08c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SLADD is a deepfake detector aimed at a problem the paper calls challenging: generalizing to face forgeries created by methods that were not in the training dataset. The paper starts from one principle: a representation that generalizes should be sensitive to diverse types of forgeries. It was accepted at CVPR 2022 as an oral presentation.
For diversity, training synthesizes augmented forgeries from a pool of forgery configurations. For sensitivity, the model is also made to predict the forgery configurations. Because the space of forgery augmentations is large, an adversarial training strategy synthesizes the forgeries that are most challenging for the current model.
The released code starts from pretrained Xception weights. It trains on the FaceForensics dataset (FF++). Testing uses three other datasets: DFDC, CelebDF and DF1.0. For every FF++ video, 270 frames are extracted for training and 100 each for evaluation and testing.
Key idea. The paper trains deepfake detectors on adversarially synthesized forgeries while predicting their forgery configurations, to improve generalization to unseen forgery methods.
- sladd
- self-supervised learning of adversarial example
- deepfake detection
- face forgery detection
- generalizable deepfake detection
- adversarial forgery augmentation
- fake face detector
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2022selfsupervisedlearningadversarialexample,
title={Self-supervised Learning of Adversarial Example: Towards Good Generalizations for Deepfake Detection},
author={Liang Chen and Yong Zhang and Yibing Song and Lingqiao Liu and Jue Wang},
year={2022},
eprint={2203.12208},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2203.12208},
}