[论文解读] On the Brittle Foundations of ReAct Prompting for Agentic Large Language Models
论文显示 ReAct 的表观推理收益主要来自示例-查询相似性和检索般效应,而不是交错思考;ReAct 对提示变体和示例选择较为脆弱。
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 各任务上的表现影响。
- 确定基于示例的提示设计在现实世界领域中的实用性与可扩展性。
提出的方法
- 在三个维度上对输入提示进行系统变体:思考指引的放置位置、思考指引的内容/风格,以及示例问题与查询之间的相似性。
- 使用 AlfWorld 域对多种大语言模型(GPT-3.5-turbo、GPT-3.5-instruct、GPT-4、Claude-Opus)进行灵敏度分析。
- 通过聚合思考-行动交错变体来评估 RQ1(如整合思考标签与交错痕迹的比较)。
- 通过替换不同的指引类型(失败、失败+解释、排序、安慰剂)来评估 RQ2 的思考标签。
- 通过改变 exemplar-domain、instance、task-similarity(Domain/Instance/Optimal/All/One/Both/Various)来评估并衡量表现。
- 报告在六个 AlfWorld 任务和多种模型上的平均成功率结果。

实验结果
研究问题
- RQ1RQ1:性能是否取决于将思考痕迹与行动执行交错?
- RQ2RQ2:推理痕迹/指引的性质或内容如何影响性能?
- RQ3RQ3:示例与查询之间的相似性如何影响性能?
主要发现
- 将推理痕迹与行动交错并非必要;证据表明当思考标签被整合或匿名化时,性能相似甚至更好。
- 较弱或无关的指引(事后见解或安慰剂)在多种模型中可达到甚至超过基线 ReAct 的性能,挑战了任务特定推理痕迹的必要性。
- 当 exemplar 提示与查询任务不同,性能显著下降,表明对 exemplar-query 相似性的强依赖。
- 诸如同义词、实例级变动或跨任务示例等变体在多种模型中导致明显下降,表明 ReAct 提示的脆弱性。
- 总体而言,示例相似性和从上下文的近似检索,而非内在推理,是观察到的性能提升的主要驱动因素;更大、更多样化的示例集并不能保证改进。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。