paper-with-me

홈 › Papers

Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learning

2020-02-19 · ACL 2020 7 · Mitchell A. Gordon, Kevin Duh, Nicholas Andrews

Pre-trained universal feature extractors, such as BERT for natural language processing and VGG for computer vision, have become effective methods for improving deep learning models without requiring more labeled data. While effective, feature extractors like BERT may be prohibitively large for some deployment scenarios. We explore weight pruning for BERT and ask: how does compression during pre-training affect transfer learning? We find that pruning affects transfer learning in three broad regimes. Low levels of pruning (30-40%) do not affect pre-training loss or transfer to downstream tasks at all. Medium levels of pruning increase the pre-training loss and prevent useful pre-training information from being transferred to downstream tasks. High levels of pruning additionally prevent models from fitting downstream datasets, leading to further degradation. Finally, we observe that fine-tuning BERT on a specific task does not improve its prunability. We conclude that BERT can be pruned once during pre-training rather than separately for each task without affecting performance.

📄 PDF Abstract BibTeX arXiv:2002.08307

Code (1)

mitchellgordon95/bert-prune 공식 구현 tf

Tasks

Transfer Learning

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Max Pooling Max Pooling is a pooling operation that calculates the maximum value for patches of a feature map, and uses it to create a downsampled (pooled) feature map. It is usually…
Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…
Ethereum Customer Service Number +1-833-534-1729 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

Is Smaller Always Faster? Tradeoffs in Compressing Self-Supervised Speech Transformers

2022-11-17 · Tzu-Quan Lin, Tsung-Huan Yang, Chun-Yao Chang, Kuang-Ming Chen 외

Transformer-based self-supervised models have achieved remarkable success in speech processing, but their large size and high inference cost present significant challenges for real-world deployment. While numerous compre…

Knowledge DistillationModel CompressionSelf-Supervised Learning

Rethinking Network Pruning -- under the Pre-train and Fine-tune Paradigm

2021-04-18 · NAACL 2021 4 · Dongkuan Xu, Ian E. H. Yen, Jinxi Zhao, Zhibin Xiao

Transformer-based pre-trained language models have significantly improved the performance of various natural language processing (NLP) tasks in the recent years. While effective and prevalent, these models are usually pr…

Network Pruning

VTrans: Accelerating Transformer Compression with Variational Information Bottleneck based Pruning

2024-06-07 · Oshin Dutta, Ritvik Gupta, Sumeet Agarwal

In recent years, there has been a growing emphasis on compressing large pre-trained transformer models for resource-constrained devices. However, traditional pruning methods often leave the embedding layer untouched, lea…

SQS: Bayesian DNN Compression through Sparse Quantized Sub-distributions

2025-10-10 · Ziyi Wang, Nan Jiang, Guang Lin, Qifan Song arxiv

Compressing large-scale neural networks is essential for deploying models on resource-constrained devices. Most existing methods adopt weight pruning or low-bit quantization individually, often resulting in suboptimal co…

Structured Pruning of a BERT-based Question Answering Model

2019-10-14 · J. S. McCarley, Rishav Chakravarti, Avirup Sil

The recent trend in industry-setting Natural Language Processing (NLP) research has been to operate large %scale pretrained language models like BERT under strict computational limits. While most model compression work h…

Model CompressionNatural QuestionsQuestion Answering