Javascript is required
@article{1,title={{FaceForensics++}: Learning to Detect Manipulated Facial Images},author={R{\"o}ssler, Andreas and Cozzolino, Davide and Verdoliva, Luisa and Riess, Christian and Thies, Justus and Nie{\ss}ner, Matthias},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={1--11},year={2019},doi={10.1109/ICCV.2019.00009},url={}}. [Crossref]
@article{2,title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale},author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil},booktitle={International Conference on Learning Representations (ICLR)},year={2021},doi={10.48550/arXiv.2010.11929},url={}}. [Crossref]
@article{3,title={Distilling the Knowledge in a Neural Network},author={Hinton, Geoffrey and Vinyals, Oriol and Dean, Jeff},journal={arXiv Preprint},year={2015},note={arXiv:1503.02531},doi={10.48550/arXiv.1503.02531},url={}}. [Crossref]
@article{4,title={{FReTAL}: Generalizing Deepfake Detection Using Knowledge Distillation and Representation Learning},author={Kim, Minha and Tariq, Shahroz and Woo, Simon S.},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},year={2021},doi={10.1109/CVPRW53098.2021.00111},url={}}. [Crossref]
@article{5,title={Confidence-Calibrated Face Image Forgery Detection with Contrastive Representation Distillation},author={Yang, Puning and Huang, Huaibo and Wang, Zhiyong and Yu, Aijing and He, Ran},booktitle={Computer Vision--ACCV 2022, Part IV},series={Lecture Notes in Computer Science},volume={13844},pages={3--19},year={2022},publisher={Springer},doi={10.1007/978-3-031-26316-3_1},url={}}. [Crossref]
@article{6,title={{DistilDIRE}: A Small, Fast, Cheap and Lightweight Diffusion Synthesized Deepfake Detection},author={Lim, Yewon and Lee, Changyeon and Kim, Aerin and Etzioni, Oren},journal={arXiv Preprint},year={2024},note={arXiv:2406.00856},doi={10.48550/arXiv.2406.00856},url={}}. [Crossref]
@article{7,title={A Brief Review for Compression and Transfer Learning Techniques in {DeepFake} Detection},author={Karathanasis, Andreas and Violos, John and Kompatsiaris, Ioannis and Papadopoulos, Symeon},journal={arXiv Preprint},year={2025},note={arXiv:2504.21066},doi={10.48550/arXiv.2504.21066},url={}}. [Crossref]
@article{8,title={Does Knowledge Distillation Really Work?},author={Stanton, Samuel and Izmailov, Pavel and Kirichenko, Polina and Alemi, Alexander A. and Wilson, Andrew Gordon},booktitle={Advances in Neural Information Processing Systems (NeurIPS)},volume={34},pages={6906--6919},year={2021},doi={10.48550/arXiv.2106.05945},url={}}. [Crossref]
@article{9,title={Revisiting Knowledge Distillation Under Distribution Shift},author={Zhang, Songming and Lyu, Ziyu and Chen, Xiaofeng},journal={arXiv Preprint},year={2023},note={arXiv:2312.16242},doi={10.48550/arXiv.2312.16242},url={}}. [Crossref]
@article{10,title={On the Efficacy of Knowledge Distillation},author={Cho, Jang Hyun and Hariharan, Bharath},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={4794--4802},year={2019},doi={10.1109/ICCV.2019.00489},url={}}. [Crossref]
@article{11,title={Improved Knowledge Distillation via Teacher Assistant},author={Mirzadeh, Seyed Iman and Farajtabar, Mehrdad and Li, Ang and Levine, Nir and Matsukawa, Akihiro and Ghasemzadeh, Hassan},booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},volume={34},number={4},pages={5191--5198},year={2020},doi={10.1609/aaai.v34i04.5963},url={}}. [Crossref]
@article{12,title={{Celeb-DF}: A Large-Scale Challenging Dataset for {DeepFake} Forensics},author={Li, Yuezun and Yang, Xin and Sun, Pu and Qi, Honggang and Lyu, Siwei},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={3204--3213},year={2020},doi={10.1109/CVPR42600.2020.00327},url={}}. [Crossref]
@article{13,title={The {DeepFake} Detection Challenge ({DFDC}) Dataset},author={Dolhansky, Brian and Bitton, Joanna and Pflaum, Ben and Lu, Jikuo and Howes, Russ and Wang, Menglin and Ferrer, Cristian Canton},journal={arXiv Preprint},year={2020},note={arXiv:2006.07397},doi={10.48550/arXiv.2006.07397},url={}}. [Crossref]
@article{14,title={{DiffusionFace}: Towards a Comprehensive Dataset for Diffusion-Based Face Forgery Analysis},author={Chen, Zhongxi and Sun, Ke and Zhou, Ziyin and Lin, Xianming and Sun, Xiaoshuai and Cao, Liujuan and Ji, Rongrong},journal={arXiv Preprint},year={2024},note={arXiv:2403.18471},doi={10.48550/arXiv.2403.18471},url={}}. [Crossref]
@article{15,title={{Xception}: Deep Learning with Depthwise Separable Convolutions},author={Chollet, Fran{\c{c}}ois},booktitle={Proceedings of the {IEEE} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={1251--1258},year={2017},doi={10.1109/CVPR.2017.195},url={}}. [Crossref]
@article{16,title={{UCF}: Uncovering Common Features for Generalizable Deepfake Detection},author={Yan, Zhiyuan and Zhang, Yong and Fan, Yanbo and Wu, Baoyuan},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={22412--22423},year={2023},doi={10.1109/ICCV51070.2023.02048},url={}}. [Crossref]
@article{17,title={Transcending Forgery Specificity with Latent Space Augmentation for Generalizable Deepfake Detection},author={Yan, Zhiyuan and Luo, Yuhao and Lyu, Siwei and Liu, Qingshan and Wu, Baoyuan},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={8984--8994},year={2024},doi={10.1109/CVPR52733.2024.00858},url={}}. [Crossref]
@article{18,title={{DeepfakeBench}: A Comprehensive Benchmark of Deepfake Detection},author={Yan, Zhiyuan and Zhang, Yong and Yuan, Xinhang and Lyu, Siwei and Wu, Baoyuan},booktitle={Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track},volume={36},year={2023},doi={10.48550/arXiv.2307.01426},url={}}. [Crossref]
@article{19,title={On the Detection of Synthetic Images Generated by Diffusion Models},author={Corvi, Riccardo and Cozzolino, Davide and Zingarini, Giada and Poggi, Giovanni and Nagano, Koki and Verdoliva, Luisa},booktitle={{IEEE} International Conference on Acoustics, Speech and Signal Processing (ICASSP)},pages={1--5},year={2023},doi={10.1109/ICASSP49357.2023.10095167},url={}}. [Crossref]
@article{20,title={{Deepfake-Eval-2024}: A Multi-Modal In-the-Wild Benchmark of Deepfakes Circulated in 2024},author={Chandra, Nuria Alina and Murtfeldt, Ryan and Qiu, Lin and Karmakar, Arnab and Lee, Hannah and Tanumihardja, Emmanuel and Farhat, Kevin and Caffee, Ben and Paik, Sejin and Lee, Changyeon and Choi, Jongwook and Kim, Aerin and Etzioni, Oren},journal={arXiv Preprint},year={2025},note={arXiv:2503.02857},doi={10.48550/arXiv.2503.02857},url={}}. [Crossref]
@article{21,title={Knowledge Distillation: A Survey},author={Gou, Jianping and Yu, Baosheng and Maybank, Stephen J. and Tao, Dacheng},journal={Int. J. Comput. Vis.},volume={129},pages={1789--1819},year={2021},publisher={Springer},doi={10.1007/s11263-021-01453-z},url={}}. [Crossref]
@article{22,title={On Calibration of Modern Neural Networks},author={Guo, Chuan and Pleiss, Geoff and Sun, Yu and Weinberger, Kilian Q.},booktitle={Proceedings of the 34th International Conference on Machine Learning (ICML)},volume={70},pages={1321--1330},year={2017},doi={10.48550/arXiv.1706.04599},url={}}. [Crossref]
@article{23,title={A Comparative Analysis of Compression and Transfer Learning Techniques in {DeepFake} Detection Models},author={Karathanasis, Andreas and Violos, John and Kompatsiaris, Ioannis},journal={Mathematics},volume={13},number={5},pages={887},year={2025},publisher={MDPI},doi={10.3390/math13050887},url={}}. [Crossref]
@article{24,title={Face {X}-Ray for More General Face Forgery Detection},author={Li, Lingzhi and Bao, Jianmin and Zhang, Ting and Yang, Hao and Chen, Dong and Wen, Fang and Guo, Baining},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={5001--5010},year={2020},doi={10.1109/CVPR42600.2020.00505},url={}}. [Crossref]
@article{25,title={Detecting Deepfakes with Self-Blended Images},author={Shiohara, Kaede and Yamasaki, Toshihiko},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={18720--18729},year={2022},doi={10.1109/CVPR52688.2022.01816},url={}}. [Crossref]
@article{26,title={End-to-End Reconstruction-Classification Learning for Face Forgery Detection},author={Cao, Junyi and Ma, Chao and Yao, Taiping and Chen, Shen and Ding, Shouhong and Yang, Xiaokang},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={4113--4122},year={2022},doi={10.1109/CVPR52688.2022.00408},url={}}. [Crossref]
@article{27,title={Towards Universal Fake Image Detectors That Generalize Across Generative Models},author={Ojha, Utkarsh and Li, Yuheng and Lee, Yong Jae},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={24480--24489},year={2023},doi={10.48550/arXiv.2302.10174},url={}}. [Crossref]
@article{28,title={Orthogonal Subspace Decomposition for Generalizable {AI}-Generated Image Detection},author={Yan, Zhiyuan and Wang, Jiangming and Jin, Peng and Zhang, Ke-Yue and Liu, Chengchun and Chen, Shen and Yao, Taiping and Ding, Shouhong and Wu, Baoyuan and Yuan, Li},journal={arXiv Preprint},year={2025},note={arXiv:2411.15633},doi={10.48550/arXiv.2411.15633},url={}}. [Crossref]
@article{29,title={{DF40}: Toward Next-Generation Deepfake Detection},author={Yan, Zhiyuan and Yao, Taiping and Chen, Shen and Zhao, Yandan and Fu, Xinghe and Zhu, Junwei and Luo, Donghao and Wang, Chengjie and Ding, Shouhong and Wu, Yunsheng and Yuan, Li},booktitle={Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track},volume={37},year={2024},doi={10.48550/arXiv.2406.13495},url={}}. [Crossref]
@article{30,title={{Celeb-DF++}: A Large-Scale Challenging Video {DeepFake} Benchmark for Generalizable Forensics},author={Li, Yuezun and Zhu, Delong and Cui, Xinjie and Lyu, Siwei},journal={arXiv Preprint},year={2025},note={arXiv:2507.18015},doi={10.48550/arXiv.2507.18015},url={}}. [Crossref]
@article{31,title={A Novel Model Compression Method Based on Joint Distillation for Deepfake Video Detection},author={Xu, Xiong and Tang, Shuai and Zhu, Mingcheng and He, Peisong and Li, Sirui and Cao, Yun},journal={J. King Saud Univ. -- Comput. Inf. Sci.},volume={35},number={9},pages={101792},year={2023},publisher={Elsevier},doi={10.1016/j.jksuci.2023.101792},url={}}. [Crossref]
@article{32,title={Spatial-Frequency Feature Fusion Based Deepfake Detection Through Knowledge Distillation},author={Wang, Bo and Wu, Xiaohan and Wang, Fei and Zhang, Yushu and Wei, Fei and Song, Zengren},journal={Eng. Appl. Artif. Intell.},volume={133},number={Part E},pages={108341},year={2024},publisher={Elsevier},doi={10.1016/j.engappai.2024.108341},url={}}. [Crossref]
@article{33,title={Interactive Dual-Branch Network Based on Adversarial Knowledge Distillation for Compressed Deepfake Detection},author={Yang, Gaoming and Zhu, Peng and Zhang, Ji and Yang, Xiangyu},journal={J. Supercomput.},volume={81},number={14},pages={1315},year={2025},publisher={Springer},doi={10.1007/s11227-025-07795-6},url={}}. [Crossref]
@article{34,title={{CDD-RFLNet}: Continual Disagreement-Distilled Residual-Feature Learning for Open-World Deepfake-Video Detection},author={Choudhry, Nomica and Rao, Imran},journal={J. Imaging},volume={12},number={10},pages={489},year={2026},publisher={MDPI},doi={10.3390/jimaging12100489},url={}}. [Crossref]
@article{35,title={Knowledge Distillation: A Good Teacher Is Patient and Consistent},author={Beyer, Lucas and Zhai, Xiaohua and Royer, Am{\'e}lie and Markeeva, Larisa and Anil, Rohan and Kolesnikov, Alexander},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={10925--10934},address={New Orleans, LA, USA},year={2022},doi={10.1109/CVPR52688.2022.01065},url={}}. [Crossref]
@article{36,title={When Does Label Smoothing Help?},author={M{\"u}ller, Rafael and Kornblith, Simon and Hinton, Geoffrey},booktitle={Advances in Neural Information Processing Systems (NeurIPS)},volume={32},year={2019},doi={10.48550/arXiv.1906.02629},url={}}. [Crossref]
@article{37,title={{DFDC} ({F}aces) of the Train Sample},author={Gilad, I.},year={2026},howpublished={Kaggle dataset},url={https://www.kaggle.com/datasets/itamargr/dfdc-faces-of-the-train-sample},}.
@article{38,title={{EfficientNet}: Rethinking Model Scaling for Convolutional Neural Networks},author={Tan, Mingxing and Le, Quoc},booktitle={Proceedings of the 36th International Conference on Machine Learning (ICML)},volume={97},pages={6105--6114},year={2019},doi={10.48550/arXiv.1905.11946},url={}}. [Crossref]
Search
Research article

Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study

Syed Azmul Hasan,
Mohammad Farhad Bulbul*
Department of Mathematics, Jashore University of Science and Technology, 7408 Jashore, Bangladesh
Acadlore Transactions on AI and Machine Learning
|
Volume 5, Issue 4, 2026
|
Pages 289-304
Received: 10-07-2026,
Revised: 11-17-2026,
Accepted: 11-20-2026,
Available online: 11-26-2026
View Full Article|Download PDF

Abstract:

Knowledge distillation (KD) is widely used to compress high-capacity deepfake detectors into lightweight students, on the implicit assumption that the student inherits not only the teacher’s in-domain accuracy but also its ability to generalize to unseen manipulations. We test this assumption with a three-way comparison: (A) a dual-path Vision Transformer teacher (DP-ViT) fusing red, green, and blue (RGB) and high-frequency features, trained on FaceForensics++ (FF++); (B) an EfficientNet-B0 student distilled from this teacher; and (C) an EfficientNet-B0 baseline of identical architecture, trained on the same labels, split, and configured hyperparameters as (B) but with no distillation signal (the realized training budgets differ, see below). All three are evaluated in-domain on FF++ and zero-shot on the Celeb DeepFake dataset (Celeb-DF) and Deepfake Detection Challenge (DFDC), at the frame and video level, with bootstrap confidence intervals and calibration metrics. All three runs were cut short by a fixed session limit (7, 4, and 6 epochs for A, B, and C), so the results describe compute-limited training. The distilled student did not inherit its teacher’s behavior: its FF++ video Area Under the Receiver Operating Characteristic curve (AUROC) (0.661) is far below the teacher’s (0.867), and on Celeb-DF its AUROC (0.569) is below both the teacher’s (0.637) and the label-only student’s (0.613), with extremely overconfident predictions—Expected Calibration Error (ECE) 0.855. On DFDC the distilled student is the only model above chance (AUROC 0.545 against 0.471 and 0.356), but all three models are near or below chance there. Relative to the label-only baseline, the effect of distillation is therefore lower on one face-swap benchmark, higher on the other, and not separable in-domain, so teacher-inherited robustness should not be assumed. These results come from a single training run per model and one distillation configuration; a diffusion-based benchmark was prepared but its evaluation did not complete and is left to future work.
Keywords: Deepfake detection, Knowledge distillation, Cross-domain generalization, Vision Transformer, EfficientNet, Model compression, Calibration

1. Introduction

The proliferation of accessible face-swapping and face-reenactment tools has made synthetic facial video a practical concern for misinformation, impersonation, and fraud [1]. A persistent weakness of deepfake detectors is poor cross-domain generalization: a model trained on one manipulation family routinely suffers a sharp accuracy drop on a different dataset, a different face-swap method, or a diffusion-based forgery absent at training time.

High-capacity pre-trained backbones such as Vision Transformers [2], which transfer well at scale, are commonly expected to generalize better across domains than lightweight convolutional neural networks (CNNs), but their size makes them unattractive for latency- and memory-constrained deployment. Knowledge distillation (KD) [3] is the standard remedy, training a compact student to match a frozen teacher’s soft predictions and, often, intermediate features, with the implicit assumption that the student inherits the teacher’s generalization along with its in-domain accuracy. This assumption is rarely tested directly: many KD-for-deepfake-detection papers report student accuracy on the teacher’s own benchmark, or on a single transfer target, without a matched, same-capacity, non-distilled baseline that isolates what the distillation signal itself contributes.

The existing evidence on whether distillation and compression preserve generalization is mixed. Distillation has been used to adapt detectors to new forgery domains [4], to improve cross-dataset face-forgery detection with calibrated confidence [5], and to build fast detectors of diffusion-generated images, where an ablation reports that the distillation term improved average accuracy on generators unseen in training [6]. In contrast, a study of pruning, distillation and quantization for deepfake detection reports that compressed models match their uncompressed baselines when the test images come from the training generator, but that a domain-generalization problem appears for generators not seen in training [7]. More generally, distilled students often match their teachers poorly [8], and distillation can teach poorly under distribution shift [9]. To our knowledge, none of these studies makes the effect of the teacher signal on unseen manipulations its central question, by comparing a distilled student with a same-architecture, same-data, same-recipe student trained on labels alone, and then testing both on unseen face-swap benchmarks. This control is necessary because a student’s cross-domain behavior is shaped by its architecture, pre-training, augmentation and schedule as well as by the teacher: without the label-only twin, a change relative to the teacher cannot be attributed to distillation rather than to reduced capacity.

Two expectations pull in opposite directions. On one hand, a teacher’s soft predictions and intermediate features carry more information than one-hot labels and can regularize a small student [3], which would let some of the teacher’s robustness transfer. On the other hand, a teacher trained on a single source domain can pass on its source-specific cues, and a large capacity gap can make the student a poor imitation of its teacher [10-8]. Which effect dominates for forgery detection under unseen manipulations is an empirical question, and it cannot be answered from the teacher’s or the student’s accuracy alone: it requires a student of the same architecture that never sees the teacher.

This paper asks a narrow question: \emph{holding backbone capacity, dataset, split, and the configured training recipe fixed across the two same-capacity students, does a knowledge-distilled student preserve its teacher’s cross-domain deepfake detection capability better than a same-architecture student that never sees the teacher, trained only on ground-truth labels?} Because both students were stopped by a session time limit after different numbers of epochs, the comparison is made under unequal realized training budgets (Section 3). We construct the minimal three-model comparison needed to address this:

Model A (Teacher). A base Vision Transformer with 16-by-16-pixel patches (ViT-B/16) dual-branch Vision Transformer teacher (DP-ViT) encoding a red, green, and blue (RGB) face crop and its Laplacian high-frequency counterpart, trained end-to-end on FaceForensics++ (FF++).,Model B (KD Student). An EfficientNet-B0 distilled from Model A via a weighted soft-label, feature-alignment, and hard-label objective.,Model C (cross-entropy (CE)-only Student). An EfficientNet-B0 identical to Model B’s backbone, trained on the same labels, split, augmentation, and configured schedule as Model B, but with no distillation signal.

All three are evaluated under one shared protocol on a deterministic FF++ test partition and two zero-shot cross-domain face-swap benchmarks (the Celeb DeepFake dataset (Celeb-DF) [12] and Deepfake Detection Challenge (DFDC) [13]). We compute frame- and video-level accuracy, F-measure with equal weight for precision and recall (F1), area under the receiver operating characteristic curve (AUROC), and average precision (AP); calibration (expected calibration error (ECE), Brier, negative log-likelihood (NLL)); and video-level bootstrap confidence intervals for AUROC. A diffusion-based benchmark (DiffusionFace [14]) was prepared, but its evaluation did not complete for any model (Section 6). Our contributions are:

(1) A same-architecture teacher/KD-student/CE-student comparison under unequal realized training budgets, in which the configured training signal is the only intended difference between the two students, while holding student capacity, data, split, and training configuration fixed (the realized epoch budgets differ, so the comparison does not isolate the distillation effect; Section 3).

(2) A cross-domain evaluation on two unseen face-swap benchmarks that differ from FF++ in synthesis pipeline (Celeb-DF) and in capture conditions and generation methods (DFDC), reporting per-target generalization gaps and calibration for all three models.

(3) Evidence, from a compute-limited single-run experiment, that the distilled student neither inherits the teacher’s in-domain or Celeb-DF performance nor reliably outperforms a label-only student: relative to that baseline it is lower on Celeb-DF, higher on DFDC (where all three models are near or below chance), and has an overlapping confidence interval in-domain, with uncertainty reported throughout rather than as a single point estimate.

The rest of the paper is organized as follows. Section 2 reviews generalizable forgery detection, compression and distillation. Section 3 describes the data, models, distillation objective and evaluation protocol. Section 4 reports in-domain and cross-domain results with calibration, and Sections 5 and 6 discuss what the evidence does and does not support.

2. Related Work

Early deepfake detectors used CNN backbones such as Xception [15] on FF++ [1]; subsequent dual-stream designs fuse RGB content with high-frequency or noise-residual cues on the premise that generative adversarial network (GAN)/autoencoder synthesis leaves artifacts in the frequency domain, and this is the design our teacher (Model A) follows. Vision Transformers [2] are increasingly adopted as detector backbones for their transfer performance at scale, motivating their use here as a distillation teacher.

Recent work attributes much of the cross-dataset failure of detectors to overfitting to forgery-specific or method-specific artifacts, and counters it by disentangling common forgery features [16] or by enlarging the forgery space through latent-space augmentation [17]. Because data processing and evaluation settings differ widely between papers, standardized benchmarks such as DeepfakeBench [18] have been proposed to compare detectors under unified pipelines and protocols; we likewise evaluate all three models under one shared protocol.

A well-established finding is that detectors trained on FF++ lose substantial AUROC on Celeb-DF [12] or DFDC [13], both constructed to be harder and visually distinct from FF++. Diffusion-based synthesis introduces a further shift: detectors tuned to GAN/autoencoder artifacts are not guaranteed to transfer to diffusion-generated forgeries, which motivates diffusion-based benchmarks such as DiffusionFace [14]; we prepared such a set but could not complete its evaluation (Section 6). We treat in-domain FF++ accuracy as necessary but not informative about deployment robustness. Detectors developed for GAN-generated images transfer poorly to diffusion-generated images [19], and on the in-the-wild Deepfake-Eval-2024 benchmark, open-source detectors lose roughly half of their area under the curve (AUC) relative to the academic benchmarks on which they were originally reported [20].

KD [3] trains a compact student to match a temperature-softened teacher output, later extended to intermediate-feature alignment, of which our Model B’s cosine feature-alignment term is one instance (see Gou~et~al. [21] for a survey). KD is routinely used to compress deepfake detectors for deployment, but the premise that a student inherits the teacher’s generalization along with its in-domain accuracy is rarely tested against a matched, non-distilled baseline—which is what we do here. We also report calibration, since modern networks are frequently overconfident outside their training distribution [22] and a model can retain high AUROC while becoming increasingly overconfident under distribution shift.

Distillation and compression for forgery detection.

Feature Representation Transfer Adaptation Learning (FReTAL) combines distillation with representation learning to adapt a detector to new deepfake domains while limiting forgetting [4]; a dual-teacher contrastive distillation framework with confidence calibration targets cross-dataset face-forgery detection [5]; and distilled diffusion reconstruction error detector (DistilDIRE) distills a diffusion-reconstruction-based detector into a lightweight model [6]. Compression studies that evaluate pruning, quantization and distillation for deepfake detection on edge devices find that accuracy is preserved when training and test generators coincide, but that a domain-generalization problem appears for unseen generators [7-23]. Outside forensics, Stanton et al. [8] show that students often fail to match their teacher’s predictive distribution even when capacity allows it, and Zhang et al. [9] report poor teaching performance under distribution shift.

Generalizable detection and lightweight detectors.

Beyond Uncovering Common Features (UCF) [16] and Latent Space Data Augmentation (LSDA) [17], other work targets unseen manipulations by training on blending or reconstruction cues, such as Face X-ray [24], self-blended images [25] and reconstruction–classification learning [26], or by using frozen pre-trained features to transfer across generative models [27], or by adapting vision foundation models with very few trainable parameters [28]. Large benchmarks also question FF++-centred protocols: DF40 evaluates detectors on forgeries from 40 techniques [29], and Celeb-DF++ extends Celeb-DF with 22 further generation methods [30]. On the efficiency side, Xu et al. [31] compress deepfake video detectors with a joint loss that combines cross-entropy, logit distillation and gradient-guided feature distillation; Wang et al. [32] distill spatial-frequency features and logits from a teacher into a student for compressed images; and Yang et al. [33] combine an interactive dual-branch network with adversarial distillation for compressed deepfake detection. Distillation has also been used for open-world continual detection with a teacher-disagreement mechanism [34]. These studies report gains for a proposed method; they do not ask what the teacher signal adds relative to a label-only student of the same architecture.

When distillation helps or fails to transfer.

Cho and Hariharan [10] show that a larger teacher does not always produce a better student, and teacher-assistant distillation was proposed to bridge large capacity gaps [11]. Beyer et al. [35] find that students match teachers best when both see identical augmented inputs and training is long (“patient and consistent’’); our students see the same augmented view as the teacher, but our training budgets are short (Section 3). Label smoothing, which we use in both students, can improve calibration while making a model a worse teacher [36]; our teacher is trained without smoothing, so this does not affect Model A.

How this study differs.

Much of the KD-for-forgery work we are aware of proposes a new distillation recipe and reports gains over a prior detector [32-31], and compression studies typically compare a compressed model with its own larger baseline. Neither answers whether the teacher signal itself explains a student’s behavior on unseen manipulation families. We keep the student architecture, data, split, augmentation and configured schedule fixed (realized epoch budgets differ; Section 3), vary only the configured loss (distilled versus label-only), and evaluate on unseen face-swap benchmarks with video-level bootstrap intervals and calibration metrics.

3. Methodology

3.1 Datasets

All three models are trained on FF++ [1] using pre-extracted face-crop frames from five manipulation categories (Deepfakes, Face2Face, FaceSwap, NeuralTextures, FaceShifter) against pristine frames. All three models are trained and tested on one video-disjoint 80/10/10 train/validation/test partition of FF++ (seed = 42). The split is made at the level of videos, stratified by manipulation type (pristine plus the five manipulations), after sorting the video identifiers, so it does not depend on file-system enumeration order and all frames of a video fall in the same partition. Each training script logs a 256-bit Secure Hash Algorithm (SHA-256) digest of the video-to-partition assignment, which is identical across the three runs. Pristine and manipulated videos are assigned independently, so an original video or identity can still appear in more than one partition; the FF++ in-domain results should therefore be read as an optimistic estimate (Section 6). Frames are pre-extracted face crops, resized to $224\times224$ and normalized with ImageNet statistics; Table 1 gives the number of videos and frames per partition and dataset. We use the frames exactly as stored in our extracted face-crop sets, without further subsampling for training or for the FF++ test partition: the 7,000 FF++ videos contribute 260,793 crops (37.3 per video on average). Two cross-domain sets are evaluated zero-shot and are never used for training, checkpoint selection or thresholding (to fit the session time budget, Celeb-DF clips were subsampled to at most 7 frames each for Model A, 6 for Model B, and 4 for Model C; see the evaluation protocol below): Celeb-DF [12] (version~2: 5,639 high-quality face-swap videos against 890 real videos) and DFDC [13] (over 100,000 face-swap clips from 3,426 actors, produced with a mixture of Deepfake, GAN-based, and non-learned methods; the evaluated subset is the pre-extracted face-crop version of the DFDC training sample, i.e.\ 93,853 crops from 286 source videos, 228 manipulated and 58 pristine). We also prepared two categories of DiffusionFace [14] (DiffSwap and a Stable-Diffusion-v1.5 image-to-image edit with denoising strength $0.3$) as a generative family absent from the other benchmarks, but its evaluation did not complete before the evaluation deadline for any of the three models, so no diffusion-based result is reported.

Table 1. Datasets for deepfake detection experiments
\bf Dataset\bf Role\bf Real\bf Fake\bf Generation Methods
FF++ (train)Training1,600 (71,022)4,000 (138,899)Deepfakes, Face2Face, FaceSwap, NeuralTextures, FaceShifter
FF++ (val)Selection200 (9,039)500 (16,766)same
FF++ (test)In-domain200 (8,719)500 (16,348)same
Celeb-DFZero-shot890 (6,224)5,639 (39,473)Face swap
DFDCZero-shot17,389$^{\dagger}$ (20,699)67,603$^{\dagger}$ (73,154)Mixed
Note: DFDC = Deepfake Detection Challenge. Counts are reported as videos, with frame numbers in parentheses. FF++ is split by video following an 80/10/10 partition (seed 42); Celeb-DF and DFDC are only used for zero-shot evaluation. Celeb-DF counts correspond to the 7-frame cap for Model A (65,281 frames before the cap); Model B uses a 6-frames-per-clip cap (39,169 frames), and Model C uses a 4-frames-per-clip cap (26,113 frames: 3,557 pristine, 22,556 manipulated). $^{\dagger}$DFDC: the pre-extracted crops carry per-crop identifiers, so “videos’’ are 84,992 identifier groups drawn from 286 source videos (228 manipulated, 58 pristine); a 4-frame cap was set but removed no frame, so all three models were evaluated on all 93,853 crops.

Data provenance and preprocessing.

The FF++ and Celeb-DF face-crop frames were prepared by the authors in a preprocessing step that precedes, and is separate from, the training and evaluation scripts, and are stored as image files with one folder per video. The Celeb-DF set holds about 10 frames per clip (65,281 frames from 6,529 videos) and the FF++ set about 37 frames per video (260,793 frames from 7,000 videos). The FF++ frames were extracted from the c23 (light compression) version of the videos. The other extraction settings (face detector, crop margin and sampling interval) are fixed properties of these frame sets, are identical for all three models, and are not varied or tuned in this study, so absolute results should be read as specific to these frame sets. The DFDC crops are a third-party release, the Kaggle dataset “DFDC (Faces) of the train sample’’ [37], which was produced with an multitask cascaded convolutional network (MTCNN)-based face-detection pipeline that keeps detections with confidence of at least 0.9 and saves each retained face as a Portable Network Graphics file (PNG); we use only its \texttt{train} partition, and the release does not document a crop margin or frame stride. FF++ real videos are identified by the source-video number (e.g.\ \texttt{000}) and manipulated videos by manipulation and source–target pair (e.g.\ \texttt{Deepfakes\_000\_003}); this identifier is the unit of the split. Celeb-DF and DFDC are used in full except for the frame caps described in Section 3.4, and no cross-domain frame is used for training, checkpoint selection or thresholding.

3.2 Models

Model A (DP-ViT) fuses two independent ImageNet-pretrained ViT-B/16 [2] encoders, one over the RGB face crop and one over its Laplacian high-frequency transform, into a 1536-d representation followed by a Dropout–Linear–Gaussian error linear unit (GELU)–Dropout–Linear classifier head, fine-tuned end-to-end on FF++ for a planned 10 epochs (Adam with decoupled weight decay (AdamW), learning rate (LR)$=2\times10^{-5}$, weight decay $10^{-4}$, batch 32, class-balanced sampling, horizontal-flip augmentation only, no learning-rate schedule), selecting the best-validation-accuracy checkpoint. The run reached the session time limit during epoch 8, so seven epochs were completed (70–98 min each) and the evaluated checkpoint is the one from epoch~3 (validation accuracy 0.754). Models B and C share an ImageNet-pretrained EfficientNet-B0 [38] backbone (1280-d) and an identical classifier head; Model B additionally carries a projection head (LayerNorm–Linear(1280,1536)) used only during training to align its features with Model A’s fused representation. Both students are trained for up to 15 epochs with AdamW (differential learning rates $3\times10^{-4}$/$3\times10^{-5}$, warmup then cosine decay, gradient clipping, identical flip/color-jitter/rotation augmentation, class-balanced sampling, early stopping with patience 4 on validation accuracy)—every hyperparameter and the training split are shared between B and C, so the only configured difference between them is the loss. Model C’s run reached the session time limit during epoch~7, so six epochs were completed (97–122 min each) and the evaluated checkpoint is the one from epoch~6 (validation accuracy 0.563, still rising), before early stopping or the end of the 15-epoch cosine schedule could take effect. Model B’s run reached the session time limit during epoch~5, so four epochs were completed (126–158 min each, longer than C’s because every step also runs the frozen teacher) and the evaluated checkpoint is the last one, epoch~4 (validation accuracy 0.586, AUROC 0.611, still rising). B therefore received four of the 15 planned epochs against six for C, and its cosine schedule had decayed even less. B and C are matched in every hyperparameter and in the split, but not in realized training budget, and the mismatch works against B; we take this into account when interpreting the B–C comparison (Sections 5 and 6). Model A’s architecture, epoch budget, optimizer settings, and augmentation are all different from B and C by design, since it is the teacher and not a matched arm of the controlled comparison; only B and C are claimed to be trained under an identical configured setup (realized epoch budgets differ). Table 2 lists all training settings.

Table 2. Training settings of the three models, as in the released training scripts
\bf Setting\bf A (DP-ViT)\bf B/C (EfficientNet-B0)
Backbonetwo ViT-B/16 (RGB, Laplacian)EfficientNet-B0 (1280-d)
Pre-trainingImageNet (weight tag in text)ImageNet (weight tag in text)
Input$224\times224$, ImageNet mean/stdsame
LossBCEB: Eq.~(1); C: label-smoothed BCE ($\epsilon{=}0.05$)
KD $(\alpha,\beta,\gamma,T)$–B only: $(0.50,0.30,0.20)$, $T{=}4$
OptimizerAdamWAdamW
Learning rate$2\times10^{-5}$$3\times10^{-5}$ backbone, $3\times10^{-4}$ head
Weight decay$10^{-4}$$10^{-2}$
LR schedulenone1-epoch linear warmup, cosine decay to 1\% (per step)
Batch size3264
Max epochs1015
Epochs completed7 (session limit)B: 4; C: 6 (both session limit)
Early stoppingnonepatience 4 on validation accuracy
Gradient clippingnone1.0 (global norm)
Augmentationhorizontal flipflip, color jitter (0.2/0.2/0.2/0.02), rotation $\pm10^{\circ}$
Samplingclass-balancedclass-balanced
Precisionfp16 autocastfp16 autocast
Checkpointbest FF++ val.\ accuracybest FF++ val.\ accuracy
Seed4242
Note: DP-ViT = dual-path Vision Transformer; ViT = vision transformer; RGB = red, green, blue; BCE = binary cross-entropy; KD = knowledge distillation; $T$ = distillation temperature; $\alpha,\beta,\gamma$ = KD loss weighting coefficients; AdamW = Adam with decoupled weight decay; LR = learning rate; fp16 = 16-bit floating-point; FF++ = FaceForensics++; val = validation; $\varepsilon$ = label-smoothing coefficient; std = standard deviation; -- = not applicable.

Implementation details.

Backbones are the \texttt{timm} models \texttt{vit\_base\_patch16\_224} and \texttt{efficientnet\_b0}, created with \texttt{pretrained=True} and no explicit weight tag, so the default ImageNet weights of the installed \texttt{timm} release were used: \texttt{ra\_in1k} for \texttt{efficientnet\_b0} and \texttt{augreg2\_in21k\_ft\_in1k} for \texttt{vit\_base\_patch16\_224}. The classifier head is Dropout(0.3)–\allowbreak Linear(1536,512)–\allowbreak GELU–\allowbreak Dropout(0.3)–\allowbreak Linear(512,1) for Model~A and Dropout(0.3)–\allowbreak Linear(1280,256)–\allowbreak GELU–\allowbreak Dropout(0.2)–\allowbreak Linear(256,1) for Models~B and~C. The high-frequency view of Model~A is the absolute 3$\times$3 Laplacian (\texttt{cv2.Laplacian}, 64-bit float, converted to 8 bits with absolute value and saturation) of the augmented full-resolution crop, per colour channel; it is then resized and normalized exactly like the RGB view. Training draws $N_{\text{train}}$ frames per epoch with replacement using inverse-class-frequency weights. In Model~B the frozen teacher is run in evaluation mode on the same augmented RGB and Laplacian views as the student. Hard targets are smoothed as $y(1{-}\epsilon)+\epsilon/2$ with $\epsilon{=}0.05$. Training and evaluation ran on a Kaggle Tesla~T4 graphics processing unit (GPU) with PyTorch~2.11.0 (Compute Unified Device Architecture (CUDA)~13.0), torchvision~0.26.0 and \texttt{timm}~1.0.30, using 16-bit floating-point (fp16) autocast.

3.3 Knowledge Distillation Objective

Model B is trained with

$ \mathcal{L}_{\text{KD}} = \alpha\,\mathcal{L}_{\text{soft}} + \beta\,\mathcal{L}_{\text{feat}} + \gamma\,\mathcal{L}_{\text{hard}}, \quad (\alpha,\beta,\gamma){=}(0.50,0.30,0.20), $

where, $\mathcal{L}_{\text{soft}} = T^2\,\mathrm{BCE}(z_s/T,\ \sigma(z_t/T))$ is temperature-scaled ($T{=}4$) soft-label binary cross-entropy (BCE) between student logit $z_s$ and detached teacher logit $z_t$; $\mathcal{L}_{\text{feat}}$ is a cosine loss between the student’s projected features $p_s$ and the teacher’s detached fused features $f_t$ (both 1536-d; defined in Eq.~(2), implemented with \texttt{torch.nn.CosineEmbeddingLoss} with target $+1$, computed per sample and averaged over the mini-batch; PyTorch adds a small constant ($\approx 10^{-12}$) to the squared norms for numerical stability); and $\mathcal{L}_{\text{hard}}$ is label-smoothed ($\epsilon{=}0.05$) BCE against the ground-truth label. Model C uses $\mathcal{L}_{\text{hard}}$ alone with the identical smoothing coefficient, so label smoothing is not a confound between B and C.

$ \mathcal{L}_{\text{feat}} = 1-\frac{\langle p_s,\,f_t\rangle} {\lVert p_s\rVert_2\,\lVert f_t\rVert_2}, $

The weights $(\alpha,\beta,\gamma)$ and the temperature were fixed before any evaluation and were not tuned on FF++ validation data or on any cross-domain set, and they were not taken from an earlier forgery-distillation study. They are one a-priori configuration: $T{=}4$ is within the range of temperatures commonly used in the distillation literature, with the $T^{2}$ factor of Hinton et al. [3] keeping the soft term’s gradient scale comparable across temperatures, and the weights give the soft-label term the largest share, the feature term the next, and the hard-label term the smallest. We did not run a sensitivity analysis over $(\alpha,\beta,\gamma,T)$. Because the unweighted soft term is large (8.46 at epoch~4, Table 6), the weighted terms at epoch~4 are 4.23 (soft), 0.052 (feature) and 0.115 (hard): the soft-label term accounts for about 96\% of the loss value. Loss magnitude is not gradient magnitude, so this does not show how much each term shapes the student, but it means the objective is dominated by soft-label matching.

3.4 Evaluation Protocol

Definitions. ECE is the top-label ECE. For a video-level probability $p$, the predicted class is obtained by thresholding $p$ at 0.5 and the confidence is $\max(p,1{-}p)$. Predictions are binned into 15 equal-width bins by confidence, and the absolute bin-weighted gap between accuracy and mean confidence is summed ($\mathrm{ECE}=\sum_{m=1}^{M}\frac{n_m}{N}\,\lvert\mathrm{acc}_m-\mathrm{conf}_m\rvert$, with $n_m$ predictions in bin $m$, $N$ in total, and $M{=}15$) [22]. Brier is $\overline{(p-y)^2}$ and NLL is the binary cross-entropy with probabilities clipped to $[ 10^{-7},1{-}10^{-7}]$; all three are computed on video-level probabilities. Bootstrap intervals resample videos with replacement 1,000 times (seed 42) and report the 2.5th and 97.5th percentiles; resamples containing a single class are skipped. Every model outputs one sigmoid probability per frame; video-level probability is the mean of its frames’ probabilities, thresholded at 0.5. We compute frame- and video-level accuracy, balanced accuracy, precision, recall, F1, AUROC, and AP, plus calibration (ECE with 15 bins [22], Brier score, NLL); the text and tables report the subset needed for the analysis. We report 95\% bootstrap confidence intervals (1,000 resamples) for video-level AUROC only ( Table 3); all other metrics are point estimates. Models are compared through their target-set AUROC differences and by whether their 95\% intervals overlap; this is a descriptive comparison, not a significance test, because the models were evaluated on different Celeb-DF frame subsets and the intervals do not capture run-to-run training variance. The central quantity of interest is the generalization gap: each model’s FF++ (source) video-level AUROC minus its AUROC on each cross-domain target. All three evaluation runs share the same face-crop frames, preprocessing, decision threshold, and bootstrap seed, except for the Celeb-DF frame cap described next. Because evaluation was bounded by the 12-hour session limit, the evaluation script capped the frames per clip on Celeb-DF according to the time remaining: at most 7 frames each for Model A (65,281 $\to$ 45,697 frames), 6 for Model B (65,281 $\to$ 39,169 frames), and 4 for Model C (65,281 $\to$ 26,113 frames). The subsampling is deterministic, seeded by the video identifier, but the caps need not keep the same frames, so the Celeb-DF comparison between models is not frame-matched. Averaging over fewer frames adds sampling noise to a video’s score but has no known systematic effect on AUROC, so we treat differences smaller than the bootstrap intervals as inconclusive. A 4-frame cap was set for DFDC but removed no frame: the DFDC crops carry per-crop identifiers, giving 84,992 identifier groups of 1.10 frames on average, drawn from only 286 source videos. Video-level DFDC metrics are therefore computed over crop-level groups rather than source videos, so no bootstrap intervals are reported for DFDC (resampling these groups as independent units would understate the uncertainty from only 286 source videos) (Section 6).

Table 3. Video-level AUROC by model and evaluation set (95\% bootstrap CI in brackets, 1,000 video resamples; not reported for DFDC); boldface marks the highest AUROC per row
\bf Dataset\bf DP-ViT (A)\bf KD-EffNet (B)\bf CE-EffNet (C)
FF++ (in-domain)0.8670.6610.713
[.835,.895][.618,.700][.670,.752]
Celeb-DF0.6370.5690.613
[.618,.656][.550,.589][.595,.632]
DFDC$^{\dagger}$0.4710.5450.356
undefined
Note: AUROC = area under the receiver operating characteristic curve; CI = confidence interval; DP-ViT = dual-path Vision Transformer; KD-EffNet = knowledge-distilled EfficientNet; CE-EffNet = cross-entropy EfficientNet; FF++ = FaceForensics++; Celeb-DF = Celeb-DF dataset; DFDC = DeepFake Detection Challenge. $^\dagger$DFDC video-level groups are per-crop identifiers (84,992 groups from 286 source videos). Resampling these groups treats correlated crops as independent and would give invalid, overly narrow intervals, so no DFDC interval is reported; the DFDC values are point estimates. Celeb-DF figures use frame caps of 7 (A), 6 (B) and 4 (C) per clip.

4. Results

4.1 In-Domain Performance (FF++)

On the held-out FF++ test partition (700 videos: 200 pristine, 500 manipulated; 25,067 frames) the teacher (Model A, DP-ViT) reaches a video-level AUROC of 0.867 (95\% confidence interval (CI) 0.835–0.895), accuracy 0.781, balanced accuracy 0.799 and F1 0.832 ( Table 3); frame-level AUROC is 0.877 and frame-level accuracy 0.775. Precision on the manipulated class is high (0.922) but recall is 0.758: at the 0.5 threshold 32 of 200 pristine videos are flagged as fake and 121 of 500 manipulated videos are missed (video-level confusion matrix: true negatives (TN) 168, false positives (FP) 32, false negatives (FN) 121, true positives (TP) 379). Mean video probability is 0.211 for pristine and 0.733 for manipulated videos. These figures are for the epoch-3 checkpoint chosen on validation accuracy. Because the partition is not identity-disjoint (Section 6) they are, if anything, optimistic. The cross-domain sets (Celeb-DF and DFDC) were never used in any model’s training, so the pairwise comparisons in Section 4.2 do not depend on this partition.

The label-only student (Model C, cross-entropy EfficientNet (CE-EffNet)) reaches a video-level AUROC of 0.713 (95\% CI 0.670–0.752) on the same partition, with accuracy 0.553, balanced accuracy 0.639 and F1 0.583; frame-level AUROC is 0.673 and frame-level accuracy 0.566. Precision on the manipulated class is 0.873 but recall is only 0.438: at the 0.5 threshold 32 of 200 pristine videos are flagged as fake (the same count as Model A) and 281 of 500 manipulated videos are missed (video-level confusion matrix: TN 168, FP 32, FN 281, TP 219). Mean video probability is 0.221 for pristine and 0.455 for manipulated videos, so the two classes are only weakly separated. The evaluated checkpoint is the epoch-6 one, taken when the run stopped at the session time limit with validation accuracy and AUROC still rising; it should be read as an under-trained baseline rather than a converged one. The distilled student (Model B, knowledge-distilled EfficientNet (KD-EffNet)) reaches a video-level AUROC of 0.661 (95\% CI 0.618–0.700) on the same partition, with accuracy 0.609, balanced accuracy 0.612 and F1 0.688; frame-level AUROC is 0.636 and frame-level accuracy 0.587. Precision on the manipulated class is 0.799 and recall 0.604 (video-level confusion matrix: TN 124, FP 76, FN 198, TP 302), so B flags 76 of 200 pristine videos as fake, more than A and C (32 each), and still misses 198 manipulated videos. B is 0.206 AUROC below its teacher, with clearly separated intervals, and 0.052 below C, with overlapping intervals (0.618–0.700 against 0.670–0.752). In this budget we therefore find no evidence that the distillation signal improved in-domain discrimination over label-only training; B was trained for four epochs against six for C, which may account for part of the difference.

Teacher training dynamics.

Table 4 and Figure 1 show the validation history. Training loss falls monotonically from 0.259 to 0.045 while validation loss rises from 0.918 (epoch~1) to a maximum of 1.464 (epoch~6), a pattern consistent with overfitting to the training manipulations. Validation accuracy peaks at epoch~3 (0.754) and then fluctuates between 0.712 and 0.745, whereas validation AUROC keeps rising slightly (0.840 at epoch~3, 0.848 at epoch~7), so selecting on accuracy and on AUROC would have chosen different epochs. The validation set keeps the natural class ratio (500 manipulated vs.\ 200 pristine videos), so accuracy is dominated by the manipulated class.

Table 4. Model A (DP-ViT) training history
\bf Epoch\bf Train Loss\bf Val. Loss\bf Val. acc.\bf Val. AUROC
10.2590.9180.6830.790
20.1201.1430.6730.801
3$^{*}$0.0851.0560.7540.840
40.0691.0880.7450.833
50.0581.3810.7120.834
60.0511.4640.7330.842
70.0451.2820.7380.848
Note: DP-ViT = dual-path Vision Transformer; Val. = validation; acc. = accuracy; AUROC = area under the receiver operating characteristic curve. The checkpoint with the highest validation accuracy (epoch~3, marked $^{*}$) is the one evaluated.
Figure 1. Model A training curves: loss (left), validation accuracy with the selected epoch dotted (middle), and validation AUROC (right)
Note: Training stopped after epoch~7 at the session time limit.

CE-only student training dynamics.

Table 5 and Figure 2 show Model C’s validation history. Training loss falls from 0.566 to 0.227 over the six completed epochs while validation loss stays between 1.09 and 1.28 (1.20 at epoch~6). Unlike Model A, validation accuracy and AUROC rise at every epoch (accuracy from 0.457 to 0.563, AUROC from 0.481 to 0.636) and are still rising when the session limit stops the run, so the epoch-6 checkpoint is selected simply because it is the last. Validation AUROC at epoch~1 is below 0.5 (0.481). Because the cosine schedule was configured for 15 epochs, the learning rate had decayed only part of the way when training stopped, and this baseline should be read as under-trained.

Table 5. Model C (CE-EffNet) training history
\bf Epoch\bf Train Loss\bf Val. Loss\bf Val. acc.\bf Val. AUROC
10.5661.0870.4570.481
20.3741.2820.4770.547
30.3051.2650.5110.577
40.2661.2590.5350.603
50.2451.1930.5480.628
6$^{*}$0.2271.2020.5630.636
Note: CE-EffNet = cross-entropy EfficientNet; Val. = validation; acc. = accuracy; AUROC = area under the receiver operating characteristic curve. The checkpoint with the highest validation accuracy (epoch~6, marked $^{*}$) is the one evaluated; training stopped at the session time limit during epoch~7.

KD student training dynamics.

Table 6 and Figure 3 show Model B’s history. Four epochs were completed before the session limit; the epoch-4 checkpoint is both the last and the best by validation accuracy (0.586) and AUROC (0.611). The total training loss falls from 5.223 to 4.395, with all three terms decreasing: the soft-label term from 9.863 to 8.456 (because this term retains the entropy of the temperature-softened targets, it cannot approach zero), the feature term from 0.432 to 0.173, and the hard-label term from 0.810 to 0.575. Validation loss is nearly flat (1.365 to 1.319), validation accuracy dips at epoch~2 (0.565) and then rises, and validation AUROC rises at every epoch (0.552 to 0.611). As for Model C, the metrics are still improving when training stops, so B is also under-trained. Its hard-label training loss at epoch~4 (0.575) is far above C’s final training loss (0.227), consistent with B fitting the labels less closely after fewer epochs on a three-term objective.

Figure 2. Model C training curves: loss (left), validation accuracy with the selected epoch dotted (middle), and validation AUROC (right)
Note: Training stopped after epoch~6 at the session time limit; accuracy and AUROC were still rising.
Table 6. Model B (KD-EffNet) training history
\bf Epoch\bf Train Loss\bf Soft\bf Feat.\bf Hard\bf Val. Loss\bf Val. acc./AUROC
15.2239.8630.4320.8101.3650.574 / 0.552
24.5848.7640.2200.6811.3830.565 / 0.572
34.4528.5480.1870.6101.3610.579 / 0.597
4$^{*}$4.3958.4560.1730.5751.3190.586 / 0.611
Note: KD-EffNet = knowledge-distilled EfficientNet; Feat. = feature; Val. = validation; acc. = accuracy; AUROC = area under the receiver operating characteristic curve. Soft, feature and hard are the three terms of Eq.~(1) before weighting. The epoch-4 checkpoint (marked $^{*}$, also the best by validation accuracy) is the one evaluated; training stopped at the session time limit during epoch~5.
Figure 3. Model B training curves: loss (left), validation accuracy with the selected epoch dotted (middle), and validation AUROC (right)
Note: Training stopped after epoch~4 at the session time limit; accuracy and AUROC were still rising.
4.2 Cross-Domain Generalization Gap

Table 7 reports the AUROC drop from FF++ to each target; gaps and differences are computed from unrounded AUROCs, so they can differ by 0.001 from differences of the rounded values quoted here. Model A loses 0.229 video-level AUROC on Celeb-DF (0.867 $\to$ 0.637) and 0.396 on DFDC (0.867 $\to$ 0.471). On Celeb-DF the teacher assigns manipulated videos a mean probability of 0.282 against 0.164 for pristine ones, so the ranking is weak but positive; at the 0.5 threshold, however, 78.4\% of all videos are called pristine, recall on manipulated videos is only 0.235 and accuracy is 0.327, although 90.6\% of pristine videos (806 of 890) are accepted. On DFDC the AUROC is below 0.5: pristine crop groups receive a higher mean probability (0.824) than manipulated ones (0.771), and accuracy (0.660) mainly reflects the 80\% manipulated share and almost constant “fake’’ decisions at the 0.5 threshold (recall 0.792 with a 0.85 false-positive rate on pristine crop groups).

Model C loses 0.100 video-level AUROC on Celeb-DF (0.713 $\to$ 0.613) and 0.357 on DFDC (0.713 $\to$ 0.356). These gaps are smaller than Model A’s only because Model C’s in-domain AUROC is itself low; its absolute AUROC is lower than Model A’s on both targets, so a small gap here reflects weak in-domain performance and not better transfer. On Celeb-DF the ranking is weakly positive (mean probability 0.081 for manipulated vs.\ 0.045 for pristine videos), but 97.1\% of videos are called pristine: recall on manipulated videos is 0.032 and accuracy 0.163, although 99.2\% of pristine videos (883 of 890) are accepted. On DFDC the AUROC is 0.356, below chance and below Model A’s: pristine crop groups receive a higher mean probability (0.976) than manipulated ones (0.967), every pristine crop group is flagged as manipulated (TN 0, FP 17,389) and recall is 0.999, so the thresholded decisions are almost constant (“manipulated’’) and the accuracy of 0.795 is essentially the 79.5\% manipulated share. The scores themselves are not constant: identical scores would give an AUROC of 0.5, whereas 0.356 indicates a partly reversed ranking.

Table 7. Generalization gap (FF++ AUROC $-$ target AUROC) and differences in target-set video-level AUROC between models
\bf Target\bf Gap: A/B/C\bf AUROC A$-$B\bf AUROC B$-$C
Celeb-DF.229 / .092 / .100$+$.068$-$.044
DFDC.396 / .115 / .357$-$.074$+$.189
Note: DFDC = Deepfake Detection Challenge. Gap = FF++ video-level AUROC $-$ target AUROC; bold marks the largest (worst) row-wise gap. A $-$ B and B $-$ C are target-set AUROC differences (positive values favour the first model). The 95\% CIs for A $-$ B and B $-$ C in Table 3 do not overlap on Celeb-DF (B $-$ C separation = 0.006). DFDC lacks CIs and training variance is ignored; comparisons are descriptive. The non-identity-disjoint FF++ split (Section 6) yields optimistic FF++ AUROC estimates, so gaps are upper bounds.

Model B loses 0.092 video-level AUROC on Celeb-DF (0.661 $\to$ 0.569) and 0.115 on DFDC (0.661 $\to$ 0.545). These are the smallest gaps of the three models, but, as for Model C, this reflects a low starting point and not better transfer: on Celeb-DF the target AUROC of B is the lowest of the three. On Celeb-DF B’s decisions at the 0.5 threshold are almost all “pristine’’: 99.75\% of the 6,529 videos are called pristine (TN 890, FP 0, FN 5,623, TP 16), recall on manipulated videos is 0.003 and accuracy 0.139, and the average precision (0.896) is only modestly above the 0.864 manipulated share. On DFDC B is not constant: recall on manipulated crop groups is 0.650 and the false-positive rate on pristine ones 0.626 (TN 6,498, FP 10,891, FN 23,639, TP 43,964), and its accuracy (0.594) is below the 0.795 of a constant “manipulated’’ predictor. B is, however, the only model whose DFDC AUROC is above 0.5, and only by 0.045. Figure 4 summarizes this: the AUROC intervals (panel a) and the 0.5-threshold operating points (panel b) show that the cross-domain behavior of all three models is dominated by almost constant thresholded decisions, not by a graded transfer of the teacher’s discrimination.

Figure 4. (a) Video-level AUROC with 95\% bootstrap confidence intervals; (b) Recall on manipulated versus false-positive rate on pristine data at the 0.5 threshold

Table 7 and Table 3 support three observations. First, the distilled student does not inherit the teacher’s behavior: it is below A by 0.068 AUROC on Celeb-DF, with separated intervals, and by 0.206 in-domain. On DFDC it is above A (by 0.074), but A itself is below chance there. Second, relative to the label-only student the sign of the difference depends on the target: B is lower than C on Celeb-DF ($-0.044$; the intervals are separated by only 0.006) and higher on DFDC ($+0.189$), where C is below chance and predicts “manipulated’’ for almost every crop group. In-domain the difference ($-0.052$) has overlapping intervals. Third, no benefit attributable to distillation can be established on any target, and absolute cross-domain discrimination is weak for all three models (AUROC at most 0.637), so none of them is deployment-ready as an out-of-domain detector. Because these comparisons are descriptive, do not account for run-to-run training variance, and involve under-trained students with unequal epoch budgets (4, 6 and 7), we read them as the behavior of this training configuration and not as a general property of distillation. The target-set AUROC differences, which do not depend on the FF++ partition, are more reliable than the gap values, which inherit the optimism of the in-domain AUROC (Section 6).

4.3 Calibration Under Distribution Shift

Table 8 reports video-level ECE (15 bins). Model A is moderately miscalibrated in-domain (ECE 0.104, Brier 0.167, NLL 0.605) and markedly worse under shift: ECE 0.506 on Celeb-DF (Brier 0.526, NLL 2.106) and 0.260 on DFDC (Brier 0.292, NLL 1.399); full values are in Table A1 in the appendix. The errors are confident ones: on Celeb-DF the model is confidently wrong on most manipulated videos, and on DFDC it assigns a mean probability of 0.824 to pristine crop groups. Model C is worse calibrated than Model A in-domain (ECE 0.288 vs.\ 0.104; Brier 0.336, NLL 1.045) and on Celeb-DF (ECE 0.774 vs.\ 0.506; Brier 0.747, NLL 2.632), where it assigns very low probabilities to nearly all manipulated videos. Its lower values on DFDC (ECE 0.179, Brier 0.197, NLL 0.816, against 0.260, 0.292 and 1.399 for Model A) should not be read as better probabilities: Model C outputs a “manipulated’’ probability of about 0.97 for almost every crop group; because 79.5\% of the groups are manipulated, this near-constant, overconfident output has a confidence–accuracy gap of only about 0.18 (ECE 0.179), an artifact of class imbalance and not of useful probabilities, and its ranking is worse than chance (AUROC 0.356). Model B is worse calibrated than A in-domain (ECE 0.236 vs.\ 0.104; Brier 0.294, NLL 1.065), better than C on ECE and Brier (0.288 and 0.336) and marginally worse on NLL (1.045 for C). Under shift B is the worst calibrated of the three on Celeb-DF (ECE 0.855, Brier 0.852, NLL 9.933, against 0.506/0.526/2.106 for A and 0.774/0.747/2.632 for C): it assigns very low manipulated probabilities to almost every manipulated video, which yields a precision of 1.0 but a recall of 0.003. On DFDC B (ECE 0.303, Brier 0.340, NLL 1.539) is worse than both A and C (C’s lower values reflect almost constant predictions, as explained above). Distillation thus did not improve calibration under shift relative to either the teacher or the label-only student.

Table 8. ECE across models and datasets
\bf Dataset\bf DP-ViT (A)\bf KD-EffNet (B)\bf CE-EffNet (C)
FF++ (in-domain)0.1040.2360.288
Celeb-DF0.5060.8550.774
DFDC0.2600.3030.179
Note: ECE is calculated using 15 bins; lower values indicate better calibration. Boldface marks the best-calibrated model per row. On DFDC, the low value of C reflects almost constant predictions; see text. FF++ = FaceForensics++; Celeb-DF = Celeb DeepFake dataset; DFDC = DeepFake Detection Challenge dataset; DP-ViT = dual-path Vision Transformer; KD-EffNet = knowledge-distilled EfficientNet; CE-EffNet = cross-entropy EfficientNet; ECE = expected calibration error.
Table 9. Frame-level accuracy per FF++ test category
\bf Category\bf Frames\bf DP-ViT (A)\bf KD-EffNet (B)\bf CE-EffNet (C)
Pristine8,7190.8170.5670.781
Deepfakes3,4210.8260.7180.529
Face2Face3,8850.7610.5350.420
FaceShifter3,4240.7840.6760.500
FaceSwap2,8090.7570.5690.398
NeuralTextures2,8090.6040.4710.395
Note: Accuracy is evaluated at threshold 0.5. FF++ = FaceForensics++; DP-ViT = dual-path Vision Transformer; KD-EffNet = knowledge-distilled EfficientNet; CE-EffNet = cross-entropy EfficientNet.
4.4 Per-Manipulation-Type Breakdown

Table 9 gives frame-level accuracy by FF++ category. Model A is best on Deepfakes (0.826) and weakest on NeuralTextures (0.604); Face2Face (0.761), FaceShifter (0.784) and FaceSwap (0.757) lie in between, and pristine frames are accepted with accuracy 0.817. Model C accepts pristine frames with accuracy 0.781 but detects manipulated frames poorly: its per-category accuracy (the detection rate) is 0.529 on Deepfakes, 0.500 on FaceShifter and 0.420, 0.398 and 0.395 on Face2Face, FaceSwap and NeuralTextures, i.e.\ at or below 0.5 for four of the five manipulations. Model B detects Deepfakes best (0.718) and NeuralTextures worst (0.471, below 0.5), with Face2Face 0.535, FaceShifter 0.676 and FaceSwap 0.569, and accepts pristine frames with accuracy 0.567, the lowest of the three. Its detection rate exceeds C’s in every manipulation category, but it flags more pristine frames than C (0.567 vs.\ 0.781 accepted), and at the video level its balanced accuracy (0.612) and AUROC (0.661) are below C’s (0.639 and 0.713); this is consistent with a different operating point and not clearly better class separation. NeuralTextures is the weakest category for all three models.

5. Discussion

The three models do not support the premise that a distilled student inherits its teacher’s behavior. B is 0.206 AUROC below the teacher in-domain and 0.068 below it on Celeb-DF, and relative to the label-only student of the same architecture the sign of the difference changes with the target: B is lower on Celeb-DF ($-0.044$), higher on DFDC ($+0.189$), and not separable in-domain ($-0.052$, overlapping intervals). The DFDC difference is an observed, dataset-dependent advantage of B over both comparators, and poor absolute performance does not erase it. It cannot, however, be attributed to a benefit of distillation: C is below chance there and predicts “manipulated’’ for almost every crop group, A is also below chance, and B’s AUROC of 0.545 is only marginally above 0.5 with an accuracy (0.594) below that of a constant “manipulated’’ predictor (0.795), and the design is confounded (single run, unequal epoch budgets), so no causal benefit of distillation can be established. The most defensible reading is that no benefit attributable to distillation is established on any target, that Celeb-DF shows a cost, and that absolute cross-domain performance is weak for all three models.

Several explanations may account for this pattern; none are tested in this work. First, a student cannot inherit what its teacher lacks: the teacher reaches only 0.637 on Celeb-DF and 0.471 on DFDC, and its checkpoint was chosen on in-domain validation accuracy while validation loss was already rising, so its soft labels and features may encode FF++-specific cues; aligning the student to its fused RGB+high-frequency representation through $\mathcal{L}_{\text{feat}}$ (or the soft-label term, which carries most of the weighted loss; Section 3) may import them. Second, B received fewer updates than C (four epochs against six) and fit the labels less closely (final hard-label training loss 0.575 against 0.227), so part of its deficit on Celeb-DF and in-domain may reflect training budget and not the distillation signal. Third, the teacher labels augmented views (color jitter and rotation) it never saw in training, which may degrade its supervision. The weights $\alpha,\beta,\gamma$ are not ablated, so we cannot separate these effects. The practical takeaway is nonetheless direct: practitioners should not assume a KD-compressed detector inherits its teacher’s cross-domain robustness by default, and should validate against the specific manipulation families they expect to encounter in deployment rather than relying on FF++-teacher provenance alone.

Dataset characteristics.

Celeb-DF was built with an improved synthesis pipeline intended to reduce the visible artifacts of earlier face-swap datasets [12], which plausibly leaves fewer of the high-frequency cues that the teacher’s Laplacian branch encodes. This is consistent with the teacher’s weak Celeb-DF AUROC (0.637) and with a student aligned to the teacher’s fused representation inheriting the same blind spot, whereas the label-only student is free to rely on other cues. DFDC mixes several generation methods and recording conditions [13], and all three models are near or below chance on it; Model C assigns a probability of about 0.97 to almost every crop group, so the DFDC ordering of the models reflects degenerate operating points more than a difference in transferable features, and we do not interpret it further. We did not break the results down by DFDC generation method or by Celeb-DF artifact type, so these accounts remain hypotheses.

Practical significance of small differences.

The B–C difference on Celeb-DF ($-0.044$ AUROC) is small in absolute terms, the two intervals are separated by only 0.006, and the intervals do not capture run-to-run training variance. We therefore do not treat interval separation as evidence of a practically meaningful effect of distillation; it is a descriptive difference that a multi-seed, matched-budget study would need to confirm.

Scope of the claims.

What the experiments directly support is a same-architecture comparison on videos never used in training, under truncated and unequal training budgets: the distilled student does not reach the teacher’s in-domain or Celeb-DF AUROC; it is below the label-only student on Celeb-DF, above it on DFDC (against a degenerate baseline), not clearly different in-domain, and the worst calibrated model on Celeb-DF. What remains tentative is the cause. Attributing the pattern to the feature-alignment term, to the quality of the teacher, or to the shorter schedule of B is a hypothesis, because the loss terms are not ablated, the epoch budgets differ, and each configuration is a single training run.

Implications for lightweight detectors.

For lightweight detectors used on previously unseen data, the practical reading is limited: a distilled student should not be assumed to inherit its teacher’s robustness, and a label-only student of the same architecture and training budget is a necessary reference when deciding whether distillation is worth its added training cost on the manipulation families of interest.

6. Limitations

Truncated teacher training. Model A was stopped by the session time limit after 7 of 10 planned epochs and the epoch-3 checkpoint was evaluated. Validation loss rose from epoch~1 while validation AUROC kept improving slightly ( Table 4), so a longer run, or selection on AUROC or balanced accuracy, could give different results.

Truncated student training and unequal budgets. Model C was stopped by the session time limit after 6 of 15 planned epochs and Model B after 4 of 15, in both cases with validation accuracy and AUROC still rising (Tables~\ref{tab5} and~\ref{tab6}) and the cosine schedule unfinished. Their in-domain AUROCs (0.713 and 0.661) are far below the teacher’s (0.867), so both are under-trained. Because B completed fewer epochs than C, differences between them mix the effect of the distillation signal with that of the training budget, and the mismatch disadvantages B. A matched-budget rerun (equal epochs, or both trained to convergence) is needed to separate the two.

Subsampled cross-domain evaluation and no paired tests. Celeb-DF was subsampled to at most 7 frames per clip for Model A, 6 for Model B and 4 for Model C, so the three are not frame-matched. For this reason, and because of the crop-level DFDC grouping, we compare models descriptively through target-set AUROC differences and bootstrap intervals and do not report paired significance tests.

DFDC unit of analysis. The DFDC crops carry per-crop identifiers, so the “video-level’’ DFDC metrics are computed over 84,992 correlated crop groups from only 286 source videos. Bootstrap intervals over these groups would be invalid (overly narrow), so none are reported for DFDC and DFDC comparisons rest on point estimates only; all three models are also near or below chance on this set, which limits what DFDC can say about relative generalization.

The FF++ split is video-disjoint but not identity-disjoint. All three models are trained and tested on one video-level partition (Section 3.1), so frames of a test video are never seen in training. Pristine and manipulated videos are assigned to partitions independently, however, and a manipulated video is derived from a pair of original videos; a manipulated video in one partition can therefore share an original video, and hence an identity, with a video in another. This can inflate in-domain accuracy and the FF++-anchored gaps in Table 7. In the split manifest, 450 of the 500 manipulated test videos carry at least one original-video identifier that also belongs to a pristine training-partition video. It does not affect the zero-shot comparisons on Celeb-DF, DFDC, none of whose videos is used in training.

Checkpoint selection uses FF++ only. All three models are evaluated at the checkpoint with the highest FF++ validation accuracy, and no cross-domain data are used for selection. The rule is the same for every model, but it rewards in-domain fit and may not select the checkpoint that generalizes best.

Teacher supervision on augmented views. During distillation the teacher receives the same augmented image as the student (flip, color jitter, rotation), whereas it was trained with horizontal flips only, so its soft labels and features on jittered or rotated views lie outside its training distribution.

Single training run and a single KD configuration. Each model is trained once, and we evaluate one fixed $(\alpha,\beta,\gamma,T)$ without ablating the soft-label and feature-alignment terms. Our bootstrap intervals capture the sampling of test videos, not run-to-run training variance, so small differences (in particular the Celeb-DF difference between B and C) should be regarded as provisional. Model A differs from B and C in architecture, optimizer settings, augmentation and schedule by design, since it is the teacher and not a matched arm.

No diffusion-forgery result. Two DiffusionFace categories (DiffSwap and Stable-Diffusion-v1.5 image-to-image) were prepared, but their evaluation did not finish before the evaluation deadline for any of the three models, so this paper makes no claim about diffusion-based forgeries. More generally, we test only two face-swap benchmarks; broader benchmarks that cover many more generation methods, such as DF40 [29] and Celeb-DF++ [30], would test the pattern more widely.

7. Reproducibility

The training and evaluation scripts for all three models – including the video-level FF++ split with its logged digest (Section 3.1), the checkpoint-loading logic (all checkpoints are raw state dicts), and the full frame-/video-level metrics, bootstrap confidence interval, and calibration pipeline used to produce every table and figure in this paper – are available at https://github.com/sabbir-just/Cross-Dataset-Evaluation-with-FF-models, together with the FF++ and Celeb-DF frame sets prepared by the authors. Running the evaluation scripts against the shared checkpoints and frame directories reproduces Tables~\ref{tab3},~\ref{tab7},~\ref{tab8}, and~\ref{tab9} exactly (given the same frame caps, recorded in the run summary), including the Brier/NLL values in Table A1; retraining from scratch reproduces them only up to the random seed and GPU non-determinism. The video-to-partition digest of the shared split is \nolinkurl{fa9133f8e4232d013c30929aec922d512a586e6f6b65dcbcc9c29ed42f1f08a6}.

8. Conclusions

We asked whether a knowledge-distilled student preserves its teacher’s cross-domain deepfake detection ability better than a same-architecture label-only baseline. In our compute-limited experiments we found no evidence that it does. The distilled student reached a video AUROC of 0.661 in-domain and 0.569 on Celeb-DF, against 0.867 and 0.637 for the teacher, and it was the worst calibrated model on Celeb-DF (ECE 0.855). Relative to a label-only student of the same architecture it was lower on Celeb-DF (0.569 against 0.613), higher on DFDC (0.545 against 0.356, where that baseline yields almost constant “manipulated’’ decisions and the teacher is also below chance), and not separable in-domain (overlapping intervals). No benefit attributable to distillation could therefore be established on any target, and absolute cross-domain discrimination was weak for all three models. These findings come from one training run per model, one distillation configuration, and truncated, unequal training budgets (7, 4 and 6 epochs), and the explanations we offer remain hypotheses; a diffusion-based benchmark was prepared but not evaluated. Practitioners deploying a distilled deepfake detector should validate cross-domain performance against the specific manipulation families expected at deployment, and compare against a label-only student of the same architecture and training budget, rather than assuming teacher-inherited robustness by default.

9. Declaration on the Use of Generative artificial intelligence (AI) and AI-assisted Technologies

Author Contributions

Conceptualization, S.A.H. and M.F.B.; methodology, S.A.H.; software, S.A.H.; validation, S.A.H. and M.F.B.; formal analysis, S.A.H.; investigation, S.A.H.; resources, S.A.H.; data curation, S.A.H.; writing—original draft preparation, S.A.H.; writing—review and editing, S.A.H. and M.F.B.; visualization, S.A.H.; supervision, M.F.B.; project administration, M.F.B. All authors have read and agreed to the published version of the manuscript.

Data Availability

The training and evaluation scripts, the video-level FF++ split, and the FF++ and Celeb-DF face-crop frame sets prepared by the authors are available at https://github.com/sabbir-just/Cross-Dataset-Evaluation-with-FF-models. The source datasets (FF++, Celeb-DF, DFDC, and DiffusionFace) are available from their respective providers; the DFDC face crops are the third-party Kaggle release cited in Section 3.1.

Acknowledgements

The authors thank the providers of FF++, Celeb-DF, DFDC, and DiffusionFace, and acknowledge Kaggle-provided compute used for training and evaluation.

Conflicts of Interest

The authors declare no conflicts of interest.

Sonnet 5.5 (Claude) was used to review drafts, suggest restructuring and wording, and check consistency. The authors designed the method and experiments, produced all results, reviewed the suggestions of a large language model (LLM), and take responsibility for the content.

References
@article{1,title={{FaceForensics++}: Learning to Detect Manipulated Facial Images},author={R{\"o}ssler, Andreas and Cozzolino, Davide and Verdoliva, Luisa and Riess, Christian and Thies, Justus and Nie{\ss}ner, Matthias},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={1--11},year={2019},doi={10.1109/ICCV.2019.00009},url={}}. [Crossref]
@article{2,title={An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale},author={Dosovitskiy, Alexey and Beyer, Lucas and Kolesnikov, Alexander and Weissenborn, Dirk and Zhai, Xiaohua and Unterthiner, Thomas and Dehghani, Mostafa and Minderer, Matthias and Heigold, Georg and Gelly, Sylvain and Uszkoreit, Jakob and Houlsby, Neil},booktitle={International Conference on Learning Representations (ICLR)},year={2021},doi={10.48550/arXiv.2010.11929},url={}}. [Crossref]
@article{3,title={Distilling the Knowledge in a Neural Network},author={Hinton, Geoffrey and Vinyals, Oriol and Dean, Jeff},journal={arXiv Preprint},year={2015},note={arXiv:1503.02531},doi={10.48550/arXiv.1503.02531},url={}}. [Crossref]
@article{4,title={{FReTAL}: Generalizing Deepfake Detection Using Knowledge Distillation and Representation Learning},author={Kim, Minha and Tariq, Shahroz and Woo, Simon S.},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)},year={2021},doi={10.1109/CVPRW53098.2021.00111},url={}}. [Crossref]
@article{5,title={Confidence-Calibrated Face Image Forgery Detection with Contrastive Representation Distillation},author={Yang, Puning and Huang, Huaibo and Wang, Zhiyong and Yu, Aijing and He, Ran},booktitle={Computer Vision--ACCV 2022, Part IV},series={Lecture Notes in Computer Science},volume={13844},pages={3--19},year={2022},publisher={Springer},doi={10.1007/978-3-031-26316-3_1},url={}}. [Crossref]
@article{6,title={{DistilDIRE}: A Small, Fast, Cheap and Lightweight Diffusion Synthesized Deepfake Detection},author={Lim, Yewon and Lee, Changyeon and Kim, Aerin and Etzioni, Oren},journal={arXiv Preprint},year={2024},note={arXiv:2406.00856},doi={10.48550/arXiv.2406.00856},url={}}. [Crossref]
@article{7,title={A Brief Review for Compression and Transfer Learning Techniques in {DeepFake} Detection},author={Karathanasis, Andreas and Violos, John and Kompatsiaris, Ioannis and Papadopoulos, Symeon},journal={arXiv Preprint},year={2025},note={arXiv:2504.21066},doi={10.48550/arXiv.2504.21066},url={}}. [Crossref]
@article{8,title={Does Knowledge Distillation Really Work?},author={Stanton, Samuel and Izmailov, Pavel and Kirichenko, Polina and Alemi, Alexander A. and Wilson, Andrew Gordon},booktitle={Advances in Neural Information Processing Systems (NeurIPS)},volume={34},pages={6906--6919},year={2021},doi={10.48550/arXiv.2106.05945},url={}}. [Crossref]
@article{9,title={Revisiting Knowledge Distillation Under Distribution Shift},author={Zhang, Songming and Lyu, Ziyu and Chen, Xiaofeng},journal={arXiv Preprint},year={2023},note={arXiv:2312.16242},doi={10.48550/arXiv.2312.16242},url={}}. [Crossref]
@article{10,title={On the Efficacy of Knowledge Distillation},author={Cho, Jang Hyun and Hariharan, Bharath},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={4794--4802},year={2019},doi={10.1109/ICCV.2019.00489},url={}}. [Crossref]
@article{11,title={Improved Knowledge Distillation via Teacher Assistant},author={Mirzadeh, Seyed Iman and Farajtabar, Mehrdad and Li, Ang and Levine, Nir and Matsukawa, Akihiro and Ghasemzadeh, Hassan},booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},volume={34},number={4},pages={5191--5198},year={2020},doi={10.1609/aaai.v34i04.5963},url={}}. [Crossref]
@article{12,title={{Celeb-DF}: A Large-Scale Challenging Dataset for {DeepFake} Forensics},author={Li, Yuezun and Yang, Xin and Sun, Pu and Qi, Honggang and Lyu, Siwei},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={3204--3213},year={2020},doi={10.1109/CVPR42600.2020.00327},url={}}. [Crossref]
@article{13,title={The {DeepFake} Detection Challenge ({DFDC}) Dataset},author={Dolhansky, Brian and Bitton, Joanna and Pflaum, Ben and Lu, Jikuo and Howes, Russ and Wang, Menglin and Ferrer, Cristian Canton},journal={arXiv Preprint},year={2020},note={arXiv:2006.07397},doi={10.48550/arXiv.2006.07397},url={}}. [Crossref]
@article{14,title={{DiffusionFace}: Towards a Comprehensive Dataset for Diffusion-Based Face Forgery Analysis},author={Chen, Zhongxi and Sun, Ke and Zhou, Ziyin and Lin, Xianming and Sun, Xiaoshuai and Cao, Liujuan and Ji, Rongrong},journal={arXiv Preprint},year={2024},note={arXiv:2403.18471},doi={10.48550/arXiv.2403.18471},url={}}. [Crossref]
@article{15,title={{Xception}: Deep Learning with Depthwise Separable Convolutions},author={Chollet, Fran{\c{c}}ois},booktitle={Proceedings of the {IEEE} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={1251--1258},year={2017},doi={10.1109/CVPR.2017.195},url={}}. [Crossref]
@article{16,title={{UCF}: Uncovering Common Features for Generalizable Deepfake Detection},author={Yan, Zhiyuan and Zhang, Yong and Fan, Yanbo and Wu, Baoyuan},booktitle={Proceedings of the {IEEE}/{CVF} International Conference on Computer Vision (ICCV)},pages={22412--22423},year={2023},doi={10.1109/ICCV51070.2023.02048},url={}}. [Crossref]
@article{17,title={Transcending Forgery Specificity with Latent Space Augmentation for Generalizable Deepfake Detection},author={Yan, Zhiyuan and Luo, Yuhao and Lyu, Siwei and Liu, Qingshan and Wu, Baoyuan},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={8984--8994},year={2024},doi={10.1109/CVPR52733.2024.00858},url={}}. [Crossref]
@article{18,title={{DeepfakeBench}: A Comprehensive Benchmark of Deepfake Detection},author={Yan, Zhiyuan and Zhang, Yong and Yuan, Xinhang and Lyu, Siwei and Wu, Baoyuan},booktitle={Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track},volume={36},year={2023},doi={10.48550/arXiv.2307.01426},url={}}. [Crossref]
@article{19,title={On the Detection of Synthetic Images Generated by Diffusion Models},author={Corvi, Riccardo and Cozzolino, Davide and Zingarini, Giada and Poggi, Giovanni and Nagano, Koki and Verdoliva, Luisa},booktitle={{IEEE} International Conference on Acoustics, Speech and Signal Processing (ICASSP)},pages={1--5},year={2023},doi={10.1109/ICASSP49357.2023.10095167},url={}}. [Crossref]
@article{20,title={{Deepfake-Eval-2024}: A Multi-Modal In-the-Wild Benchmark of Deepfakes Circulated in 2024},author={Chandra, Nuria Alina and Murtfeldt, Ryan and Qiu, Lin and Karmakar, Arnab and Lee, Hannah and Tanumihardja, Emmanuel and Farhat, Kevin and Caffee, Ben and Paik, Sejin and Lee, Changyeon and Choi, Jongwook and Kim, Aerin and Etzioni, Oren},journal={arXiv Preprint},year={2025},note={arXiv:2503.02857},doi={10.48550/arXiv.2503.02857},url={}}. [Crossref]
@article{21,title={Knowledge Distillation: A Survey},author={Gou, Jianping and Yu, Baosheng and Maybank, Stephen J. and Tao, Dacheng},journal={Int. J. Comput. Vis.},volume={129},pages={1789--1819},year={2021},publisher={Springer},doi={10.1007/s11263-021-01453-z},url={}}. [Crossref]
@article{22,title={On Calibration of Modern Neural Networks},author={Guo, Chuan and Pleiss, Geoff and Sun, Yu and Weinberger, Kilian Q.},booktitle={Proceedings of the 34th International Conference on Machine Learning (ICML)},volume={70},pages={1321--1330},year={2017},doi={10.48550/arXiv.1706.04599},url={}}. [Crossref]
@article{23,title={A Comparative Analysis of Compression and Transfer Learning Techniques in {DeepFake} Detection Models},author={Karathanasis, Andreas and Violos, John and Kompatsiaris, Ioannis},journal={Mathematics},volume={13},number={5},pages={887},year={2025},publisher={MDPI},doi={10.3390/math13050887},url={}}. [Crossref]
@article{24,title={Face {X}-Ray for More General Face Forgery Detection},author={Li, Lingzhi and Bao, Jianmin and Zhang, Ting and Yang, Hao and Chen, Dong and Wen, Fang and Guo, Baining},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={5001--5010},year={2020},doi={10.1109/CVPR42600.2020.00505},url={}}. [Crossref]
@article{25,title={Detecting Deepfakes with Self-Blended Images},author={Shiohara, Kaede and Yamasaki, Toshihiko},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={18720--18729},year={2022},doi={10.1109/CVPR52688.2022.01816},url={}}. [Crossref]
@article{26,title={End-to-End Reconstruction-Classification Learning for Face Forgery Detection},author={Cao, Junyi and Ma, Chao and Yao, Taiping and Chen, Shen and Ding, Shouhong and Yang, Xiaokang},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={4113--4122},year={2022},doi={10.1109/CVPR52688.2022.00408},url={}}. [Crossref]
@article{27,title={Towards Universal Fake Image Detectors That Generalize Across Generative Models},author={Ojha, Utkarsh and Li, Yuheng and Lee, Yong Jae},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={24480--24489},year={2023},doi={10.48550/arXiv.2302.10174},url={}}. [Crossref]
@article{28,title={Orthogonal Subspace Decomposition for Generalizable {AI}-Generated Image Detection},author={Yan, Zhiyuan and Wang, Jiangming and Jin, Peng and Zhang, Ke-Yue and Liu, Chengchun and Chen, Shen and Yao, Taiping and Ding, Shouhong and Wu, Baoyuan and Yuan, Li},journal={arXiv Preprint},year={2025},note={arXiv:2411.15633},doi={10.48550/arXiv.2411.15633},url={}}. [Crossref]
@article{29,title={{DF40}: Toward Next-Generation Deepfake Detection},author={Yan, Zhiyuan and Yao, Taiping and Chen, Shen and Zhao, Yandan and Fu, Xinghe and Zhu, Junwei and Luo, Donghao and Wang, Chengjie and Ding, Shouhong and Wu, Yunsheng and Yuan, Li},booktitle={Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track},volume={37},year={2024},doi={10.48550/arXiv.2406.13495},url={}}. [Crossref]
@article{30,title={{Celeb-DF++}: A Large-Scale Challenging Video {DeepFake} Benchmark for Generalizable Forensics},author={Li, Yuezun and Zhu, Delong and Cui, Xinjie and Lyu, Siwei},journal={arXiv Preprint},year={2025},note={arXiv:2507.18015},doi={10.48550/arXiv.2507.18015},url={}}. [Crossref]
@article{31,title={A Novel Model Compression Method Based on Joint Distillation for Deepfake Video Detection},author={Xu, Xiong and Tang, Shuai and Zhu, Mingcheng and He, Peisong and Li, Sirui and Cao, Yun},journal={J. King Saud Univ. -- Comput. Inf. Sci.},volume={35},number={9},pages={101792},year={2023},publisher={Elsevier},doi={10.1016/j.jksuci.2023.101792},url={}}. [Crossref]
@article{32,title={Spatial-Frequency Feature Fusion Based Deepfake Detection Through Knowledge Distillation},author={Wang, Bo and Wu, Xiaohan and Wang, Fei and Zhang, Yushu and Wei, Fei and Song, Zengren},journal={Eng. Appl. Artif. Intell.},volume={133},number={Part E},pages={108341},year={2024},publisher={Elsevier},doi={10.1016/j.engappai.2024.108341},url={}}. [Crossref]
@article{33,title={Interactive Dual-Branch Network Based on Adversarial Knowledge Distillation for Compressed Deepfake Detection},author={Yang, Gaoming and Zhu, Peng and Zhang, Ji and Yang, Xiangyu},journal={J. Supercomput.},volume={81},number={14},pages={1315},year={2025},publisher={Springer},doi={10.1007/s11227-025-07795-6},url={}}. [Crossref]
@article{34,title={{CDD-RFLNet}: Continual Disagreement-Distilled Residual-Feature Learning for Open-World Deepfake-Video Detection},author={Choudhry, Nomica and Rao, Imran},journal={J. Imaging},volume={12},number={10},pages={489},year={2026},publisher={MDPI},doi={10.3390/jimaging12100489},url={}}. [Crossref]
@article{35,title={Knowledge Distillation: A Good Teacher Is Patient and Consistent},author={Beyer, Lucas and Zhai, Xiaohua and Royer, Am{\'e}lie and Markeeva, Larisa and Anil, Rohan and Kolesnikov, Alexander},booktitle={Proceedings of the {IEEE}/{CVF} Conference on Computer Vision and Pattern Recognition (CVPR)},pages={10925--10934},address={New Orleans, LA, USA},year={2022},doi={10.1109/CVPR52688.2022.01065},url={}}. [Crossref]
@article{36,title={When Does Label Smoothing Help?},author={M{\"u}ller, Rafael and Kornblith, Simon and Hinton, Geoffrey},booktitle={Advances in Neural Information Processing Systems (NeurIPS)},volume={32},year={2019},doi={10.48550/arXiv.1906.02629},url={}}. [Crossref]
@article{37,title={{DFDC} ({F}aces) of the Train Sample},author={Gilad, I.},year={2026},howpublished={Kaggle dataset},url={https://www.kaggle.com/datasets/itamargr/dfdc-faces-of-the-train-sample},}.
@article{38,title={{EfficientNet}: Rethinking Model Scaling for Convolutional Neural Networks},author={Tan, Mingxing and Le, Quoc},booktitle={Proceedings of the 36th International Conference on Machine Learning (ICML)},volume={97},pages={6105--6114},year={2019},doi={10.48550/arXiv.1905.11946},url={}}. [Crossref]
Appendix

Video-level Brier score and NLL (lower is better) by model and evaluation set

Note: FF++ = FaceForensics++; Celeb-DF = Celeb DeepFake dataset; DFDC = DeepFake Detection Challenge dataset; DP-ViT = dual-path Vision Transformer; KD-EffNet = knowledge-distilled EfficientNet; CE-EffNet = cross-entropy EfficientNet; NLL = negative log-likelihood.

DatasetDP-ViT (A)KD-EffNet (B)CE-EffNet (C)
\bf Brier\bf NLL\bf Brier\bf NLL\bf Brier\bf NLL
FF++ (in-domain)0.1670.6050.2941.0650.3361.045
Celeb-DF0.5262.1060.8529.9330.7472.632
DFDC0.2921.3990.3401.5390.1970.816

Cite this:
APA Style
IEEE Style
BibTex Style
MLA Style
Chicago Style
GB-T-7714-2015
Hasan, S. A. & Bulbul, M. F. (2026). Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study. Acadlore Trans. Mach. Learn., 5(4), 289-304. https://doi.org/10.56578/ataiml050402
S. A. Hasan and M. F. Bulbul, "Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study," Acadlore Trans. Mach. Learn., vol. 5, no. 4, pp. 289-304, 2026. https://doi.org/10.56578/ataiml050402
@research-article{Hasan2026KnowledgeDD,
title={Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study},
author={Syed Azmul Hasan and Mohammad Farhad Bulbul},
journal={Acadlore Transactions on AI and Machine Learning},
year={2026},
page={289-304},
doi={https://doi.org/10.56578/ataiml050402}
}
Syed Azmul Hasan, et al. "Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study." Acadlore Transactions on AI and Machine Learning, v 5, pp 289-304. doi: https://doi.org/10.56578/ataiml050402
Syed Azmul Hasan and Mohammad Farhad Bulbul. "Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study." Acadlore Transactions on AI and Machine Learning, 5, (2026): 289-304. doi: https://doi.org/10.56578/ataiml050402
HASAN S A, BULBUL M F. Knowledge Distillation Does Not Uniformly Preserve Cross-Domain Generalization in Deepfake Detection: A Controlled Teacher–Student Study[J]. Acadlore Transactions on AI and Machine Learning, 2026, 5(4): 289-304. https://doi.org/10.56578/ataiml050402
cc
©2026 by the author(s). Published by Acadlore Publishing Services Limited, Hong Kong. This article is available for free download and can be reused and cited, provided that the original published version is credited, under the CC BY 4.0 license.