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

一种轻量且梯度稳定的神经网络层

A Lightweight and Gradient-Stable Neural Layer

School of Science and Engineering, The Chinese University of Hong Kong-Shenzhen(香港中文大学(深圳)理工学院);Shenzhen Research Institute of Big Data(深圳大数据研究院);School of Data Science, The Chinese University of Hong Kong-Shenzhen(香港中文大学(深圳)数据科学学院)

Yueyao Yu, Yin Zhang

AI总结:

提出基于 Householder 加权与绝对值激活的 Han-layer 神经层架构,将参数与计算复杂度降至 $O(d)$,保证梯度稳定,替换 FC 层可减少参数并保持或提升泛化性能。

摘要:

为了提升神经网络的资源效率和模型可部署性,我们提出了一种基于 Householder 加权和绝对值激活的神经层架构,称为 Householder-absolute 神经层或简称 Han-layer。与具有 $d$ 个神经元和 $d$ 个输出的全连接层相比,Han-layer 将参数数量及相应的计算复杂度从 $O(d^2)$ 降低至 $O(d)$。Han-layer 结构保证该层函数的 Jacobian 矩阵始终正交,从而确保任何 Han-layer 子网络的梯度稳定性(即无梯度消失或爆炸问题)。大量数值实验表明,可以策略性地用 Han-layer 替换全连接(FC)层,在减少模型参数数量的同时,保持甚至提升泛化性能。我们还将展示 Han-layer 架构在几个小型风格化模型上的能力,并讨论其当前的局限性。

英文摘要:

To enhance resource efficiency and model deployability of neural networks, we propose a neural-layer architecture based on Householder weighting and absolute-value activating, called Householder-absolute neural layer or simply Han-layer. Compared to a fully connected layer with $d$-neurons and $d$ outputs, a Han-layer reduces the number of parameters and the corresponding computational complexity from $O(d^2)$ to $O(d)$. {The Han-layer structure guarantees that the Jacobian of the layer function is always orthogonal, thus ensuring gradient stability (i.e., free of gradient vanishing or exploding issues) for any Han-layer sub-networks.} Extensive numerical experiments show that one can strategically use Han-layers to replace fully connected (FC) layers, reducing the number of model parameters while maintaining or even improving the generalization performance. We will also showcase the capabilities of the Han-layer architecture on a few small stylized models, and discuss its current limitations.

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

↑