Validation-Gated ML Pipeline Synthesis with Expert-Grounded Self-Evolving Skills

Zixiao Zhao, Jing Sun, Zhe Hou, Mengze Li, Qian Liu, Cheng-Hao Cai, Zijian Zhang, Xin Wang, Gillian Dobbie, Jin Song DongarXiv 2026

TL;DR

EvoML is a new multi-agent framework that automates the end-to-end synthesis of complex machine learning pipelines. By combining "validation gates" to prevent error propagation with a self-evolving library of expert-grounded skills, it achieves full automation and superior model quality across diverse tasks, from medical image segmentation to 3D reconstruction.

What Problem Does This Paper Address?

Building a robust machine learning pipeline is a manual, error-prone process. While Automated Machine Learning (AutoML) aims to fix this, traditional tools are often too rigid, limited to narrow domains or fixed search spaces.

Recent "agentic" systems using Large Language Models (LLMs) offer more flexibility, but they have a major reliability problem: they often rely on free-form code generation. If an LLM makes a subtle mistake during data preprocessing, that error propagates silently through the pipeline, leading to a "runnable" but ultimately useless model. Furthermore, most current agents don't "learn" from their mistakes; if they struggle with a specific data format, they have to rediscover the fix every single time they encounter it.

Methods

The authors introduce EvoML, which decomposes pipeline construction into four phases (Task Understanding, Planning, Training, and Post-Processing) coordinated by three specialized agents:

  1. The Orchestrator: Acts as the project manager. It enforces validation gates at every phase boundary. It checks for structural integrity (did the files get created?), execution success (did the script crash?), and semantic correctness (e.g., did we accidentally apply MRI-style normalization to a CT scan?).
  2. The Executor: The "worker" that carries out the tasks. Instead of writing code from scratch, it uses a library of Expert-Grounded Skills based on the proven nnU-Net workflow. It takes reusable Python templates and adapts them to the specific dataset using an LLM (Codex).
  3. The Curator: The "teacher" that operates post-run. It audits the execution traces. If a particular skill required multiple retries to pass a validation gate, the Curator analyzes the successful fix and "patches" the skill library. This allows the system to evolve and become more efficient over time.
Fig. 1: Overview of the proposed validation-gated agentic ML pipeline synthesis framework. The Orchestrator progresses through four phases and invokes the corresponding Executor skill group in sequence: Task Understanding (skills 1–2), Planning (3–4), Training (5–7), and Post-train Processing (8–9). After each phase, generated artifacts and execution evidence are returned for gated validation; passed phases advance, while failed phases trigger recovery. The Curator operates after the run to evolve the skill library from accumulated execution evidence.

Datasets

The researchers primarily evaluated EvoML on a demanding testbed of eight medical imaging datasets covering six task types (segmentation, classification, reconstruction, and denoising):

  • Segmentation: BTCV (CT), ACDC (MRI), FLARE21 (CT), FLARE22 (Semi-supervised CT), Promise12 (MRI).
  • Classification: OrganMNIST3D.
  • Reconstruction: FastMRI (k-space to image).
  • Denoising: IXI (Brain MRI).

To test generalizability, they also evaluated it on three standard ML benchmarks: CIFAR-10 (image classification), VOC2012 (image segmentation), and AG News (text classification).

Key Insights and Ideas

  • Validation Gating is the "Secret Sauce": The authors found that without gates, model quality drops significantly on hard tasks. Gates catch "silent inconsistencies"—errors that don't crash the code but corrupt the training process.
  • Grounding vs. Hallucination: By grounding the agent's skills in a well-defined framework like nnU-Net, EvoML avoids the structural variability and unreliability of pure "zero-shot" LLM code generation.
  • The Power of Evolution: The Curator agent effectively turns "reactive recovery" into "proactive capability." In their tests, evolution reduced total synthesis time by ~41% and token consumption by ~30% as the system learned to handle tricky data formats (like HDF5) without needing retries.
Fig. 2: An example validation-gated recovery cycle in the Planning phase.

Key Results

EvoML was compared against five baselines, including specialized AutoML agents and general-purpose coding tools like Claude Code and Codex.

  • Full Automation: EvoML was the only system to achieve a 1.0 "End-to-End Automation Capability" (EAC) score across all eight medical datasets, meaning it required zero human intervention.
  • Superior Quality: It attained the best "Final Model Quality" (FMQ) on every dataset. The lead was most pronounced in complex tasks like 3D reconstruction (FastMRI), where it achieved an SSIM of 0.9498, far outperforming the next best baseline at 0.8579.
  • Cost-Efficiency: While a human expert might take 8–40 hours ($800–$6,000) to develop these pipelines, EvoML does it in 20–45 minutes for a generation cost of just $10–$35.
Fig. 4: Comparison of EvoML against agentic AutoML systems and command-line coding tools across the benchmarking datasets: EvoML attains full automation and the best FMQ on every dataset, with markedly lower variance than the baselines.

Limitations and Future Work

  • Compute Trade-off: Because EvoML uses the thorough nnU-Net approach (including 5-fold cross-validation), training takes significantly longer than simpler baselines (e.g., 60 hours vs. 10 hours).
  • Domain Specificity: While it generalized well to basic image and text tasks, the current skill library is heavily weighted toward medical imaging. Expanding to other specialized domains (like tabular data or time-series) would require adding new expert-grounded templates.
  • Future Directions: The authors plan to extend the framework to broader software engineering tasks and investigate even finer-grained validation checks within the pipeline.

Summary updated

Abstract

Recent advances in large language models have enabled agentic systems that automate machine learning pipeline construction from minimal user input. However, existing agentic AutoML methods either depend on rigid templates that limit adaptability, target narrow task domains, or rely on free-form code generation that lacks reliability guarantees, leaving intermediate errors to propagate silently and degrade the final model. We present EvoML, an agentic framework for end-to-end ML pipeline synthesis built on expert-grounded skills that evolve across runs, executed through a validation-gated harness. The framework decomposes pipeline construction into four phases coordinated by three agents: an Orchestrator that enforces validation gates, advancing each phase only when its outputs pass structural, execution, and semantic checks, which precludes error propagation and keeps every artifact auditable; an Executor that runs expert-grounded skills, grounded in the nnU-Net workflow and pairing reusable templates with online adaptation; and a Curator that performs post-run evolution, consolidating the scripts and guidance recovered during a run into the skill library so it improves across datasets. We evaluate EvoML on eight datasets spanning six sophisticated, real-world ML task types, against agentic AutoML systems and command-line coding tools. EvoML achieves full automation and the best final model quality on all eight, spanning segmentation (up to 0.94 Dice), classification (0.99 accuracy), reconstruction (0.95 SSIM), and denoising (0.79 normalized PSNR), while transferring to broader ML tasks.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
BTCVEvoMLDice0.837split: test · supervised
Source quote
L1413: 0.837
ACDCEvoMLDice0.919split: test · supervised
Source quote
L1410: 0.919
FLARE21EvoMLDice0.935split: test · supervised
Source quote
L1416: 0.935
FLARE22EvoMLDice0.920split: test · semi-supervised
Source quote
L1407: 0.920
Promise12MSBenchEvoMLDice0.920split: test · supervised
Source quote
L1419: 0.920
OrganMNIST3DEvoMLaccuracy0.992split: test · supervised
Source quote
L1422: 0.992
fastMRIEvoMLSSIM0.9498split: test · supervised
Source quote
L975: The margin is largest on the harder tasks, reaching 0.9498
IXIEvoMLnormalized PSNR0.7859split: test · supervised
Source quote
L976: on FastMRI against the next-best 0.8579 and 0.7859 on IXI
BibTeX
@misc{zhao2026validation,
  author = {Zixiao Zhao and Jing Sun and Zhe Hou and Mengze Li and Qian Liu and Cheng-Hao Cai and Zijian Zhang and Xin Wang and Gillian Dobbie and Jin Song Dong},
  title = {{Validation-Gated ML Pipeline Synthesis with Expert-Grounded Self-Evolving Skills}},
  year = {2026},
  eprint = {2611.04180},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04180},
}
Figure