[論文レビュー] Lion: Adversarial Distillation of Proprietary Large Language Models
この論文は Lion を導入します。三段階のループ(模倣、識別、生成)を用いて、専有の LLM からオープンソースの学生モデルへ知識を転送する敵対的蒸留フレームワークであり、70k の訓練データのみでオープンエンドな生成と推論能力を強力に達成します。
The practice of transferring knowledge from a sophisticated, proprietary large language model (LLM) to a compact, open-source LLM has garnered considerable attention. Previous works have focused on a unidirectional knowledge distillation way by aligning the responses of the student model with those of the teacher model to a set of instructions. Nevertheless, they overlooked the possibility of incorporating any reciprocal "feedback"--identifying challenging instructions where the student model's performance falls short--to boost the student model's proficiency iteratively. To this end, we propose a novel adversarial distillation framework for a more efficient knowledge transfer. Leveraging the versatile role adaptability of LLMs, we prompt the teacher model to identify "hard" instructions and generate new "hard" instructions for the student model, creating a three-stage adversarial loop of imitation, discrimination, and generation. By applying this adversarial framework, we successfully transfer knowledge from ChatGPT to a student model (named Lion), using a mere 70k training data. Our results show that Lion-13B not only achieves comparable open-ended generation capabilities to ChatGPT but surpasses conventional state-of-the-art (SOTA) instruction-tuned models like Vicuna-13B by 55.4% in challenging zero-shot reasoning benchmarks such as BIG-Bench Hard (BBH) and 16.7% on AGIEval. Code and model can be found at https://github.com/YJiangcm/Lion.
研究の動機と目的
- 専有 LLM からオープンソースの学生へ、教師の重みへアクセスせずに効率的な知識転送を促進する。
- 学生の性能が教師を下回る難しい指示を特定することでフィードバックを組み込む。
- 反復的な三段階ループ(模倣、識別、生成)を開発し、学生を徐々に改善する。
- Lion-13B が生成と推論タスクで最先端のオープンソースベースラインに近づくか上回ることを示す。
- 固定された訓練予算(約70k データ)でデータ効率性を示し、多様なベンチマークでタスク横断の性能を評価する。
提案手法
- 専有 LLM が教師・審判・生成者としてプロンプト経由で機能する3役モデル設定を用い、軽量な Student LLM を教師を模倣するよう訓練する。
- 模倣段階では、指示に対して教師の出力と整合するよう学生を訓練する。
- 識別段階では審判を用いて各指示における教師と学生の乖離を測定し、難例を特定する。
- 生成段階では生成者(教師)に難しい指示分布を反映する新しい難しい指示を作成させ、必要に応じて難しい/易しいサンプルをデータプールに追加して拡張する。
- 二つのデータプールを維持する。訓練プールは種のような指示を含み、キャッシュプールは評価済み・高乖離サンプルを蓄積して継続的評価に用いる。
- データを反復的に再生成・精製してミンマックス型の最適化を実装し、難しいサンプルを増幅して学生を挑戦させる。
実験結果
リサーチクエスチョン
- RQ1敵対的な知識蒸留は、教師勾配にアクセスせずに専有の教師 LLM とオープンソースの学生のギャップを埋めることができるか。
- RQ2指示のフォローと推論能力を維持しつつ、蒸留はどれくらいデータ効率的になり得るか。
- RQ3Lion-13B は Vicuna-13B のようなオープンソースベースラインおよび ChatGPT と比較してオープンエンドな生成と難易度の高い推論ベンチマークでどの程度性能を発揮するか。
- RQ4三段階の模倣–識別–生成ループは複数の反復にわたって継続的な性能向上をもたらすか。
主な発見
- Lion-13B は Vicuna-Instructions (Setting avg) で ChatGPT の能力の 98.38% を達成。
- Lion-13B は BIG-Bench Hard (BBH) の平均で Vicuna-13B より 55.4%、AGIEval では Vicuna-13B 比で 16.7% 上回る。
- Lion-13B は AGIEval の推論能力の約 72.5% を、BBH では約 74% を維持しており、オープンソースモデルとして強力なゼロショット推論性能を示す。
- Lion-7B と Lion-13B は複数のベースラインと比較してオープンエンド生成が優れており、Lion-13B は多くのタスクカテゴリで ChatGPT との差を縮め、Vicuna のベースラインを超えるケースもある。
- 本フレームワークはデータ効率性を示し、約 70k の訓練例と人手での注釈データなしで競合的な性能を達成する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。