[論文レビュー] ExpertPrompting: Instructing Large Language Models to be Distinguished Experts
本論文は ExpertPrompting を導入し、プロンプトを自動生成された専門家アイデンティティで補強して LLM からより高品質で専門家風の回答を引き出し、ExpertLLaMA というオープンソースのチャットアシスタントを訓練して ChatGPT の能力のおおよそ96%に到達する。
The answering quality of an aligned large language model (LLM) can be drastically improved if treated with proper crafting of prompts. In this paper, we propose ExpertPrompting to elicit the potential of LLMs to answer as distinguished experts. We first utilize In-Context Learning to automatically synthesize detailed and customized descriptions of the expert identity for each specific instruction, and then ask LLMs to provide answer conditioned on such agent background. Based on this augmented prompting strategy, we produce a new set of instruction-following data using GPT-3.5, and train a competitive open-source chat assistant called ExpertLLaMA. We employ GPT4-based evaluation to show that 1) the expert data is of significantly higher quality than vanilla answers, and 2) ExpertLLaMA outperforms existing open-source opponents and achieves 96\% of the original ChatGPT's capability. All data and the ExpertLLaMA model will be made publicly available at \url{https://github.com/OFA-Sys/ExpertLLaMA}.
研究の動機と目的
- 専門家風の prompting を用いて LLM の指示遵守品質を向上させる動機付け。
- コンテキスト内学習を通じて各指示に対する詳細な専門家アイデンティティを自動的に生成する方法を開発する。
- 専門家拡張データで訓練されたオープンソースの専門家強化チャットモデル(ExpertLLaMA)を作成・公開する。
提案手法
- 各指示 q に対して、k 個の exemplars を用いた in-context learning で専門的な専門家アイデンティティ e_q を生成する。
- 専門家アイデンティティを条件として LLM に input する: a_q = LLM(e_q, q) より高品質な回答 ~ã を生成する。
- オープン LLM(LLaMA 7B)を用いて、専門家拡張データ ã 上でチャットアシスタント ExpertLLaMA を訓練する。
- GPT-4 ベースの自動評価でデータ品質を評価し、ã 対 a を比較する。
- GPT-4 ベースの判断を用いて、ExpertLLaMA をオープンソースベースラインおよび ChatGPT と比較する。
- 再現性のためにデータとモデルを公開する。
実験結果
リサーチクエスチョン
- RQ1ExpertPrompting は Vanilla Prompt の回答より高品質な専門家拡張回答を生成するか?
- RQ2専門家拡張データで訓練されたオープンソースモデルは ChatGPT のようなクローズドソースシステムの性能に近づけるか?
- RQ3GPT-4 ベースの評価において、ExpertLLaMA は他のオープンソースチャットアシスタントとどう比較されるか?
主な発見
- ExpertPrompting は Vanilla Prompts より回答が長く、より総合的である(平均回答長で示される)。
- GPT-4 ベースの評価では、専門家拡張回答が Vanilla 回答より 48.5% のサンプルで優先され、Vanilla は 23%、品質が高いことを示す。
- ExpertLLaMA は Alpaca、Vicuna、LLaMA-GPT4 ベースのベースラインを上回り、評価において ChatGPT の能力の約 96% を達成する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。