[論文レビュー] Better Zero-Shot Reasoning with Role-Play Prompting
ロールプレイ・プロンプトは12のベンチマーク全体でゼロショット推論を改善し、多くの場合、ゼロショットおよびゼロショット-CoTのベースラインを上回る。これは、タスク特有の役割にモデルを没頭させる二段階のプロンプト設計を用いることによる。
Modern large language models (LLMs) exhibit a remarkable capacity for role-playing, enabling them to embody not only human characters but also non-human entities. This versatility allows them to simulate complex human-like interactions and behaviors within various contexts, as well as to emulate specific objects or systems. While these capabilities have enhanced user engagement and introduced novel modes of interaction, the influence of role-playing on LLMs' reasoning abilities remains underexplored. In this study, we introduce a strategically designed role-play prompting methodology and assess its performance under the zero-shot setting across twelve diverse reasoning benchmarks. Our empirical results illustrate that role-play prompting consistently surpasses the standard zero-shot approach across most datasets. Notably, in experiments conducted using ChatGPT, accuracy on AQuA rises from 53.5% to 63.8%, and on Last Letter from 23.8% to 84.2%.Upon further comparison with the Zero-Shot-CoT technique, which prompts the model to "think step by step", our study demonstrates that role-play prompting acts as a more effective trigger for the CoT process. This highlights its potential to augment the reasoning capabilities of LLMs. We release our code at https://github.com/NKU-HLT/Role-Play-Prompting.
研究の動機と目的
- LLM のゼロショット設定において、ロールプレイが推論を向上させるかを検討する。
- タスク特有の役割にモデルを没頭させる二段階のロールプレイ・プロンプティング・フレームワークを提案する。
- ChatGPT およびオープンソース LLM を用いて、12 の多様な推論ベンチマークで手法を評価する。
提案手法
- 二段階フレームワーク:ステージ1 はタスク特有のロールプレイ・プロンプトを構築、ステージ2 はそのロールに基づく回答を引き出す。
- Role-Setting Prompt は役割を定義し、Role-Feedback Prompt はモデルの応答をサンプリングしてロール没頭を深める。
- 複数の初回回答をサンプルして最適なロール没頭プロンプトを全質問に対して選択し、タスクごとに1回の API 呼び出しを可能にする。
- ロールプレイ・プロンプトとZero-ShotおよびZero-Shot-CoT ベースラインを複数データセットで比較する。
- アブレーション研究を通じて、プロンプト設計・ロール選択・プロンプト構造を評価し、最良の実践を特定する。
実験結果
リサーチクエスチョン
- RQ1ロールプレイ・プロンプティングは、算術・常識・記号的およびその他の推論タスクにおいてゼロショット推論性能を向上させるか。
- RQ2ロールプレイ・プロンプティングは、さまざまなデータセットで Zero-Shot-CoT を上回る暗黙のチェーン・オブ・ソート(CoT)のトリガーとなるか。
- RQ3プロンプト設計の選択肢(役割、没頭レベル、二回構造)は性能にどう影響するか。
- RQ4本手法は、ChatGPT、Llama 2、Vicuna などの異なるモデルやオープンソース LLM に対して頑健か。
主な発見
- ロールプレイ・プロンプトは 12 データセット中 10 においてゼロショットを上回る。
- 算術タスクでは 6 データセット中 4 で改善; 常識・記号的および他タスクのグループでは、それらのグループ内の全データセットでベースラインを上回る。
- Zero-Shot-CoT と比較して、ロールプレイ・プロンプティングは 12 データセット中 9 件でより高い精度を達成し、いくつかのケースで暗黙の CoT トリガーとして機能する。
- 没頭感のあるロール説明を伴う二回プロンプトが最も良い結果を生み、単一ラウンドプロンプトやより単純なプロンプトを上回る。
- 本手法はオープンソースモデル(Llama-2、Vicuna)および様々なサイズでの改善を示し、試験範囲内で普遍性とスケール非依存性を示唆する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。