Scaffold Builder: Diagnosis-Guided Data Synthesis from Intervenable Failures
Bo YangYunkui ChenLanfei FengYu ZhangShijian Li
Bo Yang
Yunkui Chen
Lanfei Feng
Yu Zhang
Shijian Li
+5
Scaffold Builder is a diagnosis-guided data synthesis framework that treats data construction as teaching centered on the student model's capability boundary, motivated by the concern that existing synthesis methods are decoupled from the model's actual capability gaps. Inspired by educational scaffolding and the Zone of Proximal Development, it iterates boundary mining, scaffold construction, controlled synthesis, quality filtering, and feedback training: a teacher model diagnoses failures on samples near the student's capability boundary into structured RootCause–Fix–Scaffold triplets, whose effectiveness is verified by student-model re-evaluation. Validated scaffolds and diagnosed root causes then guide targeted data synthesis along two complementary paths under a three-stage curriculum moving from scaffolded learning to independent answering. With only 300 seed examples, it outperforms strong data synthesis and distillation baselines across reasoning benchmarks, with ablations, iterative, model-scale, training-paradigm, and cross-domain experiments supporting effectiveness, scalability, and transferability.

OpenReview · September 18, 2026