Docsity

Major project Deep fake, Study Guides, Projects, Research of Software Project Management

Toggle sidebar
bg1
ABSTRACT
Deepfake technology has advanced rapidly, allowing the creation of highly realistic
synthetic media capable of deceiving even discerning observers. This presents significant
challenges in areas ranging from security and privacy to the integrity of information and
public trust. In this project we developed a robust deepfake detection system that couples
Multi-task Cascaded Convolutional Networks (MTCNN) for face detection with a fine-tuned
Inception-ResNet-v1 backbone for feature extraction and classification. The system not only
identifies manipulated faces with high accuracy but also provides explainability through
Gradient-weighted Class Activation Mapping (Grad-CAM), which highlights the facial
regions that influenced each decision.
The detection pipeline begins with MTCNN, which performs accurate and efficient face
detection by locating facial landmarks and bounding boxes through a three-stage cascade.
This preprocessing step is crucial for isolating facial features from the input image, ensuring
that subsequent analysis focuses solely on the most relevant region. Once faces are detected
and extracted, they are aligned using the returned eye landmarks and resized to a consistent
input resolution before being normalised and passed to the classifier.
Inception-ResNet-v1, a hybrid architecture that combines the multi-scale filtering of
Inception modules with the residual connections of ResNet, is employed for feature
extraction and classification. The network is initialised from weights pre-trained on the
VGGFace2 identity-recognition corpus and then fine-tuned end-to-end on a balanced corpus
of two thousand real and manipulated faces drawn from the Deepfake Detection Challenge
dataset, FaceForensics++ and Celeb-DF. The classification head outputs a two-way softmax
over the ā€œrealā€ and ā€œfakeā€ classes, and the resulting probability is retained as a calibrated
confidence score rather than being collapsed immediately to a hard label.
A key feature of the system is the integration of Grad-CAM for explainability. By back-
propagating the score of the predicted class to the final convolutional feature map and
weighting those channels by their pooled gradients, the system produces a heat-map that
localises the evidence for its decision. This is particularly valuable in scenarios where
transparency and trust are paramount, such as forensic analysis and media verification,
because it allows a human reviewer to check whether the model attended to a plausible
artefact or to an irrelevant background cue.
i
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47

Partial preview of the text

Download Major project Deep fake and more Study Guides, Projects, Research Software Project Management in PDF only on Docsity!

ABSTRACT

Deepfake technology has advanced rapidly, allowing the creation of highly realistic synthetic media capable of deceiving even discerning observers. This presents significant challenges in areas ranging from security and privacy to the integrity of information and public trust. In this project we developed a robust deepfake detection system that couples Multi-task Cascaded Convolutional Networks (MTCNN) for face detection with a fine-tuned Inception-ResNet-v1 backbone for feature extraction and classification. The system not only identifies manipulated faces with high accuracy but also provides explainability through Gradient-weighted Class Activation Mapping (Grad-CAM), which highlights the facial regions that influenced each decision. The detection pipeline begins with MTCNN, which performs accurate and efficient face detection by locating facial landmarks and bounding boxes through a three-stage cascade. This preprocessing step is crucial for isolating facial features from the input image, ensuring that subsequent analysis focuses solely on the most relevant region. Once faces are detected and extracted, they are aligned using the returned eye landmarks and resized to a consistent input resolution before being normalised and passed to the classifier. Inception-ResNet-v1, a hybrid architecture that combines the multi-scale filtering of Inception modules with the residual connections of ResNet, is employed for feature extraction and classification. The network is initialised from weights pre-trained on the VGGFace2 identity-recognition corpus and then fine-tuned end-to-end on a balanced corpus of two thousand real and manipulated faces drawn from the Deepfake Detection Challenge dataset, FaceForensics++ and Celeb-DF. The classification head outputs a two-way softmax over the ā€œrealā€ and ā€œfakeā€ classes, and the resulting probability is retained as a calibrated confidence score rather than being collapsed immediately to a hard label. A key feature of the system is the integration of Grad-CAM for explainability. By back- propagating the score of the predicted class to the final convolutional feature map and weighting those channels by their pooled gradients, the system produces a heat-map that localises the evidence for its decision. This is particularly valuable in scenarios where transparency and trust are paramount, such as forensic analysis and media verification, because it allows a human reviewer to check whether the model attended to a plausible artefact or to an irrelevant background cue. i

ii

Keywords: Deepfake detection, Explainable AI, Grad-CAM, MTCNN, Inception-ResNet- v1, Convolutional Neural Networks, Transfer learning, Media forensics, Generative Adversarial Networks. iv

TABLE OF CONTENTS

Abstract ....................................................................................................................................... i List of Figures ........................................................................................................................... iv List of Tables .............................................................................................................................. v List of Symbols, Abbreviations and Nomenclature ................................................................ v

  • CHAPTER 1: INTRODUCTION Mathematical Notation vii
    • 1.1 Background............................................................................................................................
    • 1.2 Evolution of Synthetic Media................................................................................................
    • 1.3 Motivation.............................................................................................................................
    • 1.4 Problem Statement.................................................................................................................
    • 1.5 Objectives..............................................................................................................................
    • 1.6 Scope of the Work.................................................................................................................
    • 1.7 Contributions of This Work...................................................................................................
    • 1.8 Organisation of the Report....................................................................................................
  • CHAPTER 2: LITERATURE REVIEW
    • 2.1 Overview of Deepfake Technology.......................................................................................
    • 2.2 Deepfake Generation Techniques..........................................................................................
    • 2.3 Existing Detection Techniques..............................................................................................
    • 2.4 Benchmark Datasets............................................................................................................
    • 2.5 Summary of Surveyed Literature........................................................................................
    • 2.6 Research Gap.......................................................................................................................
    • 2.7 Comparative Analysis..........................................................................................................
  • CHAPTER 3: METHODOLOGY
    • 3.1 System Overview.................................................................................................................
    • 3.2 Algorithms Used..................................................................................................................
    • 3.3 Data Collection....................................................................................................................
    • 3.4 Preprocessing.......................................................................................................................
    • 3.5 Model Training....................................................................................................................
    • 3.6 Loss Function and Optimisation..........................................................................................
    • 3.7 Evaluation Metrics...............................................................................................................
    • 3.8 Explainability.......................................................................................................................
  • CHAPTER 4: IMPLEMENTATION
    • 4.1 Development Environment..................................................................................................
    • 4.2 Face Detection.....................................................................................................................
    • 4.3 Preprocessing Steps.............................................................................................................
    • 4.4 Feature Extraction and Classification..................................................................................
    • 4.5 Explainability Mechanisms.................................................................................................
    • 4.6 User Interface and Deployment...........................................................................................
    • 4.7 Code Organisation...............................................................................................................
    • 4.8 Challenges Encountered......................................................................................................
  • CHAPTER 5: RESULTS
    • 5.1 Experimental Setup..............................................................................................................
    • 5.2 Accuracy and Performance..................................................................................................
    • 5.3 Confusion Matrix Analysis..................................................................................................
    • 5.4 Threshold-Independent Evaluation......................................................................................
    • 5.5 Performance by Source Dataset...........................................................................................

Figure 16 Training and validation accuracy over 40 epochs. Figure 17 Cross-entropy loss on the training and validation sets for both training durations. Figure 18 Confusion matrices on the test partition after 20 and 40 training epochs. Figure 19 Receiver operating characteristic curves for the proposed model and two baselines. Figure 20 Precision–recall curves for the proposed model and two baselines. Figure 21 Validation accuracy disaggregated by source dataset after 40 epochs. Figure 22 Cross-dataset generalisation matrix. Rows indicate the training corpus, columns the evaluation corpus. Figure 23 Incremental contribution of each pipeline component to validation accuracy. Figure 24 Accuracy under JPEG recompression and additive Gaussian noise. Figure 25 Per-image inference latency broken down by pipeline stage. Figure 26 A manipulated image correctly classified as fake, with the corresponding Grad-CAM heat-map. Figure 27 A genuine image correctly classified as real, with the corresponding Grad-CAM heat- map. Figure 28 Distribution of predicted probability for the fake class, separated by ground-truth label. Figure 29 Comparison of the proposed method against baselines and prior published approaches. Figure 30 Multi-criteria comparison of the proposed method against the VGG16 baseline.

LIST OF TABLES

Table 1 Principal public benchmark datasets for deepfake detection. Table 2 Consolidated summary of surveyed deepfake detection literature. Table 3 Comparative analysis of detection methods on the combined test partition. Table 4 Layer-wise specification of the Inception-ResNet-v1 backbone. Table 5 Distribution of the assembled dataset across sources and classes. Table 6 Model configuration and training hyperparameters. Table 7 Hardware and software environment used for development and training. Table 8 Aggregate performance metrics on the held-out test partition. Table 9 Detailed classification outcomes on the test partition (n = 300). Table 10 Cross-dataset accuracy in per cent. Diagonal entries are in-domain. Table 11 Ablation study results showing the incremental contribution of each component. Table 12 Accuracy under image degradation.

LIST OF SYMBOLS, ABBREVIATIONS AND NOMENCLATURE

Abbreviat ion Expansion^ Meaning in this report AI Artificial Intelligence Machine systems performing tasks associated with human cognition AP Average Precision Area under the precision–recall curve AUC Area Under the Curve Scalar summary of the ROC curve BN Batch Normalisation Layer-wise normalisation of activations during training vii

Abbreviat ion Expansion Meaning in this report CNN Convolutional Neural Network Network using learned convolution kernels CV Computer Vision Field concerned with machine interpretation of images DFDC Deepfake Detection Challenge Large public benchmark released by Meta and partners DL Deep Learning Machine learning using many-layered neural networks ELA Error Level Analysis Forensic technique based on JPEG recompression residuals FF++ FaceForensics++ Benchmark of pristine and manipulated video sequences FN False Negative A fake image incorrectly classified as real FP False Positive A real image incorrectly classified as fake FPS Frames Per Second Throughput measure for video processing GAN Generative Adversarial Network Generator–discriminator pair trained adversarially GPU Graphics Processing Unit Parallel accelerator used for network training Grad- CAM Gradient-weighted Class Activation Mapping Gradient-based visual explanation method LR Learning Rate Step size used by the optimiser ML Machine Learning Algorithms that improve automatically through data MTCNN Multi-task Cascaded Convolutional Networks Three-stage face and landmark detector NMS Non-Maximum Suppression Removal of overlapping candidate bounding boxes NN Neural Network Composition of parameterised nonlinear transformations O-Net Output Network Third MTCNN stage producing final boxes and landmarks P-Net Proposal Network First MTCNN stage generating candidate windows PIL Python Imaging Library Image handling library used in preprocessing PR Precision–Recall Curve preferred under class imbalance R-CNN Region-based Convolutional Neural Network Detector family operating on region proposals ReLU Rectified Linear Unit Activation function max(0, x) ResNet Residual Network Architecture using identity shortcut connections RNN Recurrent Neural Network Network with temporal state, used for frame sequences R-Net Refine Network Second MTCNN stage filtering false candidates ROC Receiver Operating Characteristic Plot of true against false positive rate rPPG Remote Photoplethysmography Extraction of pulse signal from facial video SGD Stochastic Gradient Descent Iterative first-order optimisation method TN True Negative A real image correctly classified as real TP True Positive A fake image correctly classified as fake viii

Deep Fake Detection Using Deep Neural Network

CHAPTER 1: INTRODUCTION

1.1 Background

In recent years the proliferation of deep learning algorithms has revolutionised the field of computer vision, enabling significant advances in face recognition, object detection and image classification. Networks that a decade ago struggled to separate a cat from a dog now routinely exceed human performance on constrained recognition tasks. Despite these strides

  • or rather, precisely because of them – the emergence of deepfake technology poses a substantial threat to the integrity and authenticity of digital media. Deepfakes, generated using sophisticated neural networks such as Generative Adversarial Networks, can create highly realistic yet entirely fabricated images and videos. These falsified media have far- reaching implications, from the spread of misinformation and disinformation to the compromise of personal privacy and security. Deepfakes are most commonly created by superimposing one person’s face onto another’s body using learned encoder–decoder pairs or adversarial generators, making it possible to produce convincing fake videos and images at scale. What distinguishes the present moment from earlier eras of photographic manipulation is not the existence of forgery – retouching is as old as photography itself – but the collapse in the cost, skill and time required to produce it. A convincing composite that once demanded a trained artist and many hours of work can now be produced by an untrained user in minutes using a consumer application. The accessibility of these tools has increased their prevalence dramatically, making it essential to develop robust detection methods to safeguard against their misuse. The rapid proliferation of synthetic media poses serious ethical, social and security concerns. As these technologies become more accessible and sophisticated they can be used maliciously to manipulate public opinion, spread misinformation and infringe on personal privacy. The challenge addressed by this project lies in developing effective detection mechanisms to identify and mitigate the risks associated with deepfakes, and in doing so in a manner that a non-specialist can understand and audit.

1.2 Evolution of Synthetic Media

It is useful to situate the current state of the art within a short historical arc, because the pace of change directly determines how quickly a detection model becomes obsolete. The modern lineage begins in 2014 with the introduction of generative adversarial networks, which reframed image synthesis as a two-player game between a generator and a discriminator. The framework was initially applied to small, low-resolution datasets, but a sequence of architectural refinements – deep convolutional generators, progressive growing, and style- based generators – raised output fidelity from blurry thumbnails to megapixel portraits within roughly five years. 1

Deep Fake Detection Using Deep Neural Network Figure 1: Timeline of major milestones in synthetic media generation and detection. The term ā€œdeepfakeā€ itself entered public vocabulary in late 2017, when an anonymous user of an online forum released face-swapped video clips produced with a shared-encoder autoencoder. Crucially, the associated code was published openly, and within months packaged desktop applications had appeared that required no programming knowledge. The research community responded with the first benchmark corpora and convolutional detectors in 2018, followed by the large-scale Deepfake Detection Challenge in 2019 and the deliberately more difficult Celeb-DF corpus in the same period. Since 2022, denoising diffusion models have added a second generative paradigm alongside adversarial training. Diffusion-based synthesis produces images with different low-level statistical signatures from those left by GANs, which has an immediate and unwelcome consequence for detection: a classifier trained exclusively on GAN-generated forgeries may perform little better than chance on diffusion-generated ones. This observation motivates several of the design decisions and much of the evaluation methodology described later in this report.

1.3 Motivation

Three considerations motivated the specific form of this project. The first is the asymmetry between generation and detection. Producing a convincing forgery requires only that the result survive casual inspection; detecting one reliably requires a decision that holds across compression, resolution, lighting and manipulation family. The defender therefore faces a strictly harder problem than the attacker, and any honest treatment of the subject must acknowledge that detection systems are best understood as one layer of a larger provenance strategy rather than as a complete solution. The second consideration is the question of trust. A detection system that outputs only a binary verdict places the user in the position of having to accept an unexplained judgement about a matter that may carry legal or reputational weight. In a forensic or journalistic context this is unsatisfactory. If a model declares an image fake, the natural next question is ā€œon what basisā€, and a system that cannot answer that question is difficult to defend under scrutiny. This is why explainability is treated in this project as a first-class design requirement rather than as an optional visualisation added at the end. The third consideration is practical deployment. Much of the published literature reports accuracy on a single benchmark under laboratory conditions. Real inputs arrive re-encoded by social platforms, cropped, resized and sometimes screenshotted. A system whose accuracy collapses under moderate JPEG recompression is of limited operational use, so this 2

Deep Fake Detection Using Deep Neural Network

1.6 Scope of the Work.................................................................................................................

This research focuses on building and testing a convolutional neural network for deepfake detection at the level of individual images and extracted video frames. The scope includes the use of MTCNN for face detection, a preprocessing sequence that enforces data consistency, a fine-tuned Inception-ResNet-v1 classifier and the integration of Grad-CAM for explainability. The study is confined to image-based detection, with potential future extensions to temporal video analysis and multimodal systems that incorporate audio and textual signals. Concretely, the scope of the work comprises:

  1. Employing the Multi-task Cascaded Convolutional Networks algorithm for efficient and accurate face detection and landmark localisation.
  2. Preprocessing detected facial regions and classifying them with an Inception-ResNet- v1 model fine-tuned for the deepfake detection task.
  3. Integrating Grad-CAM to generate visual explanations for the model’s predictions.
  4. Conducting experiments and evaluations that demonstrate the effectiveness of the proposed system and expose its limitations.
  5. Packaging the trained system behind a browser-based interface suitable for demonstration and evaluation. The following are explicitly outside the scope of this work: detection of fully synthetic non- facial imagery; audio deepfake detection; adversarially robust training against an attacker with white-box access to the model; and any form of attribution that identifies which specific tool produced a given forgery.

1.7 Contributions of This Work

The contributions of this dissertation may be summarised under four headings.

  • An integrated and reproducible detection pipeline. The combination of MTCNN cropping, VGGFace2-initialised Inception-ResNet-v1 fine-tuning and Grad-CAM explanation is assembled into a single end-to-end system whose components and hyperparameters are fully documented in Chapters 3 and 4.
  • Explainability as a design requirement. Rather than reporting heat-maps as illustrations, this work analyses them systematically, including for misclassified samples, and uses them to diagnose a background-artefact shortcut that would otherwise have gone unnoticed.
  • A candid generalisation analysis. A full cross-dataset matrix is reported in Section 5.6. The resulting fifteen-to-twenty-five point accuracy drop is discussed rather than omitted, since it is the single most important qualification on the headline results.
  • A robustness characterisation. Accuracy is measured as a function of JPEG quality factor and Gaussian noise variance, providing a practical statement of the conditions under which the system’s output should be trusted.

1.8 Organisation of the Report

The remainder of this report is organised as follows. Chapter 2 reviews the literature on deepfake generation and detection, presents a taxonomy of detection approaches, surveys the 4

Deep Fake Detection Using Deep Neural Network principal benchmark datasets and identifies the research gap addressed here. Chapter 3 describes the methodology in detail, including the mathematical formulation of each algorithm employed, the data collection and preprocessing procedure, and the training configuration. Chapter 4 documents the implementation, covering the development environment, the code organisation, the user interface and the practical difficulties encountered. Chapter 5 presents the experimental results, beginning with accuracy and loss curves and proceeding through confusion matrices, threshold-independent metrics, per-dataset and cross-dataset performance, the ablation study, robustness measurements and qualitative examples. Chapter 6 discusses these results, compares them with prior work, interprets the explainability outputs and states the limitations and threats to validity. Chapter 7 concludes and outlines directions for future work, followed by appendices containing dataset details, architectural specifications, extended result tables and representative source listings. Readers approaching this report with different objectives may wish to navigate it differently. A reader concerned primarily with whether the system is fit for a particular deployment should read the aggregate metrics in Section 5.2, then proceed directly to the cross-dataset results in Section 5.6, the robustness sweep in Section 5.8 and the limitations catalogued in Section 6.4, since those four sections together define the operating envelope within which the reported accuracy can be expected to hold. A reader interested in reproducing or extending the work should concentrate on Chapters 3 and 4 together with Appendices A to D, which record the preprocessing sequence, the layer-wise architecture, the complete hyperparameter set and the representative source listings needed to rebuild the pipeline. A reader interested chiefly in the explainability contribution will find the derivation in Section 3.8, the implementation in Section 4.5 and the analysis of what the heat-maps actually revealed in Sections 5.11 and 6.3. Two conventions are used throughout. Numerical results are reported to one decimal place, and any comparison between configurations differing by less than the confidence interval quoted in Appendix C is treated as inconclusive rather than as evidence of an improvement. Claims about the behaviour of the system are separated deliberately from claims about deepfake detection in general: the former are supported by the experiments reported here, whereas the latter are attributed to the cited literature and should be read as context rather than as findings of this project. 5

Deep Fake Detection Using Deep Neural Network This approach is computationally modest and requires only a few hundred images of each identity, which explains its popularity. It also leaves detectable traces: the decoder output must be blended back into the original frame, and the blending boundary, the resolution mismatch between the generated face and the surrounding image, and the loss of high- frequency skin texture are all exploitable cues. 2.2.2 Generative Adversarial Networks Adversarial training reframes synthesis as a minimax game. The generator maps a latent vector to an image, while the discriminator attempts to classify images as real or generated. Formally, the two networks optimise the value function

min_G max_D V(D, G) = E_x [ log D(x) ] + E_z [ log(1 āˆ’ D(G(z))) ]

(2.1) where the minimisation is over the generator parameters and the maximisation over the discriminator parameters. At the theoretical optimum the generator distribution matches the data distribution and the discriminator is reduced to chance. Figure 3: The adversarial training loop between generator and discriminator. Successive refinements have improved fidelity substantially. Progressive growing stabilises training by increasing resolution in stages; style-based generators disentangle coarse and fine attributes by injecting the latent code at multiple scales. Adversarially generated faces nevertheless exhibit periodic artefacts in the frequency domain arising from the transposed- convolution upsampling operations in the generator, and these spectral fingerprints have proved to be among the most reliable detection cues for this family. 2.2.3 Diffusion Models Denoising diffusion probabilistic models learn to reverse a gradual noising process. A forward process progressively corrupts an image with Gaussian noise over many timesteps; a network is trained to predict and remove that noise, and sampling proceeds by starting from pure noise and iteratively denoising. Because the sampling process does not rely on transposed convolutions, diffusion outputs lack the characteristic spectral peaks associated with adversarial generators. This is directly relevant to the present work: a detector whose discriminative power rests on those peaks will not transfer to diffusion-generated content, and the datasets used in this project predate the widespread availability of diffusion-based face synthesis. 7

Deep Fake Detection Using Deep Neural Network

2.3 Existing Detection Techniques..............................................................................................

The rapid advancement and widespread availability of deepfake generation tools has necessitated the development of robust detection methods. Current techniques may be grouped into signal-feature methods, physical or physiological methods, and data-driven approaches, with explainable-AI techniques forming an increasingly important cross-cutting concern. Figure 4: Taxonomy of deepfake detection approaches surveyed in this chapter. 2.3.1 Signal Feature-Based Methods Error Level Analysis This technique analyses compression artefacts within an image. By recompressing the image at a known quality factor and comparing the result with the original, error level analysis highlights regions whose compression history differs from their surroundings, which is a strong indicator of splicing or local regeneration. When combined with deep models such as ResNet-18 or with classical classifiers including k-nearest neighbours, error level analysis can achieve high accuracy on manipulated images. Its principal weakness is that it requires continual dataset updates to keep pace with evolving generation pipelines, and it degrades sharply when the image has been recompressed multiple times by intermediate platforms. Frequency Domain Analysis Techniques that analyse the spectral components of an image can detect inconsistencies introduced during generation. High-frequency content is difficult for generators to replicate faithfully, and upsampling operations introduce periodic structure that appears as regular peaks in the two-dimensional discrete Fourier transform of the residual. These artefacts are often invisible in the spatial domain but stand out clearly in the frequency domain, which makes spectral methods attractive as a complement to, rather than a replacement for, spatial classifiers. 2.3.2 Physical and Physiological Methods Inconsistencies in Facial Features Li and Lyu proposed a method that detects forgeries by comparing the generated face region against the surrounding image. This approach exploits the subtle inconsistencies that arise during the face-swapping process, including mismatches in illumination direction, shadow geometry, skin tone and the resolution of fine texture. Because the warping step required to 8

Deep Fake Detection Using Deep Neural Network 2.3.4 Explainable AI Techniques Gradient-weighted Class Activation Mapping provides visual explanations for convolutional predictions by highlighting the regions of the input that most strongly influence the decision. Integrating such techniques into detection models enhances transparency and builds user trust by making the decision interpretable. Related approaches include occlusion sensitivity, which measures the change in output as regions are masked, and attribution methods such as integrated gradients and layer-wise relevance propagation. Grad-CAM was selected for this project because it requires no architectural modification, imposes negligible computational overhead and produces spatially coherent maps at the resolution of the final convolutional layer.

2.4 Benchmark Datasets............................................................................................................

The empirical study of detection is shaped by the datasets available. The principal public corpora differ substantially in scale, generation method and difficulty, and a summary is given below. Table 1: Principal public benchmark datasets for deepfake detection. Dataset Year Real / Fake clips Generation methods Notable characteristics UADFV 2018 49 / 49 FakeApp Very small; largely solved by modern detectors FaceForensics+

2019 1000 / 4000 Deepfakes, Face2Face, FaceSwap, NeuralTextures Multiple compression levels; widely used baseline DFDC 2020 23654 / 104500 Eight distinct methods Largest public corpus; strong demographic diversity Celeb-DF v2 2020 590 / 5639 Improved synthesis pipeline Deliberately high visual quality; hardest benchmark DeeperForensic s-1.0 2020 50000 / 10000^ DF-VAE^ Extensive real-world perturbations applied WildDeepfake 2020 3805 / 3509 Unknown, collected in the wild No controlled generation; realistic distribution The three corpora selected for this project – the Deepfake Detection Challenge dataset, FaceForensics++ and Celeb-DF – were chosen to span a range of difficulty. FaceForensics+

  • provides multiple manipulation families under controlled conditions; the Challenge dataset contributes demographic and environmental diversity; and Celeb-DF supplies high- quality forgeries that resist naive detection. The combination is deliberately heterogeneous, since training on a single corpus is known to produce brittle models.

2.5 Summary of Surveyed Literature........................................................................................

The table below consolidates the principal works surveyed, with their reported performance and the limitations identified during our review. Reported accuracies are not directly comparable across rows because the evaluation datasets and protocols differ; the table is intended to convey the shape of the field rather than to rank methods. 10

Deep Fake Detection Using Deep Neural Network Table 2: Consolidated summary of surveyed deepfake detection literature. Authors Approach Dataset Reported accuracy Principal limitation Goodfellow et al. (2014) GAN framework (generation) MNIST, CIFAR- 10 n/a^ Foundational generative work, not detection Li and Lyu (2019) Face-warping artefact CNN UADFV, DF- TIMIT 97.4% Degrades once generators correct warping Güera and Delp (2018) CNN + LSTM temporal Custom, 600 videos 94.0% Requires video; sensitive to frame rate Rƶssler et al. (2019) XceptionNet classifier FaceForensics++ 95.7% Sharp drop under heavy compression Ciftci et al. (2020) Biological signals (rPPG) FF++, Celeb-DF 91.1% Needs several seconds of clean video Dolhansky et al. (2020) DFDC benchmark baseline DFDC 82.6% Highlights difficulty of in-the-wild data Nguyen et al. (2019) Capsule networks FF++ 93.2% Limited cross-dataset transfer Afchar et al. (2018) MesoNet (compact CNN) Deepfake, Face2Face 89.1%^ Small capacity limits high-quality detection Rafique et al. (2023) Error level analysis + CNN Custom composite 89.5% Assumes single known compression history Zhao et al. (2021) Multi-attentional network FF++, Celeb-DF 96.0% High parameter count; slow inference Wang et al. (2020) Frequency-domain CNN GAN-generated set 94.7% Ineffective on diffusion- generated content Proposed method MTCNN + Inception- ResNet-v1 + Grad-CAM DFDC, FF++, Celeb-DF 95.2% Image-level only; cross- dataset drop of 15– points

2.6 Research Gap.......................................................................................................................

Despite significant progress, several critical gaps remain that must be addressed to enhance the robustness and applicability of detection techniques. 2.6.1 Dynamic Nature of Deepfake Techniques Generation methods evolve continuously, making it difficult for detection models to remain effective over time. New techniques frequently circumvent existing detectors, necessitating ongoing research and periodic retraining. The blinking-artefact episode described in Section 2.3.2 is the canonical illustration: a published detection cue prompted a corresponding correction in generation pipelines within months. Any detector deployed operationally must therefore be treated as a perishable asset with a maintenance schedule, not as a fixed solution. 2.6.2 Dataset Diversity and Quality The performance of data-driven detection models depends heavily on the quality and diversity of the training data. Many existing corpora do not encompass the full spectrum of manipulation variations, leading to bias and reduced generalisability. Several widely used datasets are also demographically skewed, which raises the possibility that a detector 11