[Paper Review] EmDT: Embedding Diffusion Transformer for Tabular Data Generation in Fraud Detection
EmDT uses cluster-guided diffusion with a Transformer denoiser and sinusoidal embeddings to generate realistic fraudulent tabular samples, boosting downstream XGBoost performance while preserving privacy.
Imbalanced datasets pose a difficulty in fraud detection, as classifiers are often biased toward the majority class and perform poorly on rare fraudulent transactions. Synthetic data generation is therefore commonly used to mitigate this problem. In this work, we propose the Clustered Embedding Diffusion-Transformer (EmDT), a diffusion model designed to generate fraudulent samples. Our key innovation is to leverage UMAP clustering to identify distinct fraudulent patterns, and train a Transformer denoising network with sinusoidal positional embeddings to capture feature relationships throughout the diffusion process. Once the synthetic data has been generated, we employ a standard decision-tree-based classifier (e.g., XGBoost) for classification, as this type of model remains better suited to tabular datasets. Experiments on a credit card fraud detection dataset demonstrate that EmDT significantly improves downstream classification performance compared to existing oversampling and generative methods, while maintaining comparable privacy protection and preserving feature correlations present in the original data.
Motivation & Objective
- Address severe class imbalance in fraud detection by augmenting minority samples with realistic synthetic data.
- Leverage UMAP clustering to identify distinct fraud patterns and train cluster-specific diffusion models.
- Capture complex feature dependencies in tabular data via a Transformer-based denoising network with sinusoidal embeddings.
- Demonstrate improved downstream fraud classification performance using augmented data.
- Assess privacy risk and feature correlation preservation in generated data.
Proposed method
- Apply UMAP to minority fraud samples to identify clusters of fraud patterns.
- Train a separate diffusion model for each fraud cluster using a Transformer-based denoiser with sinusoidal positional embeddings.
- Use a non-trainable sinusoidal embedding Phi to map features and timesteps into a latent space.
- Predict Gaussian noise with a Transformer denoising network, followed by a linear projection to original feature space.
- Generate synthetic fraud samples per cluster and combine with real data for downstream XGBoost classification.
- Tune hyperparameters with Optuna and evaluate using F1, recall, precision, Bal-Acc, and privacy (DCR).
Experimental results
Research questions
- RQ1Can cluster-wise diffusion models better capture multi-modal fraud patterns than a single global model?
- RQ2Do sinusoidal embeddings and Transformer denoisers improve fidelity of synthetic tabular fraud data?
- RQ3Does EmDT augmentation improve downstream fraud classifier metrics while maintaining privacy protections?
- RQ4How does EmDT compare to SMOTE, CTGAN, TVAE, and TabDDPM on imbalanced credit card fraud data?
- RQ5What is the impact of cluster-training versus full-set training on predictive performance?
Key findings
- EmDT achieves the highest F1-score, recall, precision, and Bal-Acc among compared methods.
- EmDT yields a DCR privacy score comparable to other generative models and better downstream performance.
- Cluster-trained EmDT outperforms non-clustered variants in classification metrics.
- Synthetic data from EmDT preserves feature correlations better than CTGAN, TVAE, and TabDDPM.
- Ablation shows cluster-training provides additional gains over using the full fraud set without clustering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.