[Paper Review] Automatic Instruction Evolving for Large Language Models
This paper proposes Auto Evol-Instruct, an end-to-end framework that automatically evolves instruction datasets for large language models using large language models, eliminating human-designed evolving rules. By iteratively analyzing evolution failures and optimizing evolving strategies through LLM-driven feedback, it generates higher-quality, more complex instruction data, achieving state-of-the-art performance on benchmarks like MT-Bench, AlpacaEval, GSM8K, and HumanEval without human intervention.
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.
Motivation & Objective
- To address the high human expertise and cost required to design effective instruction evolution methods for large language models.
- To automate the entire instruction evolution pipeline, removing dependency on heuristic, manually crafted rules.
- To develop a self-optimizing framework that improves evolving strategies through iterative feedback and refinement.
- To enable cost-free adaptation of instruction tuning to diverse tasks by only changing input data.
- To achieve superior performance on instruction following, reasoning, and code generation benchmarks using only evolved data.
Proposed method
- The framework begins with a universal initial evolving method that autonomously analyzes input instructions and generates evolution rules without human input.
- It employs two core components: Evol Trajectory Analysis, where an optimizer LLM identifies issues and failures in evolved instructions, and Evolving Method Optimization, where the evolving method is refined based on feedback.
- The process alternates between evolution and feedback, iteratively improving the evolving method using only a subset of the instruction data.
- The optimizer LLM uses chain-of-thought reasoning to generate feedback on issues such as loss of clarity, over-specification, or unnecessary complexity.
- The evolving method is progressively refined through multiple optimization steps, with constraints added to ensure consistent and logical increases in complexity.
- Once optimized, the final evolving method is applied to the full dataset to generate diverse, complex, and high-quality instruction-response pairs for instruction tuning.
Experimental results
Research questions
- RQ1Can instruction evolution be fully automated without human-designed rules, using only LLMs?
- RQ2Can an LLM-based optimizer improve evolving strategies through iterative feedback and failure analysis?
- RQ3Does an automatically optimized evolving method outperform human-designed methods in instruction tuning benchmarks?
- RQ4Can the framework generalize across diverse tasks with minimal human intervention?
- RQ5What are the key failure modes in instruction evolution, and how can they be systematically mitigated through LLM feedback?
Key findings
- Auto Evol-Instruct outperforms human-designed Evol-Instruct methods on MT-Bench, achieving 8.09, surpassing GPT-3.5-Turbo and WizardLM-70B.
- Using only 10K evolved ShareGPT examples, the method achieves 91.4 on AlpacaEval, exceeding GPT-3.5-Turbo and WizardLM-70B.
- With 7K evolved GSM8K data, the model reaches 82.49 on GSM8K, outperforming GPT-3.5-Turbo, WizardMath-70B, and MetaMath-70B.
- Fine-tuning DeepSeek-Coder-Base-33B on 20K evolved Code Alpaca data yields 77.4 on HumanEval, surpassing GPT-3.5-Turbo and WizardCoder-34B.
- The framework reduces failure rates in instruction evolution by systematically identifying and correcting issues like over-specification and loss of clarity through LLM feedback.
- The final evolving method, optimized through 15 iterative steps, includes a 'Consistency Check' and a 'complexity increase' constraint to ensure logical and progressive complexity growth.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.