Skip to main content
QUICK REVIEW

[Paper Review] On the interplay between noise and curvature and its effect on optimization and generalization

Valentin Thomas, Fabián Pedregosa|arXiv (Cornell University)|Jun 18, 2019
Sparse and Compressive Sensing TechniquesEngineering42 references9 citations
TL;DR

This paper clarifies the interplay between noise (gradient covariance) and curvature (Hessian and Fisher information matrices) in optimization and generalization. It shows that second-order optimization methods often rely on noise estimation rather than true curvature, and demonstrates that the Takeuchi Information Criterion—using both noise and curvature—provides a superior estimator of generalization gap than flatness or sensitivity metrics.

ABSTRACT

The speed at which one can minimize an expected loss using stochastic methods depends on two properties: the curvature of the loss and the variance of the gradients. While most previous works focus on one or the other of these properties, we explore how their interaction affects optimization speed. Further, as the ultimate goal is good generalization performance, we clarify how both curvature and noise are relevant to properly estimate the generalization gap. Realizing that the limitations of some existing works stems from a confusion between these matrices, we also clarify the distinction between the Fisher matrix, the Hessian, and the covariance matrix of the gradients.

Motivation & Objective

  • Clarify the distinctions between the Hessian, Fisher information matrix, and gradient covariance matrix (noise) to resolve widespread confusion in optimization and generalization literature.
  • Investigate how the interaction between curvature and noise affects convergence speed in stochastic optimization, especially for strongly convex and quadratic functions.
  • Demonstrate that existing generalization gap estimators relying solely on curvature (e.g., flatness) are insufficient, as they ignore the geometry and scale of data distribution discrepancies.
  • Evaluate the Takeuchi Information Criterion (TIC) as a generalization gap estimator that incorporates both curvature and noise, showing its superiority over flatness and sensitivity metrics.
  • Reveal that popular adaptive optimizers like Adam may implicitly perform variance reduction rather than true Hessian-based optimization, suggesting new avenues for combining variance reduction with curvature adaptation.

Proposed method

  • Define and compare three key information matrices: Hessian (H), Fisher information (F), and gradient covariance (C), using maximum likelihood estimation with negative log-likelihood loss.
  • Theoretical analysis extends Schmidt (2014) convergence bounds by replacing scalar curvature and noise bounds with matrix-based formulations to capture their interplay.
  • Empirically compare the alignment of C and F matrices across different datasets (MNIST, SVHN, CIFAR10), showing strong correlation but differing scaling.
  • Use the trace of the ratio Tr(F⁻¹C) and the ratio of traces Tr(C)/Tr(F) as estimators of generalization gap, evaluating their predictive power.
  • Apply the Takeuchi Information Criterion (TIC), which combines curvature (F⁻¹) and noise (C), to estimate generalization performance and compare it to flatness and sensitivity.
  • Conduct experiments on standard vision benchmarks to validate the predictive power of TIC and the robustness of C as a proxy for noise in optimization dynamics.

Experimental results

Research questions

  • RQ1How do the Hessian, Fisher information matrix, and gradient covariance matrix differ in their mathematical formulation and practical interpretation in optimization?
  • RQ2What is the impact of the interaction between curvature (Hessian/Fisher) and noise (gradient covariance) on the convergence speed of stochastic optimization methods?
  • RQ3Why do generalization gap estimators based solely on curvature (e.g., flatness) fail, and what role does noise play in capturing distributional discrepancy?
  • RQ4Can the Takeuchi Information Criterion—based on both curvature and noise—provide a more accurate estimate of generalization performance than flatness or sensitivity?
  • RQ5To what extent do adaptive optimizers like Adam rely on noise estimation rather than true curvature information, and what are the implications for algorithm design?

Key findings

  • The gradient covariance matrix C is often confused with the Fisher matrix F, but they are fundamentally different: C measures gradient variance, while F measures curvature of the log-likelihood under the true data distribution.
  • Empirical results show that C and F are remarkably aligned across datasets (MNIST, SVHN, CIFAR10), but differ in scale, suggesting that C can serve as a proxy for F in some contexts.
  • Replacing the Hessian H with the Fisher F in second-order optimization leads to almost no performance drop, indicating that F is a viable and more stable alternative to H.
  • The ratio Tr(C)/Tr(F) tends to overestimate the generalization gap when the gap is small, while Tr(F⁻¹C) shows better predictive power across different datasets.
  • The Takeuchi Information Criterion (TIC), which combines curvature (F⁻¹) and noise (C), outperforms flatness and sensitivity as a generalization gap estimator, particularly in high-gap regimes.
  • Many adaptive optimizers like Adam may implicitly perform variance reduction rather than true Hessian-based optimization, suggesting a re-evaluation of their theoretical underpinnings and potential for hybrid design with variance reduction techniques.

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.