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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
胖Q完成签到 ,获得积分20
刚刚
1秒前
量子星尘发布了新的文献求助10
2秒前
liciky完成签到 ,获得积分10
3秒前
潘健康发布了新的文献求助10
3秒前
复杂的乐蕊完成签到,获得积分10
3秒前
Dave发布了新的文献求助10
3秒前
林一发布了新的文献求助10
5秒前
今后应助积极的老鼠采纳,获得10
5秒前
彭于晏应助yuhan采纳,获得10
5秒前
sin3xas4sin3x完成签到,获得积分10
6秒前
7秒前
上官若男应助Rosemary采纳,获得10
7秒前
Lim1819完成签到 ,获得积分10
8秒前
脑洞疼应助小胡爱科研采纳,获得10
8秒前
lin发布了新的文献求助20
9秒前
9秒前
12秒前
12秒前
Hibiscus95发布了新的文献求助10
14秒前
14秒前
zy177发布了新的文献求助10
15秒前
15秒前
AN应助小明采纳,获得10
16秒前
Elan完成签到 ,获得积分10
17秒前
xxxx发布了新的文献求助30
17秒前
77发布了新的文献求助10
19秒前
yuhan发布了新的文献求助10
20秒前
20秒前
21秒前
21秒前
林一完成签到,获得积分10
22秒前
酷波er应助zy177采纳,获得10
22秒前
22秒前
彭于晏应助陈惠123采纳,获得10
23秒前
leiwenyulan发布了新的文献求助10
24秒前
monica完成签到 ,获得积分10
24秒前
香蕉觅云应助lshl2000采纳,获得10
24秒前
完美世界应助没想到羽毛采纳,获得10
25秒前
言言完成签到,获得积分10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Introduction to strong mixing conditions volume 1-3 5000
Agyptische Geschichte der 21.30. Dynastie 3000
Aerospace Engineering Education During the First Century of Flight 2000
„Semitische Wissenschaften“? 1510
从k到英国情人 1500
sQUIZ your knowledge: Multiple progressive erythematous plaques and nodules in an elderly man 1000
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5771589
求助须知:如何正确求助?哪些是违规求助? 5592681
关于积分的说明 15427933
捐赠科研通 4904901
什么是DOI,文献DOI怎么找? 2639075
邀请新用户注册赠送积分活动 1586878
关于科研通互助平台的介绍 1541879