Efficient Dynamic Structured Sparse Training with Learned Shuffles
Abhishek Tyagi, Arjun Iyer, Liam Young, William H Renninger, Christopher Kanan, Yuhao Zhu
TL;DR
This work tackles the efficiency gap between structured sparsity and unstructured dynamic sparse training by introducing Permutation-Augmented DST (PA-DST), which jointly learns a permutation matrix per layer with a structured sparse weight matrix. The authors provide a combinatorial expressivity analysis based on linear regions to show how mixing via permutations restores depth-dependent expressivity that structured patterns alone limit, and they validate the theory with experiments on Vision (ImageNet-1K, ViT) and Language (WikiText-103, GPT-2). Empirically, PA-DST achieves accuracy comparable to unstructured DST at 90–95% sparsity while delivering up to 1.21× training and 2.9× inference speedups, highlighting structure plus learned permutation as a practical compromise between accuracy and hardware efficiency. The approach integrates a differentiable permutation estimator (soft-to-hard via the Birkhoff polytope) and re-indexing tricks to avoid extra matmuls, enabling efficient end-to-end training and inference in transformer-like architectures.
Abstract
Structured sparsity accelerates training and inference on modern GPUs, yet it still trails unstructured dynamic sparse training (DST) in accuracy. The shortfall stems from a loss of expressivity: whereas a dense layer can realize every possible mask obtained by choosing any $w$ active weights out of $n$, a fixed block or N:M layout explores only a subset of those possibilities. We propose to close this gap by learning, for each layer, a single permutation matrix jointly with the structured weight matrix. Applied to three canonical structures -- block, N:M, and diagonals -- we show that permutation-augmented DST (PA-DST) matches unstructured baselines (RigL, SET) at 90--95\% sparsity on ImageNet-1K (ViT-B/16) and WikiText-103 (GPT-2), yet trains up to $1.21\times$ and infers up to $2.9\times$ faster. The results position structure + learned permutation as a sweet spot between accuracy and efficiency.
