atlas

Research map / Large language models / Agents, code and math

DataGen: Unified Synthetic Dataset Generation via Large Language Models

ICLR 2025 · Large language models › Agents, code and math · approach: Code generation benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DataGen, an LLM-powered framework that generates controllable, diverse, and truthful text datasets using attribute-guided generation, group checking, code-based label verification, and RAG-based factual validation, and applies it to LLM benchmarking and data augmentation.

Problem

Existing LLM-driven dataset generation struggles with generalization, controllability, diversity, and truthfulness (hallucinated or incorrect labels), and often only perturbs existing items or is limited to specific formats.

Approach

A unified pipeline that takes a base dataset, a natural-language description, and optional user constraints, then combines few-shot clustering-based example selection, attribute-guided generation, embedding-based group checking, self-reflection/enhancement, code-verified math labels, and Wikipedia RAG validation, plus difficulty enhancement as post-processing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune on 1,000 DataGen-generated rather than existing Alpaca samplesLlama3-7B · MT-BenchAverage score: 5.259 -> 6.403Helped
Add attribute-guided generation (ablation)DataGen generated data · Generated dataRemote-clique: 0.695 -> 0.735Helped
Add group checking after attribute-guided generation (ablation)DataGen generated data · Generated dataRemote-clique: 0.735 -> 0.743Helped
Increase generation temperature from 0 to 1 (ablation)GPT-4 data generation · TruthfulQA examplesRemote-clique: 0.683 -> 0.721Helped
Apply code-based mathematical evaluation (ablation)DataGen math data · Generated math dataAccuracy: 44% -> 88%Helped
Apply RAG-based factual validation (ablation)DataGen generated data · Generated dataCorrected percentage: 4.2% correctedHelped
Apply difficulty enhancement (ablation)DataGen-generated benchmark data · GSM8Kaccuracy: 0.665 -> 0.585Hurt
Use DataGen-generated instead of original benchmark dataChatGPT · GSM8Kaccuracy: 0.762 -> 0.665Hurt
Use DataGen-generated instead of original benchmark dataChatGPT · MMLUaccuracy: 0.609 -> 0.798Helped
Use DataGen-generated instead of original benchmark dataChatGPT · TruthfulQAaccuracy: 0.825 -> 0.837Helped
Use DataGen-generated instead of original benchmark dataChatGPT · HellaSwagaccuracy: 0.611 -> 0.960Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MMLU TruthfulQA HellaSwag MetaTool MultiNLI ARC-Challenge BoolQ BBH alpaca

Benchmarks: GSM8K MMLU TruthfulQA HellaSwag MetaTool ARC-Challenge BoolQ BBH MT-Bench

Metrics: accuracy remote-clique diversity self-BLEU entity overlap rate error proportion

Baselines: DyVal 2 DyVal S3Eval MetaMath Qameleon

Builds on: DyVal 2 MetaMath LLaMA-Factory

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy