Skip to main content
QUICK REVIEW

[Paper Review] Reweighted Proximal Pruning for Large-Scale Language Representation

Fu-Ming Guo, Sijia Liu|arXiv (Cornell University)|Sep 27, 2019
Topic ModelingComputer Science37 references45 citations
TL;DR

The paper introduces Reweighted Proximal Pruning (RPP), a pruning method that achieves up to 59.3% weight sparsity on BERT with negligible impact on pre-training and many downstream tasks, outperforming a baseline iterative pruning approach (NIP) especially at high prune ratios.

ABSTRACT

Recently, pre-trained language representation flourishes as the mainstay of the natural language understanding community, e.g., BERT. These pre-trained language representations can create state-of-the-art results on a wide range of downstream tasks. Along with continuous significant performance improvement, the size and complexity of these pre-trained neural models continue to increase rapidly. Is it possible to compress these large-scale language representation models? How will the pruned language representation affect the downstream multi-task transfer learning objectives? In this paper, we propose Reweighted Proximal Pruning (RPP), a new pruning method specifically designed for a large-scale language representation model. Through experiments on SQuAD and the GLUE benchmark suite, we show that proximal pruned BERT keeps high accuracy for both the pre-training task and the downstream multiple fine-tuning tasks at high prune ratio. RPP provides a new perspective to help us analyze what large-scale language representation might learn. Additionally, RPP makes it possible to deploy a large state-of-the-art language representation model such as BERT on a series of distinct devices (e.g., online servers, mobile phones, and edge devices).

Motivation & Objective

  • Motivate and enable compression of large-scale pre-trained language representations (e.g., BERT) without sacrificing transfer learning performance.
  • Develop a pruning method that preserves downstream multi-task transfer learning objectives when starting from a pruned pre-trained model.
  • Investigate the sparsity patterns and their interpretability in transformer-based language models under pruning.
  • Provide empirical evidence on the trade-offs between pruning ratio and performance across pre-training and fine-tuning tasks.

Proposed method

  • Introduce Reweighted L1 minimization combined with a proximal operator to decouple sparsity pattern search from gradient-based updates.
  • Iteratively solve a sparsity-penalized objective f0(w) + gamma sum_i alpha_i |w_i| with reweighted factors alpha_i updated as alpha_i = 1/(|w_i| + epsilon).
  • Use a closed-form proximal operator to update weights (w) given the reweighted L1 term, enabling efficient sparse pattern discovery without backpropagating through the sparsity penalty.
  • Adopt AdamW as the optimizer to align with decoupled weight regularization philosophy and improve generalization.
  • Compare RPP against New Iterative Pruning (NIP) baselines and report performance on MLM/NSP pre-training and multiple GLUE/SQuAD tasks.

Experimental results

Research questions

  • RQ1Can large pre-trained language representations (like BERT) be effectively pruned at the weight level without harming downstream transfer learning performance?
  • RQ2How does the pruning ratio of a pre-trained model affect performance across a range of downstream tasks?
  • RQ3What sparsity patterns emerge in transformer blocks under reweighted proximal pruning, and what is their linguistic/attention interpretation?

Key findings

  • RPP achieves 59.3% weight sparsity on BERT without degrading pre-training or fine-tuning performance in the reported setups.
  • NSP accuracy remains robust under high pruning (above 95% at 90% pruning with RPP; around 90% with NIP).
  • On SQuAD 1.1, RPP preserves F1 at 88.5 with 41.2% pruning (0 degradation), and at 80% pruning maintains 84.7 F1 (3.8 degradation), outperforming NIP (which degrades more at comparable prune levels).
  • For BERT-LARGE, RPP at 59.3% pruning yields competitive SQuAD1.1 and GLUE results, with CoLA improving by +1.3 over the NIP baseline in some tasks, and maintaining strong performance at higher prune levels (e.g., 88.4 at 88.4% in reported row).
  • RPP discovers structured sparsity patterns in Q and K matrices within transformer blocks (column-wise sparsity in Q and row-wise sparsity in K) and reveals preserved semantic structure in embeddings as shown by t-SNE visualizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.