GReaTER: Generate Realistic Tabular data after data Enhancement and Reduction

Tung Sum Thomas Kwok, Chi-Hua Wang, Guang Cheng

Introduction

Generating high-quality synthetic tabular data is a cornerstone of modern privacy-preserving analytics and data augmentation. While Large Language Models (LLMs) have recently been adapted for this task—most notably through the GReaT (Generation of Realistic Tabular data) framework—they often struggle with the inherent abstractions of structured data. Specifically, LLMs are designed to process natural language, yet tabular datasets frequently represent categories as arbitrary numerical tokens (e.g., 1, 2, 3).

This paper introduces GReaTER (Generate Realistic Tabular data after data Enhancement and Reduction), a framework designed to bridge the gap between abstract tabular structures and the semantic strengths of LLMs. By making raw data "speak the language" of LLMs and reducing the noise inherent in relational databases, GReaTER significantly improves the realism and fidelity of synthetic multi-table datasets.

The Challenges of LLM-based Tabular Synthesis

Despite the success of GReaT in modeling tabular rows as text sequences, two major "blind spots" persist:

  1. Semantic Ambiguity: In many datasets, different columns use the same numerical labels to represent entirely different concepts (e.g., a 1 in a 'Lunch' column versus a 1 in an 'Access Device' column). LLMs struggle to distinguish between these identical tokens, failing to leverage their pre-trained knowledge about the specific features.
  2. Multi-table Complexity: Relational databases involve complex dependencies. Simply "flattening" or joining multiple tables often creates massive, noisy datasets. This frequently leads to engaged subject bias, where a small subset of highly active users dominates the distribution, causing the LLM to produce skewed synthetic results that do not reflect the broader population.

The GReaTER Framework

GReaTER addresses these issues through two core components: a Data Semantic Enhancement System and a Cross-table Connecting Method.

1. Data Semantic Enhancement System

This system transforms abstract labels into descriptive text before they are fed into the LLM, ensuring the model can utilize its internal "common sense."

  • Differentiability-based Transformation: This ensures every category across the entire dataset has a unique name. By using a database of distinct names, the system prevents the LLM from confusing a '1' in one column with a '1' in another.
  • Understandability-based Transformation: This maps numerical codes to meaningful human labels. For example, a value of 2 in a 'Gender' column becomes Male, and a 3 in an 'Age' column becomes 30 to 39. This allows the LLM to apply its pre-trained linguistic context during the synthesis process.
  • Inverse Mapping: Once the LLM generates synthetic text, the system automatically converts these descriptive labels back into the original numerical format for downstream use.

2. Cross-table Connecting Method

To handle relational data without the noise of direct flattening, GReaTER employs a "Reduction" strategy:

  • Independence Detection: The framework identifies columns with low correlation to other features using Hierarchical Clustering or Threshold Separation.
  • Dimensional Reduction: It removes these independent columns and de-duplicates the resulting rows. This creates a smaller, cleaner "core" table that allows the LLM to focus on learning the most critical inter-feature relationships.
  • Bootstrap Sampling: After the LLM generates the core synthetic data, the previously removed independent columns are appended back using bootstrap sampling. This preserves the original marginal distributions without overwhelming the model during the training phase.

Experimental Evaluation

The authors evaluated GReaTER using the Advertisement and Feeds training data from the 2022 DIGIX Global AI Challenge. This is a complex multi-table dataset involving advertisement and source domains, characterized by highly imbalanced categories (such as a 1.55% click-through rate). To ensure robust results, the authors conducted eight independent trials sub-grouped by task IDs.

Key Results

GReaTER was benchmarked against the standard GReaT framework and the DEREC pipeline:

  • Statistical Fidelity: Using the Kolmogorov-Smirnov (KS) test, GReaTER showed a "heavier right tail" in p-value distributions. This indicates that the synthetic column pairs generated by GReaTER were statistically much closer to the original data than those produced by benchmarks.
  • Distributional Similarity: GReaTER consistently outperformed direct flattening methods in terms of Wasserstein Distance (W-distance). The results proved that direct flattening actually degrades synthetic quality by introducing excessive noise, which GReaTER successfully avoids.
  • Ablation Success: Ablation studies confirmed that both the semantic mapping and the cross-table reduction method are essential to the framework's overall performance gains.

Insights and Future Directions

The primary takeaway from GReaTER is that LLMs are "Semantic Engines." They perform optimally when data resembles natural language. Even simple changes—such as replacing a separator character like ^ with the word and—can improve fidelity. By reducing "engaged subject bias," GReaTER prevents the model from over-fitting on hyper-active users, capturing the underlying feature relationships more accurately.

Currently, the "Understandability" mapping requires manual definition by data scientists. Future work aims to use LLMs to automate this metadata generation. Additionally, while the current study utilized GPT-2, the authors anticipate that transitioning to more advanced models like Llama 3 or GPT-4o will further enhance the benefits of the semantic enhancement system through superior in-context learning.

Summary updated

BibTeX
@inproceedings{kwok2025greater,
  author = {Tung Sum Thomas Kwok and Chi-Hua Wang and Guang Cheng},
  title = {{GReaTER: Generate Realistic Tabular data after data Enhancement and Reduction}},
  booktitle = {ICDEW},
  year = {2025},
  doi = {10.1109/icdew67478.2025.00032},
}
Figure