Domain General Face Forgery Detection by Learning to Weight
Open accessAbstract
In this paper, we propose a domain-general model, termed learning-to-weight (LTW), that guarantees face detection performance across multiple domains, particularly the target domains that are never seen before. However, various face forgery methods cause complex and biased data distributions, making it challenging to detect fake faces in unseen domains. We argue that different faces contribute differently to a detection model trained on multiple domains, making the model likely to fit domain-specific biases. As such, we propose the LTW approach based on the meta-weight learning algorithm, which configures different weights for face images from different domains. The LTW network can balance the model's generalizability across multiple domains. Then, the meta-optimization calibrates the source domain's gradient enabling more discriminative features to be learned. The detection ability of the network is further improved by introducing an intra-class compact loss. Extensive experiments on several commonly used deepfake datasets to demonstrate the effectiveness of our method in detecting synthetic faces. Code and supplemental material are available at https://github.com/skJack/LTW.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Optimizing each sample equally as in the traditional framework makes it difficult to uncover underlying forgery clues and is not conducive to generalization.
“Moreover, the quality of forgery faces is different, and optimizing each sample equally as in the traditional framework makes it difficult to uncover the underlying forgery clues and is not conducive to generalization (Liu et al. 2021b; Sun et al. 2021).”
From Dual Contrastive Learning for General Face Forgery Detection (2022) · cites this paper as Sun et al. 2021
High-quality samples are more conducive to improving the generalization of the model.
“Meanwhile, Sun et al. (2021) shows high-quality samples are more conducive to improving the generalization of the model.”
From Dual Contrastive Learning for General Face Forgery Detection (2022) · cites this paper as Sun et al. (2021)
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Xception: Deep Learning with Depthwise Separable Convolutions
Chollet, F. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2017.195 · Cited by 20,380 · see citing works
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
Tan, M., & Le, Q. V. (2019) · arXiv · doi:10.48550/arxiv.1905.11946 · Cited by 17,072 · see citing works
A Style-Based Generator Architecture for Generative Adversarial Networks
Karras, T., Laine, S., & Aila, T. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00453 · Cited by 11,714 · see citing works
Large Scale GAN Training for High Fidelity Natural Image Synthesis
Brock, A., Donahue, J., & Simonyan, K. (2018) · arXiv · doi:10.48550/arxiv.1809.11096 · Cited by 3,717 · see citing works
On First-Order Meta-Learning Algorithms
Nichol, A., Achiam, J., & Schulman, J. (2018) · arXiv · doi:10.48550/arxiv.1803.02999 · Cited by 1,438 · see citing works
Deepfakes and beyond: A Survey of face manipulation and fake detection
Tolosana, R., Vera-Rodriguez, R., Fierrez, J., Morales, A., & Ortega-Garcia, J. (2020) · Information Fusion · doi:10.1016/j.inffus.2020.06.014 · Cited by 1,237 · see citing works
Domain Generalization via Invariant Feature Representation
Muandet, K., Balduzzi, D., & Schölkopf, B. (2013) · arXiv · doi:10.48550/arxiv.1301.2115 · Cited by 771 · see citing works
Flagged first, then by citations
Research works printed but not linked: 23
- Afchar, D.; Nozick, V.; Yamagishi, J.; and Echizen, I. 2018. Mesonet: a compact facial video forgery detection network. In WIFS , 1-7. IEEE.
- Agarwal, S.; and Farid, H. 2017. Photo forensics from JPEG dimples. In WIFS , 1-6. IEEE.
- Chen, M.; Xu, Z.; Weinberger, K.; and Sha, F. 2012. Marginalized denoising autoencoders for domain adaptation. arXiv preprint arXiv:1206.4683 . · arXiv
- Cozzolino, D.; Thies, J.; R¨ ossler, A.; Riess, C.; Nießner, M.; and Verdoliva, L. 2018. Forensictransfer: Weaklysupervised domain adaptation for forgery detection. arXiv preprint arXiv:1812.02510 . · arXiv
- Deng, J.; Dong, W.; Socher, R.; Li, L.-J.; Li, K.; and FeiFei, L. 2009. Imagenet: A large-scale hierarchical image database. In CVPR , 248-255. Ieee.
- Dolhansky, B.; Bitton, J.; Pflaum, B.; Lu, J.; Howes, R.; Wang, M.; and Ferrer, C. C. 2020. The DeepFake Detection Challenge Dataset. arXiv preprint arXiv:2006.07397 . · arXiv
- Finn, C.; Abbeel, P.; and Levine, S. 2017. Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks. In ICML .
- Glorot, X.; Bordes, A.; and Bengio, Y. 2011. Domain adaptation for large-scale sentiment classification: A deep learning approach. In ICML .
- Guo, J.; Zhu, X.; Zhao, C.; Cao, D.; Lei, Z.; and Li, S. Z. 2020. Learning meta face recognition in unseen domains. In CVPR , 6163-6172.
- Kuang, H.; Ji, R.; Liu, H.; Zhang, S.; Sun, X.; Huang, F.; and Zhang, B. 2019. Multi-modal Multi-layer Fusion Network with Average Binary Center Loss for Face Anti-spoofing. In ACM MM , 48-56.
- Li, D.; Yang, Y.; Song, Y.-Z.; and Hospedales, T. M. 2018. Learning to generalize: Meta-learning for domain generalization. In AAAI .
- Li, L.; Bao, J.; Zhang, T.; Yang, H.; Chen, D.; Wen, F.; and Guo, B. 2020. Face x-ray for more general face forgery detection. In CVPR , 5001-5010.
- Li, Y.; Yang, X.; Sun, P.; Qi, H.; and Lyu, S. 2019. Celebdf: A new dataset for deepfake forensics. arXiv preprint arXiv:1909.12962 . · arXiv
- Matern, F.; Riess, C.; and Stamminger, M. 2019. Exploiting visual artifacts to expose deepfakes and face manipulations. In WACVW , 83-92. IEEE.
- McCloskey, S.; and Albright, M. 2018. Detecting gangenerated imagery using color cues. arXiv preprint arXiv:1812.08247 . · arXiv
- Mirsky, Y.; and Lee, W. 2020. The Creation and Detection of Deepfakes: A Survey. arXiv preprint arXiv:2004.11138 . · arXiv
- Nguyen, H. H.; Fang, F.; Yamagishi, J.; and Echizen, I. 2019. Multi-task learning for detecting and segmenting manipulated facial images and videos. arXiv preprint arXiv:1906.06876 . · arXiv
- Perera, P.; and Patel, V. M. 2019. Learning deep features for one-class classification. IEEE Transactions on Image Processing 28(11): 5450-5463.
- Qian, Y.; Yin, G.; Sheng, L.; Chen, Z.; and Shao, J. 2020. Thinking in Frequency: Face Forgery Detection by Mining Frequency-aware Clues. In ECCV , 86-103. Springer.
- Qiao, S.; Liu, C.; Shen, W.; and Yuille, A. L. 2018. Fewshot image recognition by predicting parameters from activations. In CVPR , 7229-7238.
- Rossler, A.; Cozzolino, D.; Verdoliva, L.; Riess, C.; Thies, J.; and Nießner, M. 2019. Faceforensics++: Learning to detect manipulated facial images. In ICCV , 1-11.
- Vinyals, O.; Blundell, C.; Lillicrap, T.; Wierstra, D.; et al. 2016. Matching networks for one shot learning. In NeurIPS , 3630-3638.
- Zhou, P.; Han, X.; Morariu, V. I.; and Davis, L. S. 2017. Two-stream neural networks for tampered face detection. In CVPRW , 1831-1839. IEEE.
Cited by
Sorted by citations
Dual Contrastive Learning for General Face Forgery Detection
Sun, K., Yao, T., Chen, S., Ding, S., Li, J., & Ji, R. (2022) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v36i2.20130 · Cited by 209 · see citing works
“LTW (Sun et al. 2021) weights training samples via meta-learning.”
BackgroundMethodInfluentialSelf-citationF <sup>2</sup> Trans: High-Frequency Fine-Grained Transformer for Face Forgery Detection
Miao, C., Tan, Z., Chu, Q., Liu, H., Hu, H., & Yu, N. (2023) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2022.3233774 · Cited by 172 · see citing works
Self-citationWang, Y., Yu, K., Chen, C., Hu, X., & Peng, S. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00703 · Cited by 161 · see citing works
Exploring Disentangled Content Information for Face Forgery Detection
Liang, J., Shi, H., & Deng, W. (2022) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-19781-9_8 · Cited by 58 · see citing works
Locate and Verify: A Two-Stream Network for Improved Deepfake Detection
Shuai, C., Zhong, J., Wu, S., Lin, F., Wang, Z., Ba, Z., Liu, Z., Cavallaro, L., & Ren, K. (2023) · Proceedings of the 31st ACM International Conference on Multimedia · doi:10.1145/3581783.3612386 · Cited by 55 · see citing works
Generalization of Forgery Detection With Meta Deepfake Detection Model
Tran, V.-N., Kwon, S.-G., Lee, S.-H., Le, H.-S., & Kwon, K.-R. (2023) · IEEE Access · doi:10.1109/access.2022.3232290 · Cited by 47 · see citing works
“The work in [46] designed a domain generalization model, named learning-to-weight.”
BackgroundMethodInfluentialForgery-Aware Adaptive Learning With Vision Transformer for Generalized Face Forgery Detection
Luo, A., Cai, R., Kong, C., Ju, Y., Kang, X., Huang, J., & Kot, A. C. (2025) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2024.3522091 · Cited by 41 · see citing works
DFIL: Deepfake Incremental Learning by Exploiting Domain-invariant Forgery Clues
Pan, K., Yin, Y., Wei, Y., Lin, F., Ba, Z., Liu, Z., Wang, Z., Cavallaro, L., & Ren, K. (2023) · Proceedings of the 31st ACM International Conference on Multimedia · doi:10.1145/3581783.3612377 · Cited by 37 · see citing works
Enhancing General Face Forgery Detection via Vision Transformer with Low-Rank Adaptation
Kong, C., Li, H., & Wang, S. (2023) · 2023 IEEE 6th International Conference on Multimedia Information Processing and Retrieval (MIPR) · doi:10.1109/mipr59079.2023.00033 · Cited by 25 · see citing works
“On the other hand, our method is superior to the SOTA method LTW[37] in terms of the average detection performance.”
BackgroundMethodInfluentialDiffusionface: Towards a Comprehensive Dataset for Diffusion-Based Face Forgery Analysis
Chen, Z., Sun, K., Lan, H., Zhou, Z., Lin, X., Sun, X., Cao, L., & Ji, R. (2025) · doi:10.2139/ssrn.5245709 · Cited by 15 · see citing works
Self-citationUniForensics: Face Forgery Detection via General Facial Representation
Fang, Z., Zhao, H., Wei, T., Zhou, W., Wan, M., Wang, Z., Zhang, W., & Yu, N. (2024) · arXiv · doi:10.48550/arxiv.2407.19079 · Cited by 8 · see citing works
Mining Generalized Multi-timescale Inconsistency for Detecting Deepfake Videos
Yu, Y., Ni, R., Yang, S., Ni, Y., Zhao, Y., & Kot, A. C. (2025) · International Journal of Computer Vision · doi:10.1007/s11263-024-02249-7 · Cited by 7 · see citing works
Nguyen-Le, H.-H., Tran, V.-T., Nguyen, D.-T., & Le-Khac, N.-A. (2026) · Artificial Intelligence Review · doi:10.1007/s10462-026-11608-4 · Cited by 1 · see citing works
- Authors
- Sun, K., Liu, H., Ye, Q., Gao, Y., Liu, J., Shao, L., & Ji, R.
- Affiliations
- Xiamen University (CN)
- National Institute of Informatics (JP)
- University of Chinese Academy of Sciences (CN)
- Tsinghua University (CN)
- Huawei Technologies (China) (CN)
- Inception Institute of Artificial Intelligence (AE)
- Venue
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2021-05-18
- Volume
- 35
- Issue
- 3
- Pages
- 2638-2646
- ISSN
- 2159-5399 (ISSN-L)
- 2374-3468
- OpenAlex
- W3173317327
- Cited by
- 155
- References
- 7
- Citations by year
- 2026: 12 · 2025: 40 · 2024: 40 · 2023: 38 · 2022: 23 · 2021: 2
- FWCI
- 8.42
- Type
- conference paper
- Language
- en
- Open access
- diamond
- doi.org
- Locations
- Proceedings of the AAAI Conference on Artificial Intelligence (publishedVersion)
- AAAI Publications (The Association for the Advancement of Artificial Intelligence (AAAI)) (submittedVersion)
- Funders
- National Natural Science Foundation of China (62072387, 62025603, U1705262, 62072389, 61802324, No. 62025603, 61772443, 62002305, No. 62002305, 62072386, 61702136)
- Basic and Applied Basic Research Foundation of Guangdong Province (No. 2019B1515120049, 2019B1515120049)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Digital Media Forensic Detection
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Face recognition and analysis
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Generative Adversarial Networks and Image Synthesis
- Keywords
- face forgery detection, deepfake detection, domain generalization, unseen domains, meta-optimization, synthetic face detection, domain bias
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review