Separate, Dynamic and Differentiable (SMART) Pruner for Block/Output Channel Pruning on Computer Vision Tasks
Guanhua Ding, Zexi Ye, Zhen Zhong, Gang Li, David Shao
TL;DR
SMART pruner tackles block pruning by integrating cross-layer and within-layer weight importance with a differentiable Top-$k$ mask and a dynamic temperature schedule. By reformulating the $L_0$-norm constrained pruning into an unconstrained objective $L(w \odot f_\tau(m))$, and proving equivalence to the original problem (Theorem 3.3 and related results), it enables gradient-based optimization with convergence guarantees as $\tau \to 0$. The approach is complemented by a three-stage training flow and a dynamic temperature trick that escapes non-sparse local minima (Theorem 3.7). Empirically, SMART achieves state-of-the-art block pruning performance across multiple CV tasks and block shapes, with reduced hyperparameter tuning, making it practical for industrial edge deployments that demand accuracy, controllable sparsity, and stable convergence.
Abstract
Block pruning, which eliminates contiguous blocks of weights, is a structural pruning method that can significantly enhance the performance of neural processing units (NPUs). In industrial applications, an ideal block pruning algorithm should meet three key requirements: (1) maintain high accuracy across diverse models and tasks, as machine learning deployments on edge devices are typically accuracy-critical; (2) offer precise control over resource constraints to facilitate user adoption; and (3) provide convergence guarantees to prevent performance instability. However, to the best of our knowledge, no existing block pruning algorithm satisfies all three requirements simultaneously. In this paper, we introduce SMART (Separate, Dynamic, and Differentiable) pruning, a novel algorithm designed to address this gap. SMART leverages both weight and activation information to enhance accuracy, employs a differentiable top-k operator for precise control of resource constraints, and offers convergence guarantees under mild conditions. Extensive experiments involving seven models, four datasets, three different block types, and three computer vision tasks demonstrate that SMART pruning achieves state-of-the-art performance in block pruning.
