We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

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

Abstract: 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.
Comments: Accepted to Rep4NLP 2020 Workshop at ACL 2020 Conference
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2002.08307 [cs.CL]
  (or arXiv:2002.08307v2 [cs.CL] for this version)

Submission history

From: Mitchell Gordon [view email]
[v1] Wed, 19 Feb 2020 17:40:57 GMT (7080kb,D)
[v2] Thu, 14 May 2020 21:58:57 GMT (7069kb,D)

Link back to: arXiv, form interface, contact.