Deepfake Image detection using Anchored Pairwise Learning Approach

has enabled technologies that have been perceived complex or impossible a few years ago. models can be used to solve several complex problem statements thereby making it a prominent field of research. With the advancements of models, their application in domains have diversified. One prominent use-case is the generation of synthetic images or videos targeting unethical media manipulation. This raises concerns on implications caused in the society where there is loss of trust in digital media. The synthetic media generated using models are called Deepfakes (portmanteau of Deep learning and fake). Deepfake generation leverages powerful techniques using and Artificial Intelligence (AI) to manipulate or generate visual content with a high potential prospect of deception to human perception. The application of deepfakes is primarily in face images or videos. The use-case of synthetically generated media is a powerful tool to communicate information with false motives to public. However, synthetic media generation of faces is not new with learning. Prior to deepfakes, synthetic face images and videos were generated using photo-editing softwares, primarily in the computer graphics domain. The inclusion of methods has only facilitated higher realism of synthetic media with lesser time computation required. With synthetic media being made easier to generate using models, appropriate detection methods should also be deployed. This thesis focuses on detecting deepfakes using Face Recognition Systems. Deepfake detection methods have been proposed and implemented since 2018. However, the fundamental challenge in deepfake detection is the capability of the model to learn discriminatory features between real and deepfake media (owing to high similarity and realism). Furthermore, the availability of real images or videos of target individuals is lesser in comparison with the number of deepfakes available thereby posing a challenge for the detection models to further learn the real vs. deepfake features. In this thesis, a modification to traditional Siamese Network using Pairwise Learning approach is made called Anchored Pairwise Learning, to learn the similarity between a pair of input faces to address the challenges in deepfake detection with regard to availability of real faces per individuals class. Anchored Pairwise Learning combines two proposed methods called Anchor Siamese Network (ASN) and Anchor Face Detector Network (AFDN) to perform a binary classification of images belonging to real or deepfake class by anchoring one of the test input pairs. The reported best AUC performance of the method on a test set of real and deepfake images is 91.9% and 81% on an independent hold-out set. Additionally, a comparative study between the proposed method and a baseline traditional face recognition method is made and their results based on model performances are discussed. Furthermore, the proposed method is evaluated with other state-of-the-art deepfake detection methods from a generalization performance on the reserved independent hold-out set. The results conclude that the Pairwise techniques outperform traditional techniques in scenarios where the number of real images are lesser compared to the deepfake images.