Abstract
Tabular data is hard to acquire and is subject to missing values. This paper introduces a novel approach for generating and imputing mixed-type (continuous and categorical) tabular data utilizing score-based diffusion and conditional flow matching. In contrast to prior methods that rely on neural networks to learn the score function or the vector field, we adopt XGBoost, a widely used Gradient-Boosted Tree (GBT) technique. To test our method, we build one of the most extensive benchmarks for tabular data data generation and imputation, containing 27 diverse datasets and 9 metrics. Through empirical evaluation across the benchmark, we demonstrate that our approach outperforms deep-learning generation methods in data generation tasks and remains competitive in data imputation. Notably, it can be trained in parallel using CPUs without requiring a GPU.
Introduction
Tabular data—the kind found in spreadsheets and SQL databases—is the backbone of industries like finance, medicine, and social science. However, it is notoriously difficult to work with: datasets are often small, contain a mix of continuous and categorical variables, and are frequently riddled with missing values.
While generative models like Diffusion Models (DMs) and Conditional Flow Matching (CFM) have revolutionized image and audio synthesis, they almost exclusively rely on deep neural networks (NNs). For tabular data, NNs are often outperformed by Gradient-Boosted Trees (GBTs) like XGBoost. Furthermore, NNs require significant hyperparameter tuning and expensive GPU resources. This work bridges this gap by bringing the power of diffusion-style generation to the "home turf" of tabular data: tree-based models.
Methodology
The core innovation is replacing the neural network "score function" or "vector field" estimator with an ensemble of XGBoost models.
The Training Pipeline
Unlike neural networks, GBTs are not trained via Stochastic Gradient Descent (SGD) on mini-batches. To simulate the "expectation" over noise levels used in diffusion, the authors duplicate the original dataset many times ($n_{noise}$), adding different levels of Gaussian noise to each copy.
Model Variants
- Forest-VP: Based on Variance Preserving diffusion.
- Forest-Flow: Based on Independent Conditional Flow Matching (I-CFM), which uses an Ordinary Differential Equation (ODE) to "push" noise toward the data distribution.
Instead of one giant model, the authors train a separate XGBoost model for each discrete noise level (typically 50 levels). This makes the training "embarrassingly parallel," allowing it to scale across multiple CPU cores without needing a GPU.
Experimental Setup
The authors built one of the most extensive benchmarks for tabular generation to date, comprising 27 diverse real-world datasets primarily from the UCI Machine Learning Repository and scikit-learn (e.g., Iris, Wine, California Housing, Adult). Evaluation used 9 distinct metrics across four quadrants: closeness in distribution, diversity, predictive utility (training a classifier on fake data), and statistical inference.
Results and Discussion
The results confirm that the inductive biases of GBTs—handling irregular distributions and mixed types—carry over into generative modeling.
Generation Quality
Forest-Flow achieved the highest average rank across nearly all metrics, outperforming deep learning heavyweights like TabDDPM and STaSy. In many cases, the synthetic data generated by Forest-Flow was indistinguishable from real data when used to train downstream machine learning models (measured via $R^2$ and F1-score).
Imputation and Uncertainty
For missing data, the authors adapted the REPAINT algorithm, leveraging XGBoost’s native ability to handle missing values. While traditional statistical methods like MICE-Forest remain strong, Forest-VP was highly competitive and offered more diversity in its imputations, which is crucial for accounting for uncertainty. A key insight was that while Flow Matching (Forest-Flow) is superior for generating new data due to its deterministic path, Diffusion (Forest-VP) is better for imputation because its stochastic nature allows it to better explore the uncertainty of missing values.
Conclusion and Future Work
Forest-Flow and Forest-VP demonstrate that high-quality generative AI for tabular data does not require GPUs. By leveraging XGBoost, these models provide a robust, efficient alternative to deep learning.
Current limitations include memory overhead from dataset duplication. However, the recent release of XGBoost 2.0 includes a new data iterator that could eliminate this bottleneck. Future work may explore multinomial diffusion to handle categorical variables more naturally and investigate how these tree-based flows scale to massive, high-dimensional datasets.
Summary updated