Papers › Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias

Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias

28 Jun 2023NeurIPS 2023 11arXiv:2306.15895archive 2025-07-28

Yue Yu, Yuchen Zhuang, Jieyu Zhang, Yu Meng, Alexander Ratner, Ranjay Krishna, Jiaming Shen, Chao Zhang

Large language models (LLMs) have been recently leveraged as training data generators for various natural language processing (NLP) tasks. While previous research has explored different approaches to training models using generated data, they generally rely on simple class-conditional prompts, which may limit the diversity of the generated data and inherit systematic biases of LLM. Thus, we investigate training data generation with diversely attributed prompts (e.g., specifying attributes like length and style), which have the potential to yield diverse and attributed generated data. Our investigation focuses on datasets with high cardinality and diverse domains, wherein we demonstrate that attributed prompts outperform simple class-conditional prompts in terms of the resulting model's performance. Additionally, we present a comprehensive empirical study on data generation encompassing vital aspects like bias, diversity, and efficiency, and highlight three key observations: firstly, synthetic datasets generated by simple prompts exhibit significant biases, such as regional bias; secondly, attribute diversity plays a pivotal role in enhancing model performance; lastly, attributed prompts achieve the performance of simple class-conditional prompts while utilizing only 5\% of the querying cost of ChatGPT associated with the latter. The data and code are available on \url{https://github.com/yueyu1030/AttrPrompt}.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.15895")

Code

Syntology Ran 8 of 17 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yueyu1030/attrprompt officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 8 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
4ran
9unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yueyu1030/attrprompt. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

acc_and_f1 yueyu1030/attrprompt/train_classifier/plm_model/trainer.py official repository ran Apache-2.0 (permissive) · 0aa551fedb8479cb · report
clean_str yueyu1030/AttrPrompt/gen_train_data/filter.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 2fd46a9fc43fa059 · report
clean_str yueyu1030/attrprompt/train_classifier/plm_model/utils.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · efe1a86fd9a2468e · report
compute_metrics yueyu1030/attrprompt/train_classifier/plm_model/trainer.py official repository ran fingerprinted Apache-2.0 (permissive) · d851686037df7aca · report
compute_metrics_rel yueyu1030/attrprompt/train_classifier/plm_model/trainer.py official repository ran fingerprinted Apache-2.0 (permissive) · 22baf81366f31381 · report
load_tokenizer yueyu1030/attrprompt/train_classifier/plm_model/utils.py official repository ran Apache-2.0 (permissive) · dd27c40f658addad · report
mean_pooling yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 77f69af078e09830 · report
split_list yueyu1030/AttrPrompt/gen_train_data/filter.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · a4728a07cdbdb9de · report
call_api_async yueyu1030/attrprompt/gen_train_data/gpt_gen_attrprompt.py official repository unverified Apache-2.0 (permissive) · 90368409bfec83d7 · report
call_api_async yueyu1030/attrprompt/gen_train_data/gpt_gen_attr.py official repository unverified Apache-2.0 (permissive) · 4f6fe8fe6149448b · report
clean_doc yueyu1030/attrprompt/train_classifier/plm_model/utils.py official repository unverified Apache-2.0 (permissive) · 99a40c2d6e975af6 · report
dispatch_openai_requests yueyu1030/attrprompt/gen_train_data/gpt_gen_attrprompt.py official repository unverified Apache-2.0 (permissive) · 585a6a66de240121 · report
load_attributes yueyu1030/attrprompt/gen_train_data/utils.py official repository unverified Apache-2.0 (permissive) · 946fc808830ab300 · report
load_class_name yueyu1030/attrprompt/gen_train_data/merge_subtopics_multi_label.py official repository unverified Apache-2.0 (permissive) · ae390922a4923fec · report
load_sentences yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py official repository unverified Apache-2.0 (permissive) · 5926d28ad8e9b9c8 · report
remove_numbered_lists yueyu1030/attrprompt/gen_train_data/utils.py official repository unverified Apache-2.0 (permissive) · 8b6fa84f7cf60755 · report
tokenization yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py official repository unverified Apache-2.0 (permissive) · a72878cb18852ea0 · report

Tasks

AttributeDiversityLanguage ModelingLanguage ModellingLarge Language Model

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections