paper-with-me

Papers

Avoiding spurious sharpness minimization broadens applicability of SAM

2025-02-04 · Sidak Pal Singh, Hossein Mobahi, Atish Agarwala, Yann Dauphin

Curvature regularization techniques like Sharpness Aware Minimization (SAM) have shown great promise in improving generalization on vision tasks. However, we find that SAM performs poorly in domains like natural language processing (NLP), often degrading performance -- even with twice the compute budget. We investigate the discrepancy across domains and find that in the NLP setting, SAM is dominated by regularization of the logit statistics -- instead of improving the geometry of the function itself. We use this observation to develop an alternative algorithm we call Functional-SAM, which regularizes curvature only through modification of the statistics of the overall function implemented by the neural network, and avoids spurious minimization through logit manipulation. Furthermore, we argue that preconditioning the SAM perturbation also prevents spurious minimization, and when combined with Functional-SAM, it gives further improvements. Our proposed algorithms show improved performance over AdamW and SAM baselines when trained for an equal number of steps, in both fixed-length and Chinchilla-style training settings, at various model scales (including billion-parameter scale). On the whole, our work highlights the importance of more precise characterizations of sharpness in broadening the applicability of curvature regularization to large language models (LLMs).

📄 PDF Abstract BibTeX arXiv:2502.02407

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…
AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…
SAM 설명 없음

Similar Papers 제목 키워드 기반

Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learning

2024-05-30 · Jacob Mitchell Springer, Vaishnavh Nagarajan, aditi raghunathan

Sharpness-Aware Minimization (SAM) has emerged as a promising alternative optimizer to stochastic gradient descent (SGD). The originally-proposed motivation behind SAM was to bias neural networks towards flatter minima t…

Sharpness-Aware Training for Free

2022-05-27 · Jiawei Du, Daquan Zhou, Jiashi Feng, Vincent Y. F. Tan 외

Modern deep neural networks (DNNs) have achieved state-of-the-art performances but are typically over-parameterized. The over-parameterization may result in undesirably large generalization error in the absence of other …

Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization

2023-07-20 · NeurIPS 2023 11

Despite extensive studies, the underlying reason as to why overparameterized neural networks can generalize remains elusive. Existing theory shows that common stochastic optimizers prefer flatter minimizers of the traini…

Model Generalization: A Sharpness Aware Optimization Perspective

2022-08-14 · Jozef Marus Coldenhoff, Chengkun Li, Yurui Zhu

Sharpness-Aware Minimization (SAM) and adaptive sharpness-aware minimization (ASAM) aim to improve the model generalization. And in this project, we proposed three experiments to valid their generalization from the sharp…

modelvalid

Fast Graph Sharpness-Aware Minimization for Enhancing and Accelerating Few-Shot Node Classification

2024-10-22 · Yihong Luo, Yuhan Chen, Siya Qiu, Yiwei Wang 외

Graph Neural Networks (GNNs) have shown superior performance in node classification. However, GNNs perform poorly in the Few-Shot Node Classification (FSNC) task that requires robust generalization to make accurate predi…

Node Classification