TL;DR
DataPrep-Bench is the first unified, downstream-grounded benchmark designed to evaluate LLMs and agents as end-to-end training data preparators. Spanning six domains, it evaluates both data construction (turning raw text into SFT data) and data quality evaluation (predicting a dataset's training utility). The paper reveals a sobering truth—synthetic data often hurts model performance—and introduces two strong baselines: a skill-guided data construction agent and a highly accurate distribution-based data evaluator.
What Problem Does This Paper Address?
The performance of Large Language Models (LLMs) is heavily dictated by the quality of their training data. As high-quality, naturally occurring text runs dry, researchers are increasingly turning to LLMs and autonomous agents to generate, filter, and prepare training data.
However, evaluating these data preparation pipelines has largely been anecdotal. Existing studies use disparate base models, raw sources, and downstream tasks. Furthermore, traditional data evaluation relies on surface-level text properties (like fluency or length) rather than actual downstream training utility.
To bridge this gap, the authors introduce DataPrep-Bench, a standardized framework to measure how effectively LLM-driven workflows actually prepare data for training.
Methods
DataPrep-Bench splits data preparation into two co-equal tracks under a shared, downstream-grounded evaluation protocol:
Track 1: Data Construction
This track tests a method's ability to transform raw, non-trainable domain knowledge (like textbooks) into high-quality question-answer (QA) pairs for Supervised Fine-Tuning (SFT). To evaluate a method, a base model is fine-tuned on its generated dataset combined with a standard instruction corpus (Dolly-15k) and then tested on held-out domain benchmarks.
- New Baseline: The authors release Data-Construction-Skill, a skill-guided agent. Instead of relying on a single prompt, it uses a reusable "skill layer" that enforces output schemas, filtering rules, and coverage constraints.
Track 2: Data Quality Evaluation
This track evaluates scoring functions that predict the training value of a dataset before running expensive fine-tuning. Metrics are scored based on their Pearson correlation ($r$) with actual downstream performance.
- New Baseline: The authors introduce the Distributional Alignment Score (DAS). DAS uses Maximum Mean Discrepancy (MMD) to measure the statistical distance between a candidate dataset's text embeddings and a high-quality domain proxy dataset.
Datasets
The benchmark covers six distinct domains: General Text, Math, Science, Medical, Finance, and Legal.
- Source Corpora (Track 1): Curated long-form expert materials, including open textbooks (from Wikibooks, FreeBookCentre, and Open Textbook Library), international science olympiad problems, and a 150 MB sample of FineWeb.
- Proxy Datasets (Track 2): High-quality reference sets used by DAS, including Infinity-Instruct (General), ODA-Math-460k, Logics-STEM, ReasonMed, Fin-o1, and DISC-Law-SFT.
- Downstream Evaluation: Models are tested on rigorous benchmarks such as MMLU-Redux, AIME 2024, GSM8K, GPQA, MedMCQA, LegalBench, and LexGLUE.
Key Insights and Ideas
- More Synthetic Data Can Backfire: One of the most surprising findings is that adding synthesized domain data on top of a clean baseline (Dolly-15k) frequently degrades downstream performance. Surface-level metrics often rate this synthetic data highly, proving the necessity of downstream-grounded benchmarking.
- No Single Tool Wins Everywhere: Data preparation demands different architectures depending on the domain. Structured workflows (like DataFlow) excel in highly regularized domains like Finance and Law. Conversely, LLM agents shine in reasoning-heavy domains (Math, Medical) because they can iteratively chunk, verify, and refine data.
- Distributional Alignment is a Strong Proxy for Quality: DAS demonstrates that matching the feature distribution of a trusted domain proxy is a highly reliable predictor of dataset utility, especially for specialized reasoning tasks.
Key Results
- Data-Construction-Skill achieved massive gains in knowledge-extraction-dense areas, lifting the Dolly-only baseline by nearly 20 points absolute on Llama-3.1-8B in the Finance domain.
- DAS proved to be the most reliable quality-evaluation metric overall. It achieved the strongest cross-model correlation in four out of six domains and was the only metric to clear $r > 0.70$ simultaneously in Math, Science, and Medical.
- Efficiency: DAS offers an excellent accuracy-to-compute trade-off, running 1.4–1.5× faster than comparable high-accuracy baselines like BERTVendi and Deita-Quality.
Limitations and Future Work
While Data-Construction-Skill is highly effective for structured knowledge extraction, it currently underperforms in open-ended scientific reasoning. Additionally, Finance and Law remain notoriously difficult domains for all data quality evaluators; generic text embeddings struggle to capture highly specific professional and legal conventions.
Future directions include expanding the candidate pools as more public SFT datasets become available, tailoring skill-guided designs to open-ended reasoning, and pairing DAS with reference-free quality signals to improve predictions in complex domains.
Summary updated