OptG: Optimizing Gradient-driven Criteria in Network Sparsity

Yuxin Zhang, Mingbao Lin, Mengzhao Chen, Fei Chao, Rongrong Ji
1/30/2022
cs.CV

Official code: zyxxmu/OptG (4 stars, Python, last commit 2023-07-16).

Abstract

Network sparsity receives popularity mostly due to its capability to reduce the network complexity. Extensive studies excavate gradient-driven sparsity.

Show full abstract

Typically, these methods are constructed upon premise of weight independence, which however, is contrary to the fact that weights are mutually influenced. Thus, their performance remains to be improved. In this paper, we propose to optimize gradient-driven sparsity (OptG) by solving this independence paradox. Our motive comes from the recent advances in supermask training which shows that high-performing sparse subnetworks can be located by simply updating mask values without modifying any weight. We prove that supermask training is to accumulate the criteria of gradient-driven sparsity for both removed and preserved weights, and it can partly solve the independence paradox. Consequently, OptG integrates supermask training into gradient-driven sparsity, and a novel supermask optimizer is further proposed to comprehensively mitigate the independence paradox. Experiments show that OptG can well surpass many existing state-of-the-art competitors, especially at ultra-high sparsity levels. Our code is available at \url{https://github.com/zyxxmu/OptG}.

View on arXivView PDF

Code Implementations(1)

zyxxmu/OptGOfficial100%

Pytorch implementation of our paper under review - Optimizing Gradient-driven Criteria in Network Sparsity: Gradient is All You Need

41PythonJan 30, 20223 years ago

Similar Papers

Cite this paper

@article{zhang2022optg,
  title  = {OptG: Optimizing Gradient-driven Criteria in Network Sparsity},
  author = {Yuxin Zhang and Mingbao Lin and Mengzhao Chen and Fei Chao and Rongrong Ji},
  year   = {2022},
  eprint = {2201.12826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12826}
}

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/2201.12826.svg)](https://codeofpaper.com/paper/2201.12826)

Discussion