An Examination on the Effectiveness of Divide-and-Conquer Prompting in Large Language Models
Yizhou Zhang, Lun Du, Defu Cao, Qiang Fu, Yan Liu
TL;DR
The paper analyzes divide-and-conquer prompting (DaC) for large language models, deriving a theoretical framework that situates DaC as more expressive than IO prompting ($S(IO) \subseteq TC^0 \subseteq NC^1 \subseteq S(DaC)$) while being subsumed by CoT in general ($S(DaC) \subseteq S(CoT)$). It further argues that DaC can reduce decoding context length for tasks with many parallel sub-tasks, potentially lowering intermediate errors. Empirically, DaC outperforms baselines on long integer multiplication and article-level fact verification, while showing limited gains on simple additions; hallmarks include improved recall in hallucination and misinformation detection compared to CoT-based methods. The work offers concrete conditions for when DaC is advantageous and provides guidance for prompt engineering in long-context or deceptive-content tasks, along with a framework for extending DaC to new domains.
Abstract
Foundation models, such as Large language Models (LLMs), have attracted significant amount of interest due to their large number of applications. However, when handling tasks involving repetitive sub-tasks and/or deceptive contents, such as arithmetic calculation and article-level fake news detection, simple instructional prompts suffer from inaccurate responses. Existing works show that more complicated prompting strategies, such as Chain-of-Thoughts and Least-to-Most, can unlock LLM's powerful capacity in diverse areas. Recent researches reveal that simple divide-and-conquer prompting strategy, i.e. simply dividing the input sequence to multiple sub-inputs, can also substantially improve LLM's performance in some specific tasks such as misinformation detection. In this paper, we aim at examining the utility of divide-and-conquer prompting strategy and answer on which kind of tasks this strategy gets advantages. Specifically, we provide a theoretic analysis to divide-and-conquer prompting strategy and help us identify the specific tasks where DaC prompting can bring performance boost with theoretic guarantee. We then present two cases (large integer arithmetic and fact verification) where experimental results aligns with our theoretic analysis.
