TL;DR
DataEvolver is the first self-evolving data preparation system designed to automatically build and refine data transformation pipelines for Large Language Models (LLMs). By leveraging a dual-loop evolutionary mechanism guided by just a few high-quality "seed" examples, it ensures pipelines are both logically executable and highly effective, boosting downstream LLM performance by an average of 10%.
What Problem Does This Paper Address?
High-quality training data is the lifeblood of capable LLMs, yet raw text corpora are notoriously noisy, inconsistently formatted, and riddled with redundancies. Traditionally, cleaning this data requires human experts to manually curate task-specific "recipes" or predefined pipelines—a process that is incredibly expensive and scales poorly.
While recent automated pipeline synthesis methods attempt to generate data-cleaning workflows from natural language instructions, they operate in a "one-shot" manner. They cannot dynamically adapt to diverse raw data distributions, nor can they learn directly from high-quality data examples. DataEvolver addresses this gap by introducing a flexible, automated system that actively distills quality requirements from a small set of exemplar data and iteratively evolves its own code to match them.
Methods
DataEvolver utilizes a multi-level self-evolving framework consisting of two main optimization loops: an operator-level loop for structural executability and a pipeline-level loop for data effectiveness.
- Seed-Guided Data Understanding: The system takes a small batch of raw data and roughly 20 high-quality "seed" examples. It analyzes them to generate a structured data profile detailing target schemas, formatting rules, and quality criteria.
- Operator-Level Self-Evolving: DataEvolver models the data preparation pipeline as a Directed Acyclic Graph (DAG) of logical operators. It continuously checks this graph for dependency gaps or interface mismatches. Crucially, if the existing operator library lacks a necessary capability, DataEvolver synthesizes new, task-specific operators on the fly and integrates them into the library.
- Pipeline-Level Self-Evolving: The logical plan is instantiated into executable Python code. Instead of running it on the entire dataset, DataEvolver executes trial runs on a small sample. An LLM-based judge compares the trial outputs against the seed data, identifies discrepancies, and logs "evolutionary experiences." This feedback is used to re-tune the data profile and refine the pipeline for the next iteration.
Datasets
The authors evaluated DataEvolver across seven public benchmarks spanning four distinct task domains:
- Instruction Following: Alpaca
- Multiple-Choice QA: ARC-Easy, ARC-Challenge
- Math Reasoning: GSM8K, MATH
- Text-to-SQL: Spider, BIRD
Key Insights and Ideas
- Local vs. Global Validity: The paper highlights that data preparation failures happen at two levels. Operator-level evolution solves local validity (making sure the code compiles and data flows correctly between steps), while pipeline-level evolution solves global validity (ensuring the final output actually matches the semantic quality of the target domain).
- Autonomous Code Generation: Rather than being constrained by a static library of filters and regex rules, the system dynamically writes its own data-manipulation functions to bridge capability gaps.
- Quality Over Quantity: The experiments revealed that using just 1,000 samples prepared by DataEvolver yielded downstream model performance comparable to or better than using 5,000 samples of raw data.
- The Efficiency of Fine-Grained Steps: Even though DataEvolver is an iterative system, it reduces token costs by roughly 40% compared to state-of-the-art one-shot pipeline generators. It achieves this by breaking complex tasks down into fine-grained, non-LLM code operators rather than relying on heavy, end-to-end LLM generation.
Key Results
The authors tested data prepared by DataEvolver on several backbone models, including Qwen3-8B-Base, Gemma-3-4B-it, and Llama3.1-8B-Instruct.
- Downstream Performance Boost: Models trained on DataEvolver-prepared data achieved an average 10% performance gain over those trained on raw data, and a 2% gain over the previous state-of-the-art data preparation framework (DataFlow).
- Improved Data Metrics: As graded by an LLM judge, DataEvolver significantly improved data training-readiness, seed alignment, and explanation quality while successfully driving down redundancy.
- Resource Efficiency: DataEvolver cut amortized token consumption during data preparation by 40.1% across all datasets. In wall-clock time, it reduced processing latency for a 5k dataset from 2.52 hours to 1.63 hours.
Limitations and Future Work
The primary limitation acknowledged by the authors is that DataEvolver currently focuses exclusively on the text modality. It does not yet support multimodal data preparation, such as filtering or restructuring image, video, or audio datasets.
For future work, the authors point out that because DataEvolver's operator library is highly extensible, the underlying framework could theoretically be adapted to synthesize multimodal data-cleaning pipelines.
Summary updated