SparseOptimizer: Sparsify Language Models through Moreau-Yosida Regularization and Accelerate via Compiler Co-design
Not on the map. Why?
Abstract (arXiv)
This paper introduces SparseOptimizer, a novel deep learning optimizer that exploits Moreau-Yosida regularization to naturally induce sparsity in large language models such as BERT, ALBERT and GPT. Key to the design of SparseOptimizer is an embedded shrinkage operator, which imparts sparsity directly within the optimization process. This operator, backed by a sound theoretical framework, includes an analytical solution, thereby reinforcing the optimizer's robustness and efficacy. Crucially, SparseOptimizer's plug-and-play functionality eradicates the need for code modifications, making it a universally adaptable tool for a wide array of large language models. Empirical evaluations on benchmark datasets such as GLUE, RACE, SQuAD1, and SQuAD2 confirm that SparseBERT and SparseALBERT, when sparsified using SparseOptimizer, achieve performance comparable to their dense counterparts, BERT and ALBERT, while significantly reducing their parameter count. Further, this work proposes an innovative optimizer-compiler co-design strategy, demonstrating the potential of inference acceleration (3.37x, 6.30x, and 7.15x in comparison with Pytorch, TensorFlow, and LLVM generic compile, respectively) in SparseBERT when paired with an appropriately designed compiler. This study represents a significant step forward in the evolution of efficient, scalable, and high-performing large language models, setting a precedent for future exploration and optimization in this domain. The SparseOptimizer code and SparseALBERT model will be publicly available upon paper acceptance.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 48 of its 70 references that are in the map. First posted on arXiv 27 Jun 2023.
Builds on
48 of 70 references.
References · 48
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
36 more
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2021Convex optimizationcited by 2,479
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023PaLM 2 Technical Reportcited by 1,154
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2018Neural Network Acceptability Judgmentscited by 952
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2021Carbon Emissions and Large Neural Network Trainingcited by 561
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2020Sparse Sinkhorn Attentioncited by 250
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
- 2020Sparse GPU Kernels for Deep Learningcited by 138
- 2020The Lottery Tickets Hypothesis for Supervised and Self-supervised Pre-training in Computer Vision Modelscited by 91
- 2019Fast Sparse ConvNetscited by 86
- 2018Structured Adversarial Attack: Towards General Implementation and Better Interpretabilitycited by 63
- 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
- 2017Block-Sparse Recurrent Neural Networkscited by 38
- 2019Reweighted Proximal Pruning for Large-Scale Language Representationcited by 29
- 2018Relay: A New IR for Machine Learning Frameworkscited by 24
- 2021Algorithm to Compilation Co-design: An Integrated View of Neural Network Sparsitycited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Q-Sparse: All Large Language Models can be Fully Sparsely-Activated
- 2024Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameters
- 2023Sparse Fine-tuning for Inference Acceleration of Large Language Models
- 2024Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Tasks
- 2024Enabling High-Sparsity Foundational Llama Models with Efficient Pretraining and Deployment
- 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization
- 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference
- 2026Sparsity-Aware Low-Rank Representation for Efficient Fine-Tuning of Large Language Models