Stability Analysis of Sharpness-Aware Minimization

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kim, Hoki, Park, Jinseong, Choi, Yujin, Lee, Jaewook
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917553778982912
author Kim, Hoki
Park, Jinseong
Choi, Yujin
Lee, Jaewook
author_facet Kim, Hoki
Park, Jinseong
Choi, Yujin
Lee, Jaewook
contents Sharpness-aware minimization (SAM) is a training method that seeks to find flat minima in deep learning, resulting in state-of-the-art performance across various domains. Instead of minimizing the loss of the current weights, SAM minimizes the worst-case loss in its neighborhood in the parameter space. In this paper, we investigate the convergence instability of SAM near a saddle point. Using the qualitative theory of dynamical systems, we explain how SAM becomes stuck in the saddle point and theoretically prove that the saddle point can become an attractor under SAM dynamics. Additionally, we show that this convergence instability can also occur in stochastic dynamical systems by establishing the diffusion of SAM. We prove that SAM diffusion is worse than that of vanilla gradient descent in terms of saddle point escape. Finally, we demonstrate that often overlooked training tricks, momentum and batch-size, might be important to mitigate the convergence instability and achieve high generalization performance. Our theoretical and empirical results are thoroughly verified through experiments on several well-known optimization problems and benchmark tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2301_06308
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Stability Analysis of Sharpness-Aware Minimization
Kim, Hoki
Park, Jinseong
Choi, Yujin
Lee, Jaewook
Machine Learning
Artificial Intelligence
Sharpness-aware minimization (SAM) is a training method that seeks to find flat minima in deep learning, resulting in state-of-the-art performance across various domains. Instead of minimizing the loss of the current weights, SAM minimizes the worst-case loss in its neighborhood in the parameter space. In this paper, we investigate the convergence instability of SAM near a saddle point. Using the qualitative theory of dynamical systems, we explain how SAM becomes stuck in the saddle point and theoretically prove that the saddle point can become an attractor under SAM dynamics. Additionally, we show that this convergence instability can also occur in stochastic dynamical systems by establishing the diffusion of SAM. We prove that SAM diffusion is worse than that of vanilla gradient descent in terms of saddle point escape. Finally, we demonstrate that often overlooked training tricks, momentum and batch-size, might be important to mitigate the convergence instability and achieve high generalization performance. Our theoretical and empirical results are thoroughly verified through experiments on several well-known optimization problems and benchmark tasks.
title Stability Analysis of Sharpness-Aware Minimization
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2301.06308