Skip to main content
QUICK REVIEW

[논문 리뷰] Platypus: Quick, Cheap, and Powerful Refinement of LLMs

Ariel N. Lee, C. Hunter|arXiv (Cornell University)|2023. 08. 14.
Topic ModelingComputer Science인용 수 16
한 줄 요약

Platypus는 Open-Platypus 데이터셋을 큐레이션하여 LoRA를 이용한 PEFT 기반 미세조정 및 병합 접근 방식을 제시하고, 적은 데이터와 컴퓨트로 Open LLM 리더보드에서 최상위 성능을 달성한다.

ABSTRACT

We present $ extbf{Platypus}$, a family of fine-tuned and merged Large Language Models (LLMs) that achieves the strongest performance and currently stands at first place in HuggingFace's Open LLM Leaderboard as of the release date of this work. In this work we describe (1) our curated dataset $ extbf{Open-Platypus}$, that is a subset of other open datasets and which $ extit{we release to the public}$ (2) our process of fine-tuning and merging LoRA modules in order to conserve the strong prior of pretrained LLMs, while bringing specific domain knowledge to the surface (3) our efforts in checking for test data leaks and contamination in the training data, which can inform future research. Specifically, the Platypus family achieves strong performance in quantitative LLM metrics across model sizes, topping the global Open LLM leaderboard while using just a fraction of the fine-tuning data and overall compute that are required for other state-of-the-art fine-tuned LLMs. In particular, a 13B Platypus model can be trained on $ extit{a single}$ A100 GPU using 25k questions in 5 hours. This is a testament of the quality of our Open-Platypus dataset, and opens opportunities for more improvements in the field. Project page: https://platypus-llm.github.io

연구 동기 및 목표

  • 매개변수 효율적 튜닝(LoRA)을 사용하여 최소한의 미세조정 데이터와 컴퓨트로 LLM 성능 향상.
  • 도메인 지식을 강화하면서 기본 모델 능력을 보존하기 위해 STEM 중심의 큐레이션 데이터셋(Open-Platypus)을 생성합니다.
  • 오염 데이터 및 테스트 세트 누출을 조사하여 견고한 벤치마킹을 보장합니다.
  • 다양한 태스크와 도메인 전반에서 성능을 높이기 위해 여러 미세조정 어댑터를 병합하는 것을 탐구합니다.

제안 방법

  • STEM 및 논리 문제가 약 25k개 정도 필요한 오픈 데이터셋의 하위집합인 Open-Platypus를 큐레이션합니다.
  • LoRA 기반 미세조정을 LLaMa-2 변형(13B 및 70B)에 적용하고 targeted 모듈(gate_proj, down_proj, up_proj)을 사용합니다.
  • Platypus 어댑터를 기본 모델 및 다른 미세조정 변형과 병합하여 시너지 이득을 평가합니다.
  • 중복 제거 및 테스트 세트 누출을 포함한 회색 영역 및 유사하지만 다른 범주를 포함한 오염 검사을 수행합니다.
  • Hugging Face Open LLM Leaderboard 벤치마크(ARC, HellaSwag, MMLU, TruthfulQA)를 사용해 평가하고 닫힌/개방형 모델과 비교합니다.
  • 하이퍼파라미터에는 LoRA rank=16, lora alpha=16, dropout=0.05, 학습률 4e-4/3e-4, 1 에포크, 배치크기 16가 포함됩니다.

실험 결과

연구 질문

  • RQ1작은 큐레이션 데이터세트와 함께 매개변수 효율적 미세조정이 개방 소스 LLM을 최첨단 성능에 얼마나 근접하게 만들 수 있는가?
  • RQ2여러 미세조정 어댑터(Platypus + 다른 모델)를 병합하면 다양한 벤치마크에서 측정 가능한 이득이 나타나는가?
  • RQ3오염 스크리닝 및 중복 제거가 보고된 벤치마크 성능에 어떤 영향을 미치는가?
  • RQ4지식이 풍부한 작업(예: TruthfulQA) 및 도메인 특화 작업(MMLU 도메인)에서 지식 강화에 가장 큰 도움을 주는 모델 병합 조합은 무엇인가?

주요 결과

  • Platypus2-70B-instruct는 평균 점수 73.13으로 HuggingFace Open LLM Leaderboard에서 최상위를 차지합니다.
  • Stable-Platypus2-13B는 평균 점수 63.96으로 리더보드에서 13B 모델 중 최상위입니다.
  • Stable Beluga 및 Camel 변형과의 병합은 벤치마크 전반에서 주목할 만한 향상을 만들어내었으며, 예를 들어 TruthfulQA에서 일부 병합에서 최대 +5.87%의 이득을 달성했습니다.
  • Camel-Platypus2-70B는 병합 시 ARC-Challenge의 가장 큰 향상인 +4.12%를 보였습니다.
  • Platypus 어댑터는 0.27% (13B) 및 0.2% (70B) 학습 가능 매개변수로 강력한 결과를 달성합니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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