Bi-directional Masks for Efficient N:M Sparse Training
Yuxin Zhang, Yiting Luo, Mingbao Lin, Yunshan Zhong, Jingjing Xie, Fei, Chao, Rongrong Ji

TL;DR
This paper introduces Bi-Mask, a novel bi-directional masking technique that improves training efficiency for N:M sparse neural networks by enabling backward acceleration and maintaining high performance.
Contribution
The paper proposes a new bi-directional masking method with weight permutation to enhance N:M sparse training efficiency and performance.
Findings
Bi-Mask achieves better training acceleration than uni-directional masks.
Bi-Mask performs on par or better than methods without backward acceleration.
Experimental results validate the effectiveness of Bi-Mask in N:M sparse training.
Abstract
We focus on addressing the dense backward propagation issue for training efficiency of N:M fine-grained sparsity that preserves at most N out of M consecutive weights and achieves practical speedups supported by the N:M sparse tensor core. Therefore, we present a novel method of Bi-directional Masks (Bi-Mask) with its two central innovations in: 1) Separate sparse masks in the two directions of forward and backward propagation to obtain training acceleration. It disentangles the forward and backward weight sparsity and overcomes the very dense gradient computation. 2) An efficient weight row permutation method to maintain performance. It picks up the permutation candidate with the most eligible N:M weight blocks in the backward to minimize the gradient gap between traditional uni-directional masks and our bi-directional masks. Compared with existing uni-directional scenario that applies…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsSpeech and Audio Processing · Advanced Image and Video Retrieval Techniques · Advanced Neural Network Applications
Methodsfail
