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]
被引量:557
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
可可完成签到,获得积分20
刚刚
欣慰易梦完成签到,获得积分10
1秒前
1秒前
姜姜姜姜完成签到,获得积分10
2秒前
2秒前
purist完成签到,获得积分10
3秒前
3秒前
科研通AI6.4应助隔壁沐沐采纳,获得10
4秒前
4秒前
4秒前
Pa1mary发布了新的文献求助10
5秒前
Jasper应助zzz采纳,获得10
5秒前
狗熊岭的熊三三完成签到,获得积分10
6秒前
8秒前
huhdcid发布了新的文献求助10
8秒前
Stride完成签到,获得积分10
8秒前
8秒前
10秒前
炙热从蕾发布了新的文献求助10
10秒前
11秒前
11秒前
11秒前
Gunsad完成签到,获得积分10
12秒前
Bo完成签到,获得积分10
12秒前
12秒前
13秒前
zyw发布了新的文献求助10
14秒前
小二郎应助Pa1mary采纳,获得10
14秒前
潺潺流水发布了新的文献求助10
14秒前
小马甲应助贪玩的寻冬采纳,获得10
14秒前
尊敬的芷卉完成签到,获得积分10
15秒前
syx发布了新的文献求助10
15秒前
大熊完成签到,获得积分10
16秒前
17秒前
11发布了新的文献求助10
17秒前
18秒前
坤桑完成签到 ,获得积分10
18秒前
猜不猜不发布了新的文献求助10
18秒前
18秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Arthritis and Related Conditions, An Issue of Orthopedic Clinics 1000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7287107
求助须知:如何正确求助?哪些是违规求助? 8907088
关于积分的说明 18849872
捐赠科研通 6956155
什么是DOI,文献DOI怎么找? 3208471
关于科研通互助平台的介绍 2378480
邀请新用户注册赠送积分活动 2184203