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

TabRep: Training Tabular Diffusion Models with a Simple and Effective Continuous Representation

Jacob Si, Zijing Ou, Mike Qu, Zhengrui Xiang, Yingzhen Li

TL;DR

Training tabular diffusion models usually requires a painful compromise: split continuous and discrete variables into separate diffusion processes (losing cross-feature synergy) or use high-dimensional one-hot vectors and complex latent VAEs (introducing heavy computational overhead and training instability). TabRep solves this by mapping each categorical feature onto a continuous 2D unit circle via a Fourier-inspired representation (CatConverter). This compact, geometry-aware encoding allows standard continuous diffusion and flow matching models to outperform existing tabular generators while cutting training and sampling times substantially.

What Problem Does This Paper Address?

Tabular data is notoriously messy: real-world tables mix continuous variables (like income and age) with categorical ones (like education level and blood type). Generative diffusion models have typically tackled this in one of two ways:

  1. Split-space models: Continuous variables use standard Gaussian diffusion, while categorical features run on discrete or masked Markov chains. However, coordinating two separate dynamics makes it difficult to learn inter-feature dependencies.
  2. Unified continuous models: All features are pushed into a shared continuous space. But current approaches either rely on sparse one-hot encodings—which suffer from the curse of dimensionality and create mathematical "singularities" where score-matching gradients conflict—or pre-train complex latent representations (like $\beta$-VAEs in TabSYN), adding significant training overhead.

TabRep aims for a plug-and-play, dense, continuous representation of categorical data that preserves both nominal separability and ordinal relationships without requiring extra autoencoders.

Methods

TabRep unifies tabular data into a purely continuous space using two simple preprocessing steps before training either a standard DDPM or Flow Matching model:

  • CatConverter: Drawing inspiration from the Discrete Fourier Transform (DFT) and roots of unity, each categorical feature with $K$ distinct classes is mapped onto the 2D unit circle: $$\text{CatConverter}(c_j, K_j) = \left[ \cos\left(\frac{2\pi c_j}{K_j}\right), \sin\left(\frac{2\pi c_j}{K_j}\right) \right] \in \mathbb{R}^2$$ This embeds any categorical column into a 2D phase space rather than a sparse $K$-dimensional one-hot vector.

  • Continuous Feature Preprocessing: Continuous features are normalized using a standard QuantileTransformer.

  • Concatenation & Denoising: The 2D circle embeddings and transformed continuous features are concatenated and fed directly into a 4-layer MLP denoising network.
  • Inference & Decoding: The model samples continuous vectors using reverse diffusion or an Euler ODE solver, then decodes categories by assigning continuous 2D points to their nearest phase angle on the circle.

Datasets

The authors evaluated TabRep across seven standard benchmark datasets from the UCI Machine Learning Repository:

  • Classification: Adult, Default, Shoppers, Stroke, and Diabetes.
  • Regression: Beijing (air quality) and News.

They also constructed synthetic toy datasets to stress-test high-cardinality features (up to 1,000 categories) and severe class imbalance (95% / 5% class split).

Key Insights and Ideas

  • Why one-hot encodings break continuous diffusion: The authors prove theoretically (Theorem 2.1) that in one-hot space, the centroid between categories forms an "n-singular hyperplane" where points are equidistant to multiple classes. Near these singular regions, the conditional score function experiences high variance ($\propto \frac{n-1}{n}$), sending conflicting gradient signals to the neural network.
  • Eliminating high-order singularities in 2D: By mapping categories to a 2D circle, TabRep collapses intermediate singular hyperplanes ($2 < n < K$) directly into the circle’s center point, making the vector field dramatically easier for diffusion models to learn.
  • Dual preservation of nominal and ordinal data: While a small MLP easily separates up to 128 distinct nominal categories on the 2D circle (Figure 2), the circular geometry naturally reflects ordinal and cyclical relationships (e.g., days of the week, education levels) far better than unstructured embeddings.

Key Results

  • Downstream Machine Learning Efficiency (MLE): In an evaluation using XGBoost trained on generated synthetic data, TabRep consistently matched or outperformed competitive baselines (STaSy, CoDi, TabDDPM, TabSYN, and TabDiff). In fact, TabRep-generated data exceeded real data benchmarks on Default (AUC 0.782 vs. Real 0.770), Stroke (AUC 0.869 vs. Real 0.852), and News (RMSE 0.814 vs. Real 0.842).
  • Speed and Efficiency: On the 99k-row Diabetes dataset, TabRep trained in ~2,000 seconds, saving ~1,700 seconds over TabDDPM and ~4,900 seconds over TabSYN. At sampling time, TabRep-Flow produced high-quality data in as few as 8 function evaluations (NFEs), executing sampling in just ~3–7 seconds.
  • Privacy Preservation: Under Membership Inference Attacks (MIA), TabRep scored near the ideal random-guessing mark of 50% precision and recall across datasets, indicating low risk of data leakage or direct training set memorization.

Limitations and Future Work

  • Sensitivity to Category Ordering: Because CatConverter lays categories sequentially around a circle, feature order matters. Experiments showed that random categorical ordering dropped Adult classification AUC from 0.913 to 0.776, indicating that finding optimal ordering strategies remains an open question.
  • Out-of-Index (OOI) Casting: Generative models can occasionally produce points outside the anticipated boundary, requiring a fallback projection to the 0-th index. This casting occurred 5%–20% of the time on most datasets (and ~30% on Stroke), introducing a slight inductive bias.
  • Extreme High Cardinality: In the 1,000-category synthetic test, TabRep-DDPM struggled with cross-column correlations, although TabRep-Flow handled the high-cardinality setting much more robustly.

Summary updated

BibTeX
@article{si2025tabrep,
  author = {Jacob Si and Zijing Ou and Mike Qu and Zhengrui Xiang and Yingzhen Li},
  title = {{TabRep: Training Tabular Diffusion Models with a Simple and Effective Continuous Representation}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=yRbtFEh2OP},
}
Figure