Papers › Structured Pruning of Large Language Models

Structured Pruning of Large Language Models

10 Oct 2019EMNLP 2020 11arXiv:1910.04732archive 2025-07-28

Ziheng Wang, Jeremy Wohlwend, Tao Lei

Large language models have recently achieved state of the art performance across a wide variety of natural language tasks. Meanwhile, the size of these models and their latency have significantly increased, which makes their usage costly, and raises an interesting question: do language models need to be large? We study this question through the lens of model compression. We present a generic, structured pruning approach by parameterizing each weight matrix using its low-rank factorization, and adaptively removing rank-1 components during training. On language modeling tasks, our structured approach outperforms other unstructured and block-structured pruning baselines at various compression levels, while achieving significant speedups during both training and inference. We also demonstrate that our method can be applied to pruning adaptive word embeddings in large language models, and to pruning the BERT model on several downstream fine-tuning classification benchmarks.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1910.04732")

Code

Syntology Ran 3 of 12 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong.

By repository: community (archive-listed): 12 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

asappresearch/flop officialmentioned in papermentioned on GitHubpytorchMIT report
Holldean/BERT-Pruning mentioned on GitHubtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 3 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
9unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Holldean/BERT-Pruning. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_to_unicode Holldean/BERT-Pruning/bert/tokenization.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 1923fc05163d207d · report
gelu Holldean/BERT-Pruning/bert/modeling.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · d08f324f950148de · report
get_activation Holldean/BERT-Pruning/bert/modeling.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 5842ee67106321d6 · report
create_float_feature Holldean/BERT-Pruning/bert/create_pretraining_data.py community (archive-listed) unverified Apache-2.0 (permissive) · b24b3b9c700da839 · report
create_int_feature Holldean/BERT-Pruning/bert/create_pretraining_data.py community (archive-listed) unverified Apache-2.0 (permissive) · dd3ef48a15aec0cd · report
file_based_input_fn_builder Holldean/BERT-Pruning/bert/run_classifier.py community (archive-listed) unverified Apache-2.0 (permissive) · 2ffa5353979cd872 · report
get_assignment_map_from_checkpoint Holldean/BERT-Pruning/bert/modeling.py community (archive-listed) unverified Apache-2.0 (permissive) · 50958618b65e514e · report
hard_concrete_mean Holldean/BERT-Pruning/flop/common.py community (archive-listed) unverified Apache-2.0 (permissive) · f8b4becf356b99c0 · report
hard_concrete_sample Holldean/BERT-Pruning/flop/common.py community (archive-listed) unverified Apache-2.0 (permissive) · b07e12c3de1d9f3e · report
input_fn_builder Holldean/BERT-Pruning/bert/extract_features.py community (archive-listed) unverified Apache-2.0 (permissive) · 47a3c792cebb6603 · report
load_vocab Holldean/BERT-Pruning/bert/tokenization.py community (archive-listed) unverified Apache-2.0 (permissive) · ff83ccc8b0b6462d · report
printable_text Holldean/BERT-Pruning/bert/tokenization.py community (archive-listed) unverified Apache-2.0 (permissive) · 0e5615f8994003cf · report

Tasks

Language ModelingLanguage ModellingModel CompressionWord Embeddings

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionPruningResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections