Learning k-Level Structured Sparse Neural Networks Using Group Envelope Regularization
Yehonathan Refael, Iftach Arbel, Wasim Huleihel
TL;DR
This paper tackles the challenge of deploying large DNNs on resource-limited devices by introducing WGSEF, a convex relaxation that generalizes the Sparse Envelop Function to structured, group-level sparsity. By selecting up to k predefined groups, WGSEF enables hardware-aware pruning with a proximal operator that scales linearly with the number of parameters, and a proximal-gradient training scheme that can predefine sparsity levels without sacrificing accuracy. The approach is validated across multiple architectures and datasets, showing higher group sparsity, competitive or improved accuracy, and substantial speedups and FLOPs reductions compared to existing pruning methods. These results highlight WGSEF as a practical, hardware-aligned tool for neural network compression and acceleration with broad applicability to structured sparsity settings.
Abstract
The extensive need for computational resources poses a significant obstacle to deploying large-scale Deep Neural Networks (DNN) on devices with constrained resources. At the same time, studies have demonstrated that a significant number of these DNN parameters are redundant and extraneous. In this paper, we introduce a novel approach for learning structured sparse neural networks, aimed at bridging the DNN hardware deployment challenges. We develop a novel regularization technique, termed Weighted Group Sparse Envelope Function (WGSEF), generalizing the Sparse Envelop Function (SEF), to select (or nullify) neuron groups, thereby reducing redundancy and enhancing computational efficiency. The method speeds up inference time and aims to reduce memory demand and power consumption, thanks to its adaptability which lets any hardware specify group definitions, such as filters, channels, filter shapes, layer depths, a single parameter (unstructured), etc. The properties of the WGSEF enable the pre-definition of a desired sparsity level to be achieved at the training convergence. In the case of redundant parameters, this approach maintains negligible network accuracy degradation or can even lead to improvements in accuracy. Our method efficiently computes the WGSEF regularizer and its proximal operator, in a worst-case linear complexity relative to the number of group variables. Employing a proximal-gradient-based optimization technique, to train the model, it tackles the non-convex minimization problem incorporating the neural network loss and the WGSEF. Finally, we experiment and illustrate the efficiency of our proposed method in terms of the compression ratio, accuracy, and inference latency.
