Skip to main content
QUICK REVIEW

[Paper Review] Exploring Weight Importance and Hessian Bias in Model Pruning

Mingchen Li, Yahya Sattar|arXiv (Cornell University)|Jun 19, 2020
Adversarial Robustness in Machine LearningComputer Science60 references5 citations
TL;DR

This paper introduces a principled analysis of model pruning by comparing three importance criteria—Hessian-based, magnitude-based, and natural importance—revealing that Hessian structure induces implicit bias that critically affects pruning performance. It derives exact asymptotic formulas showing Hessian-based pruning is robust to feature covariance scaling, while magnitude-based pruning fails catastrophically when weight magnitudes and Hessian importance diverge, especially under improper initialization.

ABSTRACT

Model pruning is an essential procedure for building compact and computationally-efficient machine learning models. A key feature of a good pruning algorithm is that it accurately quantifies the relative importance of the model weights. While model pruning has a rich history, we still don't have a full grasp of the pruning mechanics even for relatively simple problems involving linear models or shallow neural nets. In this work, we provide a principled exploration of pruning by building on a natural notion of importance. For linear models, we show that this notion of importance is captured by covariance scaling which connects to the well-known Hessian-based pruning. We then derive asymptotic formulas that allow us to precisely compare the performance of different pruning methods. For neural networks, we demonstrate that the importance can be at odds with larger magnitudes and proper initialization is critical for magnitude-based pruning. Specifically, we identify settings in which weights become more important despite becoming smaller, which in turn leads to a catastrophic failure of magnitude-based pruning. Our results also elucidate that implicit regularization in the form of Hessian structure has a catalytic role in identifying the important weights, which dictate the pruning performance.

Motivation & Objective

  • To understand the fundamental mechanics of model pruning in over-parameterized models, especially the role of Hessian structure and weight importance.
  • To compare the robustness and performance of three pruning criteria: Hessian-based, magnitude-based, and natural importance.
  • To quantify how implicit bias from Hessian structure influences pruning outcomes, particularly in linear models and two-layer ReLU networks.
  • To identify conditions under which magnitude-based pruning fails despite large weight magnitudes, and explain the role of proper initialization.
  • To derive exact asymptotic performance formulas for pruning methods under controlled covariance scaling, enabling precise comparison.

Proposed method

  • The authors construct a class of equivalent linear problems by diagonal scaling of the feature covariance matrix (Hessian) while preserving labels, enabling controlled study of Hessian bias.
  • They derive exact asymptotic formulas for pruning performance in high-dimensional limits, showing scaling invariance for Hessian and natural importance, but brittleness for magnitude-based importance.
  • For two-layer ReLU networks, they use a simplified initialization model to analyze how Hessian structure governs training dynamics and weight contribution.
  • They introduce a 'larger Hessian wins more' theorem, quantifying relative contribution of weight groups via Hessian bias during training.
  • They use high-dimensional probability tools, including concentration inequalities and limit theorems, to analyze the behavior of optimization and pruning under large sample and network size regimes.
  • They compare pruning performance via analytical expressions for generalization error and pruning-induced accuracy loss, derived in the limit of large dimensions.

Experimental results

Research questions

  • RQ1How does feature covariance scaling (Hessian structure) affect the performance of magnitude-based vs. Hessian-based pruning in linear models?
  • RQ2Why does magnitude-based pruning fail in over-parameterized settings, even when weights have large magnitudes?
  • RQ3To what extent does Hessian structure induce implicit bias that improves or harms pruning performance?
  • RQ4How does proper initialization influence the alignment between weight magnitude and Hessian-based importance in deep networks?
  • RQ5Can exact asymptotic formulas be derived to compare the performance of different pruning criteria in high-dimensional settings?

Key findings

  • Hessian-based and natural importance are invariant to diagonal scaling of the feature covariance matrix (Hessian), while magnitude-based importance is highly sensitive to such scaling, making it brittle in over-determined settings.
  • In over-parameterized settings, Hessian structure becomes critical: implicit bias from the Hessian can boost Hessian-based pruning performance while degrading magnitude-based pruning.
  • The paper derives exact asymptotic formulas that precisely capture the performance differences between pruning methods, revealing a negative bias when principal covariance directions are misaligned with important weights.
  • For two-layer ReLU networks, the Hessian structure governs training dynamics such that weights with larger Hessian values contribute more to learning, even if their magnitudes are small.
  • A 'larger Hessian wins more' theorem is established, showing that Hessian-based importance dominates in determining contribution during training, especially in over-parameterized regimes.
  • Magnitude-based pruning catastrophically fails when weight magnitudes and Hessian importance move in opposite directions, which can occur even after proper training, due to implicit bias in optimization.

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.