arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.03821cs.CV
收藏

鲁棒可微SVD

Robust Differentiable SVD

EPFL(洛桑联邦理工学院)

Wei Wang, Zheng Dang, Yinlin Hu, Pascal Fua, Mathieu Salzmann

摘要:

对称矩阵的特征分解是许多计算机视觉算法的核心。然而,本征向量的导数往往是数值不稳定的,无论是使用SVD来计算它们解析或使用幂迭代(PI)方法来近似它们。这种不稳定性在本征值彼此接近的情况下出现。这使得将特征分解集成到深度网络中变得困难,并且通常会导致收敛性差,特别是在处理大型矩阵时。虽然这可以通过将数据划分为小的任意组来缓解,但这样做没有理论基础,并且不可能利用特征分解的全部功能。在以前的工作中,我们在向前传递期间使用SVD并在向后传递期间使用PI来计算梯度。然而,使用PI计算多个特征向量所需的迭代收缩过程往往会累积误差并产生不准确的梯度。在这里,我们证明了SVD梯度的泰勒展开在理论上等同于使用PI获得的梯度,而不依赖于在实践中的迭代过程,从而产生更准确的梯度。我们证明了这种提高图像分类和风格转移的准确性的好处。

英文摘要:

Eigendecomposition of symmetric matrices is at the heart of many computer vision algorithms. However, the derivatives of the eigenvectors tend to be numerically unstable, whether using the SVD to compute them analytically or using the Power Iteration (PI) method to approximate them. This instability arises in the presence of eigenvalues that are close to each other. This makes integrating eigendecomposition into deep networks difficult and often results in poor convergence, particularly when dealing with large matrices. While this can be mitigated by partitioning the data into small arbitrary groups, doing so has no theoretical basis and makes it impossible to exploit the full power of eigendecomposition. In previous work, we mitigated this using SVD during the forward pass and PI to compute the gradients during the backward pass. However, the iterative deflation procedure required to compute multiple eigenvectors using PI tends to accumulate errors and yield inaccurate gradients. Here, we show that the Taylor expansion of the SVD gradient is theoretically equivalent to the gradient obtained using PI without relying in practice on an iterative process and thus yields more accurate gradients. We demonstrate the benefits of this increased accuracy for image classification and style transfer.

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

↑