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

Decomposed Prompting: A Modular Approach for Solving Complex Tasks

计算机科学 任务(项目管理) 模块化设计 背景(考古学) 模块化(生物学) 编码(集合论) 领域(数学分析) 人工智能 灵活性(工程) 人机交互 理论计算机科学 程序设计语言 古生物学 遗传学 数学 管理 集合(抽象数据类型) 经济 生物 统计 数学分析
作者
Tushar Khot,Harsh Trivedi,Matthew Finlayson,Yao Fu,Kyle Richardson,Peter Clark,Ashish Sabharwal
出处
期刊:Cornell University - arXiv 被引量:64
标识
DOI:10.48550/arxiv.2210.02406
摘要

Few-shot prompting is a surprisingly powerful way to use Large Language Models (LLMs) to solve various tasks. However, this approach struggles as the task complexity increases or when the individual reasoning steps of the task themselves are hard to learn, especially when embedded in more complex tasks. To address this, we propose Decomposed Prompting, a new approach to solve complex tasks by decomposing them (via prompting) into simpler sub-tasks that can be delegated to a library of prompting-based LLMs dedicated to these sub-tasks. This modular structure allows each prompt to be optimized for its specific sub-task, further decomposed if necessary, and even easily replaced with more effective prompts, trained models, or symbolic functions if desired. We show that the flexibility and modularity of Decomposed Prompting allows it to outperform prior work on few-shot prompting using GPT3. On symbolic reasoning tasks, we can further decompose sub-tasks that are hard for LLMs into even simpler solvable sub-tasks. When the complexity comes from the input length, we can recursively decompose the task into the same task but with smaller inputs. We also evaluate our approach on textual multi-step reasoning tasks: on long-context multi-hop QA task, we can more effectively teach the sub-tasks via our separate sub-tasks prompts; and on open-domain multi-hop QA, we can incorporate a symbolic information retrieval within our decomposition framework, leading to improved performance on both tasks. Datasets, Code and Prompts available at https://github.com/allenai/DecomP.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
赴简发布了新的文献求助10
刚刚
珞珞发布了新的文献求助10
2秒前
落寞代桃完成签到 ,获得积分10
3秒前
6秒前
7秒前
7秒前
干净傲霜完成签到 ,获得积分10
8秒前
小呵点完成签到 ,获得积分0
8秒前
13秒前
xia发布了新的文献求助10
13秒前
14秒前
xttawy发布了新的文献求助10
16秒前
18秒前
lxl发布了新的文献求助10
20秒前
tyr001发布了新的文献求助10
21秒前
小小威廉发布了新的文献求助10
23秒前
无极微光应助xia采纳,获得250
23秒前
24秒前
卡布ChiNo发布了新的文献求助10
29秒前
呵呵完成签到 ,获得积分10
29秒前
小小威廉完成签到,获得积分10
30秒前
30秒前
31秒前
子非鱼发布了新的文献求助30
33秒前
阿泽完成签到,获得积分10
34秒前
CCsci发布了新的文献求助10
38秒前
tyr001完成签到,获得积分10
39秒前
调皮醉波完成签到 ,获得积分10
45秒前
humorlife完成签到,获得积分10
47秒前
现代的冰海完成签到,获得积分10
48秒前
zyyicu完成签到,获得积分10
49秒前
cx完成签到,获得积分10
51秒前
56秒前
完美世界应助科研通管家采纳,获得10
58秒前
脑洞疼应助科研通管家采纳,获得10
58秒前
58秒前
852应助科研通管家采纳,获得10
58秒前
无花果应助科研通管家采纳,获得30
58秒前
黑猫乾杯应助科研通管家采纳,获得10
58秒前
Owen应助科研通管家采纳,获得10
58秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Burger's Medicinal Chemistry, Drug Discovery and Development, Volumes 1 - 8, 8 Volume Set, 8th Edition 1800
Cronologia da história de Macau 1600
Netter collection Volume 9 Part I upper digestive tract及Part III Liver Biliary Pancreas 3rd 2024 的超高清PDF,大小约几百兆,不是几十兆版本的 1050
Current concept for improving treatment of prostate cancer based on combination of LH-RH agonists with other agents 1000
Research Handbook on the Law of the Sea 1000
Contemporary Debates in Epistemology (3rd Edition) 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 计算机科学 化学工程 生物化学 物理 复合材料 内科学 催化作用 物理化学 光电子学 细胞生物学 基因 电极 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6165465
求助须知:如何正确求助?哪些是违规求助? 7992994
关于积分的说明 16620544
捐赠科研通 5272050
什么是DOI,文献DOI怎么找? 2812776
邀请新用户注册赠送积分活动 1792733
关于科研通互助平台的介绍 1658660