Mentor-KD: Making Small Language Models Better Multi-step Reasoners

Hojae Lee, Junho Kim, SangKeun Lee
10/11/2024
cs.CLcs.AI

No official code found. Best implementation: 2hojae/mentor-kd (10 stars, Apache-2.0, last commit 2025-06-02).

Abstract

Large Language Models (LLMs) have displayed remarkable performances across various complex tasks by leveraging Chain-of-Thought (CoT) prompting. Recently, studies have proposed a Knowledge Distillation (KD) approach, reasoning distillation, which transfers such reasoning ability of LLMs through fine-tuning language models of multi-step rationales generated by LLM teachers. However, they have inadequately considered two challenges regarding insufficient distillation sets from the LLM teacher model, in terms of 1) data quality and 2) soft label provision. In this paper, we propose Mentor-KD, which effectively distills the multi-step reasoning capability of LLMs to smaller LMs while addressing the aforementioned challenges. Specifically, we exploit a mentor, intermediate-sized task-specific fine-tuned model, to augment additional CoT annotations and provide soft labels for the student model during reasoning distillation. We conduct extensive experiments and confirm Mentor-KD's effectiveness across various models and complex reasoning tasks.

View on arXivView PDF

Code Implementations(1)

2hojae/mentor-kdCommunity100%
Apache-2.0

Official repository for "Mentor-KD: Making Small Language Models Better Multi-step Reasoners", EMNLP 2024

100Shell, PythonSep 24, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{lee2024mentorkd,
  title  = {Mentor-KD: Making Small Language Models Better Multi-step Reasoners},
  author = {Hojae Lee and Junho Kim and SangKeun Lee},
  year   = {2024},
  eprint = {2410.09037},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.09037v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.09037.svg)](https://codeofpaper.com/paper/2410.09037)

Discussion