AutoSFT: When AI Takes Over the 'Data Kitchen' of AI Production Lines (The Theory of AI Evolution, Part 1)
This article from zhichai.net is a structured English summary of the Chinese original reviewing the paper AutoSFT: An Agentic System for Automated Data Research in Supervised Fine-Tuning (arXiv:2610.22194, https://arxiv.org/abs/2610.22194), led by Tsinghua University with UIUC, ModelBest, CUHK, and BUPT. Code: https://github.com/Thinking-Space/AutoSFT
The post opens with a kitchen parable: a gifted apprentice chef, left alone overnight, cooks 32 plates of the same dish (twice-cooked pork) with slightly varied proportions, never thinking to trim bad meat or invent a new recipe. This maps to the paper's pilot experiment.
Key points
Background: SFT data as a recipe
- After pretraining, supervised fine-tuning (SFT) teaches models to follow instructions. Curated small datasets (e.g., LIMA) can beat 10x larger unrefined ones — data is a *recipe*, not a pile.
- The paper defines six action families for the data pipeline: mixture (reweighting), pruning, repair, resupervision, synthesis, and ordering. All were available to the experimental agent.
- Setup: GPT-5.5-driven single agent controls a full post-training loop; Qwen3-1.7B-Base, IFEval/IFBench benchmarks, one H100, unrestricted internet, ~10-hour budget, retraining from base checkpoint each round.
- Result: in 11.5 hours, 33 submissions (32 evaluated) — all 32 were mixture reweighting (with 22 different phrasings like *reweight*, *raise*, *concentrate*), plus 1 'replay' that was still mixture. Targets (IFEval 80, IFBench 50) never reached.
- Failure 1 — search collapse: no round ever repaired a row, replaced an answer, or synthesized new data. The vocabulary was rich; the *action* diversity was not.
- Failure 2 — data shrank under wall-clock pressure: dataset peaked at 264k rows in round 4, then fell to 69k (26% of peak), as the agent cut training cost to gamble more rounds. Switching to benchmark-score targets removed the shrinkage — agents optimize whatever objective you give them.
- Failure 3 — context wiped 10 times: the 258,400-token context hit 94.74% capacity and was force-compressed 10 times overnight. Top space consumers: its own reasoning (16.3%), training outputs (13.4%), re-reading run history (11.8%), data actions (9.7%), eval outputs (8.9%), compression summaries (8.3%) — almost nothing about *what data to change next*.
- Executor sub-agent: owns training submission, job monitoring, checkpoint conversion, and evaluation in a separate session; returns only artifact paths and a brief status report. Context compressions fell from 10 to 5; shell commands in the meta-agent's events fell from 58% to 29%; pure status polling (268 calls, 23.0% of commands in the baseline) disappeared from the decision context.
- Four analyst sub-agents read the same round feedback from different evidence entry points: ingredient reviewer (data quality/coverage), failure-case investigator (recurring error patterns), training-dynamics observer (loss vs. data used), history archivist (falsified vs. untested interventions). Their proposal instructions are verbatim identical — diversity comes from evidence, not from action menus; they aren't even told the six families exist.
- Synthesis sub-agent: writes new samples for under-supplied, programmatically verifiable capability targets (e.g., 'repeat the prompt verbatim without commas'). Round 9 targeted capabilities with only 4–161 rows in the pool (adequacy threshold: 1,000). Every batch passes three gates: full target-validator checks, independent semantic review, and n-gram-overlap decontamination against eval sets.
- Memory discipline: each round must register a hypothesis (what, why, compared to which round, expected fine-grained phenomenon) *before* training; submissions without hypotheses are rejected. Verdicts separately score direction-of-score and whether the predicted phenomenon occurred — disagreement itself is information. Memory is write-once.
- Executor: compressions 10 → 5; decision context shifts from command output to analysis.
- Analysts (3M token budget): base best 62.35 IFEval (avg@10) in 50 rounds; with analysts, 63.33 by round 6 and 67.10 by round 30 — +6.50 at equal rounds, still +4.75 ahead of base's 50-round best. Repair + resupervision became 55% of actions. New-best rates by action: validation-based pruning 41.7% (10/24), repair 42.9% (6/14), full reselection 50% (2/4).
- Case study: on 'strict prompt repetition', base expanded one template 500 → 974 rows for +1.22 points; the analyst pipeline traced 792 bad shared-template samples and replaced them with 2,752 varied samples across 16 cells — the metric jumped 39.02 → 73.78 (+34.76).
- Synthesis (100M token budget): best IFEval 81.58 vs 78.15 (+3.4), IFBench 51.95 vs 49.02 (+2.9); every checkpoint from round 9 beats base's best of all 31 rounds. *repeat_prompt* jumped from ~40% to 75.6% the round synthetic data arrived, then held 62–80%; *odd_even_syllables* stayed at zero despite 3 targeted rounds — some constraints are not yet learnable at this scale.
- Code-domain transfer (MBPP+, 742k Python instruction–code pairs, 64 hours): base flat over 15 rounds; base + analysts hit 64.8% at round 13; the full system hit 65.8% in 6 rounds (+3.7 MBPP+) without human-provided capability taxonomies.
- Cost: ~0.8 GPU-hours per training round (8×H800), ~0.15 for eval; a full 20-round study ≈ 130 GPU-hours; agent + generation backend ≈ 2.6×10⁸ tokens and ~$95/round, ≈ $1,900 per study.
- The bottleneck in automated SFT data research is not any single stronger action, but structure that lets agents cover the full action space. The same GPT-5.5 that only tuned salt alone naturally repaired, replaced, and synthesized once the kitchen was reorganized. For 'AI for AI', the first lesson is organizational design: division of labor, memory institutions, anti-cheating verification gates.
- Single base model at a single scale (Qwen3-1.7B-Base); one search run per configuration (repeat evals reduce checkpoint noise, not search variance); synthesis only helps learnable-but-under-supplied capabilities; the code domain was one transfer with short runs; and the 11.5-hour pilot still missed its targets.
- Paper: AutoSFT: An Agentic System for Automated Data Research in Supervised Fine-Tuning — arXiv:2610.22194 (https://arxiv.org/abs/2610.22194)
- Authors: Bingxiang He, Pengqi Sun, Shihao Peng, et al. (Tsinghua University, UIUC, ModelBest, CUHK, BUPT)
- Code: https://github.com/Thinking-Space/AutoSFT