Training Sparse Neural Network by Constraining Synaptic Weight on Unit Lp Sphere

Weipeng Li, Xiaogang Yang, Chuanxiang Li, Ruitao Lu, Xueli Xie
3/30/2021
cs.LGcs.CV

Official code: WilliamLiPro/LpSS (2 stars, Python, last commit 2021-01-27).

Abstract

Sparse deep neural networks have shown their advantages over dense models with fewer parameters and higher computational efficiency. Here we demonstrate constraining the synaptic weights on unit Lp-sphere enables the flexibly control of the sparsity with p and improves the generalization ability of neural networks.

Show full abstract

Firstly, to optimize the synaptic weights constrained on unit Lp-sphere, the parameter optimization algorithm, Lp-spherical gradient descent (LpSGD) is derived from the augmented Empirical Risk Minimization condition, which is theoretically proved to be convergent. To understand the mechanism of how p affects Hoyer's sparsity, the expectation of Hoyer's sparsity under the hypothesis of gamma distribution is given and the predictions are verified at various p under different conditions. In addition, the "semi-pruning" and threshold adaptation are designed for topology evolution to effectively screen out important connections and lead the neural networks converge from the initial sparsity to the expected sparsity. Our approach is validated by experiments on benchmark datasets covering a wide range of domains. And the theoretical analysis pave the way to future works on training sparse neural networks with constrained optimization.

View on arXivView PDF

Code Implementations(1)

WilliamLiPro/LpSSOfficial100%

Training sparse neural network with Lp normalized weight

21PythonJan 8, 20205 years agoNOASSERTION
computer-visionmachine-learningneural-network

Similar Papers

Cite this paper

@article{li2021training,
  title  = {Training Sparse Neural Network by Constraining Synaptic Weight on Unit Lp Sphere},
  author = {Weipeng Li and Xiaogang Yang and Chuanxiang Li and Ruitao Lu and Xueli Xie},
  year   = {2021},
  eprint = {2103.16013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16013}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.16013.svg)](https://codeofpaper.com/paper/2103.16013)

Discussion