Skip to main content
QUICK REVIEW

[Paper Review] OptG: Optimizing Gradient-driven Criteria in Network Sparsity

Yuxin Zhang, Mingbao Lin|arXiv (Cornell University)|Jan 30, 2022
Sparse and Compressive Sensing TechniquesEngineering5 citations
TL;DR

OptG proposes a novel method to optimize gradient-driven network sparsity by resolving the independence paradox—where weight removal assumes parameter independence, contradicting real-world weight interdependence. By integrating supermask training with a paradox-aware supermask optimizer that accumulates mask gradients and uses a sparsity-adaptive learning rate, OptG achieves state-of-the-art performance, especially at ultra-high sparsity levels, such as 67.20% top-1 accuracy on ImageNet with 98% sparsity in ResNet-50.

ABSTRACT

Network sparsity receives popularity mostly due to its capability to reduce the network complexity. Extensive studies excavate gradient-driven sparsity. 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}.

Motivation & Objective

  • Address the independence paradox in gradient-driven sparsity, where weight removal assumes independence despite mutual weight influence.
  • Investigate the limitations of existing gradient-driven methods that remove weights once-for-all, leading to inaccurate loss change estimation.
  • Leverage insights from supermask training to develop a method that better approximates true weight importance under interdependence.
  • Propose a novel supermask optimizer that dynamically adjusts mask learning rates based on sparsity progression to minimize error gaps.
  • Achieve state-of-the-art performance in sparse training, particularly at extreme sparsity levels where the independence paradox causes the largest performance drop.

Proposed method

  • Introduce a supermask optimizer that accumulates mask gradients across training iterations and updates the binary mask only at the start of each training epoch.
  • Formulate a paradox-aware learning rate schedule that scales the mask learning rate proportionally to the current sparsity level to reduce error from weight interdependence.
  • Integrate supermask training into during-training sparsity, preserving weights while optimizing mask values via straight-through estimation.
  • Prove that supermask training implicitly accumulates gradient-driven sparsity criteria for both preserved and removed weights, offering a partial solution to the independence paradox.
  • Use first- and higher-order Taylor approximations of the loss function to measure weight importance, with OptG refining this criterion through dynamic mask optimization.
  • Apply a gradual sparsity schedule that revives weights to their original values before sparsification, enabling stable training and better convergence at high sparsity levels.
Figure 1 : Top-1 accuracy v.s. sparsity with ResNet-50 on ImageNet. The proposed OptG significantly improves performance of other approaches, especially at the ultra-high sparsity levels.
Figure 1 : Top-1 accuracy v.s. sparsity with ResNet-50 on ImageNet. The proposed OptG significantly improves performance of other approaches, especially at the ultra-high sparsity levels.

Experimental results

Research questions

  • RQ1To what extent does the independence assumption in gradient-driven sparsity degrade performance, especially at high sparsity levels?
  • RQ2Can supermask training be theoretically linked to gradient-driven sparsity criteria, and does it offer a partial solution to the independence paradox?
  • RQ3How does a sparsity-adaptive learning rate schedule for mask optimization affect performance compared to fixed or weight-synchronized schedules?
  • RQ4Can interleaving supermask training with during-training sparsity lead to better generalization and higher accuracy at extreme sparsity levels?
  • RQ5What is the impact of mask update frequency on training stability and performance in sparse training with dynamic mask optimization?

Key findings

  • OptG achieves 67.20% top-1 accuracy on ImageNet with ResNet-50 at 98% sparsity, significantly outperforming the strong baseline STR, which reaches only 62.84% under the same conditions.
  • At 95% sparsity, OptG achieves 72.38% top-1 accuracy under the proposed sparsity schedule, surpassing its own performance under the Zhu et al. schedule (71.82%) and outperforming SET, RigL, and DPF.
  • The ablation study confirms that the proposed paradox-aware learning rate schedule outperforms both a constant learning rate and a weight-synchronized learning rate, demonstrating its effectiveness in mitigating error gaps.
  • Frequent mask updates degrade performance due to instability in the sparse training process, highlighting the benefit of infrequent, epoch-wise mask updates in OptG.
  • OptG achieves 70.27% top-1 accuracy on MobileNet-V1 at 90% sparsity, outperforming STR (66.80%) and GMP (61.80%) at the same sparsity level.
  • The method automatically learns layer-wise sparsity patterns without manual design, demonstrating adaptability across different network architectures and sparsity regimes.
Figure 2 : (a) The progression of the overall sparsity and (b) the learning rate of the supermasks with different $\alpha$ over the course of training.
Figure 2 : (a) The progression of the overall sparsity and (b) the learning rate of the supermasks with different $\alpha$ over the course of training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.