All models

CADDM

Deepfake detector that adds an anchor-based Artifact Detection Module to reduce reliance on identity information.

Image classification · 666 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

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

Parameters
211M
Operations
666
Framework
PyTorch
Recurrent
No
Published
CVPR 2023
Cited by
220 (as of 29 October 2026)
Authors
Shichao Dong, Jin Wang, Renhe Ji and others
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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15023
Graph hash
568f36946edb476d2b6dbe1eca0c4ecc17ecd82d17746d6764d21d541d00b03d
Skeleton hash
1fca0b87c487e98749b7fce9cda3735d84e3d082f92f3c272906098f384c87e6
Architecture hash
d6f0c101b345504d62dd4381eb685f9256eac2459a1e7e06abe9dc57ef72ae91
Diagram SHA-256
dcdd5c5d1955ee2d491543b43c6a2799f4f1af85eb78e9ffef957d3ab8bfcb42
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

CADDM is the code release of the ID-unaware Deepfake Detection Model, a detector of manipulated face images. The paper behind it analyzes why binary classifiers for deepfake detection generalize poorly, and finds that the obstacle is an identity representation the classifiers learn unexpectedly, which it terms Implicit Identity Leakage.

The remedy rests on the intuition that a model forced to focus only on local areas of an image pays less attention to global identity information. The authors therefore add an anchor-based detector, the Artifact Detection Module (ADM): four extra layers of different scales are added at the end of the backbone, and multi-scale anchors are each labeled fake or genuine. The final 1 × 1 feature maps of ADM form a short connection with the end of the backbone, and the result is fed into a fully connected layer to generate the final prediction. Because position annotations of artifact areas are usually not available in public deepfake datasets, the paper proposes Multi-scale Facial Swap, which uses multi-scale sliding windows and different blending functions to create new fake images with those annotations.

The repository's README lists video-level AUC for models trained on FF++; for the EfficientNet-b3 backbone, the one used in this model, it gives 99.78% on FF++, 93.08% on Celeb-DF and 73.34% on DFDC.

Key idea. The paper identifies Implicit Identity Leakage in binary deepfake classifiers and proposes an ID-unaware detector whose Artifact Detection Module focuses the model on local artifact areas.

  • CADDM
  • ID-unaware Deepfake Detection Model
  • Implicit Identity Leakage
  • deepfake detection
  • face forgery detection
  • Artifact Detection Module
  • Multi-scale Facial Swap
  • generalization

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{dong2023implicitidentityleakagestumbling,
      title={Implicit Identity Leakage: The Stumbling Block to Improving Deepfake Detection Generalization}, 
      author={Shichao Dong and Jin Wang and Renhe Ji and Jiajun Liang and Haoqiang Fan and Zheng Ge},
      year={2023},
      eprint={2210.14457},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2210.14457}, 
}