Skip to main content
QUICK REVIEW

[論文レビュー] Platypus: Quick, Cheap, and Powerful Refinement of LLMs

Ariel N. Lee, C. Hunter|arXiv (Cornell University)|Aug 14, 2023
Topic ModelingComputer Science被引用数 16
ひとこと要約

Platypusは、Open-Platypusの厳選データセット上でLoRAを用いたPEFTベースの微調整と統合を行い、データと計算資源を抑えつつOpen LLM Leaderboardでトップの性能を達成します。

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)を作成して専門知識を強化する。
  • 堅牢なベンチマークを保証するためにデータ汚染とテストセットの漏洩を調査する。
  • タスクとドメイン全体で性能を向上させるため、複数の微調整済みアダプタを統合する方法を検討する。

提案手法

  • 約25k問を要するSTEMと論理に焦点を当てたオープンデータセットのサブセットであるOpen-Platypusをキュレーションする。
  • ターゲットモジュール(gate_proj、down_proj、up_proj)を用いてLLaMa-2のバリアント(13Bおよび70B)にLoRAベースの微調整を適用する。
  • Platypusアダプタを基盤モデルおよび他の微調整済みバリアントと統合して相乗効果を評価する。
  • 重複とテストセットの漏洩を除去するために汚染検査を実施し、グレーエリアや似て非なるカテゴリを含む。
  • Hugging Face Open LLM Leaderboardのベンチマーク(ARC、HellaSwag、MMLU、TruthfulQA)を用いて評価し、クローズド/オープンモデルと比較する。
  • ハイパーパラメータにはLoRA rank=16、lora alpha=16、dropout=0.05、学習率4e-4/3e-4、1 epoch、batch size 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)しかない状態で強力な結果を達成。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。