Skip to main content
QUICK REVIEW

[Paper Review] WoodFisher: Efficient second-order approximations for model compression.

Sidak Pal Singh, Dan Alistarh|arXiv (Cornell University)|Apr 29, 2020
Advanced Neural Network ApplicationsComputer Science14 citations
TL;DR

WoodFisher proposes an efficient and accurate approximation of the inverse Hessian for neural network compression, improving upon existing methods by leveraging second-order information to enable superior one-shot and gradual pruning. It achieves state-of-the-art test accuracy on ResNet-50 and MobileNetV1 across ImageNet ILSVRC, outperforming prior approaches in both compression quality and generalization.

ABSTRACT

Second-order information, in the form of Hessian- or Inverse-Hessian-vector products, is a fundamental tool for solving optimization problems. Recently, there has been significant interest in utilizing this information in the context of deep neural networks; however, relatively little is known about the quality of existing approximations in this context. Our work examines this question, identifies issues with existing approaches, and proposes a method called WoodFisher to compute a faithful and efficient estimate of the inverse Hessian. Our main application is to neural network compression, where we build on the classic Optimal Brain Damage/Surgeon framework. We demonstrate that WoodFisher significantly outperforms popular state-of-the-art methods for one-shot pruning. Further, even when iterative, gradual pruning is considered, our method results in a gain in test accuracy over the state-of-the-art approaches, for pruning popular neural networks (like ResNet-50, MobileNetV1) trained on standard image classification datasets such as ImageNet ILSVRC. We examine how our method can be extended to take into account first-order information, as well as illustrate its ability to automatically set layer-wise pruning thresholds and perform compression in the limited-data regime. The code is available at the following link, this https URL.

Motivation & Objective

  • To address the lack of reliable second-order approximations in deep neural networks, particularly for model compression.
  • To improve the fidelity and efficiency of inverse Hessian estimation in the context of neural network optimization.
  • To enhance one-shot and gradual pruning performance by leveraging accurate second-order information.
  • To enable automatic layer-wise pruning threshold selection and effective compression in low-data regimes.

Proposed method

  • WoodFisher computes a faithful and efficient estimate of the inverse Hessian using a novel approximation scheme that balances accuracy and computational cost.
  • It extends the Optimal Brain Damage/Surgeon framework by incorporating high-quality second-order information for structured pruning.
  • The method integrates both first- and second-order information to refine pruning decisions and improve generalization.
  • It automatically sets layer-wise pruning thresholds based on the estimated curvature, reducing manual hyperparameter tuning.
  • WoodFisher is designed to scale efficiently to large models like ResNet-50 and MobileNetV1, enabling practical deployment.
  • The approach supports both one-shot and iterative pruning, with consistent gains in test accuracy.

Experimental results

Research questions

  • RQ1How accurate are existing inverse Hessian approximations in the context of deep neural networks?
  • RQ2Can a more faithful and efficient inverse Hessian approximation improve model compression outcomes?
  • RQ3Does incorporating second-order information lead to better generalization and higher accuracy after pruning?
  • RQ4Can WoodFisher automatically determine optimal layer-wise pruning thresholds without manual tuning?
  • RQ5How does WoodFisher perform in low-data regimes for model compression?

Key findings

  • WoodFisher achieves state-of-the-art test accuracy on ImageNet ILSVRC when compressing ResNet-50 and MobileNetV1 using one-shot pruning.
  • Even under iterative, gradual pruning, WoodFisher improves test accuracy over existing state-of-the-art methods.
  • The method provides a more faithful and efficient estimate of the inverse Hessian compared to prior approaches.
  • WoodFisher enables automatic layer-wise pruning threshold selection, reducing dependency on manual hyperparameter tuning.
  • The approach demonstrates robust performance in low-data regimes, enabling effective compression with limited training data.
  • The code is publicly available, facilitating reproducibility and further research.

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.