CDMD: A Cross-Dataset Mixed-Type Diffusion Model for Tabular Data

Mohamed Amine Ketata, Maximilian Schambach, Stephan GünnemannarXiv 2026

TL;DR

CDMD (Cross-Dataset Mixed-type Diffusion) is a single generative model capable of producing high-quality synthetic data for many different tabular datasets simultaneously. By operating directly on mixed-type features and using a schema-aware Transformer, it outperforms specialized single-dataset models while using nearly 7x fewer total parameters.

What Problem Does This Paper Address?

Generating synthetic tabular data is a cornerstone of privacy-preserving research and software testing. However, tabular data is notoriously heterogeneous: every dataset has a different number of columns, varying data types (numerical vs. categorical), and unique vocabularies.

Traditionally, researchers train a separate model for every single dataset. This approach has two major flaws:

  1. Inefficiency: Storing and maintaining hundreds of specialized models is expensive.
  2. Data Scarcity: Models trained on a single small dataset struggle to learn complex patterns, whereas a model trained across many datasets could theoretically "transfer" its knowledge of tabular structures to help in low-data regimes.

While some "cross-dataset" models exist, they often rely on complex latent spaces (encoding data into a hidden vector space), which can introduce reconstruction errors and require multi-stage training. CDMD aims to solve this by performing diffusion directly in the original feature space across multiple schemas.

Methods

CDMD introduces a unified framework for direct mixed-type diffusion. Instead of a latent space, it applies two distinct diffusion processes simultaneously:

  • Gaussian Diffusion: Used for continuous numerical features.
  • Masked Diffusion: Used for discrete categorical features, where values are progressively "hidden" behind a [MASK] token.

Key Innovations:

  • Schema-Restricted Reverse-Process: This is the "secret sauce." In a typical categorical model, the output layer is fixed to a specific vocabulary. CDMD uses a dynamic parameterization that restricts the model’s predictions to the valid categories of the specific column it is currently processing. This allows one model to handle a "City" column in one dataset and a "Job Title" column in another without confusion.
  • Schema-Aware Transformer: The model uses a Transformer backbone where each column is treated as a token. To give the model context, it uses a frozen text-embedding model (GTE) to convert table and column names into vectors, which are then added to the feature tokens.
  • End-to-End Training: Unlike latent models that require training an autoencoder first, CDMD is trained end-to-end using a combined loss function for both numerical and categorical denoising.

Datasets

The authors evaluate CDMD using two distinct setups:

  1. In-Domain Evaluation: Seven diverse real-world datasets (Adult, Default, Magic, Shoppers, Diabetes, Beijing, and News) covering classification and regression tasks.
  2. Pre-training Corpus: A massive collection of 337 tabular datasets curated from OpenTabs. This corpus includes a wide variety of domains, row counts (from 10 to 100,000), and column counts.

Key Insights and Ideas

  • Parameter Efficiency is King: A single CDMD model with 10.7M parameters achieved better results than a collection of seven separate state-of-the-art models (like TabSyn and TabDiff) that totaled 74.8M parameters.
  • Transfer Learning for Tables: The "aha moment" comes from the pre-training results. By training on 337 datasets first, the model learns a "prior" for what tabular data looks like. When moved to a brand-new, unseen dataset, it reaches high performance much faster than a model starting from scratch.
  • Direct is Better than Latent: By avoiding the latent space, CDMD avoids the "two-stage" training headache and the risk of the autoencoder failing to reconstruct fine-grained details of the original data.

Key Results

CDMD sets a new bar for cross-dataset tabular generation:

  • Superior Quality: On seven benchmark datasets, CDMD achieved the highest average generation quality score (85.09) compared to strong baselines like TabSyn (84.27) and TabDiff (84.22).
  • Low-Data Champion: In scenarios with very limited target data (e.g., only 10 to 100 rows), the pre-trained CDMD significantly outperformed all other methods, demonstrating powerful transfer learning.
Figure 1: Sample-constrained generation results: Overall Evaluation Score (S) vs. the number of target training rows. Lines and shaded regions show the mean ± standard deviation over five runs using independently-sampled target training subsets. The final panel shows the mean across datasets.
  • Rapid Adaptation: When fine-tuning on a new dataset, CDMD reaches its performance plateau in just a few epochs, whereas other models require significantly more training time to catch up.

Limitations and Future Work

While CDMD is a major step toward a "Foundation Model" for tabular generation, the authors note a few areas for growth:

  • Fine-tuning Requirement: Currently, CDMD still requires a few epochs of fine-tuning to adapt to a new dataset's specific distribution. A future goal is "in-context generation," where the model could generate new rows simply by looking at a few examples without any parameter updates.
  • Scale: While 337 datasets is a lot, it is small compared to the billions of tokens used to train language models. Scaling CDMD to thousands or millions of tables remains an open challenge.
  • Textual Complexity: The model relies on text embeddings for schema information; if column names are uninformative (e.g., "Col_1", "Col_2"), the model's ability to transfer knowledge may be diminished.

Summary updated

BibTeX
@misc{ketata2026cdmd,
  author = {Mohamed Amine Ketata and Maximilian Schambach and Stephan Günnemann},
  title = {{CDMD: A Cross-Dataset Mixed-Type Diffusion Model for Tabular Data}},
  year = {2026},
  eprint = {2609.39124},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.39124},
}
Figure