# Detecting Deepfakes with Metric Learning

arXiv: https://arxiv.org/abs/2003.08645 · HTML: https://mlsanity.com/paper/2003.08645/

## Key facts

- Cited by 16 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 19 Mar 2020.

## Built on by (most cited first, 16 of 16)

- [Frequency-aware Discriminative Feature Learning Supervised by Single-Center Loss for Face Forgery Detection](https://mlsanity.com/paper/2103.09096/) (2021)
- [Beyond the Prior Forgery Knowledge: Mining Critical Clues for General Face Forgery Detection](https://mlsanity.com/paper/2304.12489/) (2023)
- [3D-Aware Video Generation](https://mlsanity.com/paper/2206.14797/) (2022)
- [Digital and Physical Face Attacks: Reviewing and One Step Further](https://mlsanity.com/paper/2209.14692/) (2022)
- [The Age of Synthetic Realities: Challenges and Opportunities](https://mlsanity.com/paper/2306.11503/) (2023)
- [Metric Learning for Anti-Compression Facial Forgery Detection](https://mlsanity.com/paper/2103.08397/) (2021)
- [Using Deep Learning to Detecting Deepfakes](https://mlsanity.com/paper/2207.13644/) (2022)
- [COMICS: End-to-end Bi-grained Contrastive Learning for Multi-face Forgery Detection](https://mlsanity.com/paper/2308.01520/) (2023)
- [Detecting Deepfake Videos Using Euler Video Magnification](https://mlsanity.com/paper/2101.11563/) (2021)
- [Fighting Malicious Media Data: A Survey on Tampering Detection and Deepfake Detection](https://mlsanity.com/paper/2212.05667/) (2022)
- [Anti-Compression Contrastive Facial Forgery Detection](https://mlsanity.com/paper/2302.06183/) (2023)
- [Do DeepFake Attribution Models Generalize?](https://mlsanity.com/paper/2505.21520/) (2025)
- [Trident: Detecting Face Forgeries with Adversarial Triplet Learning](https://mlsanity.com/paper/2506.23189/) (2025)
- [Exploring Embeddings for Measuring Text Relatedness: Unveiling Sentiments and Relationships in Online Comments](https://mlsanity.com/paper/2310.05964/) (2023)
- [Deepfake for the Good: Generating Avatars through Face-Swapping with Implicit Deepfake Generation](https://mlsanity.com/paper/2402.06390/) (2024)
- [Improving Generalization in Deepfake Detection with Face Foundation Models and Metric Learning](https://mlsanity.com/paper/2508.19730/) (2025)

## Abstract (arXiv)

With the arrival of several face-swapping applications such as FaceApp, SnapChat, MixBooth, FaceBlender and many more, the authenticity of digital media content is hanging on a very loose thread. On social media platforms, videos are widely circulated often at a high compression factor. In this work, we analyze several deep learning approaches in the context of deepfakes classification in high compression scenario and demonstrate that a proposed approach based on metric learning can be very effective in performing such a classification. Using less number of frames per video to assess its realism, the metric learning approach using a triplet network architecture proves to be fruitful. It learns to enhance the feature space distance between the cluster of real and fake videos embedding vectors. We validated our approaches on two datasets to analyze the behavior in different environments. We achieved a state-of-the-art AUC score of 99.2% on the Celeb-DF dataset and accuracy of 90.71% on a highly compressed Neural Texture dataset. Our approach is especially helpful on social media platforms where data compression is inevitable.
