Mind's Mirror: Distilling Self-Evaluation Capability and Comprehensive Thinking from Large Language Models

Weize Liu, Guocong Li, Kai Zhang, Bang Du, Qiyuan Chen +4 more
11/15/2023
cs.CL

No official code found. Best implementation: Attention-is-All-I-Need/Mind-s-Mirror-Distilling-LLM (8 stars, Apache-2.0, last commit 2024-07-04).

Abstract

Large language models (LLMs) have achieved remarkable advancements in natural language processing. However, the massive scale and computational demands of these models present formidable challenges when considering their practical deployment in resource-constrained environments. While techniques such as chain-of-thought (CoT) distillation have displayed promise in distilling LLMs into small language models (SLMs), there is a risk that distilled SLMs may still inherit flawed reasoning and hallucinations from LLMs. To address these issues, we propose a twofold methodology: First, we introduce a novel method for distilling the self-evaluation capability from LLMs into SLMs, aiming to mitigate the adverse effects of flawed reasoning and hallucinations inherited from LLMs. Second, we advocate for distilling more comprehensive thinking by incorporating multiple distinct CoTs and self-evaluation outputs, to ensure a more thorough and robust knowledge transfer into SLMs. Experiments on three NLP benchmarks demonstrate that our method significantly improves the performance of distilled SLMs, offering a new perspective for developing more effective and efficient SLMs in resource-constrained environments.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for "Mind's Mirror: Distilling Self-Evaluation Capability and Comprehensive Thinking from Large Language Models", NAACL 2024

82PythonMar 25, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2023minds,
  title  = {Mind's Mirror: Distilling Self-Evaluation Capability and Comprehensive Thinking from Large Language Models},
  author = {Weize Liu and Guocong Li and Kai Zhang and Bang Du and Qiyuan Chen and Xuming Hu and Hongxia Xu and Jintai Chen and Jian Wu},
  year   = {2023},
  eprint = {2311.09214},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09214v3}
}

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/2311.09214.svg)](https://codeofpaper.com/paper/2311.09214)

Discussion