RESEARCH PAPER · AI FOR AI

Agentic Data Engineering for LLMs:
System Design and a Controlled Empirical Study

Ruomeng Ding1,*, Qianli Shen2, Zhaoyang Han3,*, Meixin Chen2, Daoyuan Chen2,†, Yaliang Li2,†

1 UNC–Chapel Hill   2 Alibaba Group   3 Peking University

* Work done during internships at Alibaba Group. † Corresponding authors.

Can agents use experimental feedback to develop better training data, rewards and curricula? ADE lets research agents propose, revise and combine strategies using cumulative findings, while a fixed experimental protocol controls training and evaluation. We study both the strategies they discover and the research process that produces them.

+13.34 ppAIME25 Pass@32 over the baseline
Math selection · C = 1 · Best Run
+5.85 ppMean held-out Pass@K over four benchmarks
Math selection · C = 1 · Best Run
4 tasksMath and code selection, reward design,
and curriculum learning
01 / METHOD

Research decisions belong to agents. Experimental control stays fixed.

ADE separates the research process from the machinery that executes and evaluates each experiment.

Develop strategies from evidence

Coordinators propose research directions. Builders implement them. Analyzers interpret experimental evidence, and Plan and Run Memory carry accepted findings into later decisions.

Select in-loop; evaluate held-out

The Harness enforces the task contract. The Engine trains and evaluates under fixed conditions. Strategy selection uses in-loop scores; held-out evaluation assesses frozen checkpoints and never feeds back into research.

ADE architecture: research agents develop Plans through shared Memory; a Harness controls execution; the Engine produces evidence; held-out evaluation remains external.
ADE’s research loop: proposal → implementation → controlled experiment → analysis → cumulative Memory. Method details ↗
What agents can change
TaskInterventionFixed training setupGeneric baseline
Data selection · Math / CodeChoose 384 of 3,840 trajectoriesQwen2.5-7B-Instruct · Long-CoT SFTRandom subset
Reward design · MathReward and group creditQwen2.5-0.5B · 100 RFT stepsOutcome-only reward
Curriculum learning · MathTraining-data scheduleSame RFT setup; fixed outcome rewardRandom ordering
02 / RESULTS

Selected strategies improve held-out coverage across all four tasks.

Both research capacities improve held-out Macro Avg. Pass@K over the generic baseline. Gains in average correctness vary by task.

Table 3 · Each ADE row is the Best Run selected by in-loop scores among three Runs at that capacity, not the across-Run mean. Cells show Pass@K / Average@K (%). Macro Avg. weights the four held-out benchmarks equally. Full results ↗

03 / RESEARCH INSIGHTS

A better search score is only part of the story.

01

Later in-loop gains can stop transferring.

For math selection at C = 3, mean AIME25 Pass@32 peaks at 46.67% and ends at 41.11%, while mean in-loop Pass@32 rises from 47.78% to 54.44% over the later phase. The final held-out score remains above the baseline, but continued search is not a guarantee of better generalization.

02

Evidence interpretation and cumulative findings matter.

On math selection, ADE’s selected C = 1 strategy exceeds unified-agent, independent-search, outcome-only and raw-evidence alternatives on both in-loop metrics and mean held-out scores. Its held-out Macro Avg. Pass@K is 65.58%, versus 62.97% for the strongest alternative on that metric.

03

More research capacity has task-dependent returns.

Three Coordinators improve final mean in-loop scores over one, at higher token use and triple the peak GPU allocation. Held-out returns differ by task. Experiment execution and waiting occupy 57–69% of Plan time at C = 1.

Inspect research progress, held-out trajectories and cost Figure 3
Paper Figure 3: in-loop progress, held-out scores, cumulative token cost and GPU-hours for three tasks at C=1 and C=3.
Lines average three Runs per task and capacity; shading shows min–max ranges. Held-out curves follow the models selected using in-loop scores. Sections 4.2–4.3 ↗
04 / INTERACTIVE RESEARCH CASES

Follow the experiments behind three selected strategies.

Three recorded C = 3 Runs, fifteen Plans each. Explore proposals, inherited strategies, findings and training curves. These are individual research trajectories, not aggregate results.

15 / 15

Progress through the search

Best so farPlan scoreBaseline

★ Selected by validation

Research question

The intervention

What happened

Explicit Plan relations

Same final evaluation protocol

Held out from strategy selection
View selection script

Artifact checksum

What this case teaches

Related paper section ↗Link to this case ↗
05 / CITATION

Cite this work

BibTeX
@misc{ding2026agenticdataengineeringllms,
  title={Agentic Data Engineering for LLMs: System Design and a Controlled Empirical Study},
  author={Ruomeng Ding and Qianli Shen and Zhaoyang Han and Meixin Chen and Daoyuan Chen and Yaliang Li},
  year={2026},
  eprint={2610.14238},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2610.14238}
}