Skip to main content
QUICK REVIEW

[Paper Review] An Examination on the Effectiveness of Divide-and-Conquer Prompting in Large Language Models

Yizhou Zhang, Lun Du|arXiv (Cornell University)|Feb 8, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes Divide-and-Conquer (DaC) prompting to enhance large language models' (LLMs) reasoning in tasks with repetitive sub-tasks or deceptive content by explicitly separating task decomposition, sub-task resolution, and solution assembly. The method improves performance over CoT, LtM, and other baselines—especially in hallucination and misinformation detection—by reducing intermediate errors and increasing expressive power beyond standard Transformers.

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.

Motivation & Objective

  • To address intermediate errors and hallucinations in LLMs when solving tasks with repetitive sub-tasks or deceptive content.
  • To overcome the limitations of intertwined prompting strategies like Chain-of-Thought (CoT), which mix decomposition and resolution during autoregressive decoding.
  • To improve expressive power beyond fixed-depth Transformers by structuring reasoning as a Divide-and-Conquer program.
  • To enable more reliable and controllable problem solving by explicitly separating sub-task generation from resolution and solution merging.
  • To evaluate the method on tasks like large integer multiplication, hallucination detection, and article-level misinformation detection.

Proposed method

  • The method introduces a three-stage pipeline: (1) task decomposition into disjoint or minimally overlapping sub-tasks, (2) parallel resolution of each sub-task using LLMs, and (3) assembly of individual resolutions into a final answer.
  • It uses a program-guided prompting framework that explicitly separates decomposition from resolution, enabling human or agent-level control over sub-task generation.
  • The approach disentangles the processes of sub-task creation, resolution, and aggregation, reducing interference and intermediate error propagation.
  • It leverages the algorithmic structure of Divide-and-Conquer to improve expressive power, theoretically surpassing the limitations of fixed-depth logspace-uniform threshold circuits in Transformers.
  • The method is applied to tasks such as large integer multiplication and misinformation detection by decomposing inputs into sentences or claims and resolving them independently.
  • Evaluation uses F1, G-Mean, precision, and recall—avoiding accuracy due to class imbalance in deceptive content detection.

Experimental results

Research questions

  • RQ1Can a disentangled prompting strategy that separates task decomposition from resolution reduce intermediate errors in LLMs?
  • RQ2Does guiding LLMs with a Divide-and-Conquer program improve performance on tasks involving repetitive sub-tasks or deceptive content?
  • RQ3How does the expressive power of DaC compare to that of standard prompting methods like CoT and LtM?
  • RQ4Can DaC outperform existing program-guided prompting strategies in hallucination and misinformation detection tasks?
  • RQ5What are the limitations of DaC in terms of applicability to different types of reasoning tasks?

Key findings

  • GPT-3.5 with DaC outperformed GPT-4 using IO-prompting, CoT, CoT-SC, and LtM in misinformation detection, particularly due to higher recall and reduced susceptibility to deception.
  • DaC achieved better F1 and G-Mean scores than all baselines, including Tree-of-Thoughts, on article-level misinformation detection, despite ToT’s advantage in exploration.
  • CoT-SC performed worse than CoT on GPT-4, indicating that exploration-based refinement may not be robust under deceptive inputs, highlighting the fragility of incremental prompting.
  • The method demonstrated superior performance in large integer multiplication, where repetitive sub-tasks and error accumulation are common.
  • Theoretically, DaC enables LLMs to surpass the expressive power of fixed-depth Transformers by modeling recursive decomposition and resolution.
  • DaC’s explicit sub-task enumeration prevents missing critical components, unlike CoT, where sub-tasks are implicitly generated during autoregressive decoding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.