English

DHP: Differentiable Meta Pruning via HyperNetworks

Computer Vision and Pattern Recognition 2020-08-04 v3 Machine Learning Image and Video Processing

Abstract

Network pruning has been the driving force for the acceleration of neural networks and the alleviation of model storage/transmission burden. With the advent of AutoML and neural architecture search (NAS), pruning has become topical with automatic mechanism and searching based architecture optimization. Yet, current automatic designs rely on either reinforcement learning or evolutionary algorithm. Due to the non-differentiability of those algorithms, the pruning algorithm needs a long searching stage before reaching the convergence. To circumvent this problem, this paper introduces a differentiable pruning method via hypernetworks for automatic network pruning. The specifically designed hypernetworks take latent vectors as input and generate the weight parameters of the backbone network. The latent vectors control the output channels of the convolutional layers in the backbone network and act as a handle for the pruning of the layers. By enforcing 1\ell_1 sparsity regularization to the latent vectors and utilizing proximal gradient solver, sparse latent vectors can be obtained. Passing the sparsified latent vectors through the hypernetworks, the corresponding slices of the generated weight parameters can be removed, achieving the effect of network pruning. The latent vectors of all the layers are pruned together, resulting in an automatic layer configuration. Extensive experiments are conducted on various networks for image classification, single image super-resolution, and denoising. And the experimental results validate the proposed method.

Keywords

Cite

@article{arxiv.2003.13683,
  title  = {DHP: Differentiable Meta Pruning via HyperNetworks},
  author = {Yawei Li and Shuhang Gu and Kai Zhang and Luc Van Gool and Radu Timofte},
  journal= {arXiv preprint arXiv:2003.13683},
  year   = {2020}
}

Comments

ECCV camera-ready. Code is available at https://github.com/ofsoundof/dhp

R2 v1 2026-06-23T14:32:32.808Z