Bilateral Sharpness-Aware Minimization for Flatter Minima
Jiaxin Deng, Junbiao Pang, Baochang Zhang, Qingming Huang

TL;DR
This paper introduces Bilateral SAM (BSAM), a novel optimization method that combines Max-Sharpness and Min-Sharpness to find flatter minima, leading to improved generalization and robustness in neural networks.
Contribution
The paper proposes a new flatness indicator combining MaxS and MinS, and introduces BSAM, which outperforms SAM in various tasks by finding flatter minima.
Findings
BSAM achieves better generalization than SAM.
BSAM demonstrates increased robustness across tasks.
Theoretical convergence of BSAM is established.
Abstract
Sharpness-Aware Minimization (SAM) enhances generalization by reducing a Max-Sharpness (MaxS). Despite the practical success, we empirically found that the MAxS behind SAM's generalization enhancements face the "Flatness Indicator Problem" (FIP), where SAM only considers the flatness in the direction of gradient ascent, resulting in a next minimization region that is not sufficiently flat. A better Flatness Indicator (FI) would bring a better generalization of neural networks. Because SAM is a greedy search method in nature. In this paper, we propose to utilize the difference between the training loss and the minimum loss over the neighborhood surrounding the current weight, which we denote as Min-Sharpness (MinS). By merging MaxS and MinS, we created a better FI that indicates a flatter direction during the optimization. Specially, we combine this FI with SAM into the proposed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsIndustrial Vision Systems and Defect Detection · Metal Forming Simulation Techniques
