AI summary · arXiv: 2310.16944v1 · cs.LG

Zephyr: Direct Distillation of LM Alignment

Lewis Tunstall, Edward Beeching, Nathan Lambert, Nazneen Rajani, Kashif Rasul, Younes Belkada, Shengyi Huang, Leandro von Werra,

and 6 more authorsClémentine Fourrier, Nathan Habib, Nathan Sarrazin, Omar Sanseviero, Alexander M. Rush, Thomas Wolf

Original paper · DOI Submitted to arXiv on 25 Oct. 2023 License: CC BY 4.0

The essentials

  • Surge in development of large language models (LLMs) for building chatbots and other applications
  • LLaMA model opened up opportunities for research on efficient fine-tuning, longer prompt context, retrieval augmented generation (RAG), and quantization
  • Introduction of open access text-based LLMs like MPT, RedPajama-INCITE, Falcon, Llama 2, Mistral 7B
  • Zephyr-7B built upon Mistral 7B due to strong performance
  • Focus on improving small model performance through distillation with methods like self-instruct and Alpaca model
  • Other models like Vicuna and WizardLM explored different approaches to distillation
  • Comparison of approach with Xwin-LM using PPO for preference optimization
  • Development of benchmarking tools using powerful LLMs like GPT-4 and Claude for evaluating language models
  • Goal is to align an open-source large language model with user intent through several stages similar to InstructGPT
  • Step 1 involves distilled supervised fine-tuning (dSFT) to maximize log likelihood of student model's outputs compared to dataset C consisting of input-output pairs (x , y)
  • Detailed longer summary provides overview of related work in the field including development of open LLMs, approaches for improving small model performance through distillation, and benchmarking tools used for evaluating language models.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Large Language Models

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In recent years, there has been a surge in the development of large language models (LLMs) that have been used as starting points for building chatbots and other applications. After the release of ChatGPT, the LLaMA model opened up opportunities for research on efficient fine-tuning, longer prompt context, retrieval augmented generation (RAG), and quantization. Several open access text-based LLMs have been introduced since then, including MosaicML's MPT, Together AI's RedPajama-INCITE, TII's Falcon, Meta's Llama 2, and Mistral 7B. Zephyr-7B is built upon Mistral 7B due to its strong performance. Researchers have also focused on improving small model performance by distilling knowledge from larger models. The self-instruct method and Alpaca model were among the early works in this area. Other models like Vicuna and WizardLM explored different approaches to distillation. In this work, the authors not only focus on distilling supervised fine-tuning (SFT) but also preference optimization. They compare their approach with Xwin-LM which uses PPO for preference optimization. To evaluate the performance of language models, various benchmarking tools have been developed. These tools use powerful LLMs such as GPT-4 and Claude to score or rank model responses in pairwise settings. Examples include the LMSYS chatbot arena benchmarks, AlpacaEval leaderboard, MTBench for multi-turn instructions evaluation across task categories, HuggingFace Open LLM leaderboard, Chain-of-Thought Hub, ChatEval, and FastEval. The goal of this work is to align an open-source large language model with user intent. The approach involves using a larger teacher model πT for prompted generation queries and producing a student model πθ through several stages similar to InstructGPT. Step 1 involves distilled supervised fine-tuning (dSFT), where the goal is to maximize the log likelihood of the student model's outputs compared to a dataset C consisting of input–output pairs (x , y). The detailed longer summary provides an overview of related work in the field including the development of open LLMs and approaches for improving small model performance through distillation. It also highlights benchmarking tools used for evaluating language models.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts
Journal club Premium+ Slides to present it
For journalists Premium+ Press kit and hype check

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.