mlsanityData to 7 Oct 2026

SparseOptimizer: Sparsify Language Models through Moreau-Yosida Regularization and Accelerate via Compiler Co-design

arXiv 2306.15656 ↗First posted 27 Jun 2023cs.LG cs.AI cs.CCcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2022Training language models to follow instructions with human feedbackcited by 15,712
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  8. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  9. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  10. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  11. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  12. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
36 more
  1. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  2. 2021Convex optimizationcited by 2,479
  3. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  4. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  5. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  6. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  7. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  8. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  9. 2023PaLM 2 Technical Reportcited by 1,154
  10. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  11. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  12. 2018Neural Network Acceptability Judgmentscited by 952
  13. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  14. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  15. 2019Are Sixteen Heads Really Better than One?cited by 803
  16. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  17. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  18. 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
  19. 2021Carbon Emissions and Large Neural Network Trainingcited by 561
  20. 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
  21. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  22. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  23. 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
  24. 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
  25. 2020Sparse Sinkhorn Attentioncited by 250
  26. 2021I-BERT: Integer-only BERT Quantizationcited by 250
  27. 2022Structured Pruning Learns Compact and Accurate Modelscited by 167
  28. 2020Sparse GPU Kernels for Deep Learningcited by 138
  29. 2020The Lottery Tickets Hypothesis for Supervised and Self-supervised Pre-training in Computer Vision Modelscited by 91
  30. 2019Fast Sparse ConvNetscited by 86
  31. 2018Structured Adversarial Attack: Towards General Implementation and Better Interpretabilitycited by 63
  32. 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
  33. 2017Block-Sparse Recurrent Neural Networkscited by 38
  34. 2019Reweighted Proximal Pruning for Large-Scale Language Representationcited by 29
  35. 2018Relay: A New IR for Machine Learning Frameworkscited by 24
  36. 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

  1. 2024Q-Sparse: All Large Language Models can be Fully Sparsely-Activated
  2. 2024Turbo Sparse: Achieving LLM SOTA Performance with Minimal Activated Parameters
  3. 2023Sparse Fine-tuning for Inference Acceleration of Large Language Models
  4. 2024Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Tasks
  5. 2024Enabling High-Sparsity Foundational Llama Models with Efficient Pretraining and Deployment
  6. 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization
  7. 2025R-Sparse: Rank-Aware Activation Sparsity for Efficient LLM Inference
  8. 2026Sparsity-Aware Low-Rank Representation for Efficient Fine-Tuning of Large Language Models