特征学习的哈密顿力学:漏斗结构在漏斗残差网络中
Hamiltonian Mechanics of Feature Learning: Bottleneck Structure in Leaky ResNets
AI总结:
本文基于哈密顿力学分析漏斗残差网络,揭示了有效深度参数对特征学习的影响,通过动能与势能的平衡解释了漏斗结构的形成,并提出自适应步长训练方法适应时间尺度分离。
摘要:
我们研究了Leaky ResNets,其通过'有效深度'超参数$\tilde{L}$介于ResNets和全连接网络之间。在无限深度极限下,我们研究了'表示流形' $A_{p}$:从输入$p=0$到输出$p=1$的连续路径,这些路径在表示空间中最小化网络的参数范数。我们给出了拉格朗日和哈密顿形式化,强调了两个关键项:动能,倾向于小层导数$\partial_{p}A_{p}$,以及势能,倾向于低维表示,如通过'身份成本'度量。这两种力的平衡提供了对残差网络特征学习的直观理解。我们利用这一见解来解释之前工作中观察到的漏斗结构的出现:对于大的$\tilde{L}$,势能主导,导致时间尺度分离,表示快速从高维输入跳到低维表示,缓慢地在低维表示空间中移动,然后跳回可能的高维输出。受此现象启发,我们采用自适应层步长训练以适应时间尺度分离。
英文摘要:
We study Leaky ResNets, which interpolate between ResNets and Fully-Connected nets depending on an 'effective depth' hyper-parameter $\tilde{L}$. In the infinite depth limit, we study 'representation geodesics' $A_{p}$: continuous paths in representation space (similar to NeuralODEs) from input $p=0$ to output $p=1$ that minimize the parameter norm of the network. We give a Lagrangian and Hamiltonian reformulation, which highlight the importance of two terms: a kinetic energy which favors small layer derivatives $\partial_{p}A_{p}$ and a potential energy that favors low-dimensional representations, as measured by the 'Cost of Identity'. The balance between these two forces offers an intuitive understanding of feature learning in ResNets. We leverage this intuition to explain the emergence of a bottleneck structure, as observed in previous work: for large $\tilde{L}$ the potential energy dominates and leads to a separation of timescales, where the representation jumps rapidly from the high dimensional inputs to a low-dimensional representation, move slowly inside the space of low-dimensional representations, before jumping back to the potentially high-dimensional outputs. Inspired by this phenomenon, we train with an adaptive layer step-size to adapt to the separation of timescales.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。