arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17340cs.LG
收藏

神经网络中的低秩偏差、权重衰减与模型合并

Low-rank bias, weight decay, and model merging in neural networks

Google DeepMind(谷歌DeepMind);Sapient Intelligence(智睿科技)

Ilja Kuzborskij, Yasin Abbasi Yadkori

AI总结:

该研究探究带L2正则化的神经网络驻点权重矩阵低秩结构,揭示其参数梯度对齐等特性,还发现当两网络训练集输入近似正交时,权重相加的新网络在两任务上表现与原网络相当。

摘要:

我们探究了带有L2正则化(亦称权重衰减)的神经网络在驻点(优化算法的极限解)处权重矩阵的低秩结构。我们展示了L2正则化引发的此类深度神经网络的若干特性:对于驻点,参数与梯度的对齐性、跨层范数保持性以及低秩偏差——这些特性此前在梯度下降/流型算法的解中已被发现。实验表明,分析中所做的假设对观测结果仅产生轻微影响。此外,我们研究了L2正则化与低秩偏差促成的多任务学习现象:若两个网络经训练后,其中一个网络训练集的输入与另一个网络训练集的输入近似正交,那么简单将两个网络权重相加得到的新网络,在两个训练集上的表现将与各自单独网络相当。我们在梯度下降训练的浅层ReLU神经网络以及梯度流训练的深度线性网络中验证了这一现象。

英文摘要:

We explore the low-rank structure of the weight matrices in neural networks at the stationary points (limiting solutions of optimization algorithms) with $L2$ regularization (also known as weight decay). We show several properties of such deep neural networks, induced by $L2$ regularization. In particular, for a stationary point we show alignment of the parameters and the gradient, norm preservation across layers, and low-rank bias: properties previously known in the context of solution of gradient descent/flow type algorithms. Experiments show that the assumptions made in the analysis only mildly affect the observations. In addition, we investigate a multitask learning phenomenon enabled by $L2$ regularization and low-rank bias. In particular, we show that if two networks are trained, such that the inputs in the training set of one network are approximately orthogonal to the inputs in the training set of the other network, the new network obtained by simply summing the weights of the two networks will perform as well on both training sets as the respective individual networks. We demonstrate this for shallow ReLU neural networks trained by gradient descent, as well as deep linear networks trained by gradient flow.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑