Skip to main content
QUICK REVIEW

[論文レビュー] Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4

Sondos Mahmoud Bsharat, Aidar Myrzakhan|arXiv (Cornell University)|Dec 26, 2023
Topic ModelingComputer Science被引用数 47
ひとこと要約

本論文は、LLMs のプロンプト誘導をガイドする26の原則的な指示を提案し、慎重に作成されたプロンプトが LLaMA-1/2、GPT-3.5/4 を横断して応答の質と正確性を大幅に向上させることを示し、より大きなモデルほど利益を得やすい。

ABSTRACT

This paper introduces 26 guiding principles designed to streamline the process of querying and prompting large language models. Our goal is to simplify the underlying concepts of formulating questions for various scales of large language models, examining their abilities, and enhancing user comprehension on the behaviors of different scales of large language models when feeding into different prompts. Extensive experiments are conducted on LLaMA-1/2 (7B, 13B and 70B), GPT-3.5/4 to verify the effectiveness of the proposed principles on instructions and prompts design. We hope that this work can provide a better guide for researchers working on the prompting of large language models. Project page is available at https://github.com/VILA-Lab/ATLAS.

研究の動機と目的

  • 原則的プロンプティングがモデル規模を超えてLLMをより高品質な出力へと誘導し得ることを示す。
  • 明確さ、特異性、タスク整合性に影響を与えるプロンプティング原則を体系的に分類・検証する。
  • 多様なLLMに原則的プロンプトを適用した場合の応答品質と正確性の向上を定量化する。

提案手法

  • 5つのカテゴリ(プロンプト構造、特異性、ユーザーインタラクション、内容/スタイル、複雑なタスク)に分けた26のプロンプト原則を紹介する。
  • ATLAS ベンチマークを用いて、LLaMA-1/2(7B、13B、70B)と GPT-3.5/4 に対して、品質向上(Boosting)と正確性(Correctness)設定で原則を評価する。
  • 原則的プロンプトあり・なしでの応答を手動の人間評価で比較する。
  • モデル規模の効果を分析し、より大きなモデルほど利益を得ることを示す。
  • 再現性のためにATLASベンチマークと原則を含むプロジェクトページを提供する。
Figure 1: Illustration example of prompts and corresponding responses before and after applying principles. Left is the original promotes and their responses from GPT-4, right is the principled prompts and the associated responses. Principles 5 and 6 are utilized.
Figure 1: Illustration example of prompts and corresponding responses before and after applying principles. Left is the original promotes and their responses from GPT-4, right is the principled prompts and the associated responses. Principles 5 and 6 are utilized.

実験結果

リサーチクエスチョン

  • RQ1原則的プロンプトはモデル規模(7B、13B、70B、GPT-3.5/4)を横断してLLMの応答品質を向上させるか?
  • RQ2提案された26の原則は、異なるモデル間での出力の正確性と簡潔さにどう影響するか?
  • RQ3大規模モデルおよび複雑な推論タスクで最大の利益をもたらす原則はどれか?

主な発見

  • 原則的プロンプトは、小規模・中規模・大規模LLM全体で応答品質の顕著な改善をもたらす。
  • 大規模モデルは、いくつかの原則(2、5、15、16、25、26)で最も大きな改善を示す。
  • 原則14は適用したすべての質問の改善に寄与する。
  • 絶対的正確性は平均して約20–40%向上する。より大きなモデルは絶対正確性の利益が40%を超え、相対利益が20%以上になる場合がある。
  • 原則的プロンプトを適用すると、モデルを問わず平均で約50%の応答品質の改善が見られる。
  • GPT-4 の利点には、ATLASベンチマークで原則的プロンプトを用いた場合、品質が平均57.7%、正確性が36.4%向上するというものがある。
Figure 2: Boosting example of LLM response after using the principle 13 on prompts.
Figure 2: Boosting example of LLM response after using the principle 13 on prompts.

この論文を読む

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

Nubintでこの論文を読む

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