mlsanityData to 7 Oct 2026

TSENOR: Highly-Efficient Algorithm for Finding Transposable N:M Sparse Masks

arXiv 2505.23949 ↗First posted 29 May 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Network pruning reduces the computational requirements of large neural networks, with N:M sparsity -- retaining only N out of every M consecutive weights -- offering a compelling balance between compressed model quality and hardware acceleration. However, N:M sparsity only accelerates forward-pass computations, as N:M patterns are not preserved during matrix transposition, limiting efficiency during training where both passes are computationally intensive. While transposable N:M sparsity has been proposed to address this limitation, existing methods for finding transposable N:M sparse masks either fail to scale to large models or are restricted to M=4 which results in suboptimal compression-accuracy trade-off. We introduce an efficient solver for transposable N:M masks that scales to billion-parameter models. We formulate mask generation as optimal transport problems and solve through entropy regularization and Dykstra's algorithm, followed by a rounding procedure. Our tensor-based implementation exploits GPU parallelism, achieving up to 100x speedup with only 1-10% error compared to existing methods. Our approach can be integrated with layer-wise N:M pruning frameworks including Wanda, SparseGPT and ALPS to produce transposable N:M sparse models with arbitrary N:M values. Experiments show that LLaMA3.2-8B with transposable 16:32 sparsity maintains performance close to its standard N:M counterpart and outperforms standard 2:4 sparse model, showing the practical value of our approach.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 43 of its 68 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

43 of 68 references.

References · 43

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
31 more
  1. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  2. 2020Knowledge Distillation: A Surveycited by 1,578
  3. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  4. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  5. 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
  6. 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
  7. 2023End-to-end Autonomous Driving: Challenges and Frontierscited by 485
  8. 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
  9. 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
  10. 2021Accelerating Sparse Deep Neural Networkscited by 213
  11. 2023A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendationscited by 200
  12. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
  13. 2021Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Maskscited by 103
  14. 2021Manifold Regularized Dynamic Network Pruningcited by 43
  15. 2023Fast as CHITA: Neural Network Pruning with Combinatorial Optimizationcited by 40
  16. 2019Careful Selection of Knowledge to solve Open Book Question Answeringcited by 35
  17. 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
  18. 2024Accelerating Transformer Pre-training with 2:4 Sparsitycited by 18
  19. 2024ALPS: Improved Optimization for Highly Sparse One-Shot Pruning for Large Language Modelscited by 18
  20. 2024Progressive Gradient Flow for Robust N:M Sparsity Training in Transformerscited by 17
  21. 2024OSSCAR: One-Shot Structured Pruning in Vision and Language Models with Combinatorial Optimizationcited by 17
  22. 2023VENOM: A Vectorized N:M Format for Unleashing the Power of Sparse Tensor Corescited by 13
  23. 2023Bi-directional Masks for Efficient N:M Sparse Trainingcited by 12
  24. 2024FALCON: FLOP-Aware Combinatorial Optimization for Neural Network Pruningcited by 11
  25. 2024SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Modelscited by 11
  26. 2024Preserving Deep Representations In One-Shot Pruning: A Hessian-Free Second-Order Optimization Frameworkcited by 10
  27. 2021A Fast and Accurate Splitting Method for Optimal Transport: Analysis and Implementationcited by 8
  28. 2023cuPDLP.jl: A GPU Implementation of Restarted Primal-Dual Hybrid Gradient for Linear Programming in Juliacited by 8
  29. 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Designcited by 5
  30. 2025NM-SpMM: Accelerating Matrix Multiplication Using N:M Sparsity with GPGPUcited by 3
  31. 2024ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Accelerationcited by 2

Built on by

Not cited yet.