ReAct: Synergizing Reasoning and Acting in Language Models

计算机科学 可解释性 背景(考古学) 动作(物理) 任务(项目管理) 模仿 人工智能 语言模型 自然语言处理 认知科学 人机交互 心理学 管理 经济 古生物学 物理 生物 社会心理学 量子力学
作者
Yao, Shunyu,Jeffrey W. Zhao,Dian Yu,Nan Du,Izhak Shafran J,Karthik Narasimhan,Yuan Cao
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:5849
标识
DOI:10.48550/arxiv.2210.03629
摘要

While large language models (LLMs) have demonstrated impressive capabilities across tasks in language understanding and interactive decision making, their abilities for reasoning (e.g. chain-of-thought prompting) and acting (e.g. action plan generation) have primarily been studied as separate topics. In this paper, we explore the use of LLMs to generate both reasoning traces and task-specific actions in an interleaved manner, allowing for greater synergy between the two: reasoning traces help the model induce, track, and update action plans as well as handle exceptions, while actions allow it to interface with external sources, such as knowledge bases or environments, to gather additional information. We apply our approach, named ReAct, to a diverse set of language and decision making tasks and demonstrate its effectiveness over state-of-the-art baselines, as well as improved human interpretability and trustworthiness over methods without reasoning or acting components. Concretely, on question answering (HotpotQA) and fact verification (Fever), ReAct overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API, and generates human-like task-solving trajectories that are more interpretable than baselines without reasoning traces. On two interactive decision making benchmarks (ALFWorld and WebShop), ReAct outperforms imitation and reinforcement learning methods by an absolute success rate of 34% and 10% respectively, while being prompted with only one or two in-context examples. Project site with code: https://react-lm.github.io
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
屈奕发布了新的文献求助10
刚刚
天天快乐的应助被Free采纳,获得10
1秒前
勤劳的惊蛰完成签到,获得积分10
1秒前
东起欧发布了新的文献求助10
1秒前
小林完成签到,获得积分10
1秒前
月123完成签到 ,获得积分10
1秒前
Sonder发布了新的文献求助10
2秒前
MM完成签到 ,获得积分10
2秒前
咸鱼完成签到 ,获得积分10
3秒前
4秒前
李爱国的应助被平常马里奥采纳,获得10
5秒前
6秒前
JamesPei的应助被缓慢采柳采纳,获得10
6秒前
6秒前
ErkangQin完成签到,获得积分10
7秒前
7秒前
羲禾发布了新的文献求助10
7秒前
王木木发布了新的文献求助10
7秒前
喵呜发布了新的文献求助10
7秒前
8秒前
8秒前
深情安青的应助被高高采纳,获得10
8秒前
Akim的应助被肖龙新采纳,获得10
8秒前
8秒前
风吹麦浪的应助被Ceremony1718采纳,获得10
9秒前
9秒前
as完成签到,获得积分10
10秒前
王兵发布了新的文献求助10
10秒前
10秒前
大个的应助被容易记采纳,获得10
11秒前
11秒前
熙桉发布了新的文献求助10
12秒前
连接服务器失败完成签到,获得积分10
12秒前
13秒前
13秒前
Lucky发布了新的文献求助10
14秒前
14秒前
zxy完成签到,获得积分10
15秒前
欣怡高发布了新的文献求助10
15秒前
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 600
Cellulose and Cellulose Derivatives: Synthesis, Modification and Applications 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8141457
求助须知:如何正确求助?哪些是违规求助? 9541298
关于积分的说明 21645367
捐赠科研通 7725533
什么是DOI,文献DOI怎么找? 3421354
关于科研通互助平台的介绍 2546516
邀请新用户注册赠送积分活动 2463571