Skip to main content
QUICK REVIEW

[Paper Review] Identifying Generalization Properties in Neural Networks

Huan Wang, Nitish Shirish Keskar|arXiv (Cornell University)|Sep 19, 2018
Neural Networks and ApplicationsComputer Science18 references39 citations
TL;DR

This paper establishes a theoretical link between neural network generalization and local solution properties—specifically the Hessian, its Lipschitz constant, and parameter scales—within the PAC-Bayes framework. It proposes a Hessian-aware perturbation algorithm that adaptively adjusts noise levels to improve generalization, demonstrating improved test accuracy across CIFAR-10, CIFAR-100, and Tiny ImageNet benchmarks.

ABSTRACT

While it has not yet been proven, empirical evidence suggests that model generalization is related to local properties of the optima which can be described via the Hessian. We connect model generalization with the local property of a solution under the PAC-Bayes paradigm. In particular, we prove that model generalization ability is related to the Hessian, the higher-order "smoothness" terms characterized by the Lipschitz constant of the Hessian, and the scales of the parameters. Guided by the proof, we propose a metric to score the generalization capability of the model, as well as an algorithm that optimizes the perturbed model accordingly.

Motivation & Objective

  • To resolve the paradox of why over-parameterized deep networks generalize well despite high capacity, by analyzing local solution properties.
  • To formalize the relationship between model generalization and local smoothness, as quantified by the Hessian and its higher-order properties.
  • To develop a theoretically grounded, Hessian-aware perturbation algorithm that improves generalization through adaptive noise injection.
  • To provide a new generalization metric (pacGen) that correlates with test performance and guides perturbation level selection.

Proposed method

  • Derives a PAC-Bayes bound that explicitly depends on the Hessian of the loss, the Lipschitz constant of the Hessian, parameter scales, and training sample count.
  • Introduces a generalization metric, pacGen, based on the derived bound, which scores model generalization capability.
  • Proposes a perturbation-based optimization algorithm (Perturbed OPT) that uses estimated Hessian diagonal elements and gradient magnitudes to adaptively set noise levels.
  • Employs exponential smoothing (similar to Adam) to estimate the Hessian in an efficient, online manner without computing full Hessian matrices.
  • Applies perturbations only to parameters with small gradients (|g_i| < β₂) to reduce noise impact on optimization stability.
  • Uses a logarithmic decay schedule for perturbation magnitude to balance early exploration and late refinement.

Experimental results

Research questions

  • RQ1How is model generalization related to the Hessian and higher-order smoothness (Lipschitz constant of Hessian) of the loss landscape?
  • RQ2Can a theoretically grounded perturbation strategy improve generalization by exploiting local solution geometry?
  • RQ3Does the optimal perturbation level scale with the Hessian in a way that cancels reparameterization-induced scaling effects?
  • RQ4Can the proposed generalization metric (pacGen) reliably predict model performance on unseen data?
  • RQ5Does the perturbation algorithm achieve regularization-like effects, improving test accuracy without compromising training loss?

Key findings

  • The generalization error is theoretically bounded by terms involving the Hessian, its Lipschitz constant, parameter scales, and training sample size.
  • The optimal perturbation level scales approximately as 1 / sqrt(Hessian + ρ√m κ), which mitigates reparameterization sensitivity as shown by Dinh et al. (2017).
  • The proposed pacGen metric correlates with generalization performance, with lower scores indicating better test generalization.
  • On CIFAR-10 and CIFAR-100, the perturbation algorithm with Adam optimizer improved test accuracy while slightly reducing training accuracy.
  • On Tiny ImageNet, the perturbed SGD variant achieved higher validation accuracy than the baseline, demonstrating consistent regularization-like behavior.
  • The algorithm’s performance is robust across datasets and optimizers, indicating broad applicability of the Hessian-based perturbation principle.

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.