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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
英姑应助无奈满天采纳,获得10
刚刚
小白发布了新的文献求助10
刚刚
建新发布了新的文献求助10
刚刚
刚刚
刚刚
1秒前
2秒前
zhangting发布了新的文献求助10
2秒前
万能图书馆应助万灵竹采纳,获得10
2秒前
花陵完成签到 ,获得积分10
2秒前
FBG发布了新的文献求助10
2秒前
2秒前
hukun100发布了新的文献求助10
3秒前
HY发布了新的文献求助10
3秒前
一点完成签到,获得积分10
3秒前
4秒前
GUO发布了新的文献求助10
4秒前
占易形发布了新的文献求助200
4秒前
4秒前
lazysheep完成签到,获得积分10
5秒前
长颈鹿完成签到,获得积分10
5秒前
5秒前
112233发布了新的文献求助10
5秒前
6秒前
6秒前
ZhilongWang完成签到,获得积分10
6秒前
隐形曼青应助sxy0604采纳,获得10
7秒前
7秒前
7秒前
7秒前
7秒前
nenoaowu发布了新的文献求助10
8秒前
chenyu完成签到,获得积分10
9秒前
一只咸鱼发布了新的文献求助50
9秒前
9秒前
李爱国应助艾斯库普斯采纳,获得10
9秒前
10秒前
10秒前
Song发布了新的文献求助10
11秒前
领导范儿应助GUO采纳,获得10
11秒前
高分求助中
Continuum thermodynamics and material modelling 3000
Production Logging: Theoretical and Interpretive Elements 2500
Healthcare Finance: Modern Financial Analysis for Accelerating Biomedical Innovation 2000
Applications of Emerging Nanomaterials and Nanotechnology 1111
Les Mantodea de Guyane Insecta, Polyneoptera 1000
Theory of Block Polymer Self-Assembly 750
지식생태학: 생태학, 죽은 지식을 깨우다 700
热门求助领域 (近24小时)
化学 医学 材料科学 生物 工程类 有机化学 生物化学 纳米技术 内科学 物理 化学工程 计算机科学 复合材料 基因 遗传学 物理化学 催化作用 细胞生物学 免疫学 电极
热门帖子
关注 科研通微信公众号,转发送积分 3476698
求助须知:如何正确求助?哪些是违规求助? 3068270
关于积分的说明 9107322
捐赠科研通 2759775
什么是DOI,文献DOI怎么找? 1514279
邀请新用户注册赠送积分活动 700142
科研通“疑难数据库(出版商)”最低求助积分说明 699329