SELFI: Selective Fusion of Identity for Generalizable Deepfake Detection

Younghun Kim, Minsuk Jang, Myung-Joon Kwon, Wonjun Lee, Changick Kim · Submission to ICLR 2026 · Withdrawn

TL;DR

Should deepfake detectors embrace or discard facial identity features? SELFI resolves this controversy by revealing that identity is a potent but context-dependent forensic signal: while some manipulation techniques retain transferable identity artifacts, others introduce misleading, method-specific biases. Rather than blindly suppressing or relying on identity, SELFI dynamically modulates identity features using a learned, per-sample relevance score—achieving state-of-the-art generalization, including a 6% AUC jump on the challenging DFDC benchmark.

What Problem Does This Paper Address?

Current deepfake detectors generalize notoriously poorly to manipulation techniques and datasets unseen during training. Recent literature is sharply divided on the role of facial identity in this failure mode:

  1. Identity as a liability: Some researchers argue that deepfake classifiers inadvertently overfit to training identities (implicit identity leakage), advocating for the explicit suppression of identity cues.
  2. Identity as an asset: Others treat identity mismatches and facial consistency as essential forensic clues, actively integrating identity representations to boost detection.

This paper tackles the fundamental dilemma: Does facial identity provide genuine forensic signal, or is it merely spurious bias that harms cross-domain generalization?

Methods

Through preliminary experiments, the authors demonstrate that identity embeddings from frozen face recognition models (IResNet100) are inherently discriminative for deepfake detection, but their transferability varies dramatically across forgery types. To exploit identity without overfitting, they propose SELFI (SELective Fusion of Identity):

[Input Image x]
   ├──> [Frozen Face Recognizer (Eid)] ──> [fid] ──> [FAIA: W_fi] ──> [ffi] ──┐
   │                                                      │                   │
   │                                               (Lfag Auxiliary Loss)      │
   │                                                                          ▼
   └──> [Visual Backbone (CLIP)] ──────────────────────────────────> [fvis] ──┴─> [IAFM: Relevance & Soft Fusion] ──> ffused ──> [Ccls] ──> Real/Fake
  • Forgery-Aware Identity Adapter (FAIA): Extracts a 512-dimensional embedding $f_{id}$ from a frozen face recognition model (IResNet100) and projects it into the visual feature space via a single linear projection matrix $W_{fi}$. This projection is guided by an auxiliary classification loss ($\mathcal{L}_{fag}$) to ensure the identity vectors emphasize forgery-relevant inconsistencies rather than mere person identification.
  • Identity-Aware Fusion Module (IAFM): Concatenates visual features ($f_{vis}$ from a visual backbone like CLIP) with adapted identity features ($f_{fi}$) and feeds them to a lightweight Relevance Predictor (a two-layer MLP with Sigmoid activation) to output a scalar weight $\rho \in [0, 1]$.
  • Soft Fusion: Combines features adaptively via $f_{fused} = \rho \cdot f_{fi} + (1 - \rho) \cdot f_{vis}$ before forwarding them to the final binary classification head.
  • Joint Optimization: The framework is trained end-to-end using $\mathcal{L}_{total} = \mathcal{L}_{cls} + \mathcal{L}_{fag}$.

Datasets

  • Training: FaceForensics++ (FF++ c23), covering four manipulation techniques: DeepFakes (DF), FaceSwap (FS), Face2Face (F2F), and NeuralTextures (NT).
  • Cross-Dataset Evaluation: Four disjoint target benchmarks: Celeb-DF v2 (CDFv2), DeepfakeDetection (DFD), Deepfake Detection Challenge (DFDC), and DFDC Preview (DFDCP).
  • Robustness Evaluation: DeeperForensics-1.0 perturbation testbed (Gaussian blur, block-wise distortions, contrast/saturation shifts, JPEG compression).
  • No new benchmarks were introduced.

Key Insights and Ideas

  • Identity alone detects fakes: A simple linear classifier trained exclusively on frozen ArcFace embeddings (without ever seeing visual images) achieves high real-vs-fake classification accuracy, proving identity vectors carry intrinsic forensic cues.
  • Identity behavior spans three distinct regimes:
  • Transferable cues (DF, FS): Face swapping leaves strong identity-level signals that generalize well across similar methods (e.g., training on DF yields 74.5% AUC on FS).
  • Method-specific artifacts (F2F): Facial reenactment creates high in-domain performance (82.6%) but collapses across methods (52.3% on DF), showing identity can overfit to generation-specific patterns.
  • Ineffective cues (NT): Methods altering localized facial components (like mouth interior synthesis) leave identity embeddings ambiguous and uninformative (60.8% in-domain, 53.5% out-of-domain).
  • Less transformation is better: Ablations on the adapter show that deeper multi-layer projection heads degrade performance compared to a single linear layer (84.6% vs. 79.0% cross-dataset average AUC), as deeper networks distort the underlying identity semantics.
  • Not a generic ensemble effect: Swapping identity features with ImageNet or random features causes cross-dataset AUC to plummet from 84.6% to 61.7% and 54.8%, proving that performance gains stem from genuine identity semantics rather than increased parameter capacity.

Key Results

  • Cross-Dataset Generalization: Trained on FF++ c23, SELFI reaches 0.846 frame-level average cross-dataset AUC, outperforming prior state-of-the-art detectors like FreqDebias (0.817) and LSDA (0.815).
  • Major DFDC Gains: On the notoriously challenging DFDC benchmark, SELFI achieves 0.796 AUC, improving by ~6.0% over the previous best (FreqDebias at 0.741).
  • Backbone-Agnostic Improvements: Adding SELFI consistently boosts cross-dataset average AUC across architectures: CLIP (+5.6%), ResNet34 (+2.6%), and EfficientNet-B4 (+1.6%).
  • Competitive Video-Level AUC: Averaging frame-level predictions over 32 frames per video yields 0.857 average video-level AUC, outperforming dedicated video-level temporal detectors such as NACO (0.831) and RealForensics (0.814).
  • Corruption Robustness: SELFI maintains stable performance across severe corruption levels on DeeperForensics, showing particular resilience against Gaussian blur where high-frequency forensic cues vanish.

Limitations and Future Work

  • Pose and Occlusion Sensitivity: Identity embeddings extracted from frozen models can be noisy or unreliable when faces are heavily occluded or seen from extreme profile angles.
  • Single-Domain Vulnerability: If trained strictly on a single manipulation type that lacks transferable identity cues (such as NT or F2F alone), SELFI cannot fully leverage its adaptive mechanism and suffers performance drops on unseen methods.
  • Other Biases Unaddressed: SELFI focuses squarely on identity bias. Future work should investigate whether adaptive gating mechanisms can be extended to other confounding factors such as background artifacts, demographic biases, and varying compression pipelines.

Summary updated

BibTeX
@misc{kim2025selfi,
  author = {Younghun Kim and Minsuk Jang and Myung-Joon Kwon and Wonjun Lee and Changick Kim},
  title = {{SELFI: Selective Fusion of Identity for Generalizable Deepfake Detection}},
  year = {2025},
  eprint = {2506.17592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.17592},
}
Figure