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

TabEBM: A Tabular Data Augmentation Method with Distinct Class-Specific Energy-Based Models

Andrei Margeloiu, Xiangjian Jiang, Nikola Simidjievski, Mateja Jamnik

Abstract

TabEBM is a novel data augmentation method designed specifically for small tabular datasets. Instead of using a single generative model for all data, it builds a distinct Energy-Based Model (EBM) for each class by reinterpreting the outputs of a pre-trained classifier (TabPFN). This training-free approach generates high-fidelity synthetic data that consistently improves downstream classification accuracy, outperforming state-of-the-art tabular generators while running 3 to 30 times faster.

Introduction

In fields like medicine, physics, and chemistry, collecting data is expensive and difficult, often resulting in small tabular datasets. Machine learning models struggle to generalize from such limited data. Unlike computer vision, where data augmentation (e.g., rotating or cropping images) is intuitive, tabular data lacks these symmetries—one cannot simply "rotate" a patient's medical record.

To augment tabular data, researchers typically use generative models like GANs, VAEs, or Diffusion models. However, existing methods usually try to learn the joint distribution of the entire dataset or use a single shared model for all classes. On small datasets, these shared models tend to overfit, suffer from mode collapse, or heavily bias toward majority classes. Consequently, the synthetic data they produce can actually degrade downstream classifier performance.

Methods

The authors introduce TabEBM, which utilizes two key innovations to flip the standard generative script:

  1. Distinct Class-Specific Models: Instead of one massive model learning boundaries between all classes, TabEBM isolates data for each class and builds a dedicated generative model. This sidesteps issues with class imbalance.
  2. Training-Free Energy-Based Models (EBMs): An EBM defines a probability distribution by assigning low "energy" to realistic data and high "energy" to unrealistic data. TabEBM constructs these landscapes without training a new neural network.
  3. The Mechanism: For a given class, a fake binary classification task is created: real data for that class is labeled 1, and fake "negative" samples are placed at distant corners of a high-dimensional hypercube and labeled 0.
  4. TabPFN Integration: This task is fed to TabPFN, a pre-trained transformer for zero-shot tabular classification. TabPFN's output logits are mathematically reinterpreted as an energy function. Because TabPFN is pre-trained, this requires zero gradient updates.
  5. Generation: To generate new data, TabEBM uses Stochastic Gradient Langevin Dynamics (SGLD), starting with random noise and iteratively walking "downhill" into the low-energy basins created by the TabPFN logits.
Overview of the TabEBM architecture, showing class-specific EBM construction and sampling to produce synthetic data.

Experimental Setup

TabEBM was evaluated on 8 OpenML datasets and 6 UCI datasets spanning medicine, chemistry, and economics. Datasets varied from 7 to 77 features and 2 to 26 classes. To simulate data scarcity, training sets were artificially subsampled to sizes $N \in \{20, 50, 100, 200, 500\}$.

Key Results

  • Superior Augmentation: TabEBM was the only generator tested that consistently improved downstream classification accuracy across almost all datasets and sample sizes. Most benchmarks (e.g., CTGAN, TabDDPM, TVAE) often degraded performance compared to using real data alone.
  • Efficiency: By leveraging a pre-trained in-context learner rather than training from scratch, TabEBM operates 3 to 30 times faster than other methods.
  • Fidelity and Privacy: Synthetic data closely matched real statistical distributions (measured via Inverse KL and KS tests) while maintaining high Distance to Closest Record (DCR), indicating the generation of novel samples rather than memorization.
Comparison of normalized accuracy improvement versus data augmentation time, highlighting TabEBM's superior performance and speed.

Discussion and Limitations

TabEBM demonstrates that "divide and conquer" is highly effective for small tabular data. By treating classifier uncertainty as an energy landscape, it achieves high-quality generation "for free." However, it inherits limitations from its underlying engine, TabPFN, particularly regarding scalability to a massive number of features. Furthermore, gains diminish as real dataset size grows (e.g., $N > 1000$), where real data becomes sufficient on its own. Future work involves integrating newer, more scalable tabular foundation models into the framework.

Summary updated

BibTeX
@inproceedings{margeloiu2024tabebm,
  author = {Andrei Margeloiu and Xiangjian Jiang and Nikola Simidjievski and Mateja Jamnik},
  title = {{TabEBM: A Tabular Data Augmentation Method with Distinct Class-Specific Energy-Based Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=FmNoFIImZG},
}
Figure