Skip to main content
QUICK REVIEW

[Paper Review] AutoDiff: combining Auto-encoder and Diffusion model for tabular data synthesizing

Namjoon Suh, Xiaofeng Lin|arXiv (Cornell University)|Oct 24, 2023
Topic ModelingComputer Science5 citations
TL;DR

AutoDiff proposes a novel tabular data synthesizer that combines variational autoencoders (VAEs) with score-based diffusion models to generate high-fidelity synthetic tabular data. By learning continuous latent representations of heterogeneous features—including mixed-type variables via a frequency-based dummy encoding—AutoDiff effectively captures complex feature correlations, outperforming state-of-the-art GAN and diffusion-based methods in statistical fidelity and downstream utility across 15 datasets.

ABSTRACT

Diffusion model has become a main paradigm for synthetic data generation in many subfields of modern machine learning, including computer vision, language model, or speech synthesis. In this paper, we leverage the power of diffusion model for generating synthetic tabular data. The heterogeneous features in tabular data have been main obstacles in tabular data synthesis, and we tackle this problem by employing the auto-encoder architecture. When compared with the state-of-the-art tabular synthesizers, the resulting synthetic tables from our model show nice statistical fidelities to the real data, and perform well in downstream tasks for machine learning utilities. We conducted the experiments over $15$ publicly available datasets. Notably, our model adeptly captures the correlations among features, which has been a long-standing challenge in tabular data synthesis. Our code is available at https://github.com/UCLA-Trustworthy-AI-Lab/AutoDiffusion.

Motivation & Objective

  • Address the challenge of generating synthetic tabular data with heterogeneous features (numerical, discrete, mixed-type) while preserving statistical fidelity.
  • Overcome limitations of existing GAN-based models (e.g., CTGAN) and diffusion-based models (e.g., Stasy, TabDDPM) in modeling complex correlations and mixed-type features.
  • Improve downstream machine learning utility by generating synthetic data that maintains realistic feature distributions and inter-feature dependencies.
  • Enhance privacy-aware generation by analyzing distance-to-closest-record (DCR) metrics, balancing memorization risks with data utility.

Proposed method

  • Employ a variational autoencoder (VAE) to map heterogeneous tabular features into a continuous latent space, enabling end-to-end learning of complex data distributions.
  • Introduce a frequency-based dummy variable to encode repeated values in mixed-type features, allowing the VAE to learn representations that preserve structural patterns.
  • Apply a score-based diffusion model in the latent space to generate new, diverse latent representations that reflect the joint distribution of features.
  • Use a pre-trained decoder to reconstruct the generated latent vectors into original tabular format, including both mixed-type features and their corresponding dummy encodings.
  • Combine the reconstructed mixed-type features and dummy variables to produce final synthetic samples that retain structural and statistical properties of real data.
  • Leverage Gaussian quantile transformation and score network architecture from TabDDPM to improve performance, especially in classification tasks.

Experimental results

Research questions

  • RQ1Can a hybrid autoencoder-diffusion framework effectively model heterogeneous tabular features, including mixed-type variables, better than existing GAN or diffusion-only models?
  • RQ2How well does AutoDiff preserve complex feature correlations in tabular data compared to state-of-the-art synthesizers?
  • RQ3To what extent does AutoDiff improve downstream machine learning utility (classification and regression) compared to baselines?
  • RQ4What is the privacy trade-off of AutoDiff in terms of memorization, as measured by Mean Distance to Closest Record (MDCR), relative to other models?
  • RQ5Does the integration of autoencoder-based encoding improve statistical fidelity and utility in diffusion-based tabular synthesis?

Key findings

  • AutoDiff achieves the highest average MDCR rank (6.33) among all models, indicating strong privacy performance, though not the best—suggesting a balance between fidelity and memorization.
  • In classification tasks, AutoDiff (Tab-AutoDiff) achieves 83.6% accuracy and 0.659 F1 score, outperforming Stasy (82.0% accuracy, 0.665 F1) and CTGAN (69.9% accuracy, 0.465 F1), with the highest AUROC (0.852).
  • In regression tasks, AutoDiff achieves an R² of 0.172 and RMSE of 4679.11, significantly outperforming Stasy (R² ≈ 0, RMSE = 1.06×10⁸) and CTABGAN+ (R² = 0.061, RMSE = 5518.107).
  • AutoDiff surpasses all GAN-based models (CTGAN, TVAE, CTABGAN+, AutoGAN) in both classification and regression utility, demonstrating superior downstream performance.
  • The model’s ability to capture feature correlations is validated by visual comparisons showing synthetic data closely matching real data distributions, especially in mixed-type features.
  • Tab-AutoDiff achieves the best performance in regression, with R² 0.172 and RMSE 4679.11, significantly better than TabDDPM (R² = -9.39, RMSE = 17,322.613), indicating AutoDiff’s superior modeling of joint distributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.