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 BV]
卷期号: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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
L记士多发布了新的文献求助10
刚刚
刚刚
欣喜大白菜真实的钥匙完成签到,获得积分10
刚刚
852应助失眠的霸采纳,获得10
刚刚
1秒前
yy发布了新的文献求助10
1秒前
唐美鸭发布了新的文献求助30
2秒前
英吉利25发布了新的文献求助10
2秒前
3秒前
3秒前
666关闭了666文献求助
3秒前
zx发布了新的文献求助10
3秒前
CCsci发布了新的文献求助10
4秒前
皮皮完成签到,获得积分10
4秒前
orixero应助nainomi采纳,获得10
4秒前
orixero应助冰美式采纳,获得10
4秒前
5秒前
yes发布了新的文献求助10
5秒前
景飞丹发布了新的文献求助10
5秒前
5秒前
6秒前
霏雨霁月完成签到 ,获得积分10
6秒前
zplease发布了新的文献求助10
7秒前
lixiaoge发布了新的文献求助10
7秒前
zhuzhu发布了新的文献求助10
9秒前
李健应助九号采纳,获得10
9秒前
庾烙完成签到,获得积分20
9秒前
Angus完成签到,获得积分10
9秒前
超帅靖雁发布了新的文献求助10
10秒前
所所应助风清扬采纳,获得10
10秒前
李健的粉丝团团长应助pp采纳,获得10
11秒前
干饭选手又困了完成签到 ,获得积分10
12秒前
JamesPei应助电脑网冲突采纳,获得10
12秒前
酷波er应助suwan采纳,获得10
12秒前
13秒前
cxy发布了新的文献求助20
13秒前
13秒前
13秒前
开心果发布了新的文献求助10
14秒前
无花果应助起司猫采纳,获得10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Russian Politics Today: Stability and Fragility (2nd Edition) 500
Death Without End: Korea and the Thanatographics of War 500
Der Gleislage auf der Spur 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6083352
求助须知:如何正确求助?哪些是违规求助? 7913580
关于积分的说明 16368490
捐赠科研通 5218448
什么是DOI,文献DOI怎么找? 2789925
邀请新用户注册赠送积分活动 1772906
关于科研通互助平台的介绍 1649333