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

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

回溯 计算机科学 安全性令牌 推论 树(集合论) 人工智能 编码(集合论) 航程(航空) 动作(物理) 语言模型 认知科学 理论计算机科学 心理学 程序设计语言 计算机安全 数学 数学分析 材料科学 物理 集合(抽象数据类型) 量子力学 复合材料
作者
Shunyu Yao,Dian Yu,Jeffrey Zhao,Izhak Shafran,Thomas L. Griffiths,Yuan Cao,Karthik Narasimhan
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:572
标识
DOI:10.48550/arxiv.2305.10601
摘要

Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking ahead or backtracking when necessary to make global choices. Our experiments show that ToT significantly enhances language models' problem-solving abilities on three novel tasks requiring non-trivial planning or search: Game of 24, Creative Writing, and Mini Crosswords. For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved 4% of tasks, our method achieved a success rate of 74%. Code repo with all prompts: https://github.com/princeton-nlp/tree-of-thought-llm.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
yoqalux发布了新的文献求助30
8秒前
阔达的芹菜完成签到,获得积分10
14秒前
完美的睿渊完成签到,获得积分10
14秒前
无极微光应助yoqalux采纳,获得30
16秒前
雪上一枝蒿完成签到,获得积分10
47秒前
54秒前
英俊的铭应助人民大救星采纳,获得10
58秒前
坦率寻菡完成签到,获得积分10
1分钟前
桃花源的瓶起子完成签到 ,获得积分10
1分钟前
鲜艳的雪曼完成签到,获得积分10
1分钟前
1分钟前
周娅敏发布了新的文献求助10
1分钟前
ping发布了新的文献求助10
1分钟前
1分钟前
qingzx完成签到,获得积分20
1分钟前
null应助初景采纳,获得10
1分钟前
1分钟前
愉快初曼完成签到,获得积分10
1分钟前
大模型应助qingzx采纳,获得10
1分钟前
犹豫静白完成签到,获得积分10
1分钟前
喜悦桥发布了新的文献求助30
2分钟前
周娅敏完成签到,获得积分10
2分钟前
2分钟前
周娅敏关注了科研通微信公众号
2分钟前
2分钟前
qingzx发布了新的文献求助10
2分钟前
心无杂念完成签到 ,获得积分10
2分钟前
2分钟前
狂野冰蓝完成签到,获得积分10
2分钟前
AiQi完成签到 ,获得积分10
2分钟前
开朗的雪瑶完成签到,获得积分10
3分钟前
3分钟前
时尚的飞阳完成签到,获得积分10
3分钟前
标致的大船完成签到,获得积分10
3分钟前
cy0824完成签到 ,获得积分10
4分钟前
gtgyh完成签到 ,获得积分10
4分钟前
4分钟前
怕黑的妖丽完成签到,获得积分10
4分钟前
Criminology34应助Ggap1采纳,获得10
4分钟前
沉默的黎昕完成签到,获得积分10
4分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Nine new races of Peronospora manshurica found on soybeans in the Midwest 1000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 600
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Eudora Welty and Modern Media 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7772500
求助须知:如何正确求助?哪些是违规求助? 9314784
关于积分的说明 20339928
捐赠科研通 7357908
什么是DOI,文献DOI怎么找? 3316947
关于科研通互助平台的介绍 2465486
邀请新用户注册赠送积分活动 2331952