Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning to Maximize Mutual Information for Chain-of-Thought Distillation

About

Knowledge distillation, the technique of transferring knowledge from large, complex models to smaller ones, marks a pivotal step towards efficient AI deployment. Distilling Step-by-Step~(DSS), a novel method utilizing chain-of-thought~(CoT) distillation, has demonstrated promise by imbuing smaller models with the superior reasoning capabilities of their larger counterparts. In DSS, the distilled model acquires the ability to generate rationales and predict labels concurrently through a multi-task learning framework. However, DSS overlooks the intrinsic relationship between the two training tasks, leading to ineffective integration of CoT knowledge with the task of label prediction. To this end, we investigate the mutual relationship of the two tasks from Information Bottleneck perspective and formulate it as maximizing the mutual information of the representation features of the two tasks. We propose a variational approach to solve this optimization problem using a learning-based method. Our experimental results across four datasets demonstrate that our method outperforms the state-of-the-art DSS. Our findings offer insightful guidance for future research on language model distillation as well as applications involving CoT. Codes are available at \url{https://github.com/xinchen9/cot_distillation_ACL2024}.

Xin Chen, Hanxian Huang, Yanjun Gao, Yi Wang, Jishen Zhao, Ke Ding• 2024

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceE-SNLI
Accuracy89.5
46
Math Word Problem SolvingSVAMP
Value Accuracy68
38
Natural Language InferenceANLI (test)
Overall Score43.7
28
Question AnsweringCQA
Accuracy63.88
25
Natural Language InferenceaNLI
Accuracy51.2
18
Natural Language Inferencee-SNLI (test)
Accuracy83.23
9
Chain-of-Thought GenerationSVAMP (test)
GPT-4 Score2.72
6
Chain-of-Thought GenerationCQA (test)
GPT-4 Score3.7
6
Chain-of-Thought Generatione-SNLI (test)
GPT-4 Score3.17
6
Chain-of-Thought GenerationANLI (test)
GPT-4 Score3.42
6
Showing 10 of 16 rows

Other info

Code

Follow for update