arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.12451cs.LGcs.AIcs.CV
收藏

从函数视角看平坦与尖锐极小值

A Function-Centric Perspective on Flat and Sharp Minima

Department of Informatics(信息学院);Queen Mary University of London(女王玛丽大学);King’s College London(国王学院伦敦)

Israel Mason-Williams, Gabryel Mason-Williams, Helen Yannakoudakis

AI总结:

本文从函数视角探讨平坦与尖锐极小值,通过单目标优化、合成任务和图像分类实验,发现极小值的几何特性取决于函数复杂性,尖锐极小值可反映更合理的归纳偏置。

摘要:

平坦极小值与深度神经网络的泛化能力改善密切相关。然而,近期研究显示这种联系变得复杂,理论反例和经验例外在文献中均有出现。本文重新审视极值在模型性能中的作用,认为尖锐性应被视为函数依赖的属性而非泛化差的指标。我们进行了广泛的实证研究,从单目标优化、合成非线性二分类任务到现代图像分类任务。在单目标优化中,我们显示平坦性和尖锐性取决于所学函数:同样最优的解可以表现出显著不同的局部几何。在合成非线性二分类任务中,我们显示增加决策边界紧密度可以增加尖锐性,即使模型完美泛化,这表明尖锐性不单能归因于记忆。最后,在大规模实验中,我们发现当模型被正则化(如通过权重衰减、数据增强或SAM)时,更尖锐的极小值经常出现,并与更好的泛化、校准、鲁棒性和功能一致性相关。我们的发现表明,函数复杂性而非平坦性塑造了解决方案的几何结构,尖锐极小值可以反映更合适的归纳偏置,呼吁对极小值几何进行函数视角的重新评估。

英文摘要:

Flat minima are strongly associated with improved generalisation in deep neural networks. However, this connection has proven nuanced in recent studies, with both theoretical counterexamples and empirical exceptions emerging in the literature. In this paper, we revisit the role of sharpness in model performance and examine sharpness as a function-dependent property rather than as a direct indicator of poor generalisation. We conduct extensive empirical studies ranging from single-objective optimisation, synthetic non-linear binary classification tasks, to modern image classification tasks. In single-objective optimisation, we show that flatness and sharpness are relative to the function being learned: equally optimal solutions can exhibit markedly different local geometry. In synthetic non-linear binary classification tasks, we show that increasing decision-boundary tightness can increase sharpness even when models generalise perfectly, suggesting that sharpness is not reducible to memorisation alone. Finally, in large-scale experiments, we find that sharper minima often emerge when models are regularised (e.g., via weight decay, data augmentation, or SAM), and can coincide with better generalisation, calibration, robustness, and functional consistency. Our findings are consistent with a function-centric interpretation of minima geometry: flatness should not be treated as a universal proxy for generalisation, and sharper minima can reflect desirable inductive biases associated with improved predictive behaviour, calling for a function-centric reappraisal of minima geometry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑