decomposition prompting
**Decomposition prompting** is the **prompt-engineering approach that explicitly partitions a complex request into smaller sub-questions before synthesis** - it improves controllability and modular reasoning quality.
**What Is Decomposition prompting?**
- **Definition**: Prompt pattern that asks the model to split a task into distinct solvable components.
- **Execution Modes**: Single-model staged reasoning or multi-agent and tool-assisted subtask pipelines.
- **Output Structure**: Typically includes subtask list, intermediate answers, and integrated final response.
- **Use Cases**: Complex analysis, planning tasks, and multi-constraint decision support.
**Why Decomposition prompting Matters**
- **Reasoning Clarity**: Makes dependencies explicit and reduces hidden assumption jumps.
- **Modular Verification**: Intermediate outputs can be checked before final synthesis.
- **Scalability**: Enables routing different subtasks to optimized prompts or external tools.
- **Error Containment**: Isolates failure to specific subcomponents instead of whole-answer collapse.
- **Maintainability**: Easier prompt iteration when task logic is modularized.
**How It Is Used in Practice**
- **Task Partition Rules**: Define decomposition granularity and dependency boundaries.
- **Intermediate Validation**: Apply checks on each sub-answer for consistency and completeness.
- **Synthesis Constraints**: Require final answer to reference resolved sub-results explicitly.
Decomposition prompting is **a foundational control technique for complex LLM workflows** - structured task splitting improves reasoning quality, debuggability, and integration with broader toolchains.