Skip to main content
QUICK REVIEW

[논문 리뷰] Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2

Hamish Ivison, Yizhong Wang|arXiv (Cornell University)|2023. 11. 17.
Topic ModelingComputer Science인용 수 8
한 줄 요약

본 논문은 새로운 V2 데이터 혼합, 대규모 DPO 학습, 그리고 Code Tülu 2를 갖춘 오픈 LM 적응 체인 Tülu 2를 도입하여 여러 벤치마크에서 강력한 오픈 모델 성능과 GPT-3.5-turbo-0301과의 경쟁력 있는 결과를 달성한다.

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.

연구 동기 및 목표

  • 현대 데이터 혼합, 기본 모델, 학습 방법이 오픈-언어 모델 적응에 어떠한 영향을 미치는지 이해를 심화한다.
  • 포괄적이고 고품질의 지시 데이터 혼합(Tülu-V2-mix)을 공개하고, 이를 다양한 모델 크기에 걸쳐 영향력을 평가한다.
  • 대규모 모델(최대 70B)에 대해 확장 가능한 Direct Preference Optimization(DPO)을 시연하고, 생성 품질 및 다언어성에 미치는 영향을 보여준다.
  • Code Llama로 Tülu 계열을 확장하여 Code Tülu 2를 도입하고, 비코드 태스크와의 비교를 통해 코딩 능력을 향상시킨다.

제안 방법

  • 다양한 소스에서 파생되고 크기와 내용을 균형 있게 맞추기 위해 다운샘플링된 고품질 지시 데이터 혼합인 Tülu-V2-mix를 구성하고 공개한다.
  • V2 혼합에서 Llama-2 및 Code Llama 모델을 7B, 13B, 70B 크기로 파인튜닝한다; 또한 Code Llama 모델을 V2 혼합에서 훈련시켜 Code Tülu 2를 만든다.
  • Ultrafeedback 설정을 따라 7B, 13B, 70B 변형에 DPO(Direct Preference Optimization) 학습을 적용하고, 세 가지 학습 에폭을 수행한다.
  • 사실적 추론, 다언어성, 코딩 및 자유로운 생성 능력을 평가하기 위해 MT-Bench, AlpacaEval, MMLU, GSM8k, BBH, TydiQA, Codex-Eval, ToxiGen, TruthfulQA로 모델을 평가한다.
  • QLoRA를 이용한 파라미터 효율적 파인튜닝을 탐색하고, 전체 파인튜닝과 비교하여 성능과 장문 생성에서의 트레이드오프를 평가한다.
  • LM 적응에 대한 공개 연구를 지원하기 위해 모든 체크포인트, 데이터 및 학습/평가 코드를 공개한다.

실험 결과

연구 질문

  • RQ1새로운 Tülu-V2 데이터 혼합이 원래의 V1 혼합과 비교하여 7B, 13B, 70B 모델 크기에서 다운스트림 성능에 어떤 영향을 미치는가?
  • RQ2Direct Preference Optimization(DPO)이 70B 모델까지 효과적으로 확장되는가, 그리고 그것이 자유로운 생성(Open-ended generation) 및 다언어 능력에 어떤 영향을 미치는가?
  • RQ3Code Lüla 기반 모델(Code Tülu 2)의 코딩 태스크와 비코딩 태스크에서의 상대적 성능은 어떠한가?
  • RQ4다양한 태스크에 걸쳐 QLoRA와 같은 파라미터 효율적 방법이 전체 파인튜닝과 어떻게 비교되며, 특히 장문 생성에서의 트레이드오프를 어떻게 다루는가?
  • RQ5확대 시에 DPO와 RLHF 스타일의 방법을 적용할 때 표현성, 안전성 및 능력 간의 트레이드오프는 무엇인가?

주요 결과

  • 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.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.