TL;DR
GReaTER improves Large Language Model (LLM)-based tabular data synthesis by resolving semantic ambiguity in numerical labels and mitigating "engaged subject bias" in multi-table datasets. By mapping abstract codes to meaningful text and using a correlation-driven dimension reduction method, it significantly boosts the fidelity of generated multi-modal, multi-table data over existing state-of-the-art frameworks.
What Problem Does This Paper Address?
Generative AI has made massive strides in synthesizing tabular data, which is crucial for privacy-preserving analytics and data augmentation. Recent frameworks like GReaT leverage the power of LLMs by converting rows of data into text sentences, allowing the model to learn relationships across numerical and categorical fields simultaneously.
However, two major roadblocks prevent these models from reaching their full potential:
- Semantic Ambiguity: Tabular datasets often encode categories as arbitrary numbers (e.g.,
1for "Lunch" in a food column and1for "Laptop" in a device column). LLMs tokenize these identical digits into the same embeddings, leading the model's attention mechanism to infer false dependencies across completely unrelated features. - Multi-Table Complexity & Engaged Subject Bias: Real-world data is rarely flat; it lives in relational databases with parent-child tables. Simply flattening these tables before feeding them to an LLM introduces massive noise and severe bias. Highly active users (highly "engaged subjects") dominate the dataset, causing the LLM to overfit to their specific distributions while ignoring less active subjects.
Methods
The authors introduce GReaTER (Generate Realistic Tabular Data after data Enhancement and Reduction), which tackles these challenges through two core components:
1. Data Semantic Enhancement System
To fix tokenization confusion, GReaTER replaces ambiguous numerical labels with distinct text before text encoding. The authors propose two flavors of this transformation:
- Differentiability-based: Maps categories to unique, arbitrary words (e.g., random names) so the LLM can easily tell them apart.
- Understandability-based: Maps categories to contextually relevant words (e.g., converting gender codes
2and3to "Male" and "Female", or numeric region codes to actual US city names). This allows the LLM to leverage its pre-trained real-world knowledge for better in-context learning.
An inverse mapping system safely converts the synthetic text back into the original numerical format after generation, deleting the map afterward to prevent privacy leaks.
2. Cross-Table Connecting Method
Instead of flattening tables blindly or modeling parent-child pairs in isolated, computationally expensive silos, GReaTER processes multiple child tables in a single round using a three-step correlation dimension reduction method:
- Determine Independence: Uses feature correlation metrics (like Cramer's V) or hierarchical clustering to identify columns that have low correlation with other features.
- Reduce Dimension: Separates these independent columns and removes the resulting duplicate rows from the flattened table, drastically shrinking the data size and cutting down the noise from over-represented "engaged subjects."
- Append by Sampling: Re-inserts the independent columns back into the synthesized table using bootstrap sampling, ensuring that only valid, realistic feature combinations are preserved.
Datasets
The framework was evaluated using a prominent public dataset:
- CTR Prediction - 2022 DIGIX Global AI Challenge: A multi-table dataset containing advertisement and source domain data linked by repeating user IDs. It features a highly imbalanced clickthrough rate (only 1.55% positive observations) and low overall feature correlation (~0.2), making it a challenging benchmark for realistic synthesis. The authors sub-grouped the data into eight independent trials of over 750 observations each.
Key Insights and Ideas
- The "Aha" Moment for Tokenization: LLMs are text models at heart. Forcing them to read raw, un-semantic numbers like
1, 2, 1, 1strips away their greatest strength—pre-trained contextual understanding. Giving columns natural language meaning (e.g., "Spaghetti" instead of2) completely changes how the internal attention layers map feature dependencies. - Structural Noise Reduction: Direct flattening is computationally bloated. By isolating independent columns and removing duplicate rows, the authors proved you can compress relational table structures into a clean "one-to-many" format that preserves cross-child-table interactions without distorting the underlying distribution.
Key Results
GReaTER was benchmarked against direct flattening and the competitive DEREC pipeline. Synthetic data fidelity was measured using the Kolmogorov-Smirnov (KS) Goodness-of-Fit Test (p-value) and Wasserstein Distance (W-distance) to evaluate how closely the synthetic distributions matched the original data.
- Higher Fidelity: GReaTER consistently demonstrated a heavier right tail in p-value distributions across all eight trials, indicating significantly higher statistical similarity to the original data compared to both benchmarks.
- Semantic Boost: The understandability-based transformation slightly outperformed the differentiability-based approach, validating the hypothesis that injecting human-relatable semantics directly aids the LLM's synthesis capabilities.
Limitations and Future Work
While GReaTER marks a notable advancement, the authors note a few limitations:
- High-Correlation Bottleneck: The Cross-Table Connecting Method may lose efficiency if applied to sectors where almost all features are highly correlated (such as complex financial data), as the table becomes harder to reduce.
- Manual Mapping Overhead: The understandability-based transformation currently requires data scientists to manually study columns and design the text mappings, limiting scalability.
Future Directions: The authors plan to automate the semantic mapping process using LLM in-context learning to generate descriptions automatically. They also aim to upgrade the synthesizer backbone from GPT-2 to more advanced models like GPT-4o or Llama 3.2 to further exploit text-semantic enhancements.
Summary updated