TL;DR
When training data is extremely scarce ($n < 100$), traditional tabular data generators fail to produce diverse or accurate synthetic samples. To solve this, CLLM leverages the rich prior knowledge of frozen Large Language Models (LLMs) via natural language prompting to generate diverse data, combined with a novel data curation mechanism based on training dynamics to filter out low-quality or mislabeled samples. This synergy significantly boosts downstream machine learning model performance, particularly for underrepresented subgroups.
What Problem Does This Paper Address?
Machine learning thrives on data, but in many real-world domains—like healthcare, finance, or applications in low-to-middle-income countries (LMICs)—data is notoriously scarce. When you have fewer than 100 samples, traditional tabular data augmentation methods (like SMOTE, GANs, or VAEs) struggle because the limited training set cannot adequately describe the full underlying data distribution. Consequently, these models overfit and generate low-diversity synthetic data.
While fine-tuning LLMs for tabular generation shows promise, it is computationally expensive, requires specialized hardware unavailable in resource-constrained settings, and is highly prone to overfitting in ultra-low-data regimes. The authors tackle a crucial question: How can we generate high-quality, diverse synthetic tabular data from fewer than 100 samples without expensive fine-tuning?
Methods
The authors introduce CLLM (Curated LLM), a two-stage framework that combines the generative power of frozen LLMs with a robust data-centric curation mechanism.
- In-Context Generation: Instead of fine-tuning, CLLM uses a frozen, black-box LLM (like GPT-4) via In-Context Learning (ICL). The prompt is carefully structured into three parts:
- Background: A natural language description of the dataset, task, and feature meanings to unlock the LLM's pre-trained prior knowledge.
- Examples: Serialized text representations of the small training set ($D_{train}$).
- Instructions: Directives guiding the LLM to generate diverse, i.i.d. samples ($D_{syn}$) matching the underlying distribution.
- Data Curation via Learning Dynamics: Not all LLM-generated data is beneficial; some samples can be noisy or mislabeled. To filter these out, CLLM trains a flexible classifier (e.g., XGBoost) on the gold-standard $D_{train}$ over multiple iterations/checkpoints. It then evaluates the synthetic samples ($D_{syn}$) across these checkpoints to compute two key metrics:
- Average Confidence: The mean predicted probability of the assigned label across checkpoints.
- Aleatoric Uncertainty: A measure of the inherent data uncertainty (e.g., label noise).
Samples that exhibit low confidence and low uncertainty—meaning the model is consistently and confidently predicting the wrong label—are flagged as "mislabeled" and discarded, leaving a high-quality dataset ($D_{curated}$) for downstream training.
Datasets
The authors evaluated CLLM across 7 real-world datasets spanning diverse domains and feature counts:
- Open-Source Datasets: Adult Income (UCI repository - Finance), Compas (OpenML - Criminal Justice), and Drug (UCI - Healthcare).
- Private/Proprietary Medical Datasets: Covid-19 (Brazil), CUTRACT Prostate, MAGGIC (Heart Failure), and SEER Prostate. These proprietary datasets require authorization, ensuring they were highly unlikely to be part of the LLM's pre-training corpus, thus ruling out simple memorization.
- Specialized Domain Dataset: Higgs (Physics, evaluated in the appendix) to test performance on highly technical, non-semantic features.
Key Insights and Ideas
- Extrapolation Beyond the Training Manifold: Traditional generators like TVAE are strictly bounded by the support of the tiny training set. Because LLMs understand the semantic meaning of features (e.g., knowing that "Age" relates to medical risk), they can extrapolate and generate realistic samples in regions of the data manifold completely missing from $D_{train}$.
- Context is King: Simply feeding numerical examples to an LLM isn't enough. Including natural language descriptions of the dataset and features dramatically improves the precision and diversity of the generated data. Without context, the quality drops significantly.
- Equity and Subgroup Gains: The largest performance gains from CLLM augmentation occur in demographic subgroups that are severely underrepresented or entirely absent in the initial small training set.
- Curation as a Quality Proxy: The proportion of samples discarded by the curation mechanism acts as a strong negative linear proxy for downstream test performance. If the curator discards a high percentage of samples, it serves as an early warning signal that the generated dataset is of low quality.
Key Results
- Downstream Utility: Across multiple downstream models (XGBoost, Random Forest, Decision Trees, Logistic Regression), CLLM (GPT-4 + Curation) outperformed 6 state-of-the-art baselines (including TabDDPM, CTGAN, and the fine-tuned GReaT model) in 20 out of 28 experimental settings.
- The Power of Curation: The data curation mechanism is model-agnostic and consistently improved the downstream utility of all evaluated synthetic data generators, not just LLMs.
- Alignment with the Truth: Using a proxy classifier trained on a massive held-out dataset ($\hat{\eta}$), the authors proved that curated datasets consistently align better with the true feature-label distribution than discarded datasets.
Limitations and Future Work
- Backbone Dependency: The quality of the uncurated data is heavily tied to the size and capability of the underlying LLM. Smaller open-source models (like Mistral-7B or LLaMA-13B) perform worse out-of-the-box than GPT-4, though the curation step still successfully mitigates some of this drop.
- Bias Propagation: While curation improves data utility and feature-label alignment, it does not explicitly detect or remove societal or systemic biases encoded within the LLM's pre-trained weights.
- Prompt Optimization: The authors note that exploring advanced prompt engineering or automated prompt tuning remains an open avenue for future work to further refine tabular generation quality.
Summary updated