DDK: Dynamic structure pruning based on differentiable search and recursive knowledge distillation for BERT

计算机科学 修剪 水准点(测量) 蒸馏 可微函数 加权 机器学习 人工智能 语言模型 比例(比率) 数学 地理 量子力学 放射科 有机化学 大地测量学 物理 数学分析 医学 生物 农学 化学
作者
Zhou Zhang,Yang Lu,Tengfei Wang,Xing Wei,Zhen Wei
出处
期刊:Neural Networks [Elsevier]
卷期号:173: 106164-106164 被引量:3
标识
DOI:10.1016/j.neunet.2024.106164
摘要

Large-scale pre-trained models, such as BERT, have demonstrated outstanding performance in Natural Language Processing (NLP). Nevertheless, the high number of parameters in these models has increased the demand for hardware storage and computational resources while posing a challenge for their practical deployment. In this article, we propose a combined method of model pruning and knowledge distillation to compress and accelerate large-scale pre-trained language models. Specifically, we introduce a dynamic structure pruning method based on differentiable search and recursive knowledge distillation to automatically prune the BERT model, named DDK. We define the search space for network pruning as all feed-forward layer channels and self-attention heads at each layer of the network, and utilize differentiable methods to determine their optimal number. Additionally, we design a recursive knowledge distillation method that employs adaptive weighting to extract the most important features from multiple intermediate layers of the teacher model and fuse them to supervise the student network learning. Our experimental results on the GLUE benchmark dataset and ablation analysis demonstrate that our proposed method outperforms other advanced methods in terms of average performance.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
onevip完成签到,获得积分0
3秒前
包包完成签到 ,获得积分10
6秒前
天才小能喵完成签到 ,获得积分0
7秒前
乐正怡完成签到 ,获得积分0
8秒前
9秒前
淡定的健柏完成签到 ,获得积分10
10秒前
王小凡完成签到 ,获得积分10
13秒前
小石头完成签到 ,获得积分10
14秒前
曾经沛白完成签到 ,获得积分10
14秒前
ccmxigua完成签到,获得积分10
16秒前
机智的从霜完成签到 ,获得积分10
16秒前
阳光的易真完成签到,获得积分10
17秒前
skyspume完成签到,获得积分10
19秒前
奇点完成签到,获得积分10
20秒前
shawn完成签到 ,获得积分10
21秒前
dldldl完成签到,获得积分10
21秒前
研友_Z1eDgZ完成签到,获得积分10
23秒前
无敌幸运儿完成签到 ,获得积分10
26秒前
小徐完成签到 ,获得积分10
26秒前
29秒前
摇摇摇不匀完成签到 ,获得积分10
33秒前
c445507405完成签到 ,获得积分10
40秒前
喜悦的香之完成签到 ,获得积分10
42秒前
江三村完成签到 ,获得积分10
44秒前
呀咪完成签到 ,获得积分10
44秒前
45秒前
45秒前
zhang完成签到 ,获得积分10
47秒前
ABO完成签到,获得积分10
48秒前
一行白鹭上青天完成签到 ,获得积分10
50秒前
合适的自行车完成签到 ,获得积分10
50秒前
英勇海完成签到 ,获得积分10
51秒前
whitepiece完成签到,获得积分10
54秒前
心想事成完成签到 ,获得积分10
1分钟前
的荟完成签到 ,获得积分10
1分钟前
1分钟前
胖胖完成签到 ,获得积分0
1分钟前
汉中太守魏延完成签到,获得积分10
1分钟前
浊轶完成签到 ,获得积分10
1分钟前
窗窗窗雨完成签到,获得积分10
1分钟前
高分求助中
Encyclopedia of Quaternary Science Third edition 2025 12000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Constitutional and Administrative Law 1000
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.). Frederic G. Reamer 800
Holistic Discourse Analysis 600
Vertebrate Palaeontology, 5th Edition 530
Comparison of spinal anesthesia and general anesthesia in total hip and total knee arthroplasty: a meta-analysis and systematic review 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5347556
求助须知:如何正确求助?哪些是违规求助? 4481793
关于积分的说明 13948128
捐赠科研通 4380137
什么是DOI,文献DOI怎么找? 2406791
邀请新用户注册赠送积分活动 1399340
关于科研通互助平台的介绍 1372500