NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TabDiff: a Mixed-type Diffusion Model for Tabular Data Generation

Juntong Shi, Minkai Xu, Harper Hua, Hengrui Zhang, Stefano Ermon, Jure Leskovec

TL;DR

TabDiff is a novel generative framework that brings the power of continuous-time diffusion models to the messy, heterogeneous world of tabular data. By using feature-wise learnable noise schedules and a specialized stochastic sampler, it outperforms existing state-of-the-art models by up to 22.6% in capturing complex column correlations while maintaining high data fidelity.

The Challenge of Tabular Data

Generating high-quality synthetic tabular data is a "holy grail" for data science, enabling everything from robust dataset augmentation to privacy-preserving data sharing. However, tables are notoriously harder to model than images or text.

The primary hurdle is heterogeneity. Unlike images (where pixels are continuous and spatially related) or text (where tokens share a single vocabulary), a single table row might contain a floating-point "Salary," an integer "Age," and a categorical "Occupation." These columns have vastly different marginal distributions and intricate inter-correlations. Previous attempts often forced these different data types into a shared latent space or used separate, uncoordinated diffusion processes. This disconnect frequently leads to "drift" and a failure to capture the true statistical shape of the original data.

Introducing TabDiff

To address these challenges, the authors introduce TabDiff, a framework that treats numerical and categorical data as a joint diffusion process in their native formats.

TabDiff Architecture

Its architecture rests on four main pillars:

  1. Joint Continuous-Time Diffusion: TabDiff uses Gaussian diffusion for numerical features and a "Masked" (absorbing state) diffusion for categorical features. Crucially, both are modeled simultaneously within a single continuous-time framework.
  2. Feature-wise Learnable Noise Schedules: This is the core innovation. Instead of applying the same noise level to every column, TabDiff learns a specific "speed" of noising for each feature. It uses a power-mean schedule for numbers and a log-linear schedule for categories. This allows the model to prioritize capacity for complex distributions while handling simpler ones efficiently.
  3. Mixed-type Stochastic Sampler: During the generation (reverse) process, errors can accumulate. TabDiff introduces a "self-correction" step: at each denoising stage, it slightly re-noises the data (a forward step) before denoising it again. This stochasticity helps the model "fix" incorrectly predicted categorical values or numerical outliers.
  4. Transformer Backbone: The denoising network is parameterized by a transformer that natively handles the concatenated mixed-type inputs, allowing it to capture complex cross-column dependencies.

Key Insights and Innovations

  • Heterogeneity is the Hurdle: The paper argues that the disparity between features is the primary reason tabular models fail. By making noise schedules learnable, the model adaptively allocates its attention, spending more effort on columns that are harder to predict.
  • Sampling as Self-Correction: The introduction of the stochastic sampler suggests that "perfect" one-shot denoising isn't the goal. Giving the model a chance to "change its mind" via controlled re-noising leads to much more realistic synthetic samples.
  • Classifier-Free Guidance (CFG) for Tables: The authors successfully adapted CFG—a staple in image generation—for missing value imputation. This allows TabDiff to fill in missing columns by guiding the generation based on known columns, without needing a separate task-specific model.

Key Results

The model was evaluated on seven diverse, real-world tabular benchmarks ranging from simple classification tasks (Adult, Default) to complex, high-dimensional datasets (Diabetes). TabDiff demonstrated superior performance across multiple metrics compared to heavyweights like TabSyn and TabDDPM.

Performance Comparison on Trend Metric
  • Correlation Mastery: As shown in the results, TabDiff achieved a 22.6% average improvement in the "Trend" metric, which measures how well the model captures pair-wise column correlations.
  • Marginal Fidelity: It improved the "Shape" metric (how well single-column distributions are matched) by 13.3% on average.
  • Robustness: On the difficult Diabetes dataset, TabDiff outperformed the next best model by over 35% in both Shape and Trend metrics. While other models like TabDDPM collapsed (failing to produce meaningful values), TabDiff remained stable.
  • Downstream Utility: Synthetic data generated by TabDiff proved to be an excellent proxy for real data, achieving the highest Machine Learning Efficiency (MLE) scores when used to train XGBoost models.

Limitations and Future Work

While TabDiff is highly effective, the authors note a few areas for future exploration:

  • Computational Overhead: Because TabDiff uses a slightly deeper transformer architecture and a second-order correction during sampling, it is roughly 10% slower to train than the fastest baseline (TabSyn), though it remains significantly faster than older models like TabDDPM.
  • Scaling: Future research could explore how this feature-wise learnable approach scales to "ultra-wide" tables with thousands of columns, where inter-correlations become exponentially more complex.

Summary updated

BibTeX
@inproceedings{shi2025tabdiff,
  author = {Juntong Shi and Minkai Xu and Harper Hua and Hengrui Zhang and Stefano Ermon and Jure Leskovec},
  title = {{TabDiff: a Mixed-type Diffusion Model for Tabular Data Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=swvURjrt8z},
}
Figure