亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Reflexion: language agents with verbal reinforcement learning

心理学 认知心理学 计算机科学 钢筋 强化学习 语言习得 人工智能 非语言交际 控制(管理) 社会心理学 沟通 自然语言处理 动作(物理) 认知科学
作者
Noah Shinn,Federico Cassano,Ashwin Gopinath,Karthik Narasimhan,Shunyu Yao
出处
期刊: [Neural Information Processing Systems Foundation]
卷期号:: 8634-8652 被引量:3358
标识
DOI:10.52202/075280-0377
摘要

Large language models (LLMs) have been increasingly used to interact with external environments (e.g., games, compilers, APIs) as goal-driven agents. However, it remains challenging for these language agents to quickly and efficiently learn from trial-and-error as traditional reinforcement learning methods require extensive training samples and expensive model fine-tuning. We propose Reflexion, a novel framework to reinforce language agents not by updating weights, but instead through linguistic feedback. Concretely, Reflexion agents verbally reflect on task feedback signals, then maintain their own reflective text in an episodic memory buffer to induce better decision-making in subsequent trials. Reflexion is flexible enough to incorporate various types (scalar values or free-form language) and sources (external or internally simulated) of feedback signals, and obtains significant improvements over a baseline agent across diverse tasks (sequential decision-making, coding, language reasoning). For example, Reflexion achieves a 91% pass@1 accuracy on the HumanEval coding benchmark, surpassing the previous state-of-the-art GPT-4 that achieves 80%. We also conduct ablation and analysis studies using different feedback signals, feedback incorporation methods, and agent types, and provide insights into how they affect performance.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
null的应助被科研通管家采纳,获得10
刚刚
刚刚
1秒前
2秒前
3秒前
3秒前
3秒前
heyecao22发布了新的文献求助20
5秒前
老实映菱完成签到,获得积分10
6秒前
8秒前
9秒前
10秒前
10秒前
11秒前
11秒前
11秒前
13秒前
13秒前
15秒前
17秒前
17秒前
18秒前
纯情的阁发布了新的文献求助10
19秒前
纯情的阁发布了新的文献求助10
19秒前
纯情的阁发布了新的文献求助10
19秒前
19秒前
纯情的阁发布了新的文献求助10
20秒前
20秒前
21秒前
纯情的阁发布了新的文献求助10
22秒前
22秒前
纯情的阁发布了新的文献求助10
22秒前
纯情的阁发布了新的文献求助10
22秒前
纯情的阁发布了新的文献求助10
23秒前
纯情的阁发布了新的文献求助10
23秒前
24秒前
纯情的阁发布了新的文献求助10
24秒前
24秒前
纯情的阁发布了新的文献求助10
25秒前
纯情的阁发布了新的文献求助10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1500
The World Atlas of Wine 9th edition 1000
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
John McDowells Bildungstheorie 800
八旗制度の研究 600
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8158751
求助须知:如何正确求助?哪些是违规求助? 9554476
关于积分的说明 21719285
捐赠科研通 7748357
什么是DOI,文献DOI怎么找? 3427080
关于科研通互助平台的介绍 2551971
邀请新用户注册赠送积分活动 2471339