Skip to main content
QUICK REVIEW

[Paper Review] Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2

Hamish Ivison, Yizhong Wang|arXiv (Cornell University)|Nov 17, 2023
Topic ModelingComputer Science8 citations
TL;DR

The paper introduces Tülu 2, an open LM adaptation suite with a new V2 data mix, DPO training at scale, and Code Tülu 2, achieving strong open-model performance and competitive results with GPT-3.5-turbo-0301 on several benchmarks.

ABSTRACT

Since the release of TÜLU [Wang et al., 2023b], open resources for instruction tuning have developed quickly, from better base models to new finetuning techniques. We test and incorporate a number of these advances into TÜLU, resulting in TÜLU 2, a suite of improved TÜLU models for advancing the understanding and best practices of adapting pretrained language models to downstream tasks and user preferences. Concretely, we release: (1) TÜLU-V2-mix, an improved collection of high-quality instruction datasets; (2) TÜLU 2, LLAMA-2 models finetuned on the V2 mixture; (3) TÜLU 2+DPO, TÜLU 2 models trained with direct preference optimization (DPO), including the largest DPO-trained model to date (TÜLU 2+DPO 70B); (4) CODE TÜLU 2, CODE LLAMA models finetuned on our V2 mix that outperform CODE LLAMA and its instruction-tuned variant, CODE LLAMA-Instruct. Our evaluation from multiple perspectives shows that the TÜLU 2 suite achieves state-of-the-art performance among open models and matches or exceeds the performance of GPT-3.5-turbo-0301 on several benchmarks. We release all the checkpoints, data, training and evaluation code to facilitate future open efforts on adapting large language models.

Motivation & Objective

  • Advance understanding of how modern data mixtures, base models, and training methods affect open-language-model adaptation.
  • Release a comprehensive, higher-quality instruction data mix (Tülu-V2-mix) and evaluate its impact across multiple model sizes.
  • Demonstrate scalable direct preference optimization (DPO) for large models (up to 70B) and its effects on generation quality and multilinguality.
  • Extend the Tülu family to Code Llama with Code Tülu 2 to improve coding capabilities while comparing to non-code tasks.

Proposed method

  • Assemble and release Tülu-V2-mix, a high-quality instruction dataset mixture derived from diverse sources and downsampled to balance size and content.
  • Finetune Llama-2 and Code Llama models at sizes 7B, 13B, and 70B on the V2 mix; also train Code Llama models on the V2 mix to create Code Tülu 2.
  • Apply direct preference optimization (DPO) training, following the Ultrafeedback setup, to 7B, 13B, and 70B variants, with three training epochs.
  • Evaluate models with MT-Bench, AlpacaEval, MMLU, GSM8k, BBH, TydiQA, Codex-Eval, ToxiGen, and TruthfulQA to assess factual reasoning, multilinguality, coding, and open-ended generation.
  • Explore parameter-efficient finetuning with QLoRA and compare against full finetuning to assess trade-offs in performance and long-form generation.
  • Release all checkpoints, data, and training/evaluation code to support open research on LM adaptation.

Experimental results

Research questions

  • RQ1How does the new Tülu-V2 data mix impact downstream performance across model sizes (7B, 13B, 70B) compared to the original V1 mix?
  • RQ2Does Direct Preference Optimization (DPO) scale effectively to 70B models and how does it affect open-ended generation and multilingual capabilities?
  • RQ3What is the relative performance of Code Lüla-based models (Code Tülu 2) vs non-code Llama-2-based models on coding vs non-coding tasks?
  • RQ4How do parameter-efficient methods like QLoRA compare to full finetuning across varied tasks, especially for long-form generation?
  • RQ5What are the trade-offs in verbosity, safety, and capability when applying DPO and RLHF-style methods at scale?

Key findings

  • Tülu 2 with the V2 mix outperforms open models on average and achieves competitive results with GPT-3.5-turbo-0301 on several benchmarks.
  • The largest DPO-trained model (Tülu 2+DPO 70B) attains state-of-the-art MT-Bench performance among open models and strong AlpacaEval results.
  • QLoRA reduces compute but underperforms full finetuning on long-form generation tasks, with the performance gap shrinking as model size grows.
  • Code Tülu 2 substantially improves coding tasks over Tülu 2, while showing distinct non-code task performance patterns, highlighting domain-specific benefits of code pretraining.
  • DPO training generally boosts AlpacaEval and MT-Bench scores across sizes, with some multilingual degradation on TydiQA, suggesting multilingual data may be needed to counterbalance this effect.
  • Code Tülu 2 models outperform base Code Llama and Code Llama-Instruct on several metrics, underscoring the value of the V2 mix for coding-focused models.

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.