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

GKD:面向大规模预训练语言模型的通用知识蒸馏框架

GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Model

Anhui University(安徽大学);Renmin University of China(中国人民大学);Tsinghua University(清华大学)

Shicheng Tan, Weng Lam Tam, Yuanchun Wang, Wenwen Gong, Yang Yang, Hongyin Tang, Keqing He, Jiahao Liu, Jingang Wang, Shu Zhao, Peng Zhang, Jie Tang

AI总结:

针对大规模PLM知识蒸馏受GPU显存限制、方法切换难的工业部署痛点,提出通用知识蒸馏框架GKD,可在显存受限GPU上实现多方法组合的超大规模PLM蒸馏,已验证支持100B级模型与25种主流方法。

摘要:

当前,通过知识蒸馏缩小大规模预训练语言模型(PLMs)的参数规模,极大推动了其在各类设备上的广泛部署。然而,知识蒸馏系统在实际工业级应用中面临巨大挑战:这类应用需要在更大规模(超10B参数)的PLMs上使用复杂蒸馏方法,却受限于GPU显存与方法切换成本。为解决这些挑战,我们提出GKD——一种通用知识蒸馏框架,支持采用多种蒸馏方法对更大规模PLM进行蒸馏。借助GKD,开发者可在显存受限的GPU上构建更大的蒸馏模型,还能在单一框架内轻松切换、组合不同蒸馏方法。实验结果表明,在8张NVIDIA A100(40GB)GPU上,GKD至少可支持100B规模PLM的蒸馏,兼容25种主流蒸馏方法。

英文摘要:

Currently, the reduction in the parameter scale of large-scale pre-trained language models (PLMs) through knowledge distillation has greatly facilitated their widespread deployment on various devices. However, the deployment of knowledge distillation systems faces great challenges in real-world industrial-strength applications, which require the use of complex distillation methods on even larger-scale PLMs (over 10B), limited by memory on GPUs and the switching of methods. To overcome these challenges, we propose GKD, a general knowledge distillation framework that supports distillation on larger-scale PLMs using various distillation methods. With GKD, developers can build larger distillation models on memory-limited GPUs and easily switch and combine different distillation methods within a single framework. Experimental results show that GKD can support the distillation of at least 100B-scale PLMs and 25 mainstream methods on 8 NVIDIA A100 (40GB) GPUs.

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

↑