atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Accurate Retraining-free Pruning for Pretrained Encoder-based Language Models

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Layer-wise pruning of LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes K-prune, a retraining-free structured pruning method for encoder PLMs (BERT, DistilBERT) that iteratively prunes sublayer-by-sublayer using knowledge measurement, knowledge-preserving mask search, and closed-form least-squares weight tuning.

Problem

Retraining-free structured pruning of pretrained encoder-based language models suffers severe accuracy degradation at high compression rates because pruning errors accumulate across layers.

Approach

Treat pruning error as loss of predictive and representational knowledge, measure each attention head's and neuron's knowledge, prune iteratively from bottom to top sublayer with a global-importance mask search, and reconstruct lost knowledge after each sublayer by solving a linear least-squares problem for the output projections.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use K-prune instead of existing retraining-free pruning algorithms at 80% compressionEncoder-based pretrained models · SQuADF1: up to 58.02%p higher F1 scoreHelped
Use K-prune rather than the uncompressed modelEncoder-based pretrained models · MRPC, STS-B, SQuAD 1.1, SQuAD 2.0inference speed: 2.66×; 2.43×; 2.60×; 2.93×Helped
Add knowledge-based predictive and representational importance criteria (ablation)K-prune · MRPC (80% compression)accuracy: 84.07 -> 84.80Helped
Add knowledge-based predictive and representational importance criteria (ablation)K-prune · SQuAD 1.1 (80% compression)F1: 72.55 -> 74.16Helped
Add KPMS global-importance mask search instead of uniform pruning across sublayers (ablation)K-prune · MRPC (80% compression)accuracy: 81.71 -> 84.80Helped
Add KPMS global-importance mask search instead of uniform pruning across sublayers (ablation)K-prune · SQuAD 1.1 (80% compression)F1: 67.10 -> 74.16Helped
Add iterative pruning and weight-tuning (KPWT) (ablation)K-prune · MRPC (80% compression)accuracy: 68.38 -> 84.80Helped
Add iterative pruning and weight-tuning (KPWT) (ablation)K-prune · SQuAD 1.1 (80% compression)F1: 16.50 -> 74.16Helped
Prune OPT-1.3B at 5% or 10%OPT-1.3B with K-prune · Wiki-text2perplexity: 14.67 -> 14.41; 14.67 -> 13.96Helped
Prune OPT-1.3B at 20%OPT-1.3B with K-prune · Wiki-text2perplexity: 14.67 -> 15.74Hurt
Prune OPT-2.7B at 5%, 10%, or 15%OPT-2.7B with K-prune · Wiki-text2perplexity: 12.46 -> 12.23; 12.46 -> 11.94; 12.46 -> 12.01Helped
Prune OPT-2.7B at 20%OPT-2.7B with K-prune · Wiki-text2perplexity: 12.46 -> 12.51Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MRPC MNLI QNLI SQuAD v1.1 SQuAD v2.0 GLUE C4

Benchmarks: GLUE SQuAD v1.1 SQuAD v2.0 Wiki-text2

Metrics: accuracy F1 score Spearman correlation inference speedup pruning time perplexity

Baselines: Kwon et al. retraining-free pruning KCM DynaBERT EBERT

Builds on: Kwon et al. retraining-free pruning CoFi DynaBERT EBERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy