# In-Context Bias Propagation in LLM-Based Tabular Data Generation

DevFeed: [In-Context Bias Propagation in LLM-Based Tabular Data Generation](<https://devfeed.tech/articles/in-context-bias-propagation-in-llm-based-tabular-data-generation-94667.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2506.09630>)

Author: Pol G. Recasens, Alberto Gutierrez, Jordi Torres, Josep. Ll Berral, Javier Carnerero-Cano, Anisa Halimi, Kieran Fraser

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [prompt](<https://devfeed.tech/topics/prompt.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [bias](<https://devfeed.tech/tags/bias.md>), [classifiers](<https://devfeed.tech/tags/classifiers.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [data](<https://devfeed.tech/tags/data.md>), [data-augmentation](<https://devfeed.tech/tags/data-augmentation.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [examples](<https://devfeed.tech/tags/examples.md>), [fairness](<https://devfeed.tech/tags/fairness.md>), [generation](<https://devfeed.tech/tags/generation.md>), [global](<https://devfeed.tech/tags/global.md>), [groups](<https://devfeed.tech/tags/groups.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [performance](<https://devfeed.tech/tags/performance.md>), [tabular-data](<https://devfeed.tech/tags/tabular-data.md>)

## AI overview

The study finds that statistical bias in examples supplied to LLMs for in-context tabular data generation can distort the resulting synthetic data, even when the bias is mild. It also describes an adversarial scenario in which a contributor injects bias through a subset of examples, harming downstream classifier fairness for a targeted protected subgroup. Preprocessing examples and instruction-based defenses can attenuate disparity, but the models remain sensitive to adversarial prompts. These findings identify a vulnerability in synthetic data pipelines for sensitive domains.

## Source excerpt

arXiv:2506.09630v3 Announce Type: replace Abstract: Large Language Models (LLMs) are increasingly used for synthetic tabular data generation through in-context learning (ICL), offering a practical solution for data augmentation in data scarce scenarios. While prior work has shown the potential of LLMs to improve downstream task performance through augmenting underrepresented groups, these benefits often assume access to a subset of unbiased in-context examples, representative of the real dataset. In real-world settings, however, data is frequently noisy and demographically skewed. In this paper, we systematically study how statistical biases within in-context examples propagate to synthetic tabular data, showing that even mild in-context biases lead to global statistical distortions. We further introduce an adversarial scenario where a malicious contributor can inject bias into the synthetic dataset via a subset of in-context examples, ultimately compromising the fairness of downstream classifiers for a targeted and protected subgroup. Finally, we evaluate prompt-side mitigation strategies based on preprocessing in-context examples and instruction-based defenses, demonstrating that while such techniques can attenuate disparity, the inherent sensitivity of LLMs to adversarial prompts remains a persistent challenge. Our findings highlight a critical new vulnerability in LLM-based data generation pipelines within sensitive domains.