非线性优势:训练后的网络可能并不像你想象的那么复杂
Nonlinear Advantage: Trained Networks Might Not Be As Complex as You Think
AI总结:
本文通过稀疏性先验线性化深度网络的部分特征通道,发现训练后大量非线性单元可被线性化且性能不降,并提出平均路径长度刻画形成的核心网络。
摘要:
我们通过对网络中非线性单元总数施加稀疏性先验,将深度网络的部分特征通道完全线性化,从而对深度网络的行为进行了实证研究。在图像分类和机器翻译任务的实验中,我们研究了在性能崩溃之前,能够将网络函数向线性方向简化到何种程度。首先,我们观察到,在训练早期降低网络函数中的非线性,与在训练后期这样做相比,会产生显著的性能差距,这与近期关于依赖数据的 NTK 随时间演化的观察结果一致。其次,我们发现训练结束后,能够在保持高性能的同时线性化大量非线性单元,这表明网络的许多表达能力仍未被使用,但有助于训练早期阶段的梯度下降。为刻画所得部分线性化网络的深度,我们引入了一种称为平均路径长度的度量,它表示沿网络图中某条路径遇到的活跃非线性的平均数量。在稀疏性压力下,我们发现剩余的非线性单元组织成不同的结构,形成有效深度和宽度近乎恒定的核心网络,而这些又取决于任务难度。
英文摘要:
We perform an empirical study of the behaviour of deep networks when fully linearizing some of its feature channels through a sparsity prior on the overall number of nonlinear units in the network. In experiments on image classification and machine translation tasks, we investigate how much we can simplify the network function towards linearity before performance collapses. First, we observe a significant performance gap when reducing nonlinearity in the network function early on as opposed to late in training, in-line with recent observations on the time-evolution of the data-dependent NTK. Second, we find that after training, we are able to linearize a significant number of nonlinear units while maintaining a high performance, indicating that much of a network's expressivity remains unused but helps gradient descent in early stages of training. To characterize the depth of the resulting partially linearized network, we introduce a measure called average path length, representing the average number of active nonlinearities encountered along a path in the network graph. Under sparsity pressure, we find that the remaining nonlinear units organize into distinct structures, forming core-networks of near constant effective depth and width, which in turn depend on task difficulty.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。