Skip to main content
QUICK REVIEW

[Paper Review] A Scale Invariant Flatness Measure for Deep Network Minima

Akshay Rangamani, Nam H. Nguyen|arXiv (Cornell University)|Feb 6, 2019
Stochastic Gradient Optimization TechniquesComputer Science26 references20 citations
TL;DR

This paper proposes a scale-invariant flatness measure for deep neural network minima by leveraging a quotient manifold structure induced by parameter rescalings in networks with positively homogeneous activations (e.g., ReLU). By constructing a Riemannian metric on this quotient space, the method derives a Hessian-based sharpness measure invariant to rescaling, confirming that large-batch SGD minima are indeed flatter than small-batch ones under this new metric.

ABSTRACT

It has been empirically observed that the flatness of minima obtained from training deep networks seems to correlate with better generalization. However, for deep networks with positively homogeneous activations, most measures of sharpness/flatness are not invariant to rescaling of the network parameters, corresponding to the same function. This means that the measure of flatness/sharpness can be made as small or as large as possible through rescaling, rendering the quantitative measures meaningless. In this paper we show that for deep networks with positively homogenous activations, these rescalings constitute equivalence relations, and that these equivalence relations induce a quotient manifold structure in the parameter space. Using this manifold structure and an appropriate metric, we propose a Hessian-based measure for flatness that is invariant to rescaling. We use this new measure to confirm the proposition that Large-Batch SGD minima are indeed sharper than Small-Batch SGD minima.

Motivation & Objective

  • To address the fundamental issue that standard Hessian-based flatness measures are not invariant under parameter rescalings that preserve the same function in deep networks with positively homogeneous activations.
  • To formalize the rescaling transformations as equivalence relations in the parameter space, enabling a geometric treatment of flatness.
  • To construct a quotient manifold structure on the parameter space that captures functional equivalence under rescaling.
  • To derive a Riemannian metric on this quotient manifold to define a scale-invariant sharpness measure based on the Hessian.
  • To empirically validate that large-batch SGD minima are flatter than small-batch ones under the new invariant measure.

Proposed method

  • The paper identifies that rescalings of the form $T_\alpha(\theta) = (\alpha\theta_1, \alpha^{-1}\theta_2)$ preserve the network function in ReLU networks, forming an equivalence relation on the parameter space.
  • It proves that the equivalence classes under these rescalings form a quotient manifold $\mathcal{M} = \overline{\mathcal{M}} / \sim$, where $\overline{\mathcal{M}}$ is the closure of the parameter space.
  • A smooth submersion is constructed from $\overline{\mathcal{M}}$ to a product of Stiefel manifolds to characterize the orthogonal complements of weight and bias vectors, enabling the definition of the quotient structure.
  • A Riemannian metric is induced on the quotient manifold using the orthogonal decomposition of parameter vectors, allowing for a well-defined Hessian-based flatness measure.
  • The resulting flatness measure is defined as the norm of the Hessian projected onto the quotient manifold, ensuring invariance to rescalings.
  • The method is applied to compare minima from large-batch and small-batch SGD, using the new measure to assess relative flatness.

Experimental results

Research questions

  • RQ1Can a Hessian-based flatness measure be made invariant to rescalings that preserve the same function in deep networks with positively homogeneous activations?
  • RQ2Does the parameter space of such networks admit a quotient manifold structure under functional equivalence induced by rescalings?
  • RQ3Is the proposed scale-invariant flatness measure able to distinguish between minima found by large-batch and small-batch SGD?
  • RQ4Can the new measure resolve the ambiguity in existing sharpness metrics that can be arbitrarily altered by simple rescaling?
  • RQ5Does the new measure confirm the empirical intuition that large-batch SGD converges to sharper minima than small-batch SGD?

Key findings

  • The proposed flatness measure is invariant under rescalings that preserve the network function, resolving a key limitation of prior Hessian-based metrics.
  • The parameter space of deep networks with positively homogeneous activations admits a well-defined quotient manifold structure under the equivalence relation induced by rescalings.
  • The new measure confirms that minima found by large-batch SGD are significantly flatter than those from small-batch SGD, supporting the flat minima generalization hypothesis.
  • The construction of the quotient manifold relies on a submersion from the parameter space to Stiefel manifolds, proving that the equivalence relation is closed and the quotient is an embedded submanifold.
  • The flatness measure is derived from the Hessian projected onto the quotient manifold, ensuring geometric consistency and invariance.
  • The method provides a mathematically rigorous and quantitatively meaningful alternative to existing sharpness measures in deep learning.

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.