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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
刚刚
神经元neuron完成签到,获得积分10
1秒前
111发布了新的文献求助10
1秒前
科研通AI6.2应助zhou采纳,获得10
1秒前
树下友人完成签到,获得积分10
2秒前
隐形曼青应助明毓采纳,获得10
2秒前
芝士牛堡完成签到,获得积分10
3秒前
3秒前
3秒前
3秒前
huhuiya发布了新的文献求助10
4秒前
4秒前
5秒前
顾矜应助刘星星采纳,获得10
5秒前
5秒前
小蘑菇应助listen采纳,获得10
6秒前
科研通AI2S应助眼睫毛采纳,获得10
6秒前
上官若男应助xaaaa采纳,获得10
7秒前
俭朴发布了新的文献求助10
7秒前
香蕉觅云应助xaaaa采纳,获得10
7秒前
桐桐应助xaaaa采纳,获得10
7秒前
omega发布了新的文献求助10
7秒前
Ava应助小海螺采纳,获得10
7秒前
Lucas应助水解小博采纳,获得10
7秒前
我是老大应助xaaaa采纳,获得30
7秒前
远方发布了新的文献求助10
7秒前
JefferyXKTL发布了新的文献求助10
7秒前
7秒前
完美世界应助xaaaa采纳,获得10
7秒前
123发布了新的文献求助10
7秒前
7秒前
鲁啊鲁完成签到 ,获得积分10
7秒前
会变成光的怪兽完成签到,获得积分10
8秒前
wzm完成签到,获得积分10
8秒前
酷酷三问发布了新的文献求助10
9秒前
G浅浅完成签到,获得积分10
9秒前
10秒前
何必虚伪吖应助逗逗采纳,获得10
10秒前
高分求助中
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小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7286505
求助须知:如何正确求助?哪些是违规求助? 8906814
关于积分的说明 18848445
捐赠科研通 6955789
什么是DOI,文献DOI怎么找? 3208373
关于科研通互助平台的介绍 2378394
邀请新用户注册赠送积分活动 2184051