Detection of AI Deepfake and Fraud in Online Payments Using GAN-Based Models

Zong Ke, Shicheng Zhou, Yining Zhou, Chia Hong Chang, Rong Zhang · OpenReview

Abstract

This study explores the use of Generative Adversarial Networks (GANs) to detect AI deepfakes and fraudulent activities in online payment systems. As deepfake technology advances, traditional security measures struggle to identify sophisticated facial manipulations. We propose a novel GAN-based model that identifies subtle digital fingerprints in payment images. Trained on a balanced dataset of 10,000 real and synthetic images, the model achieves a detection accuracy of 96.2%. This approach significantly enhances the robustness of financial services against AI-driven identity theft.

Introduction: The Deepfake Threat in Financial Services

As generative AI matures, "deepfakes"—highly realistic synthetic images and videos—have transitioned from entertainment into the realm of cybercrime. Online payment systems relying on facial recognition or image-based identity verification are particularly vulnerable. Traditional security systems are often "blind" to these AI-generated forgeries because the manipulations are too subtle for standard heuristic-based or older machine-learning filters to catch. This research addresses this gap by developing a security layer specifically designed to recognize the digital fingerprints left behind by generative models like StyleGAN and DeepFake.

Methodology: Adversarial Defense

The proposed framework employs a Generative Adversarial Network (GAN) architecture, turning the technology used to create deepfakes into a tool for detection. The system consists of two competing components:

  1. The Generator (G): Receives random noise and attempts to generate fictitious deepfake images to fool the system.
  2. The Discriminator (D): Acts as the "security guard," fed both real-world payment images and synthetic images. Its goal is to maximize the probability of correctly classifying images as "real" or "fake."

Through this adversarial training process, the Discriminator becomes increasingly adept at spotting minute artifacts and statistical anomalies. The model was trained using the Adam optimizer over 10,000 iterations with a cross-entropy loss function.

The training phase utilizes an encoder-decoder architecture to identify structural facial anomalies and segmentation masks.

A critical phase involves feature encoding and decoding. By passing facial features through an encoder-decoder, the model focuses on structural components and segmentation masks rather than raw pixel data. This is essential for identifying "warped" or "swapped" features that characterize deepfake attempts.

Dataset and Demographic Diversity

The study utilized a balanced dataset of 10,000 images to ensure robustness and minimize bias.

  • Real Payment Images (5,000): Sourced from open-data platforms (Open Images, Kaggle) and Alipay’s open API.
  • Deepfake Images (5,000): Synthetically generated using StyleGAN and DeepFake architectures.

The dataset maintains a diverse demographic spread, including an age range of 6 to 75 years, a near 1:1 gender ratio, and multiple ethnicities (Asian, Caucasian, African, and Hispanic). All images were processed at a high resolution of 1024x1024 pixels.

Experimental Results

The GAN-based model demonstrated high efficacy in distinguishing legitimate transactions from deepfake attempts. Key performance metrics include:

  • Overall Accuracy: 96.20%
  • Precision: 95.50%
  • Recall: 96.80%
  • AUC: 98.20%
The F1-Confidence curve illustrates the model's performance stability, achieving an F1-score of 0.96 at a confidence threshold of 0.782.

The high Area Under the Curve (AUC) suggests that the model maintains strong performance across various decision thresholds, making it flexible for different risk appetites in financial institutions.

Conclusion and Future Directions

While the results are promising, real-world deployment faces hurdles such as generalization across different environmental contexts (e.g., poor lighting). Future work should focus on multimodal integration—combining image detection with voice identification or behavioral biometrics—to create a multi-layered defense. Additionally, optimizing for real-time, high-volume payment environments is necessary to reduce latency without compromising security.

Keywords: Payment Security, Image Recognition, Generative Adversarial Networks, AI Deepfake, Fraudulent Activities

Summary updated

Abstract

This study explores the use of Generative Adversarial Networks (GANs) to detect AI deepfakes and fraudulent activities in online payment systems. With the growing prevalence of deepfake technology, which can manipulate facial features in images and videos, the potential for fraud in online transactions has escalated. Traditional security systems struggle to identify these sophisticated forms of fraud. This research proposes a novel GAN-based model that enhances online payment security by identifying subtle manipulations in payment images. The model is trained on a dataset consisting of real-world online payment images and deepfake images generated using advanced GAN architectures, such as StyleGAN and DeepFake. The results demonstrate that the proposed model can accurately distinguish between legitimate transactions and deepfakes, achieving a high detection rate above 95%. This approach significantly improves the robustness of payment systems against AI-driven fraud. The paper contributes to the growing field of digital security, offering insights into the application of GANs for fraud detection in financial services. Keywords- Payment Security, Image Recognition, Generative Adversarial Networks, AI Deepfake, Fraudulent Activities
BibTeX
@misc{ke2025detection,
  author = {Zong Ke and Shicheng Zhou and Yining Zhou and Chia Hong Chang and Rong Zhang},
  title = {{Detection of AI Deepfake and Fraud in Online Payments Using GAN-Based Models}},
  year = {2025},
  eprint = {2501.07033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.07033},
}

Loading related content...

Figure