Skip to main content
QUICK REVIEW

[Paper Review] WizardLM: Empowering large pre-trained language models to follow complex instructions

Can Xu, Qing‐Feng Sun|arXiv (Cornell University)|Apr 24, 2023
Topic ModelingComputer Science107 citations
TL;DR

WizardLM demonstrates that AI-generated, progressively evolved instructions (Evol-Instruct) can train LLaMA-7B to follow complex open-domain tasks, outperforming some human-constructed instruction sets and approaching ChatGPT in high-difficulty scenarios. GPT-4 evaluation shows WizardLM achieving substantial parity on many skills, though gaps remain in code/math/reasoning.

ABSTRACT

Training large language models (LLMs) with open-domain instruction following data brings colossal success. However, manually creating such instruction data is very time-consuming and labor-intensive. Moreover, humans may struggle to produce high-complexity instructions. In this paper, we show an avenue for creating large amounts of instruction data with varying levels of complexity using LLM instead of humans. Starting with an initial set of instructions, we use our proposed Evol-Instruct to rewrite them step by step into more complex instructions. Then, we mix all generated instruction data to fine-tune LLaMA. We call the resulting model WizardLM. Human evaluations on a complexity-balanced test bed and Vicuna's testset show that instructions from Evol-Instruct are superior to human-created ones. By analyzing the human evaluation results of the high complexity part, we demonstrate that outputs from our WizardLM are preferred to outputs from OpenAI ChatGPT. In GPT-4 automatic evaluation, WizardLM achieves more than 90\% capacity of ChatGPT on 17 out of 29 skills. Even though WizardLM still lags behind ChatGPT in some aspects, our findings suggest that fine-tuning with AI-evolved instructions is a promising direction for enhancing LLMs. Our code and data are public at https://github.com/nlpxucan/WizardLM

Motivation & Objective

  • Demonstrate that AI-generated instruction data can scale and diversify instruction-following LM training.
  • Show that Evol-Instruct-produced instructions can outperform human-created instruction data in quality and difficulty.
  • Evaluate WizardLM against baselines and ChatGPT using human and GPT-4 based assessments.
  • Analyze difficulty, breadth, and quality of evolved instructions and their impact on model performance.

Proposed method

  • Propose Evol-Instruct: two components — Instruction Evolver (in-depth and in-breadth evolving) and Instruction Eliminator (filtering failures).
  • Iteratively evolve an initial seed instruction set into multiple generations, generating corresponding model responses each time.
  • Fine-tune open-source LLaMA-7B with a mix of evolved instructions to create WizardLM, using a dataset size comparable to Vicuna for fair comparison.
  • Assess model via human evaluations on a difficulty-balanced Evol-Instruct testset and Vicuna’s testset, plus GPT-4 automatic evaluation.

Experimental results

Research questions

  • RQ1Can AI-generated, progressively evolved instructions outperform human-created instruction datasets for open-domain instruction-following models?
  • RQ2How does WizardLM compare to Alpaca, Vicuna, and ChatGPT on high-difficulty instructions?
  • RQ3What is WizardLM’s performance across different skills and difficulty levels when evaluated by GPT-4?
  • RQ4Do evolved instructions increase diversity and depth beyond human-authored prompts?
  • RQ5What are the limitations and practical implications of AI-evolved instruction data for future LLM fine-tuning?

Key findings

  • Evol-Instruct instructions outperform ShareGPT-based human instructions in human evaluation on Evol-Instruct testset.
  • WizardLM with 70k Evol-Instruct data outperforms Vicuna-7B on Evol-Instruct testset and Vicuna testset in human evaluation.
  • WizardLM is preferred to ChatGPT on high-difficulty prompts in human judgments (within Evol-Instruct high-difficulty subset).
  • GPT-4 automatic evaluation shows WizardLM achieving substantial capacity relative to ChatGPT (e.g., >90% on 17 of 29 skills) and outperforming Alpaca-7B and Vicuna-7B on Evol-Instruct testset.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.