Automatic Instruction Evolving for Large Language Models
Weihao Zeng, Can Xu, Yingxiu Zhao, Jian-Guang Lou, Weizhu Chen
TL;DR
Auto Evol-Instruct addresses the scalability bottleneck of instruction-tuning LLMs by automating instruction evolution. It uses a dual-LLM loop (evol LLM and optimizer LLM) to automatically design and refine evolving strategies, producing an evolved dataset $X_e$ that improves $Q(X_e)$. Across MT-Bench, AlpacaEval, GSM8K, and HumanEval, the auto-optimized methods outperform human-designed Evol-Instruct under comparable data budgets. This approach enables cost-efficient, cross-domain instruction tuning with reduced human supervision and broad practical impact.
Abstract
Fine-tuning large pre-trained language models with Evol-Instruct has achieved encouraging results across a wide range of tasks. However, designing effective evolving methods for instruction evolution requires substantial human expertise. This paper proposes Auto Evol-Instruct, an end-to-end framework that evolves instruction datasets using large language models without any human effort. The framework automatically analyzes and summarizes suitable evolutionary strategies for the given instruction data and iteratively improves the evolving method based on issues exposed during the instruction evolution process. Our extensive experiments demonstrate that the best method optimized by Auto Evol-Instruct outperforms human-designed methods on various benchmarks, including MT-Bench, AlpacaEval, GSM8K, and HumanEval.
