通过秩一扰动训练可逆线性层
Training Invertible Linear Layers through Rank-One Perturbations
摘要:
许多类型的神经网络层依赖于矩阵属性,例如可逆性或正交性。在使用基于梯度的随机优化器进行优化的过程中保持这些属性是一项具有挑战性的任务,通常通过重新参数化受影响的参数或直接在流形上进行优化来解决。这项工作提出了一种新的方法来训练可逆线性层。代替直接优化网络参数,我们训练秩一扰动,并将它们添加到实际的权重矩阵很少。此P $^{4}$ Inv更新允许跟踪逆和行列式,而无需显式计算它们。我们展示了如何这样的可逆块改善混合,从而得到的归一化流的模式分离。此外,我们概述了如何P $^4$的概念可以用来保留其他属性的可逆性。
英文摘要:
Many types of neural network layers rely on matrix properties such as invertibility or orthogonality. Retaining such properties during optimization with gradient-based stochastic optimizers is a challenging task, which is usually addressed by either reparameterization of the affected parameters or by directly optimizing on the manifold. This work presents a novel approach for training invertible linear layers. In lieu of directly optimizing the network parameters, we train rank-one perturbations and add them to the actual weight matrices infrequently. This P$^{4}$Inv update allows keeping track of inverses and determinants without ever explicitly computing them. We show how such invertible blocks improve the mixing and thus the mode separation of the resulting normalizing flows. Furthermore, we outline how the P$^4$ concept can be utilized to retain properties other than invertibility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。