适者生存表示:模加法案例研究
Survival of the Fittest Representation: A Case Study with Modular Addition
AI总结:
本研究受生态学适者生存启发,通过模加法任务案例,发现神经网络中多个傅里叶频率的圆形表示在训练中竞争,高初始信号和梯度的频率更易存活,并用线性微分方程刻画其动态。
摘要:
当一个神经网络能够学习多种不同的算法来解决同一任务时,它在训练过程中如何“选择”使用哪一种?为了探讨这个问题,我们从生态学中汲取灵感:当多个物种共存时,它们最终会达到一个平衡状态,其中一些物种存活下来,而另一些则灭绝。类似地,我们提出,神经网络在初始化时包含许多解决方案(表示和算法),它们在资源约束的压力下相互竞争,最终“最适者”胜出。为了验证这一“适者生存”假设,我们对执行模加法的神经网络进行了案例研究,发现这些网络中不同傅里叶频率下的多个圆形表示会经历这种竞争动态,最终只有少数几个圆形存活下来。我们发现,具有高初始信号和梯度的频率,即“最适者”,更有可能存活。通过增加嵌入维度,我们也观察到更多存活的频率。受描述物种间动态的Lotka-Volterra方程启发,我们发现这些圆形的动态可以很好地由一组线性微分方程来刻画。我们的模加法结果表明,将复杂的表示分解为更简单的组件及其基本相互作用是可能的,从而为表示的训练动态提供洞见。
英文摘要:
When a neural network can learn multiple distinct algorithms to solve a task, how does it "choose" between them during training? To approach this question, we take inspiration from ecology: when multiple species coexist, they eventually reach an equilibrium where some survive while others die out. Analogously, we suggest that a neural network at initialization contains many solutions (representations and algorithms), which compete with each other under pressure from resource constraints, with the "fittest" ultimately prevailing. To investigate this Survival of the Fittest hypothesis, we conduct a case study on neural networks performing modular addition, and find that these networks' multiple circular representations at different Fourier frequencies undergo such competitive dynamics, with only a few circles surviving at the end. We find that the frequencies with high initial signals and gradients, the "fittest," are more likely to survive. By increasing the embedding dimension, we also observe more surviving frequencies. Inspired by the Lotka-Volterra equations describing the dynamics between species, we find that the dynamics of the circles can be nicely characterized by a set of linear differential equations. Our results with modular addition show that it is possible to decompose complicated representations into simpler components, along with their basic interactions, to offer insight on the training dynamics of representations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。