Papers › Divide-or-Conquer? Which Part Should You Distill Your LLM?

Divide-or-Conquer? Which Part Should You Distill Your LLM?

22 Feb 2024arXiv:2402.15000archive 2025-07-28

Zhuofeng Wu, He Bai, Aonan Zhang, Jiatao Gu, VG Vinod Vydiswaran, Navdeep Jaitly, Yizhe Zhang

Recent methods have demonstrated that Large Language Models (LLMs) can solve reasoning tasks better when they are encouraged to solve subtasks of the main task first. In this paper we devise a similar strategy that breaks down reasoning tasks into a problem decomposition phase and a problem solving phase and show that the strategy is able to outperform a single stage solution. Further, we hypothesize that the decomposition should be easier to distill into a smaller model compared to the problem solving because the latter requires large amounts of domain knowledge while the former only requires learning general problem solving strategies. We propose methods to distill these two capabilities and evaluate their impact on reasoning outcomes and inference cost. We find that we can distill the problem decomposition phase and at the same time achieve good generalization across tasks, datasets, and models. However, it is harder to distill the problem solving capability without losing performance and the resulting distilled model struggles with generalization. These results indicate that by using smaller, distilled problem decomposition models in combination with problem solving LLMs we can achieve reasoning with cost-efficient inference and local adaptation.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.15000")

Code

Syntology Ran 9 of 11 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 9 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

apple/ml-divide-or-conquer officialmentioned on GitHubNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 9 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9ran
2unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from apple/ml-divide-or-conquer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_commas apple/ml-divide-or-conquer/evaluation/evaluation_bamb.py official repository ran licence not identified · pointer only · d7448dc053a1ef8d · report
answer_json_to_strings apple/ml-divide-or-conquer/rejection_sampling/newselect_correct_chain_bamb.py official repository ran licence not identified · pointer only · 5d3f431e818da5b0 · report
completion_with_backoff apple/ml-divide-or-conquer/run_bamb.py official repository ran licence not identified · pointer only · d53d01a2020004ed · report
extract_answer apple/ml-divide-or-conquer/evaluation/evaluation.py official repository ran fingerprinted licence not identified · pointer only · 2c7f4d404b0a3c5b · report
extract_answer apple/ml-divide-or-conquer/evaluation/evaluation_bamb.py official repository ran fingerprinted licence not identified · pointer only · 9efb8ade48dbb583 · report
extract_subqs apple/ml-divide-or-conquer/rejection_sampling/newselect_correct_chain_bamb.py official repository ran licence not identified · pointer only · 7e43b23b830e1fbb · report
get_last_line apple/ml-divide-or-conquer/run_gsm+drop.py official repository ran fingerprinted licence not identified · pointer only · cd8b6cb7b70c5349 · report
purify_preds apple/ml-divide-or-conquer/evaluation/evaluation_bamb.py official repository ran fingerprinted licence not identified · pointer only · ec6139a4c80e69cb · report
remove_space apple/ml-divide-or-conquer/rejection_sampling/newselect_correct_chain_bamb.py official repository ran fingerprinted licence not identified · pointer only · 4582ae4b3e09b21d · report
ChatGPT_universal_paraphrase apple/ml-divide-or-conquer/run_bamb.py official repository unverified licence not identified · pointer only · 744090310d6e2276 · report
promptf apple/ml-divide-or-conquer/run_bamb.py official repository unverified licence not identified · pointer only · d06a7fdfa5a8b35d · report

Tasks

Problem Decomposition

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections