Skip to main content
QUICK REVIEW

[Paper Review] Generating and Imputing Tabular Data via Diffusion and Flow-based Gradient-Boosted Trees

Alexia Jolicoeur‐Martineau, Kilian Fatras|arXiv (Cornell University)|Sep 18, 2023
Neural Networks and ApplicationsComputer Science12 citations
TL;DR

This paper introduces Forest-Diffusion and Forest-Flow, which use XGBoost (gradient-boosted trees) to train diffusion/flow models for generating and imputing mixed-type tabular data, outperforming many deep-learning methods on generation and matching or approaching state-of-the-art on imputation, while enabling CPU-only training.

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 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. Our Python and R code is available at https://github.com/SamsungSAILMontreal/ForestDiffusion.

Motivation & Objective

  • Address missing values and small sample sizes in tabular data by leveraging generative diffusion and flow frameworks.
  • Replace neural networks with Gradient-Boosted Trees (GBTs), specifically XGBoost, to estimate score functions or vector fields for tabular data generation.
  • Provide a large benchmark (27 datasets, 9 metrics) evaluating generation and imputation across realism, diversity, predictive usefulness, and statistical inference.
  • Demonstrate that tree-based models can be trained directly on incomplete data and still generate highly realistic data and competitive imputations.

Proposed method

  • Use score-based diffusion (VP) and conditional flow matching (I-CFM) with Gradient-Boosted Trees (GBTs) to estimate the score function or vector field instead of neural networks.
  • Duplicate the dataset multiple times and generate fixed training inputs/outputs for each noise level to approximate the diffusion/flow losses with XGBoost models.
  • Train a separate XGBoost model per noise level (n_t models) to capture the time-conditioned vector field or score, enabling parallel CPU training.
  • Process continuous/tabular data via dummy encoding for categoricals and min-max scale to [-1,1], then post-process by clipping and rounding to original types.
  • Imputation leverages XGBoost's handling of missing values and REPAINT for diffusion-based inpainting, with a noted distinction that inpainting is more natural for images than tabular data.

Experimental results

Research questions

  • RQ1Can diffusion and flow-based generative modeling be effectively realized with tree-based estimators (GBTs) rather than neural networks for tabular data?
  • RQ2How well do Forest-Diffusion and Forest-Flow generate realistic tabular data and impute missing values across diverse real-world datasets?
  • RQ3Is training on incomplete data feasible directly with XGBoost in diffusion/flow frameworks, and how does CPU-only training compare to GPU-based deep models?
  • RQ4What is the impact of hyperparameters (e.g., number of noise levels n_t and noise samples n_noise) on generation/imputation performance?
  • RQ5How do the proposed methods compare to established tabular data generators and imputers across distributional closeness, diversity, predictive usefulness, and statistical inference?],
  • RQ6key_findings':['Forest-Flow achieves the strongest performance across most metrics for generation with complete data, closely matching or surpassing TabDDPM on several measures.','Forest-Flow and Forest-VP perform competitively for generation with incomplete data, occasionally trailing TabDDPM on training coverage and certain inferential metrics but still offering CPU-friendly training and direct handling of missing inputs.','Tree-based methods (XGBoost, LightGBM) outperform several deep-learning baselines for tabular data generation on the 27-dataset benchmark, across multiple evaluation criteria.','Imputation results show MICE-Forest and MissForest as strong baselines, with Forest approaches offering higher diversity in imputations.','Increasing the number of noise levels n_t and noise samples n_noise generally improves performance, with n_t around 50 often yielding best results, and larger n_noise providing better approximation of diffusion/flow expectations.','Conditioning on labels (y_cond) can improve some metrics for generation, though gains vary by metric.'],
  • RQ7table_headers":[],"table_rows":[]} {

Key findings

  • Forest-Flow yields top performance on generation with complete data, often ranking best across metrics and approaching the oracle Wasserstein distance to the test set.
  • For generation with incomplete data, Forest-Flow and Forest-VP are typically strongest, with TabDDPM sometimes excelling in training-coverage related metrics.
  • Imputation results show tree-based methods (e.g., MissForest, MICE-Forest) performing very strongly, with Forest methods offering greater diversity in imputations.
  • Training can be CPU-based and does not require GPUs, differentiating from many diffusion-based methods.
  • Using XGBoost as the estimator is effective due to its native handling of missing values and strong performance on tabular data.

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.