Decomposed Prompting: A Modular Approach for Solving Complex Tasks
Tushar Khot, Harsh Trivedi, Matthew Finlayson, Yao Fu, Kyle, Richardson, Peter Clark, Ashish Sabharwal

TL;DR
Decomposed Prompting introduces a modular prompting framework that decomposes complex tasks into simpler sub-tasks, enabling better performance and flexibility in large language model applications across reasoning and question-answering tasks.
Contribution
This work presents a novel modular prompting approach that decomposes complex tasks into sub-tasks, improving performance and adaptability over traditional few-shot prompting methods.
Findings
Outperforms prior few-shot prompting on GPT-3.
Effectively decomposes symbolic reasoning tasks into simpler sub-tasks.
Enhances multi-hop QA performance with task decomposition.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Text Readability and Simplification
MethodsLib
