MCC-KD: Multi-CoT Consistent Knowledge Distillation

Hongzhan Chen, Siyue Wu, Xiaojun Quan, Rui Wang, Ming Yan, Ji Zhang

Abstract

Large Language Models (LLMs) exhibit remarkable reasoning capabilities through Chain-of-Thought (CoT) prompting, yet their deployment is often constrained by significant computational costs. This paper introduces Multi-CoT Consistent Knowledge Distillation (MCC-KD), a framework that transfers reasoning logic to smaller models by leveraging multiple diverse rationales and enforcing consistency across them. By optimizing for both standard token prediction and cross-rationale answer distribution alignment, MCC-KD significantly enhances the reasoning performance and out-of-distribution generalization of student models like LLaMA and FlanT5.

Introduction

While models like GPT-4 demonstrate "emergent" reasoning, their massive scale makes them impractical for many real-world applications. Knowledge distillation aims to bridge this gap by training smaller "student" models on rationales generated by a "teacher" LLM. However, traditional distillation methods often suffer from two primary issues: limited diversity in reasoning paths and inconsistency in arriving at answers. If a student model only learns a single path to a solution, it may overfit to superficial patterns rather than internalizing the underlying logic. Furthermore, without consistency constraints, a model might fail to reach the same conclusion when presented with alternative valid reasoning paths.

Methodology

The MCC-KD framework addresses these challenges through a three-stage process:

  1. Rationale Extraction: Utilizing a teacher model (e.g., GPT-3.5-Turbo) with high-temperature sampling, the system generates multiple distinct rationales for each training instance.
  2. Rationale Filtering: To ensure the student learns from diverse perspectives, rationales are filtered based on an N-gram Jaccard similarity metric. Only the most diverse set of $K$ rationales is retained for training.
  3. Consistent Distillation: The student model is trained using a dual objective. In addition to the standard Cross-Entropy Loss ($L_{ce}$) for token prediction, a Consistency Loss ($L_{kl}$) is applied. This bidirectional KL-divergence constraint forces the model's predicted answer distributions to remain consistent across different reasoning paths for the same question.
Overview of the MCC-KD framework illustrating the extraction, filtering, and consistency-enforced distillation stages.

Experimental Evaluation

The researchers evaluated MCC-KD across mathematical reasoning (GSM8K, SVAMP, ASDiv) and commonsense reasoning (CommonsenseQA) tasks. To test generalization, out-of-distribution (OOD) datasets such as StrategyQA and MultiArith were also employed.

Key Results

MCC-KD consistently outperformed vanilla knowledge distillation across various model scales (3B to 13B parameters). For instance, LLaMA-7B achieved 41.58% accuracy on GSM8K, compared to 38.01% with standard distillation. Improvements were also noted in OOD performance, with FlanT5-XXL showing gains on the ASDiv dataset.

Insights and Discussion

A critical finding of this work is the strong correlation between rationale diversity and model performance. As diversity increases (indicated by lower Jaccard similarity), the student model's accuracy improves, suggesting that exposure to multiple logical paths helps the model learn more robust reasoning principles.

Impact of rationale diversity (measured by Jaccard similarity) on model accuracy for the ASDiv and SVAMP datasets.

Furthermore, the method demonstrates resilience to teacher errors. Performance remains stable even if the teacher's correctness rate is as low as 90%. However, a sharp decline is observed if teacher accuracy falls below 80%, highlighting the importance of high-quality initial rationales.

Conclusion

MCC-KD provides a robust framework for distilling complex reasoning into deployable models. By prioritizing both diversity and consistency, it enables smaller models to move beyond simple pattern matching toward more generalized logical reasoning. Future work may explore the use of multiple teacher ensembles and methods to mitigate the costs associated with generating high-volume rationale sets.

Summary updated

BibTeX
@inproceedings{chen2023mcc,
  author = {Hongzhan Chen and Siyue Wu and Xiaojun Quan and Rui Wang and Ming Yan and Ji Zhang},
  title = {{MCC-KD: Multi-CoT Consistent Knowledge Distillation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.454},
}
Figure