← News

ResearchSources: arXiv · 1 Dec 2026

Study finds in-context learning locks in categorical priors when generating tabular data

An arXiv paper reports that LLMs generating synthetic tabular records improve numerical fidelity quickly with few examples, but fail to match the frequencies of high-cardinality categorical features.

In plain words

Some teams use large language models to create fake table rows by showing the model a few example rows, without retraining it. The paper says this works well for numbers but not for columns with many category values, where the model keeps its own preferred frequencies. Light retraining of the model fixed that mismatch.

What was announced

The authors compared in-context learning, where a model conditions on up to 100 record-level examples, against LoRA fine-tuning, GReaT and CTGAN, using two 7B open-weight models on three datasets. With just ten demonstrations, Qwen2.5-7B cut the numerical total variation distance from 0.44-0.55 to 0.18-0.22. Yet for categorical features with 12 to 494 values, the TVD stayed at least 0.21 even at 100 demonstrations, a pattern the paper names categorical prior lock-in.

Fine-tuning with LoRA on 10% of each table lowered the mean categorical TVD of Qwen2.5-7B by a factor of 4.5 to 5.8 compared with in-context learning at 100 demonstrations. LoRA samples also sat closer to original records, with a distance-to-closest-record ratio of 0.57-0.99 versus above 1.0 for all ICL configurations, a trade-off the authors link to privacy. Two membership inference attacks showed no signal under ICL and at most a small one after LoRA fine-tuning.

What it does not show

  • The evidence is the paper's abstract only; full experimental details, dataset identities and model names beyond those quoted are not available in the supplied passages.
  • Results cover two 7B open-weight models and three datasets, so the findings may not extend to other models, larger context settings or data types.

For security and IT teams

Scope
The reported trade-off between distributional fidelity and proximity to original records is relevant to privacy assessments of synthetic tabular data pipelines.

Sources

Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 5 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.