论文精选86°

论文解释双降现象的统计力学方法

Double descent is the principle of least action

精选理由

一篇用统计力学视角解释机器学习核心现象的论文,对想深入理解模型行为的读者很有价值。

研究将机器学习模型的训练过程比作统计力学中的粒子运动,通过能量景观和温度的概念,解释了模型参数增加时测试误差先降后升再降的双降现象。

原文 · arXiv cs.AI

Double descent is the principle of least action

The test error of a model plotted against its number of parameters $d$ falls, peaks when the model can just fit the training data, and falls again, exhibiting the double descent phenomenon. We explain the phenomenon with statistical mechanics. The training trajectory of a stochastic gradient-based method is a particle wandering over the energy landscape of the training loss at an induced temperature $T$, and a run that has equilibrated visits every parameter vector of a given training loss equally often, the fundamental postulate of statistical mechanics, with probability given by the Boltzmann distribution. Because training starts at an initial point and has only finite time to diffuse, it carries an effective weight decay, which makes every parameter a quadratic degree of freedom. The equipartition theorem then distributes the energy among the $d$ degrees of freedom in shares of $T/2$, so at a fixed training loss adding parameters lowers the temperature and drives the Boltzmann distribution toward the stationary path. Finally, adding parameters can only lower the $L^2$ norm of the stationary path, so a solution sampled at fixed loss is less likely to be large with increasing $d$, effectively increasing weight regularization.