Skip to main content
QUICK REVIEW

[Paper Review] Low-Pass Filtering SGD for Recovering Flat Optima in the Deep Learning Optimization Landscape

Devansh Bisla, Jing Wang|arXiv (Cornell University)|Jan 20, 2022
Neural Networks and ApplicationsComputer Science4 citations
TL;DR

This paper proposes LPF-SGD, a novel optimization algorithm that uses low-pass filtering of the loss landscape to guide stochastic gradient descent toward flatter minima, which generalize better. By smoothing the loss via convolution with a Gaussian kernel and optimizing the filtered gradient, LPF-SGD achieves superior generalization over SGD and state-of-the-art methods like SAM, with theoretical convergence guarantees to solutions with lower generalization error.

ABSTRACT

In this paper, we study the sharpness of a deep learning (DL) loss landscape around local minima in order to reveal systematic mechanisms underlying the generalization abilities of DL models. Our analysis is performed across varying network and optimizer hyper-parameters, and involves a rich family of different sharpness measures. We compare these measures and show that the low-pass filter-based measure exhibits the highest correlation with the generalization abilities of DL models, has high robustness to both data and label noise, and furthermore can track the double descent behavior for neural networks. We next derive the optimization algorithm, relying on the low-pass filter (LPF), that actively searches the flat regions in the DL optimization landscape using SGD-like procedure. The update of the proposed algorithm, that we call LPF-SGD, is determined by the gradient of the convolution of the filter kernel with the loss function and can be efficiently computed using MC sampling. We empirically show that our algorithm achieves superior generalization performance compared to the common DL training strategies. On the theoretical front, we prove that LPF-SGD converges to a better optimal point with smaller generalization error than SGD.

Motivation & Objective

  • To identify the most robust and predictive measure of loss landscape sharpness that correlates with deep learning generalization performance.
  • To develop an optimization algorithm that actively seeks flat minima by leveraging the identified sharpness measure.
  • To provide theoretical convergence guarantees showing LPF-SGD achieves lower generalization error than standard SGD.
  • To empirically validate that the proposed method generalizes better than existing techniques, including SAM, across diverse architectures and hyperparameter settings.

Proposed method

  • The paper introduces a low-pass filter (LPF) based sharpness measure by convolving the loss function with a Gaussian kernel, which smooths local variations and emphasizes broad, flat regions of the loss landscape.
  • The LPF-SGD algorithm computes gradients of the smoothed loss function using Monte Carlo sampling, enabling efficient optimization in high-dimensional parameter spaces.
  • The method is grounded in the hypothesis that flatter minima—identified via LPF-based sharpness—correlate with better generalization, and thus the algorithm steers training toward such regions.
  • Theoretical analysis proves that LPF-SGD converges to a solution with smaller generalization error than standard SGD, under mild assumptions on smoothness and Lipschitz continuity.
  • The algorithm is evaluated across multiple network architectures (with and without skip connections and batch normalization), varying widths, and diverse optimizer hyperparameters (learning rate, batch size, weight decay, momentum).
  • The LPF-based sharpness measure is compared empirically against multiple existing sharpness metrics, demonstrating higher correlation with test accuracy and robustness to data and label noise.

Experimental results

Research questions

  • RQ1Which sharpness measure most accurately predicts the generalization performance of deep learning models across diverse architectures and hyperparameters?
  • RQ2Can low-pass filtering of the loss landscape be used to design a practical optimization algorithm that improves generalization?
  • RQ3Does LPF-SGD achieve better generalization than standard SGD and state-of-the-art methods like SAM?
  • RQ4How does the LPF-based sharpness measure behave under data and label noise, and does it reflect the double descent phenomenon in test accuracy?
  • RQ5What theoretical guarantees can be established for LPF-SGD in terms of convergence and generalization error?

Key findings

  • The LPF-based sharpness measure exhibits the highest correlation with generalization performance across all evaluated models and hyperparameter settings, outperforming existing sharpness metrics.
  • The LPF-SGD algorithm achieves superior test accuracy compared to standard SGD and the state-of-the-art SAM method on multiple benchmark datasets and network architectures.
  • The LPF-based measure is robust to data and label noise and successfully tracks the double descent behavior in test accuracy as model capacity increases.
  • Theoretical analysis shows that LPF-SGD converges to a solution with a generalization error bound that decays faster than SGD’s, with the ratio of generalization error bounds decreasing as $ O(1/T^{ ilde{p}-p}) $.
  • When the minimum eigenvalue of the filter kernel’s covariance is sufficiently large ($ \sigma_- > \alpha/\beta $), increasing the filter width reduces the generalization error bound ratio, confirming improved generalization.
  • Empirical results confirm that LPF-SGD consistently finds flatter minima in the loss landscape, which are associated with better generalization, even under noisy training conditions.

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.