A Few Teacher Steps Go a Long Way: Efficient SFT Data Collection for LLM Agents
Abstract
DAgger-style supervised finetuning (SFT) combines full teacher demonstrations with teacher continuations of partial student rollouts, providing supervision on contexts the learner encounters. We study how to allocate the teacher-inference budget for acquiring these continuations after initial behavior cloning. One existing collection recipe runs the teacher to termination and retains only successful continuations (OP-Success). Since rejected outputs still incur teacher-inference costs, we compare this recipe with shorter continuations without outcome filtering (OP-Short), and with continuing only failed learner rollouts while retaining successful continuations (OP-Critical). We evaluate these choices against acquiring additional full demonstrations, tracking total teacher-inference cost separately from retained training tokens. Across HotpotQA, ALFWorld, and Terminal-Bench-Dev, multi-turn teacher continuations improve the accuracy-cost tradeoff over scaling full demonstrations. On HotpotQA and Terminal-Bench-Dev, OP-Short surpasses the strongest tested pure behavior-cloning baseline while reducing estimated teacher-inference cost by 20\% and 83\%, respectively, and on ALFWorld five-step continuations cut teacher tokens by 22\% relative to full continuations with minimal accuracy loss. Controlled HotpotQA ablations show that by focusing on failed learner rollouts, OP-Critical achieves comparable accuracy to OP-Success with 30\% lower estimated teacher-inference cost and 36\% fewer retained training tokens. Compute-matched comparisons with reinforcement learning and on-policy distillation further support brief teacher continuations as an efficient and lightweight post-training tool.