SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.15895 · NeurIPS · 2023

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

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

arXiv · PDF · Open in the Atlas

Code that ran

12 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 8 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2306.15895.json · badge: /api/ran/2306.15895.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yueyu1030/attrprompt canonical (classifier label)
classifier basis: census
10 ran · 5 no recorded run
yueyu1030/AttrPrompt canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
acc_and_f1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yueyu1030/attrprompt/train_classifier/plm_model/trainer.py
code served (permissive licence) · get_code("0aa551fedb8479cb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from sklearn.metrics import f1_score

torch.manual_seed(0)

# Create sample predictions and labels
# The function expects array-like objects that support:
# - equality comparison (preds == labels)
# - .mean() method
# - can be passed to f1_score()

preds = np.array([0, 1, 2, 1, 0, 2])
labels = np.array([0, 1, 1, 1, 0, 2])

ARGS = {
    'preds': preds,
    'labels': labels,
    'average': 'macro'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
call_api_async Ran
ran on a synthesized input
yueyu1030/attrprompt/gen_train_data/gpt_gen_attr.py
code served (permissive licence) · get_code("4f6fe8fe6149448b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import openai
from unittest.mock import AsyncMock, MagicMock, patch
import asyncio

# Mock the OpenAI API to avoid actual network calls
def setup_mock_openai():
    mock_response = {
        'choices': [
            {
                'message': {
                    'content': 'This is a mock response from OpenAI.'
                }
            }
        ]
    }
    
    async def mock_acreate(**kwargs):
        return mock_response
    
    openai.ChatCompletion = MagicMock()
    openai.ChatCompletion.acreate = mock_acreate

setup_mock_openai()

# Define the arguments for call_api_async
msg_lst = [
    [
        {"role": "user", "content": "What is 2+2?"},
        {"role": "assistant", "content": "4"}
    ],
    [
        {"role": "user", "content": "What is the capital of France?"},
        {"role": "assistant", "content": "Paris"}
    ]
]

model = "gpt-3.5-turbo"

ARGS = {
    "msg_lst": msg_lst,
    "model": model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
clean_str Ran
ran; our contract draft was wrong, not the code
yueyu1030/AttrPrompt/gen_train_data/filter.py
code served (permissive licence) · get_code("2fd46a9fc43fa059")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

ARGS = {
    "string": "Hello,  World!   This is a test string with   multiple   spaces and special characters: @#$%^&*"
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
clean_str Ran
ran; our contract draft was wrong, not the code
yueyu1030/attrprompt/train_classifier/plm_model/utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from audqhsid/-Review-CNN-for-Sentence-Classification, is pointer only (licence: NONE) · get_code("efe1a86fd9a2468e")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from audqhsid/-Review-CNN-for-Sentence-Classification, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yueyu1030/attrprompt/train_classifier/plm_model/trainer.py
code served (permissive licence) · get_code("d851686037df7aca")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from sklearn.metrics import f1_score

torch_available = True
try:
    import torch
except ImportError:
    torch_available = False

# Analyze the function:
# - compute_metrics takes preds and labels
# - It asserts len(preds) == len(labels)
# - It calls acc_and_f1(preds, labels)
# - acc_and_f1 uses (preds == labels).mean() which needs array-like with == operator
# - acc_and_f1 calls f1_score(labels, preds, average='macro') from sklearn
# - f1_score expects 1D array-like inputs of equal length

# Create valid predictions and labels for a classification task
# Using numpy arrays for simplicity, small batch size of 4
preds = np.array([0, 1, 2, 1])
labels = np.array([0, 1, 1, 1])

ARGS = {
    'preds': preds,
    'labels': labels
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_metrics_rel Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yueyu1030/attrprompt/train_classifier/plm_model/trainer.py
code served (permissive licence) · get_code("22baf81366f31381")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from collections import Counter

# Analyzing the function:
# - key: iterable of length, accessed by index row
# - prediction: iterable of length, accessed by index row
# - Each element should be an integer (0 or non-zero relation ID)
# - Function computes precision, recall, F1 based on relation prediction accuracy

# Create simple test data
# key: ground truth relation IDs (0 means no relation)
# prediction: predicted relation IDs

key = [0, 1, 2, 1, 0, 3, 1, 2]
prediction = [0, 1, 1, 1, 0, 3, 2, 2]

ARGS = {
    'key': key,
    'prediction': prediction
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dispatch_openai_requests Ran
ran; our contract draft was wrong, not the code
yueyu1030/attrprompt/gen_train_data/gpt_gen_attrprompt.py
code served (permissive licence) · get_code("585a6a66de240121")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned coroutine. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import openai
import asyncio
from typing import List, Dict, Any
from unittest.mock import AsyncMock, MagicMock, patch

# Mock the openai module to avoid actual API calls
openai.ChatCompletion = MagicMock()

# Create mock async responses
async def mock_acreate(**kwargs):
    return {"choices": [{"message": {"content": "Mock response"}}]}

openai.ChatCompletion.acreate = AsyncMock(side_effect=mock_acreate)

# Define the arguments
ARGS = {
    "messages_list": [
        [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "What is 2+2?"}
        ],
        [
            {"role": "system", "content": "You are a helpful assistant."},
            {"role": "user", "content": "What is 3+3?"}
        ]
    ],
    "model": "gpt-3.5-turbo",
    "temperature": 0.7,
    "max_tokens": 100,
    "top_p": 0.9
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
openai — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type coroutine — a coroutine output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a coroutine output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_sentences Ran
ran on a synthesized input
yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py
code served (permissive licence) · get_code("5926d28ad8e9b9c8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import numpy as np
import tempfile
import os

# Create a temporary file with JSONL data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.jsonl')
temp_file_path = temp_file.name

# Write sample JSONL data
sample_data = [
    {'text': 'This is the first sentence.', '_id': 'id_001'},
    {'text': 'This is the second sentence.', '_id': 'id_002'},
    {'text': 'This is the third sentence.', '_id': 'id_003'},
]

for item in sample_data:
    temp_file.write(json.dumps(item) + '\n')

temp_file.close()

ARGS = {
    'file_path': temp_file_path,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_tokenizer Ran
ran on a synthesized input
yueyu1030/attrprompt/train_classifier/plm_model/utils.py
code served (permissive licence) · get_code("dd27c40f658addad")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MockTokenizer. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from transformers import AutoTokenizer

class Args:
    def __init__(self):
        self.tokenizer = "bert-base-uncased"

ARGS = {"args": Args()}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MockTokenizer — a MockTokenizer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MockTokenizer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mean_pooling Ran
ran; our contract draft was wrong, not the code
yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from dengyang17/llm-proactive, is pointer only (licence: NONE) · get_code("77f69af078e09830")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from dengyang17/llm-proactive, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_numbered_lists Ran
ran on a synthesized input
yueyu1030/attrprompt/gen_train_data/utils.py
code served (permissive licence) · get_code("8b6fa84f7cf60755")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def remove_numbered_lists(text):
    pattern = '^\\d+\\.\\s+'
    regex = re.compile(pattern, re.MULTILINE)
    text = regex.sub('', text)
    return text

# Construct test arguments
text_input = """1. First item
2. Second item
3. Third item
Some text without numbering
4. Fourth item"""

ARGS = {
    'text': text_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
split_list Ran
ran; our contract draft was wrong, not the code
yueyu1030/AttrPrompt/gen_train_data/filter.py
code served (permissive licence) · get_code("a4728a07cdbdb9de")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
k = 3

ARGS = {
    'lst': lst,
    'k': k
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
call_api_async Not yet run
unverified (harvested, no recorded run)
yueyu1030/attrprompt/gen_train_data/gpt_gen_attrprompt.py
code served (permissive licence) · get_code("90368409bfec83d7")
How it ran

no invocation recorded.

clean_doc Not yet run
unverified (harvested, no recorded run)
yueyu1030/attrprompt/train_classifier/plm_model/utils.py
code served (permissive licence) · get_code("99a40c2d6e975af6")
How it ran

no invocation recorded.

load_attributes Not yet run
unverified (harvested, no recorded run)
yueyu1030/attrprompt/gen_train_data/utils.py
code served (permissive licence) · get_code("946fc808830ab300")
How it ran

no invocation recorded.

load_class_name Not yet run
unverified (harvested, no recorded run)
yueyu1030/attrprompt/gen_train_data/merge_subtopics_multi_label.py
code served (permissive licence) · get_code("ae390922a4923fec")
How it ran

no invocation recorded.

tokenization Not yet run
unverified (harvested, no recorded run)
yueyu1030/attrprompt/train_classifier/probing_model/sentence_bert.py
code served (permissive licence) · get_code("a72878cb18852ea0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 9 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 9 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
mean_pooling 22 other papers
2 dated earlier, 19 later, 1 same year, order not determinable · 1 only as an assembly brick
2206.04624 (2022-06)
Factuality Enhanced Language Models for Open-Ended Text Generation
2023.findings-emnlp.540 (2023 (year only))
Open-ended Commonsense Reasoning with Unrestricted Answer Scope
2302.05698 (2023-02)
Compositional Exemplars for In-context Learning
and 19 more not named here
clean_str 9 other papers
8 dated earlier, 1 later
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1510.03820 (2015-10)
A Sensitivity Analysis of (and Practitioners' Guide to) Convolutional Neural Networks for Sentence Classification
1608.06019 (2016-08)
Domain Separation Networks
and 6 more not named here
compute_metrics 4 other papers
3 dated earlier, 1 later
1905.08284 (2019-05)
Enriching Pre-trained Language Model with Entity Information for Relation Classification
2010.07835 (2020-10)
Fine-Tuning Pre-trained Language Model with Weak Supervision: A Contrastive-Regularized Self-Training Approach
2301.03726 (2023-01)
Neighborhood-Regularized Self-Training for Learning with Few Labels
and 1 more not named here
clean_str 3 other papers
3 later
2311.00287 (2023-11)
Knowledge-Infused Prompting: Assessing and Advancing Clinical Text Data Generation with Large Language Models
2024.findings-acl.916 (2024 (year only))
Knowledge-Infused Prompting: Assessing and Advancing Clinical Text Data Generation with Large Language Models
2403.00815 (2024-03)
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records
dispatch_openai_requests 3 other papers
1 the same month, 2 later
2306.13304 (2023-06)
ToolQA: A Dataset for LLM Question Answering with External Tools
2024.findings-acl.916 (2024 (year only))
Knowledge-Infused Prompting: Assessing and Advancing Clinical Text Data Generation with Large Language Models
2402.10110 (2024-02)
Selective Reflection-Tuning: Student-Selected Data Recycling for LLM Instruction-Tuning
clean_doc 2 other papers
1 dated earlier, 1 later
2301.03726 (2023-01)
Neighborhood-Regularized Self-Training for Learning with Few Labels
2403.00815 (2024-03)
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records
acc_and_f1 1 other paper
1 later
2403.00815 (2024-03)
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records
compute_metrics_rel 1 other paper
1 later
2403.00815 (2024-03)
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records
load_tokenizer 1 other paper
1 later
2403.00815 (2024-03)
RAM-EHR: Retrieval Augmentation Meets Clinical Predictions on Electronic Health Records

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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. We release the generated dataset and used prompts to facilitate future research 2 . * These authors contributed equally to this work. 2 The data and code is available on https://github.com/yueyu1030/AttrPrompt. 3 We use gpt-3.5-turbo in our main experiments. 37th Conference on Neural Information Processing Systems (NeurIPS 2023) Track on Datasets and Benchmarks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2306.15895")
get_code_for_paper("2306.15895")
have("2306.15895")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2306.15895.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2306.15895.svg)](https://syntology.ai/paper/2306.15895)

Connect an agent — have() is free.