完全可逆多层神经网络的对称块低秩层
Symmetric block-low-rank layers for fully reversible multilevel neural networks
摘要:
限制神经网络的输入和输出的大小的因素包括用于计算梯度的网络状态/激活的存储器要求,以及用于卷积核或其他权重的存储器。内存限制对于我们希望了解如何将体积数据映射到所需输出(例如视频到视频)的应用程序来说尤其有限。最近开发的完全可逆的神经网络使梯度计算使用的网络状态的存储仅为一对夫妇的层。虽然这节省了大量的内存,但如果完全可逆的网络包含多个可逆池化/粗化层,则卷积核会占用大部分内存。可逆粗化算子,如正交小波变换,导致通道数量爆炸性增长。我们通过将完全可逆的网络与包含压缩形式的卷积核的层直接结合来解决这个问题。具体来说,我们引入了一个层,具有对称的块低秩结构。在精神上,这一层类似于瓶颈和挤压和扩展结构。我们通过构造来贡献对称性,张量的符号和平坦化的组合使我们能够以线性代数的方式将这些网络结构解释为因子分解形式的块低秩矩阵,并观察到各种性质。一个视频分割的例子表明,我们可以训练一个网络来分割整个视频,这是不可能的,在内存需求方面,使用不可逆网络和以前提出的可逆网络。
英文摘要:
Factors that limit the size of the input and output of a neural network include memory requirements for the network states/activations to compute gradients, as well as memory for the convolutional kernels or other weights. The memory restriction is especially limiting for applications where we want to learn how to map volumetric data to the desired output, such as video-to-video. Recently developed fully reversible neural networks enable gradient computations using storage of the network states for a couple of layers only. While this saves a tremendous amount of memory, it is the convolutional kernels that take up most memory if fully reversible networks contain multiple invertible pooling/coarsening layers. Invertible coarsening operators such as the orthogonal wavelet transform cause the number of channels to grow explosively. We address this issue by combining fully reversible networks with layers that contain the convolutional kernels in a compressed form directly. Specifically, we introduce a layer that has a symmetric block-low-rank structure. In spirit, this layer is similar to bottleneck and squeeze-and-expand structures. We contribute symmetry by construction, and a combination of notation and flattening of tensors allows us to interpret these network structures in linear algebraic fashion as a block-low-rank matrix in factorized form and observe various properties. A video segmentation example shows that we can train a network to segment the entire video in one go, which would not be possible, in terms of memory requirements, using non-reversible networks and previously proposed reversible networks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。