arXiv:2509.19032cs.LG2025-09被引 6

用Transformer增强GAN生成更真实的欺诈交易数据,提升检测效果。

Improving Credit Card Fraud Detection through Transformer-Enhanced GAN Oversampling

  • 引入Transformer编码器增强GAN,捕捉复杂特征交互
  • 在信用卡欺诈数据集上召回率、F1和AUC显著提升
  • 适合需要高精度欺诈检测的金融风控场景

信用卡欺诈检测是金融安全的严峻挑战,因交易数据高度不平衡,欺诈样本占比极低。传统过采样方法如SMOTE生成的合成样本过于简单,难以应对复杂的欺诈模式。尽管近期的条件表格式生成对抗网络(CTGAN)和表格式变分自编码器(TVAE)在表格数据生成方面表现更优,但仍存在高维依赖建模不足的问题。本文提出一种混合方法:采用带有Transformer编码器的生成对抗网络(GAN),通过自注意力机制学习丰富的特征交互,生成更真实的欺诈交易样本。该方法克服了SMOTE、CTGAN和TVAE的局限性,能生成多样且高质量的少数类样本。我们在公开的Credit Card Fraud Detection数据集上测试,与逻辑回归(LR)、随机森林(RF)、XGBoost和支持向量机(SVM)等分类器对比,结果表明该模型在召回率、F1-score和受试者工作特征曲线下面积(AUC)上均有显著提升,验证了其在缓解严重类别不平衡问题上的有效性。

原文摘要 · Abstract (English)

Detection of credit card fraud is an acute issue of financial security because transaction datasets are highly lopsided, with fraud cases being only a drop in the ocean. Balancing datasets using the most popular methods of traditional oversampling such as the Synthetic Minority Oversampling Technique (SMOTE) generally create simplistic synthetic samples that are not readily applicable to complex fraud patterns. Recent industry advances that include Conditional Tabular Generative Adversarial Networks (CTGAN) and Tabular Variational Autoencoders (TVAE) have demonstrated increased efficiency in tabular synthesis, yet all these models still exhibit issues with high-dimensional dependence modelling. Now we will present our hybrid approach where we use a Generative Adversarial Network (GAN) with a Transformer encoder block to produce realistic fraudulent transactions samples. The GAN architecture allows training realistic generators adversarial, and the Transformer allows the model to learn rich feature interactions by self-attention. Such a hybrid strategy overcomes the limitations of SMOTE, CTGAN, and TVAE by producing a variety of high-quality synthetic minority classes samples. We test our algorithm on the publicly-available Credit Card Fraud Detection dataset and compare it to conventional and generative resampling strategies with a variety of classifiers, such as Logistic Regression (LR), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and Support Vector Machine (SVM). Findings indicate that our Transformer-based GAN shows substantial gains in Recall, F1-score and Area Under the Receiver Operating Characteristic Curve (AUC), which indicates that it is effective in overcoming the severe class imbalance inherent in the task of fraud detection.

欺诈检测GANTransformer数据平衡

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。