Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Fraud is Not Just Rarity: A Causal Prototype Attention Approach to Realistic Synthetic Oversampling

About

Detecting fraudulent credit card transactions remains a significant challenge, due to the extreme class imbalance in real-world data and the often subtle patterns that separate fraud from legitimate activity. Existing research commonly attempts to address this by generating synthetic samples for the minority class using approaches such as GANs, VAEs (Variational Autoencoders), or hybrid generative models. However, these techniques, particularly when applied only to minority-class data, tend to result in overconfident classifiers and poor latent cluster separation, ultimately limiting real-world detection performance. In this study, we propose the Causal Prototype Attention Classifier (CPAC), an interpretable architecture that promotes class-aware clustering and improved latent space structure through prototype-based attention mechanisms and we couple it with the encoder of a Variational Autoencoder-Generative Adversarial Network (VAE-GAN) in order to achieve improved latent cluster separation moving beyond post-hoc sample augmentation. We compared CPAC-augmented models to traditional oversamplers, such as SMOTE, as well as to state-of-the-art generative models, both with and without CPAC-based latent classifiers. Our results show that classifier-guided latent shaping with CPAC delivers superior performance, achieving an F1-score of 93.74% and recall of 92.85%, along with improved latent cluster separation. Further ablation studies and visualizations provide deeper insight into the benefits and limitations of classifier-driven representation learning for fraud detection. The codebase for this work can be found at the following link: https://github.com/claudiunderthehood/VAEGAN-CPAC.git.

Claudio Giusti, Luca Guarnera, Mirko Casu, Sebastiano Battiato• 2025

Related benchmarks

TaskDatasetResultRank
Fraud DetectionCredit Card Fraud Detection (test)
Recall91.83
26
Fraud DetectionSynthetic Credit Card Fraud (test)
Precision0.9513
12
Credit Card Fraud DetectionKaggle Credit Card Fraud original non-augmented (test)
Precision96.65
5
Credit Card Fraud DetectionKaggle Credit Card Fraud Detection Kartik Shenoy (test)
Precision97.58
4
Fraud DetectionSynthetic Fraud Dataset non-augmented (test)
Precision95.47
4
Showing 5 of 5 rows

Other info

Follow for update