Enhancing Sharpness-Aware Minimization by Learning Perturbation Radius
<|reference_start|>Enhancing Sharpness-Aware Minimization by Learning Perturbation Radius: Sharpness-aware minimization (SAM) is to improve model generalization by searching for flat minima in the loss landscape. The SAM update consists of one step for computing the perturbation and the other for computing the update gradient. Within the two steps, the choice of the perturbation radius is crucial to the performance of SAM, but finding an appropriate perturbation radius is challenging. In this paper, we propose a bilevel optimization framework called LEarning the perTurbation radiuS (LETS) to learn the perturbation radius for sharpness-aware minimization algorithms. Specifically, in the proposed LETS method, the upper-level problem aims at seeking a good perturbation radius by minimizing the squared generalization gap between the training and validation losses, while the lower-level problem is the SAM optimization problem. Moreover, the LETS method can be combined with any variant of SAM. Experimental results on various architectures and benchmark datasets in computer vision and natural language processing demonstrate the effectiveness of the proposed LETS method in improving the performance of SAM.<|reference_end|>
@article{wang2024enhancing,
    title={Enhancing Sharpness-Aware Minimization by Learning Perturbation Radius},
    author={Xuehao Wang, Weisen Jiang, Shuai Fu, Yu Zhang},
    journal={arXiv preprint arXiv:2408.08222},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.08222},
    primaryClass={cs.LG}
}