Skip to main content
QUICK REVIEW

[論文レビュー] On the Brittle Foundations of ReAct Prompting for Agentic Large Language Models

Mudit Verma, Siddhant Bhambri|arXiv (Cornell University)|May 22, 2024
Topic ModelingComputer Science被引用数 5
ひとこと要約

本論文は、ReActの見かけ上の推論利点は主に exemplar-query の類似性と検索に類似した効果に由来し、思考と行動を交互に行うことから生じていないことを示す;ReActはプロンプトの変化や exemplar の選択に対して脆弱である。

ABSTRACT

The reasoning abilities of Large Language Models (LLMs) remain a topic of debate. Some methods such as ReAct-based prompting, have gained popularity for claiming to enhance sequential decision-making abilities of agentic LLMs. However, it is unclear what is the source of improvement in LLM reasoning with ReAct based prompting. In this paper we examine these claims of ReAct based prompting in improving agentic LLMs for sequential decision-making. By introducing systematic variations to the input prompt we perform a sensitivity analysis along the claims of ReAct and find that the performance is minimally influenced by the "interleaving reasoning trace with action execution" or the content of the generated reasoning traces in ReAct, contrary to original claims and common usage. Instead, the performance of LLMs is driven by the similarity between input example tasks and queries, implicitly forcing the prompt designer to provide instance-specific examples which significantly increases the cognitive burden on the human. Our investigation shows that the perceived reasoning abilities of LLMs stem from the exemplar-query similarity and approximate retrieval rather than any inherent reasoning abilities.

研究の動機と目的

  • 思考経路を行動と交互に配置することが、逐次決定タスクにおけるReActベースのLLMエージェントの性能を改善するかを調査する。
  • 推論ガイダンスの性質と内容がエージェントの性能にどう影響するかを評価する。
  • AlfWorld内のタスク全体で、プロンプトの例とクエリ間の exemplar類似性が性能にどのように影響するかを検証する。
  • 実世界ドメインにおける exemplarベースのプロンプト設計の実用性と拡張性を判断する。

提案手法

  • 思考ガイダンスの配置、思考ガイダンスの内容/スタイル、 exemplar問題とクエリの類似性という三つの次元に沿って、入力プロンプトの体系的な変動を行う。
  • 複数のLLM(GPT-3.5-turbo、GPT-3.5-instruct、GPT-4、Claude-Opus)を用いた AlfWorld ドメインで感度分析を実施する。
  • think-actionの交互配置の変動を集計してRQ1を評価する(例:統合されたthinkタグ vs 交互 Trace)。
  • thinkタグに対して異なるガイダンスタイプ(failure、failure+explanation、ordering、placebo)を置換してRQ2を評価する。
  • exemplar-domain、instance、task-similarityを変化させ(Domain/Instance/Optimal/All/One/Both/Various)、性能を測定してRQ3を評価する。
  • 6つの AlfWorld タスクと複数のモデルにわたる平均成功率の結果を報告する。
Figure 1: An example of ReAct in AlfWorld. We highlight the main components of ReAct, i.e., Interleaved reasoning and acting, the reasoning trace / plan guidance and the example and query task.
Figure 1: An example of ReAct in AlfWorld. We highlight the main components of ReAct, i.e., Interleaved reasoning and acting, the reasoning trace / plan guidance and the example and query task.

実験結果

リサーチクエスチョン

  • RQ1RQ1: 推論トレースを行動実行と交互に配置することは性能に影響するか?
  • RQ2RQ2: 推論トレース/ガイドの性質や内容は性能にどう影響するか?
  • RQ3RQ3: exemplar-例のクエリへの類似性は性能にどう影響するか?

主な発見

  • 思考トレースを行動と交互に配置することは必須ではない。thinkタグを統合または匿名化した場合、同等かそれ以上の性能が示されるという証拠がある。
  • 過去の結果を使う hindsight やプラセボなど、弱いまたは無関係なガイダンスでも、複数のモデルで元のReAct性能と同等かそれを上回る可能性がある。これにより、タスク固有の推論トレースの必然性が疑問視される。
  • exemplarプロンプトがクエリタスクと異なると性能が著しく低下し、 exemplar-クエリ類似性への強い依存を示す。
  • 同義語、インスタンスレベルの変更、タスク横断の exemplar などの変動は、複数のモデルで著しい低下を引き起こし、ReActプロンプトの脆弱性を示している。
  • 全体として、 exemplar類似性と文脈からの概近い検索が、固有の推論ではなく、観測された性能向上の主因である。より大きく多様な exemplar セットが改善を保証するわけではない。
Figure 2: Example of prompt variations considered for RQ1 and RQ2.
Figure 2: Example of prompt variations considered for RQ1 and RQ2.

この論文を読む

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

Nubintでこの論文を読む

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