Skip to main content
QUICK REVIEW

[Paper Review] Attention-Based Guided Structured Sparsity of Deep Neural Networks

Amirsina Torfi, Rouzbeh A. Shirvani|arXiv (Cornell University)|Feb 13, 2018
Advanced Neural Network ApplicationsComputer Science12 references13 citations
TL;DR

This paper proposes Guided Structured Sparsity (GSS), an attention-based method that enforces group sparsity in deep neural networks while preserving critical information bottlenecks by using a group variance loss to maintain active neurons. It achieves a 6% accuracy gain over the best baseline on CIFAR-10 at 90% sparsity and reduces accuracy drop by 2.6× compared to unguided pruning methods.

ABSTRACT

Network pruning is aimed at imposing sparsity in a neural network architecture by increasing the portion of zero-valued weights for reducing its size regarding energy-efficiency consideration and increasing evaluation speed. In most of the conducted research efforts, the sparsity is enforced for network pruning without any attention to the internal network characteristics such as unbalanced outputs of the neurons or more specifically the distribution of the weights and outputs of the neurons. That may cause severe accuracy drop due to uncontrolled sparsity. In this work, we propose an attention mechanism that simultaneously controls the sparsity intensity and supervised network pruning by keeping important information bottlenecks of the network to be active. On CIFAR-10, the proposed method outperforms the best baseline method by 6% and reduced the accuracy drop by 2.6x at the same level of sparsity.

Motivation & Objective

  • To address the issue of uncontrolled sparsity in network pruning, which can lead to severe accuracy drops in under-parameterized models.
  • To develop a method that maintains important information bottlenecks by preserving a subset of active neurons during pruning.
  • To enable structured sparsity across both convolutional and fully-connected layers using a unified, layer-agnostic mechanism.
  • To provide a differentiable, attention-based regularization that guides sparsity enforcement while minimizing accuracy degradation.

Proposed method

  • The method introduces a composite loss function combining Softmax loss, ℓ₂ regularization, group sparsity loss (Lgs), and group variance loss (Lgv).
  • Group sparsity is enforced per channel in convolutional layers and per neuron in fully-connected layers, enabling structured pruning of entire filters or neurons.
  • The group variance loss (Lgv) promotes skewed weight distributions—most groups near zero, but a few significantly larger—thereby preserving critical information pathways.
  • The loss function is normalized by the number of groups to stabilize training and ensure consistent sparsity control across layers.
  • The attention mechanism dynamically controls sparsity intensity by emphasizing high-variance, active groups, preventing over-pruning of essential features.
  • The method is compatible with any layer type and integrates seamlessly into standard training pipelines without architectural modifications.

Experimental results

Research questions

  • RQ1Can an attention mechanism improve structured sparsity in deep neural networks by preserving critical information bottlenecks?
  • RQ2How does guided sparsity using group variance loss compare to standard structured sparsity in terms of accuracy and sparsity trade-offs?
  • RQ3To what extent can this method reduce accuracy drop when pruning at high sparsity levels?
  • RQ4Can the proposed method be effectively applied to both convolutional and fully-connected layers with consistent performance?

Key findings

  • On CIFAR-10 at 90% sparsity, the proposed method achieved an error rate of 16.13%, outperforming the best baseline (18.71%) by 6 percentage points.
  • The method reduced the accuracy drop by 2.6× compared to unguided pruning at the same sparsity level, demonstrating improved robustness.
  • On MNIST at 90% sparsity, the method achieved a test error of 1.21%, surpassing the next best method (1.43%) by 0.22 percentage points.
  • The group variance loss effectively maintained a subset of high-magnitude weight groups, ensuring information bottlenecks remained active during pruning.
  • The method demonstrated consistent performance across both convolutional and fully-connected layers, confirming its generalizability.
  • At higher sparsity levels, the proposed method showed superior accuracy retention compared to all baselines, as shown in Fig. 2.

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.