平坦极小值与泛化:来自随机凸优化的见解
Flat Minima and Generalization: Insights from Stochastic Convex Optimization
AI总结:
本文在随机凸优化框架下研究平坦极小值与泛化的关系,发现平坦经验极小值可能产生Ω(1)的总体风险,而尖锐极小值泛化最优,并证明两种锐度感知算法(SA-GD和SAM)也可能泛化不佳。
摘要:
理解学习算法的泛化行为是学习理论的核心目标。最近一种新兴的解释是,学习算法在实践中成功是因为它们收敛到平坦极小值,而平坦极小值一直与改进的泛化性能相关联。在这项工作中,我们在非负、β-光滑目标的随机凸优化的经典设置中研究平坦极小值与泛化之间的联系。我们的第一个发现是,即使在这个基础且被充分研究的设置中,平坦的经验极小值可能产生平凡的Ω(1)总体风险,而尖锐极小值则能最优地泛化。然后,我们表明这种糟糕的泛化行为延伸到两种自然的“锐度感知”算法,这些算法最初由Foret等人(2021)提出,旨在将优化偏向平坦解:锐度感知梯度下降(SA-GD)和锐度感知最小化(SAM)。对于SA-GD,它在预定义邻域内对最大损失执行梯度步骤,我们证明虽然它成功以快速率收敛到平坦极小值,但解的总体风险仍然可能高达Ω(1),表明即使使用锐度感知梯度方法算法性地找到的平坦极小值也可能泛化不佳。对于SAM,一种基于归一化上升步骤的SA-GD计算高效近似,我们表明尽管它最小化经验损失,但可能收敛到尖锐极小值,并且也产生Ω(1)的总体风险。最后,我们使用算法稳定性技术为SA-GD和SAM建立了总体风险上界。
英文摘要:
Understanding the generalization behavior of learning algorithms is a central goal of learning theory. A recently emerging explanation is that learning algorithms are successful in practice because they converge to flat minima, which have been consistently associated with improved generalization performance. In this work, we study the link between flat minima and generalization in the canonical setting of stochastic convex optimization with a non-negative, $β$-smooth objective. Our first finding is that, even in this fundamental and well-studied setting, flat empirical minima may incur trivial $Ω(1)$ population risk while sharp minima generalizes optimally. Then, we show that this poor generalization behavior extends to two natural ''sharpness-aware'' algorithms originally proposed by Foret et al. (2021), designed to bias optimization toward flat solutions: Sharpness-Aware Gradient Descent (SA-GD) and Sharpness-Aware Minimization (SAM). For SA-GD, which performs gradient steps on the maximal loss in a predefined neighborhood, we prove that while it successfully converges to a flat minimum at a fast rate, the population risk of the solution can still be as large as $Ω(1)$, indicating that even flat minima found algorithmically using a sharpness-aware gradient method might generalize poorly. For SAM, a computationally efficient approximation of SA-GD based on normalized ascent steps, we show that although it minimizes the empirical loss, it may converge to a sharp minimum and also incur population risk $Ω(1)$. Finally, we establish population risk upper bounds for both SA-GD and SAM using algorithmic stability techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。