University of Basel(巴塞尔大学);ETH Zürich(苏黎世联邦理工学院);University of Oslo(奥斯陆大学);Inria(法国国家信息与自动化研究所);Ecole Normale Supérieure PSL Research University(巴黎高等师范学院-PSL研究大学)
Enea Monzio Compagnoni, Luca Biggio, Antonio Orvieto, Frank Norbert Proske, Hans Kersting, Aurelien Lucchi
本文为 SAM 及其两种变体在全批量与小批量设置下建立 SDE 连续时间模型,解释其偏好平坦极小值的机制,并证明其在现实条件下会被鞍点吸引。
摘要:
我们研究了 SAM(Sharpness-Aware Minimization,锐度感知最小化)优化器,该优化器近期因其相较于更经典的随机梯度下降变体具有更优性能而备受关注。我们的主要贡献是在全批量和小批量设置下,为 SAM 及其两个变体推导了连续时间模型(以 SDE 形式呈现)。我们证明这些 SDE 是实际离散时间算法的严格近似(在弱意义下,误差随学习率线性缩放)。随后,利用这些模型,我们解释了 SAM 为何偏好平坦极小值而非尖锐极小值——通过表明它最小化了一种具有依赖 Hessian 的噪声结构的隐式正则化损失。最后,我们证明在某些现实条件下,SAM 会被鞍点吸引。我们的理论结果得到了详细实验的支持。
英文摘要:
We study the SAM (Sharpness-Aware Minimization) optimizer which has recently attracted a lot of interest due to its increased performance over more classical variants of stochastic gradient descent. Our main contribution is the derivation of continuous-time models (in the form of SDEs) for SAM and two of its variants, both for the full-batch and mini-batch settings. We demonstrate that these SDEs are rigorous approximations of the real discrete-time algorithms (in a weak sense, scaling linearly with the learning rate). Using these models, we then offer an explanation of why SAM prefers flat minima over sharp ones~--~by showing that it minimizes an implicitly regularized loss with a Hessian-dependent noise structure. Finally, we prove that SAM is attracted to saddle points under some realistic conditions. Our theoretical results are supported by detailed experiments.
University of Basel(巴塞尔大学);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分所);MPI for Intelligent Systems Tübingen(蒂宾根智能系统马克斯·普朗克研究所);AI Center(人工智能中心);Yahoo! Research(雅虎研究院);University of Oslo(奥斯陆大学)
Convergence analysis of controlled particle systems arising in deep learning: from finite to infinite sample size
School of Mathematical Sciences, Dalian University of Technology(大连理工大学数学科学学院);Department of Mathematical Sciences, University of Durham(杜伦大学数学科学学院);Department of Mathematics, City University of Hong Kong(香港城市大学数学系);Department of Mathematics and Risk Management Institute, National University of Singapore(新加坡国立大学数学系与风险管理研究所)
Adaptive Methods through the Lens of SDEs: Theoretical Insights on the Role of Noise
University of Basel(巴塞尔大学);University of Oslo(奥斯陆大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分所);Tübingen AI Center(蒂宾根人工智能中心)
Anomaly Detection for Sparse and Irregular Multivariate Time Series with Latent SDEs
Josef Ressel Centre for Intelligent and Secure Industrial Automation, University of Applied Sciences, Salzburg, Austria(约瑟夫·雷斯尔智能与安全工业自动化中心,应用科学大学,萨尔茨堡,奥地利);University of Salzburg, Austria(萨尔茨堡大学,奥地利)
Score-Based Generative Modeling through Stochastic Differential Equations
Stanford University(斯坦福大学);Google Brain(谷歌大脑)
从数据中创建噪声很容易;从噪声中创建数据是生成建模。我们提出了一个随机微分方程(RSDs),通过缓慢注入噪声,将复杂的数据分布平滑地转换为已知的先验分布,以及相应的逆时RSDs,通过缓慢去除噪声,将先验分布转换回数据分布。重要的是,逆时梯度仅取决于扰动数据分布的时间相关梯度场(\aka,分数)。通过利用基于分数的生成建模的进步,我们可以用神经网络准确地估计这些分数,并使用数值解算器来生成样本。我们表明,这个框架封装了以前的方法在基于分数的生成建模和扩散概率建模,允许新的采样程序和新的建模能力。特别是,我们引入了一个预测-校正框架来校正离散逆时模型演化中的错误。我们还推导出一个等价的神经ODE,它从与神经元相同的分布中采样,但另外还可以进行精确的似然计算,并提高采样效率。此外,我们提供了一种新的方法来解决逆问题的分数为基础的模型,类条件生成,图像修补和彩色化的实验证明。结合多个架构改进,我们在CIFAR-10上实现了破纪录的无条件图像生成性能,Inception评分为9.89,FID为2.20,竞争可能性为2.99 bits/dim,并首次从基于得分的生成模型中展示了1024 x 1024图像的高保真生成。
Neural ODE and SDE Models for Adaptation and Planning in Model-Based Reinforcement Learning
School of Computer Science, The University of Sheffield, UK(谢菲尔德大学计算机科学学院,英国);Cancer Research UK National Biomarker Centre, The University of Manchester, UK(英国曼彻斯特大学癌症研究UK国家生物标志物中心);School of Chemical, Materials and Biological Engineering, The University of Sheffield, UK(谢菲尔德大学化学、材料和生物工程学院,英国);Machine Learning group, Centrum Wiskunde & Informatica, Amsterdam, Netherlands(荷兰阿姆斯特丹Centrum Wiskunde & Informatica机器学习组);Institute for Ecological Economics, Vienna University of Economics and Business, Austria(奥地利维也纳经济与商业大学生态经济研究所)
Towards Identifiability of Interventional Stochastic Differential Equations
New York Genome Center(纽约基因组中心);Department of Computer Science Columbia University(哥伦比亚大学计算机科学系);Department of Applied Mathematics and Applied Physics Columbia University(哥伦比亚大学应用数学与应用物理系);Institute of Computational Biology Helmholtz Munich(海德堡医学院计算生物学研究所);Department of Mathematics Technische Universität München(慕尼黑技术大学数学系);Department of Biomedical Engineering Columbia University(哥伦比亚大学生物医学工程系);Irving Institute for Cancer Dynamics, Columbia University(哥伦比亚大学癌症动力学伊文斯研究所)
Disentangling Continuous-Time Latent Dynamics: Identifiability of Latent SDEs via Diffusion Shifts
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);The University of Melbourne(墨尔本大学);Peking University(北京大学);Carnegie Mellon University(卡内基梅隆大学)