跳到主要导航 跳到搜索 跳到主要内容

DDK: Distilling Domain Knowledge for Efficient Large Language Models

  • Jiaheng Liu*
  • , Chenchen Zhang
  • , Jinyang Guo
  • , Yuanxing Zhang
  • , Haoran Que
  • , Ken Deng
  • , Zhiqi Bai
  • , Jie Liu
  • , Ge Zhang
  • , Jiakai Wang
  • , Yanan Wu
  • , Congnan Liu
  • , Jiamang Wang
  • , Lin Qu
  • , Wenbo Su
  • , Bo Zheng
  • *此作品的通讯作者
  • Alibaba Group Holding Ltd.
  • The University of Sydney
  • Chinese University of Hong Kong
  • University of Waterloo

科研成果: 期刊稿件会议文章同行评审

摘要

Despite the advanced intelligence abilities of large language models (LLMs) in various applications, they still face significant computational and storage demands. Knowledge Distillation (KD) has emerged as an effective strategy to improve the performance of a smaller LLM (i.e., the student model) by transferring knowledge from a high-performing LLM (i.e., the teacher model). Prevailing techniques in LLM distillation typically use a black-box model API to generate high-quality pretrained and aligned datasets, or utilize white-box distillation by altering the loss function to better transfer knowledge from the teacher LLM. However, these methods ignore the knowledge differences between the student and teacher LLMs across domains. This results in excessive focus on domains with minimal performance gaps and insufficient attention to domains with large gaps, reducing overall performance. In this paper, we introduce a new LLM distillation framework called DDK, which dynamically adjusts the composition of the distillation dataset in a smooth manner according to the domain performance differences between the teacher and student models, making the distillation process more stable and effective. Extensive evaluations show that DDK significantly improves the performance of student models, outperforming both continuously pretrained baselines and existing knowledge distillation methods by a large margin.

源语言英语
期刊Advances in Neural Information Processing Systems
37
出版状态已出版 - 2024
已对外发布
活动38th Conference on Neural Information Processing Systems, NeurIPS 2024 - Vancouver, 加拿大
期限: 9 12月 202415 12月 2024

指纹

探究 'DDK: Distilling Domain Knowledge for Efficient Large Language Models' 的科研主题。它们共同构成独一无二的指纹。

引用此