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)|2024. 05. 22.
Topic ModelingComputer Science인용 수 5
한 줄 요약

이 논문은 ReAct의 명백한 추론 이점이 주로 exemplar-query 유사성과 retrieval-like 효과에서 비롯되며, interleaved thinking에서 비롯된 것이 아님을 보여주며; 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.

연구 동기 및 목표

  • Investigate whether interleaving reasoning traces with actions improves ReAct-based LLM agents on sequential decision tasks.
  • Assess how the nature and content of reasoning guidance affect agent performance.
  • Examine how exemplar similarity between prompt examples and the query influences performance across tasks within AlfWorld.
  • Determine the practicality and scalability of exemplar-based prompt design for real-world domains.

제안 방법

  • Systematic variations of input prompts along three dimensions: placement of the think guidance, content/style of the think guidance, and similarity between exemplar problems and the query.
  • Conduct sensitivity analyses using AlfWorld domain with multiple LLMs (GPT-3.5-turbo, GPT-3.5-instruct, GPT-4, Claude-Opus).
  • Evaluate RQ1 by aggregating think-action interleaving variations (e.g., consolidated think tags vs interleaved traces).
  • Evaluate RQ2 by substituting different guidance types (failure, failure+explanation, ordering, placebo) for the think tag.
  • Evaluate RQ3 by varying exemplar-domain, instance, and task-similarity (Domain/Instance/Optimal/All/One/Both/Various) and measuring performance.
  • Report results on average success rates across six AlfWorld tasks and multiple models.
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: Does performance depend on interleaving think traces with action execution?
  • RQ2RQ2: How does the nature or content of the reasoning trace/guide affect performance?
  • RQ3RQ3: How does exemplar-example similarity to the query influence performance?

주요 결과

  • Interleaving reasoning traces with actions is not essential; evidence shows similar or better performance when think tags are consolidated or anonymized.
  • Weaker or irrelevant guidance (hindsight or placebo) can match or exceed the base ReAct performance across several models, challenging the necessity of task-specific reasoning traces.
  • Performance significantly degrades when exemplar prompts differ from the query task, demonstrating strong dependence on exemplar-query similarity.
  • Variations like synonyms, instance-level changes, or cross-task exemplars cause pronounced drops in several models, indicating brittleness of ReAct prompts.
  • Overall, exemplar similarity and approximate retrieval from context, not intrinsic reasoning, largely drive observed performance gains; larger, more varied exemplar sets do not guarantee improvements.
Figure 2: Example of prompt variations considered for RQ1 and RQ2.
Figure 2: Example of prompt variations considered for RQ1 and RQ2.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.