arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.09021cs.LGcond-mat.dis-nncond-mat.stat-mech
收藏

关于稀疏和密集深度神经网络的训练:更少的参数,相同的性能

On the training of sparse and dense deep neural networks: less parameters, same performance

University of Namur(那慕尔大学)

Lorenzo Chicchi, Lorenzo Giambagli, Lorenzo Buffoni, Timoteo Carletti, Marco Ciavarella, Duccio Fanelli

摘要:

深度神经网络可以在倒易空间中训练,通过作用于直接空间中合适的转移算子的特征值和特征向量。调整特征值,同时冻结特征向量,产生参数空间的实质性压缩。后者根据定义与计算神经元的数量成比例。然而,通过显示的准确度来衡量的分类分数不如在直接空间中进行学习时获得的分类分数,对于相同的架构并采用完整的可训练参数集(与相邻层的大小呈二次依赖关系)。在这封信中,我们提出了一种光谱学习方法的变体,如Giambagli等人{Nat. Comm.} 2021,其针对相邻层之间的每个映射利用两组特征值。特征值就像一个可以自由调节的旋钮,(i)增强或抑制输入节点的贡献,(ii)用一种我们解释为内稳态可塑性的人工模拟的机制来调节接收节点的兴奋性。可训练参数的数量仍然是网络大小的线性函数,但训练设备的性能更接近于通过传统算法获得的性能,然而后者需要相当重的计算成本。传统训练和谱训练之间的剩余间隙最终可以通过对特征向量矩阵的非平凡块进行适当的分解来填补。每个谱参数反映了整个节点间权重集,与用常规方法训练的同系物相比,我们将有效地利用该属性来产生具有惊人分类能力的稀疏网络。

英文摘要:

Deep neural networks can be trained in reciprocal space, by acting on the eigenvalues and eigenvectors of suitable transfer operators in direct space. Adjusting the eigenvalues, while freezing the eigenvectors, yields a substantial compression of the parameter space. This latter scales by definition with the number of computing neurons. The classification scores, as measured by the displayed accuracy, are however inferior to those attained when the learning is carried in direct space, for an identical architecture and by employing the full set of trainable parameters (with a quadratic dependence on the size of neighbor layers). In this Letter, we propose a variant of the spectral learning method as appeared in Giambagli et al {Nat. Comm.} 2021, which leverages on two sets of eigenvalues, for each mapping between adjacent layers. The eigenvalues act as veritable knobs which can be freely tuned so as to (i) enhance, or alternatively silence, the contribution of the input nodes, (ii) modulate the excitability of the receiving nodes with a mechanism which we interpret as the artificial analogue of the homeostatic plasticity. The number of trainable parameters is still a linear function of the network size, but the performances of the trained device gets much closer to those obtained via conventional algorithms, these latter requiring however a considerably heavier computational cost. The residual gap between conventional and spectral trainings can be eventually filled by employing a suitable decomposition for the non trivial block of the eigenvectors matrix. Each spectral parameter reflects back on the whole set of inter-nodes weights, an attribute which we shall effectively exploit to yield sparse networks with stunning classification abilities, as compared to their homologues trained with conventional means.

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

↑