arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.13098cs.CLcs.AI
收藏

ELAD:解释引导的大语言模型主动蒸馏

ELAD: Explanation-Guided Large Language Models Active Distillation

Emory University(埃默里大学)

Yifei Zhang, Bo Pan, Chen Ling, Yuntong Hu, Liang Zhao

AI总结:

本文提出ELAD框架,通过解释引导的主动学习策略优化样本选择与标注成本,并利用教师模型修正学生推理缺陷,从而显著提升大语言模型知识蒸馏效率。

摘要:

大语言模型(LLMs)的部署与应用受到其内存效率低、计算需求高以及API推理成本高昂的制约。传统的蒸馏方法将LLMs的能力迁移到更小的模型中,但往往无法判断知识是否已被充分迁移,可能导致成本过高或蒸馏不完整。在本文中,我们提出了一种解释引导的LLMs主动蒸馏(ELAD)框架,该框架采用主动学习策略来优化标注成本与模型性能之间的平衡。为了提高样本选择的效率,我们引入了一种解释引导的样本选择方法,通过利用解释步骤中的不确定性来识别对其推理具有挑战性的样本。此外,我们提出了一种定制的LLM标注解释修正技术,由教师模型检测并纠正学生模型推理中的缺陷。我们在多个推理数据集上的实验表明,该框架显著提升了LLM知识蒸馏的效率。

英文摘要:

The deployment and application of Large Language Models (LLMs) is hindered by their memory inefficiency, computational demands, and the high costs of API inferences. Traditional distillation methods, which transfer the capabilities of LLMs to smaller models, often fail to determine whether the knowledge has been sufficiently transferred, potentially resulting in high costs or incomplete distillation. In this paper, we propose an Explanation-Guided LLMs Active Distillation (ELAD) framework that employs an active learning strategy to optimize the balance between annotation costs and model performance. To improve efficient sample selection, we introduce an explanation-guided sample selection method that identifies samples challenging its reasoning by exploiting uncertainties in explanation steps. Additionally, we present a customized LLM-annotated explanation revision technique where the teacher model detects and corrects flaws in the student model's reasoning. Our experiments across various reasoning datasets demonstrate that our framework significantly enhances the efficiency of LLM knowledge distillation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑