DSFormer: Effective Compression of Text-Transformers by Dense-Sparse Weight Factorization
Not on the map. Why?
Abstract (arXiv)
With the tremendous success of large transformer models in natural language understanding, down-sizing them for cost-effective deployments has become critical. Recent studies have explored the low-rank weight factorization techniques which are efficient to train, and apply out-of-the-box to any transformer architecture. Unfortunately, the low-rank assumption tends to be over-restrictive and hinders the expressiveness of the compressed model. This paper proposes, DSFormer, a simple alternative factorization scheme which expresses a target weight matrix as the product of a small dense and a semi-structured sparse matrix. The resulting approximation is more faithful to the weight distribution in transformers and therefore achieves a stronger efficiency-accuracy trade-off. Another concern with existing factorizers is their dependence on a task-unaware initialization step which degrades the accuracy of the resulting model. DSFormer addresses this issue through a novel Straight-Through Factorizer (STF) algorithm that jointly learns all the weight factorizations to directly maximize the final task accuracy. Extensive experiments on multiple natural language understanding benchmarks demonstrate that DSFormer obtains up to 40% better compression than the state-of-the-art low-rank factorizers, leading semi-structured sparsity baselines and popular knowledge distillation approaches. Our approach is also orthogonal to mainstream compressors and offers up to 50% additional compression when added to popular distilled, layer-shared and quantized transformers. We empirically evaluate the benefits of STF over conventional optimization practices.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 26 of its 31 references that are in the map. First posted on arXiv 20 Dec 2023.
Builds on
26 of 31 references.
References · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2020Reformer: The Efficient Transformercited by 1,668
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
14 more
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 231
- 2022Language model compression with weighted low-rank factorizationcited by 195
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2019Fine-tune BERT for Extractive Summarizationcited by 122
- 2016Training Sparse Neural Networkscited by 73
- 2020LadaBERT: Lightweight Adaptation of BERT through Hybrid Model Compressioncited by 45
- 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 43
- 2018GroupReduce: Block-Wise Low-Rank Approximation for Neural Language Model Shrinkingcited by 32
- 2019Reweighted Proximal Pruning for Large-Scale Language Representationcited by 29
- 2021NxMTransformer: Semi-Structured Sparsification for Natural Language Understanding via ADMMcited by 19
Built on by
Citing papers per year: 2023: 1; 2024: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2022Compressing Pre-trained Transformers via Low-Bit NxM Sparsity for Natural Language Understanding
- 2023Quantization-Aware and Tensor-Compressed Training of Transformers for Natural Language Understanding
- 2021Prune Once for All: Sparse Pre-Trained Language Models
- 2024Compressing Large Language Models using Low Rank and Low Precision Decomposition
- 2024A Survey on Transformer Compression
- 2022Extreme compression of sentence-transformer ranker models: faster inference, longer battery life, and less storage on edge devices
- 2025A3 : an Analytical Low-Rank Approximation Framework for Attention
- 2024Data-free Weight Compress and Denoise for Large Language Models