Divide-or-Conquer? Which Part Should You Distill Your LLM?
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.
65dc01a3bda21d181bf6ea3d
Zhuofeng Wu
claimed_verified
2024-02-26T21:09:43.758Z
63c75671656e7822e23df874
/avatars/6fbe669287405b2b47cafcf4961cfa75.svg
Zhuofeng Wu
user
cserxy
65dc01a3bda21d181bf6ea3e
He Bai
claimed_verified
2024-02-26T21:09:46.303Z
5f024bd8ff69163f6f59e775
https://cdn-avatars.huggingface.co/v1/production/uploads/1652111948107-5f024bd8ff69163f6f59e775.png
Richard He Bai
user
richardbaihe
65dc01a3bda21d181bf6ea3f
Aonan Zhang
claimed_verified
2024-03-16T10:37:22.872Z
65f3e68a138c6ab771434e2d
/avatars/7bfbdb1949f73b3d8f88ae2ff73900bb.svg
Aonan Zhang
user
AonanZhang
65dc01a3bda21d181bf6ea40
Jiatao Gu
admin_assigned
2024-02-26T11:13:07.272Z
6164e72d73996c363c52e66d
https://cdn-avatars.huggingface.co/v1/production/uploads/1634002684894-noauth.png
Jiatao Gu
user
thomagram
65dc01a3bda21d181bf6ea41
VG Vinod Vydiswaran
65dc01a3bda21d181bf6ea42
Navdeep Jaitly
admin_assigned
2024-02-26T11:13:18.818Z
631119df88942700629f4aab
/avatars/251c20a8fd48831a8c0cc0d198a42455.svg
Navdeep Jaitly
user
ndjaitly
65dc01a3bda21d181bf6ea43
Yizhe Zhang
admin_assigned
2024-02-26T11:14:09.471Z
5e64858c87403103f9f1055d
https://cdn-avatars.huggingface.co/v1/production/uploads/5dd96eb166059660ed1ee413/96-oNO2OLVkAFOojMaV0T.jpeg
Yizhe Zhang
user
yizhezhang
Divide-or-Conquer? Which Part Should You Distill Your LLM?
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.
A strategy breaking reasoning tasks into decomposition and solving phases allows distillation of the former for efficient inference and generalization.
Large Language Models subtasks problem decomposition phase problem solving phase single stage solution distilled model domain knowledge general problem solving strategies