NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning $k$-Level Structured Sparse Neural Networks Using Group Envelope Regularization

Yehonathan Refael, Iftach Arbel, Wasim Huleihel

TL;DR

This paper introduces Weighted Group Sparse Envelope Function (WGSEF), a novel regularization technique for training sparse neural networks. WGSEF efficiently prunes entire groups of neurons (like filters or channels) to reduce computational cost and memory usage, achieving significant compression with minimal accuracy loss. This makes deploying large neural networks on resource-constrained devices more feasible.

What Problem Does This Paper Address?

Deploying large Deep Neural Networks (DNNs) on devices with limited computational resources (like mobile phones or edge devices) is a major challenge. These networks are often "over-parameterized," meaning they contain many redundant parameters that don't significantly contribute to performance. While pruning these parameters can reduce model size and speed up inference, achieving this structurally (e.g., removing entire filters or channels) is crucial for hardware acceleration. Existing methods for structured sparsity often struggle with computational complexity or achieving the desired sparsity level without hurting accuracy. This paper aims to bridge this gap by providing an efficient and adaptable method for structured sparsity learning.

Methods

The core contribution is the Weighted Group Sparse Envelope Function (WGSEF), a generalization of the Sparse Envelope Function (SEF). WGSEF acts as a regularizer during training, encouraging entire groups of neurons (defined by the user, e.g., convolutional filters, channels, or even layers) to be pruned.

Here's a breakdown:

  • Group Definition: WGSEF allows flexible definition of "groups" of parameters. This is key for tailoring sparsity to specific hardware (NPU) architectures.
  • Weighted Group Sparse Envelope Function (WGSEF): This is a convex relaxation of a non-convex objective that encourages structured sparsity. It effectively selects the "most essential" $k$ groups of neurons to keep, pruning the rest.
  • Efficient Computation: The paper develops efficient algorithms to compute the WGSEF regularizer and its proximal operator. This is crucial for making it practical for training deep networks. The complexity is linear with respect to the number of groups.
  • Optimization: They employ a proximal-gradient-based optimization technique (ProxSGD) to train the network, handling the non-convexity of the overall problem.

Datasets

The paper evaluates their method on several standard datasets:

  • CIFAR-10
  • Fashion-MNIST
  • ImageNet
  • CIFAR-100

Key Insights and Ideas

  • Adaptability is Key: The ability to define "groups" of parameters is a significant advantage. This allows WGSEF to be tailored to specific hardware architectures (like NPUs) that might benefit from pruning specific structures (e.g., entire filters).
  • Convex Relaxation for Structured Sparsity: By generalizing the SEF, the authors provide a tractable convex relaxation for structured sparsity, which is often a difficult problem due to non-convexity.
  • Efficiency Matters: The linear complexity of computing the WGSEF regularizer and its proximal operator is a major practical advantage, preventing it from becoming a bottleneck in the training process.
  • Sparsity without Sacrificing Accuracy: The results show that WGSEF can achieve high levels of structured sparsity with negligible or even improved accuracy, which is a critical finding for practical deployment.

Key Results

The paper presents several experimental results demonstrating WGSEF's effectiveness:

  • High Compression Ratios: WGSEF achieved significantly higher group sparsity ratios compared to state-of-the-art methods on various architectures (VGG16, ResNet18, MobileNetV1, ResNet40, ResNet50, LeNet-5). For example, on ResNet18 with CIFAR-10, they achieved 76.8% sparsity with 91.5% accuracy, outperforming other methods.
  • Comparable Accuracy: Despite achieving high sparsity, the accuracy remained comparable to or even improved upon baseline models and other state-of-the-art techniques.
  • Speedup and FLOP Reduction: Experiments on LeNet-5 showed significant improvements in FLOPs and inference latency due to structural pruning. For instance, one configuration achieved a 2.06x-7.31x speedup.
  • Efficiency: The computational complexity of the WGSEF proximal operator is linear in the number of groups, making it efficient for training.

Limitations and Future Work

  • Parameter Tuning: The paper notes that setting the $k$ parameter (desired sparsity level) requires some understanding of the maximum compression level achievable without compromising performance. This suggests a need for methods to guide this selection.
  • Group Definition: Future work could explore more intricate group definitions, particularly for complex models like large language models.
  • Importance Assessment: The authors suggest investigating alternative mechanisms for assessing group importance beyond just the squared norm magnitude.

Summary updated

BibTeX
@article{refael2024learning,
  author = {Yehonathan Refael and Iftach Arbel and Wasim Huleihel},
  title = {{Learning $k$-Level Structured Sparse Neural Networks Using Group Envelope Regularization}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=XPLXYr7NlR},
}
Figure