Automatic Pruning via Structured Lasso with Class-wise Information

Xiang Liu, Mingchen Li, Xia Li, Leigang Qu, Zifan Peng, Yijun Song, Zemin Liu, Linshan Jiang, Jialin Li · OpenReview

Abstract

Most pruning methods concentrate on unimportant filters of neural networks. However, they face the loss of statistical information due to a lack of consideration for class-wise data. In this paper, from the perspective of leveraging precise class-wise information for model pruning, we utilize structured lasso with guidance from Information Bottleneck theory. Our approach ensures that statistical information is retained during the pruning process. With these techniques, we introduce two innovative adaptive network pruning schemes: sparse graph-structured lasso pruning with Information Bottleneck (sGLP-IB) and sparse tree-guided lasso pruning with Information Bottleneck (sTLP-IB). The key aspect is pruning model filters using sGLP-IB and sTLP-IB to better capture class-wise relatedness. Compared to multiple state-of-the-art methods, our approaches demonstrate superior performance across three datasets and six model architectures.

Introduction

Deep learning models like VGGNet and ResNet have revolutionized computer vision but are computationally heavy, often requiring significant memory and processing power. This high demand limits their deployment on resource-constrained edge devices like smartphones and IoT sensors. While network pruning—the process of removing redundant parameters—is a standard solution, existing techniques often overlook "class context." They treat all filters as globally equal, failing to recognize that certain filters may be critical for specific categories (e.g., distinguishing "cats" from "dogs"). Furthermore, many schemes rely on manual hyperparameter tuning, which is both imprecise and unscalable.

This paper addresses these issues by introducing an automated, class-aware pruning strategy that preserves statistically significant information using Information Bottleneck (IB) theory.

Methodology

The proposed framework utilizes IB theory to act as a filter, retaining relevant output information while discarding noise. The authors introduce two primary schemes:

  1. sGLP-IB (Sparse Graph-structured Lasso Pruning): Models filter relationships as a graph, using Pearson correlations to identify clusters of filters that work in tandem.
  2. sTLP-IB (Sparse Tree-guided Lasso Pruning): Uses a hierarchical tree structure to model class relatedness, reflecting the natural taxonomy of data (e.g., grouping "trucks" and "cars" closer than "birds").
The proposed pruning framework utilizing structured lasso and class-wise information.

To overcome the computational burden of high-dimensional dependencies, the authors integrate Gram matrices. This mathematical shortcut captures the geometric structure of feature maps, accelerating the pruning process by approximately 25.7 times. Additionally, an Adaptive Sparsity Algorithm based on binary search automatically determines the optimal penalty ($\lambda$) for each layer, ensuring target model sizes are met without manual intervention. Pruning is performed layer-wise to prevent error accumulation.

Results and Insights

The methods were evaluated on CIFAR-10, CIFAR-100, and ImageNet across various architectures.

  • VGG16 (CIFAR-10): Achieved an 85% reduction in parameters and a 61% reduction in FLOPs, while increasing accuracy by 0.14% over the baseline.
  • ResNet-50 (ImageNet): Reduced parameters by 55% and FLOPs by 57% with a negligible accuracy drop of only 0.03%.
  • Edge Performance: On a Raspberry Pi 4B, the pruned models demonstrated up to a 73% reduction in latency, proving the method's effectiveness for edge computing.
t-SNE visualizations comparing graph-based (G) and tree-guided (T) pruning across different kernels.

A key insight from the experiments is that class-wise information is vital. By grouping filters based on these relationships, the pruning becomes more surgical. Qualitative analysis via t-SNE (Figure 3) shows that tree-guided approaches (T) often outperform graph-based ones (G), suggesting that hierarchical taxonomies more accurately represent neural network feature distributions than flat graphs.

Conclusion

The sGLP-IB and sTLP-IB methods successfully reduce model size and computational requirements while maintaining or improving accuracy. Future work will explore applying these structured lasso techniques to more complex tasks like object detection and expanding the methodology to Transformer-based architectures, which are increasingly dominant but computationally expensive.

Summary updated

BibTeX
@misc{liu2025automatic,
  author = {Xiang Liu and Mingchen Li and Xia Li and Leigang Qu and Zifan Peng and Yijun Song and Zemin Liu and Linshan Jiang and Jialin Li},
  title = {{Automatic Pruning via Structured Lasso with Class-wise Information}},
  year = {2025},
  eprint = {2502.09125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.09125},
}
Figure