This paper teaches LLMs to generate tabular data while preserving real-world feature relationships
π https://arxiv.org/abs/2410.21717
π― Original Problem:
Existing LLM methods struggle to generate synthetic tabular data that maintains correct correlations between features and target variables, limiting their usefulness in predictive tasks.
-----
π§ Solution in this Paper:
β A novel permutation strategy that keeps target variables at sequence end during fine-tuning, ensuring proper attention flow from features to targets
β Feature-conditional sampling approach that generates samples based on individual features rather than target variables
β Label-querying mechanism that constructs prompts to generate labels from fine-tuned LLMs instead of using external classifiers
-----
π‘ Key Insights:
β Traditional permutation strategies break attention links between features and targets
β Using features as sampling conditions instead of target variables improves data quality
β Generating labels through LLM prompting outperforms external classifier predictions
β The method works well even with reduced training data sizes
-----
π Results:
β Outperforms 10 state-of-the-art baselines across 20 datasets
β Achieves 0.8299 density score and 0.7501 coverage score
β Only 73% of synthetic samples are detectable vs 92% for baselines
β Matches real data performance on half of benchmark datasets










