paper-with-me

홈 › Papers

Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning

2026-02-10 · Yifei Cheng, Xianglin Yang, Guoxia Wang, Chao Huang, Fei Ma, Dianhai Yu, Xiaochun Cao, Li Shen arxiv

Sharpness-aware minimization (SAM) seeks the minima with a flat loss landscape to improve the generalization performance in machine learning tasks, including fine-tuning. However, its extra parameter perturbation step doubles the computation cost, which becomes the bottleneck of SAM in the practical implementation. In this work, we propose an approach SL-SAM to break this bottleneck by introducing the sparse technique to layers. Our key innovation is to frame the dynamic selection of layers for both the gradient ascent (perturbation) and descent (update) steps as a multi-armed bandit problem. At the beginning of each iteration, SL-SAM samples a part of the layers of the model according to the gradient norm to participate in the backpropagation of the following parameter perturbation and update steps, thereby reducing the computation complexity. We then provide the analysis to guarantee the convergence of SL-SAM. In the experiments of fine-tuning models in several tasks, SL-SAM achieves the performances comparable to the state-of-the-art baselines, including a \#1 rank on LLM fine-tuning. Meanwhile, SL-SAM significantly reduces the ratio of active parameters in backpropagation compared to vanilla SAM (SL-SAM activates 47\%, 22\% and 21\% parameters on the vision, moderate and large language model respectively while vanilla SAM always activates 100\%), verifying the efficiency of our proposed algorithm.

📄 PDF Abstract BibTeX arXiv:2602.09395

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Normalization Layers Are All That Sharpness-Aware Minimization Needs

2023-06-07 · NeurIPS 2023 11 · Maximilian Mueller, Tiffany Vlaar, David Rolnick, Matthias Hein

Sharpness-aware minimization (SAM) was proposed to reduce sharpness of minima and has been shown to enhance generalization performance in various settings. In this work we show that perturbing only the affine normalizati…

All

Sharpness-Aware Minimization for Evolutionary Feature Construction in Regression

2024-05-11 · Hengzhe Zhang, Qi Chen, Bing Xue, Wolfgang Banzhaf 외

In recent years, genetic programming (GP)-based evolutionary feature construction has achieved significant success. However, a primary challenge with evolutionary feature construction is its tendency to overfit the train…

regressionSymbolic Regression

Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach

2022-10-11 · Peng Mi, Li Shen, Tianhe Ren, Yiyi Zhou 외

Deep neural networks often suffer from poor generalization caused by complex and non-convex loss landscapes. One of the popular solutions is Sharpness-Aware Minimization (SAM), which smooths the loss landscape via minimi…

Systematic Investigation of Sparse Perturbed Sharpness-Aware Minimization Optimizer

2023-06-30 · Peng Mi, Li Shen, Tianhe Ren, Yiyi Zhou 외

Deep neural networks often suffer from poor generalization due to complex and non-convex loss landscapes. Sharpness-Aware Minimization (SAM) is a popular solution that smooths the loss landscape by minimizing the maximiz…

Navigating Potholes with Geometry-Aware Sharpness Minimization

2026-05-15 · Simon Dufort-Labbé, Mehrab Hamidi, Razvan Pascanu, Ioannis Mitliagkas 외 arxiv

Sharpness-aware minimization (SAM) encourages flat minima by perturbing parameters along directions of high loss curvature, but treats all parameter directions uniformly, ignoring the underlying loss geometry. We introdu…