Skip to main content
QUICK REVIEW

[Paper Review] SOSP: Efficiently Capturing Global Correlations by Second-Order Structured Pruning

Manuel Nonnenmacher, Thomas Pfeil|arXiv (Cornell University)|Oct 19, 2021
Advanced Neural Network ApplicationsComputer Science10 citations
TL;DR

This paper proposes SOSP, a novel second-order structured pruning method that efficiently captures global correlations across all layers using fast Hessian-vector products, enabling first-order-like scalability while maintaining second-order accuracy. SOSP-H achieves state-of-the-art accuracy with significantly lower computational cost and scales to large models like ResNet-50, outperforming existing methods in pruning efficiency and enabling systematic detection of architectural bottlenecks.

ABSTRACT

Pruning neural networks reduces inference time and memory costs. On standard hardware, these benefits will be especially prominent if coarse-grained structures, like feature maps, are pruned. We devise two novel saliency-based methods for second-order structured pruning (SOSP) which include correlations among all structures and layers. Our main method SOSP-H employs an innovative second-order approximation, which enables saliency evaluations by fast Hessian-vector products. SOSP-H thereby scales like a first-order method despite taking into account the full Hessian. We validate SOSP-H by comparing it to our second method SOSP-I that uses a well-established Hessian approximation, and to numerous state-of-the-art methods. While SOSP-H performs on par or better in terms of accuracy, it has clear advantages in terms of scalability and efficiency. This allowed us to scale SOSP-H to large-scale vision tasks, even though it captures correlations across all layers of the network. To underscore the global nature of our pruning methods, we evaluate their performance not only by removing structures from a pretrained network, but also by detecting architectural bottlenecks. We show that our algorithms allow to systematically reveal architectural bottlenecks, which we then remove to further increase the accuracy of the networks.

Motivation & Objective

  • To develop a scalable, globally aware structured pruning method that captures full Hessian correlations across all layers and structures.
  • To overcome the intractability of full second-order pruning in large neural networks by introducing a low-complexity approximation.
  • To enable systematic detection of architectural bottlenecks through pruning mask analysis and subsequent network widening.
  • To outperform existing first- and second-order structured pruning methods in accuracy, efficiency, and scalability on large-scale vision tasks.
  • To provide a practical, efficient, and theoretically grounded method for structured pruning that maintains model performance while reducing inference cost.

Proposed method

  • SOSP-H uses a novel second-order approximation based on fast Hessian-vector products, enabling efficient saliency evaluation with complexity comparable to first-order methods.
  • The method computes saliency scores via Hessian-vector products, avoiding explicit Hessian computation and enabling scalability to deep networks.
  • SOSP-I employs a well-established Gauss-Newton approximation as a baseline for comparison, providing a robust second-order reference.
  • The pruning process applies global, structure-level removal (e.g., filters, channels) based on saliency scores derived from the Hessian approximation.
  • The method supports both standard pruning and architectural bottleneck detection by analyzing pruning ratios across layers.
  • Parameter and MAC counts are computed exactly based on surviving filter counts and spatial dimensions, ensuring accurate efficiency measurement.

Experimental results

Research questions

  • RQ1Can a second-order structured pruning method efficiently capture global correlations across all layers and structures without incurring prohibitive computational cost?
  • RQ2Does a Hessian-based saliency approximation using Hessian-vector products achieve comparable or better accuracy than existing first- and second-order methods while maintaining low complexity?
  • RQ3Can the pruning masks generated by SOSP reveal architectural bottlenecks that, when widened, further improve pruned network accuracy?
  • RQ4How does SOSP-H compare in scalability and efficiency to SOSP-I and other state-of-the-art pruning methods on large-scale vision models like ResNet-50?
  • RQ5To what extent do approximate vs. exact parameter and MAC counting methods affect the reported pruning ratios and performance evaluation?

Key findings

  • SOSP-H achieves comparable or better accuracy than state-of-the-art pruning methods while reducing computational cost due to its first-order-like complexity.
  • SOSP-H scales effectively to large models such as ResNet-50, enabling global structured pruning across all layers with full Hessian consideration.
  • The method successfully detects architectural bottlenecks by identifying layers with disproportionately low pruning ratios, which are then widened to improve accuracy.
  • On ImageNet with ResNet-50, SOSP-I reports a 15% MAC pruning ratio, but the approximate counting method yields a 27% ratio, highlighting the importance of accurate measurement.
  • The exact parameter and MAC counting method used in this work yields more conservative and reliable efficiency estimates than approximate methods commonly used in prior work.
  • SOSP-H outperforms SOSP-I in terms of scalability and efficiency, demonstrating the advantage of its Hessian-vector-based approximation over the Gauss-Newton approach.

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.