TRANSMISSION // 2606.11961v2

Why examples may not teach AI the right data frequencies

Source published

A study of two 7B language models finds that examples improve some synthetic-data features, but leave gaps in categories with many possible values. Fine-tuning improves fidelity, with privacy questions still open.

AI-generated conceptual illustration for Why examples may not teach AI the right data frequencies
AI-generated conceptual illustration; not documentary evidence.

Can a language model learn the shape of a dataset just by seeing examples in its prompt? In tests on three tables, examples helped reproduce numerical distributions, but often failed to capture how frequently categories occurred—especially when a feature had many possible values.

A table is more than a collection of plausible-looking rows. If synthetic data is meant to stand in for real records, it should also reflect how often different values occur. A model might generate sensible job titles, for example, yet still get the balance of common and uncommon titles badly wrong.

A preprint by Antonio Pelusi, Stefano Braghin and Alberto Trombetta asks whether large language models can learn those patterns through in-context learning (ICL): prompting a model with examples, without changing its weights. The authors compare that approach with fine-tuning and established tabular-data generators. Their central finding is a persistent mismatch in the frequencies of some categorical values, which they call “categorical prior lock-in.”

How the comparison worked

The researchers tested two 7-billion-parameter instruction-tuned models, Qwen2.5-7B and Mistral-7B, on three public datasets: credit-card transactions, Adult Census Income and Bank Marketing. They prompted the models with a description of each table and, in ICL trials, between one and 100 example records. They also fine-tuned models using LoRA, a method that updates a small set of added parameters, on either 10% or 50% of each dataset. GReaT and CTGAN, two other synthetic-data approaches, served as additional baselines.

The target was 10,000 valid records per configuration. One exception was Mistral-7B fine-tuned with LoRA on 50% of the credit-card data: it produced no valid records in 1,000 attempts. To assess how well generated data matched the originals, the authors used total variation distance (TVD), a measure of how different two distributions are: zero means a perfect match, while larger values indicate greater disagreement. They calculated this separately for each feature. Numerical values were grouped into bins, and categorical values—such as occupation, month or state—were compared by frequency. The study also examined correlations, output validity, closeness to original records and two membership-inference attacks.

A split between numbers and categories

Adding examples often helped models reproduce numerical distributions. For Qwen2.5-7B, with 10 demonstrations, average numerical TVD fell from 0.44–0.55 across the three datasets to 0.18–0.22. The improvement was not uniform across individual features, and adding still more examples did not produce a consistent further improvement in every case.

Categorical features with many possible values proved harder. At 100 demonstrations, all eight features in the study with 12 to 494 values still had TVD of at least 0.21, across both models. The starkest example was “job” in the credit-card table, which had 494 values: its TVD remained between 0.83 and 1.00 across the tested ICL settings. Even showing examples that contained possible values did not guarantee the model reproduced their frequencies.

The term “prior lock-in” is the authors’ interpretation of this pattern: they suggest models may remain anchored to frequency patterns learned before the prompt. The experiments establish the mismatch, but do not determine its underlying cause. The prompt gave numerical features summary statistics, while generally not giving categorical frequencies; the authors note this could matter. They also say their results cannot separate the effects of category count from whether the prompt listed the possible values.

Fine-tuning, fidelity and privacy

For Qwen2.5-7B, LoRA fine-tuning on 10% of each table reduced average categorical TVD by a factor of 4.5 to 5.8 compared with using 100 demonstrations. The average fell to at most 0.065 in each dataset. This is a result for the tested model and setup, not evidence that fine-tuning will work equally well in every setting. Results for Mistral were less consistent: some LoRA configurations produced many invalid records, and one produced no valid credit-card records.

The fidelity gains also came with a privacy-related caution. Under the study’s distance-to-closest-record measure, all tested LoRA outputs were, on average, closer to original records than records in the original dataset were to one another. That measure is a proximity screen, not proof that a record identifies or reveals a particular person. In two membership-inference tests, ICL showed no detectable signal, while LoRA produced at most a small signal. These tests do not establish that the generated data is safe to release; the authors distinguish proximity from evidence of membership.

Another notable result concerned the credit-card table’s rare fraud label. None of the ICL configurations generated a fraudulent transaction in 10,000 records, despite fraud making up 0.58% of the original data. LoRA generated some, but still well below the original rate in the reported Qwen2.5-7B results.

What the study can—and cannot—show

The results come from two models, three datasets and a limited set of prompting and fine-tuning configurations. They do not prove that ICL generally fails on structured data, nor do they identify a universal mechanism behind the observed frequency errors. Comparisons also involve different amounts of data: prompts used at most 100 records, while fine-tuning used 10% or 50% of a table. The paper is a 2026 preprint, so its findings should be treated as preliminary rather than as settled peer-reviewed conclusions.

For practitioners, the message is specific but useful: realistic-looking rows and accurate distributions are not the same thing. When synthetic data must preserve category frequencies or rare cases, those properties need direct measurement. And improving fidelity is only part of the task; privacy and output reliability need their own evaluation.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • OpenRFM aims to make relational-data prediction more open

    Shared method: Both papers use in-context learning, but for different tasks and contexts: Pelusi et al. condition language models on tabular record demonstrations to generate data, while Chen et al. use a tabular model’s labelled support rows for prediction and a relational adapter to encode entity histories and relations. Their results are not directly comparable.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2606.11961v2 — Original paper

      Excerpt reference: static/papers/2606.11961v2.md:13-103
      Basis: Paper text
      Source file SHA-256: 7c0a2bd94892d1e47d3e884d6b54e35cbff563586e5c0e477c71fb11813170a7

    • 2606.04320v2 — Original paper

      Excerpt reference: static/papers/2606.04320v2.md:15-61
      Basis: Paper text
      Source file SHA-256: b46fb4359e697fe5947c863264f33453dcf5eb25463bf50450183014cccc887b

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.