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

Hierarchical Adaptive Lasso: Learning Sparse Neural Networks with Shrinkage via Single Stage Training

Skyler Seto, Martin T. Wells, Wenyu Zhang

Abstract

Deep neural networks achieve state-of-the-art performance in a variety of tasks by extracting a rich set of features from unstructured data; however, this performance is closely tied to model size. Modern techniques for inducing sparsity and reducing model size include network pruning, training with a sparsity-inducing penalty, and training a binary mask jointly with the weights of the network. We study different sparsity-inducing penalties from the perspective of Bayesian hierarchical models and present a novel penalty called Hierarchical Adaptive Lasso (HALO). HALO learns to adaptively sparsify weights of a given network via trainable parameters. When used to train over-parametrized networks, our penalty yields small subnetworks with high accuracy without fine-tuning. Empirically, on image recognition tasks, we find that HALO is able to learn highly sparse networks (only 5% of the parameters) with significant gains in performance over state-of-the-art magnitude pruning methods at the same level of sparsity.

Introduction

Modern deep neural networks (DNNs) are notoriously over-parameterized, often containing millions of weights that make them difficult to deploy on edge devices or low-power hardware. To address this, researchers typically employ network pruning. However, existing techniques face significant hurdles: they are often complex multi-stage processes (e.g., Magnitude Pruning), inflexible in their regularization (e.g., standard $L_1$), or involve non-differentiable optimization problems (e.g., $L_0$ penalties). This work introduces a "single-stage" approach that naturally sparsifies the network during the initial training phase.

Methods: The HALO Framework

The core of this approach is HALO (Hierarchical Adaptive Lasso), a penalty function derived from a Bayesian Hierarchical Model. Instead of applying a fixed global penalty, HALO places a Laplace prior on the weights ($W$) and a Gamma prior on the regularization coefficients ($\lambda$).

In this framework, every weight $w_j$ in the network is paired with an individual, trainable shrinkage parameter $\lambda_j$. By performing Maximum A Posteriori (MAP) estimation, the Bayesian model is transformed into a differentiable loss function:

$$\Omega(W, \lambda; \psi, \xi) = \xi \sum_{j=1}^p h(\lambda_j)|w_j| + \psi \sum_{j=1}^p |\lambda_j|$$

This formulation allows the model to use standard backpropagation to simultaneously learn the optimal weights and the necessary amount of shrinkage for each weight. Vital features are kept unregularized, while unimportant weights are aggressively driven to zero.

The HALO framework integrates data, model architecture, and a hierarchical loss function to learn weight-specific shrinkage parameters.

Experimental Results

HALO was evaluated across standard computer vision benchmarks, including MNIST, CIFAR-10, CIFAR-100 (using VGG and ResNet-50), and PASCAL VOC (using SSD-300 for object detection).

Performance at Extreme Sparsity

HALO demonstrates superior performance compared to state-of-the-art methods like GraSP and the Lottery Ticket Hypothesis, particularly at high sparsity levels. On CIFAR-100 with a ResNet-50 architecture, HALO achieved 65.01% accuracy at 95% sparsity, significantly outperforming GraSP, which reached only 57.76% at the same level. For VGG architectures on CIFAR-100, HALO maintained performance within ~1% of the full dense model, whereas competing methods saw drops of 2–3%.

Accuracy and mean Average Precision (mAP) vs. Sparsity for VGG, ResNet-50, and SSD-300 models. HALO (purple) consistently maintains higher performance at extreme sparsity.

Robustness and Structure

Beyond simple compression, HALO exhibited remarkable noise immunity. When trained on datasets with corrupted labels, HALO effectively ignored noisy samples, reducing the generalization gap by over 40% compared to standard training. Furthermore, while the pruning is technically unstructured, HALO naturally tends to prune entire layers in the middle of the network and learns low-rank feature representations, suggesting an emergent discovery of efficient sub-architectures.

Discussion and Future Work

HALO offers a powerful single-stage alternative to multi-pass pruning methods. However, it does introduce a memory overhead during training because the number of parameters is doubled (due to the $\lambda$ vector). While these extra parameters are discarded post-training, this remains a consideration for hardware with limited VRAM.

Future research may explore Structured HALO (SHALO), extending the penalty to target entire neurons or channels rather than individual weights, which would facilitate direct speedups on standard hardware without requiring specialized sparse kernels.

Summary updated

BibTeX
@inproceedings{seto2021hierarchical,
  author = {Skyler Seto and Martin T. Wells and Wenyu Zhang},
  title = {{Hierarchical Adaptive Lasso: Learning Sparse Neural Networks with Shrinkage via Single Stage Training}},
  booktitle = {SDM},
  year = {2021},
  doi = {10.1137/1.9781611976700.63},
}
Figure