paper-with-me

Papers

X-SAM: Boosting Sharpness-Aware Minimization with Dominant-Eigenvector Gradient Correction

2026-01-15 · Hongru Duan, Yongle Chen, Lei Guan arxiv

Sharpness-Aware Minimization (SAM) aims to improve generalization by minimizing a worst-case perturbed loss over a small neighborhood of model parameters. However, during training, its optimization behavior does not always align with theoretical expectations, since both sharp and flat regions may yield a small perturbed loss. In such cases, the gradient may still point toward sharp regions, failing to achieve the intended effect of SAM. To address this issue, we investigate SAM from a spectral and geometric perspective: specifically, we utilize the angle between the gradient and the leading eigenvector of the Hessian as a measure of sharpness. Our analysis illustrates that when this angle is less than or equal to ninety degrees, the effect of SAM's sharpness regularization can be weakened. Furthermore, we propose an explicit eigenvector-aligned SAM (X-SAM), which corrects the gradient via orthogonal decomposition along the top eigenvector, enabling more direct and efficient regularization of the Hessian's maximum eigenvalue. We prove X-SAM's convergence and superior generalization, with extensive experimental evaluations confirming both theoretical and practical advantages.

📄 PDF Abstract BibTeX arXiv:2601.10251

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Explicit Eigenvalue Regularization Improves Sharpness-Aware Minimization

2025-01-22 · Haocheng Luo, Tuan Truong, Tung Pham, Mehrtash Harandi 외

Sharpness-Aware Minimization (SAM) has attracted significant attention for its effectiveness in improving generalization across various tasks. However, its underlying principles remain poorly understood. In this work, we…

How Does Sharpness-Aware Minimization Minimize Sharpness?

2022-11-10 · Kaiyue Wen, Tengyu Ma, Zhiyuan Li

Sharpness-Aware Minimization (SAM) is a highly effective regularization technique for improving the generalization of deep neural networks for various settings. However, the underlying working of SAM remains elusive beca…

The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minima

2022-10-04 · Peter L. Bartlett, Philip M. Long, Olivier Bousquet

We consider Sharpness-Aware Minimization (SAM), a gradient-based optimization method for deep networks that has exhibited performance improvements on image and language prediction problems. We show that when SAM is appli…

Mini-batch Noise Lowers Sharpness via Dominant-Subspace Fluctuations

2026-07-25 · Junho So, Dongwook Shin arxiv

During SGD training, the gradients often align strongly with the dominant subspace spanned by the top-$k$ eigenvectors of the Hessian of the loss. While this seems to naturally imply that loss reduction mainly occurs wit…

Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning

2025-10-28 · Hossein R. Nowdeh, Jie Ji, Xiaolong Ma, Fatemeh Afghah arxiv

In multimodal learning, dominant modalities often overshadow others, limiting generalization. We propose Modality-Aware Sharpness-Aware Minimization (M-SAM), a model-agnostic framework that applies to many modalities and…