重参数化下神经网络参数空间的几何
The Geometry of Neural Nets' Parameter Spaces Under Reparametrization
AI总结:
从黎曼几何视角研究神经网络在重参数化下的不变性,指出显式表示度量并使用正确变换规则可保持固有不变性,从而解决平坦度度量和优化分析中的不一致问题。
摘要:
遵循微积分变量替换规则的模型重参数化,是改进神经网络训练的一种常用方法。但它也可能引发问题,例如会导致基于 Hessian 矩阵的平坦度度量、优化轨迹以及概率密度模式的不一致。这使下游分析复杂化:例如,人们无法明确将平坦度与泛化能力联系起来,因为任意的重参数化会改变它们之间的关系。在本研究中,我们从黎曼几何的角度探讨了神经网络在重参数化下的不变性。从这个观点来看,如果显式表示度量并使用正确的相关变换规则,不变性就是任何神经网络的固有属性。这一点很重要,因为尽管度量始终存在,但通常被隐式假设为单位矩阵,从而在符号表示中被省略,随后在重参数化过程中丢失。我们讨论了其对度量极小值平坦度、优化以及概率密度最大化的影响。最后,我们探索了一些不变性具有实用价值的有趣方向。
英文摘要:
Model reparametrization, which follows the change-of-variable rule of calculus, is a popular way to improve the training of neural nets. But it can also be problematic since it can induce inconsistencies in, e.g., Hessian-based flatness measures, optimization trajectories, and modes of probability densities. This complicates downstream analyses: e.g. one cannot definitively relate flatness with generalization since arbitrary reparametrization changes their relationship. In this work, we study the invariance of neural nets under reparametrization from the perspective of Riemannian geometry. From this point of view, invariance is an inherent property of any neural net if one explicitly represents the metric and uses the correct associated transformation rules. This is important since although the metric is always present, it is often implicitly assumed as identity, and thus dropped from the notation, then lost under reparametrization. We discuss implications for measuring the flatness of minima, optimization, and for probability-density maximization. Finally, we explore some interesting directions where invariance is useful.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。