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

MinBackProp——通过最小求解器进行反向传播

MinBackProp -- Backpropagating through Minimal Solvers

Czech Institute of Informatics, Robotics and Cybernetics, Czech Technical University in Prague(布拉格捷克技术大学捷克信息学、机器人与控制研究所);Faculty of Electrical Engineering, Czech Technical University in Prague(布拉格捷克技术大学电气工程学院)

Diana Sungatullina, Tomas Pajdla

AI总结:

本文提出MinBackProp方法,利用隐函数定理在最小求解器中进行稳定高效的反向传播,相比自动微分和DDN框架速度提升10倍且具有100%稳定性。

摘要:

我们提出了一种在端到端神经网络训练中通过最小问题求解器进行反向传播的方法。传统方法依赖手工构建的公式、有限差分和自动微分,对于复杂的最小问题求解器而言既费力、近似又不稳定。我们证明,利用隐函数定理(IFT)计算导数,以通过最小问题求解器的解进行反向传播,是简单、快速且稳定的。我们将我们的方法与以下两种方式进行了比较:(i)在最小问题求解器上使用标准自动微分,并将其与基于SVD和基于Eig的求解器中现有的反向传播公式联系起来;(ii)使用现有的PyTorch深度声明式网络(DDN)框架实现反向传播。我们在一个训练三维点配准的外点拒绝权重的玩具示例上,以及在图像匹配中训练外点拒绝和RANSAC采样网络的实际应用上展示了我们的技术。与不稳定且缓慢的自动微分相比,以及与稳定但同样缓慢的DDN相比,我们的方法提供了100%的稳定性,并且速度提高了10倍。

英文摘要:

We present an approach to backpropagating through minimal problem solvers in end-to-end neural network training. Traditional methods relying on manually constructed formulas, finite differences, and autograd are laborious, approximate, and unstable for complex minimal problem solvers. We show that using the Implicit function theorem (IFT) to calculate derivatives to backpropagate through the solution of a minimal problem solver is simple, fast, and stable. We compare our approach to (i) using the standard autograd on minimal problem solvers and relate it to existing backpropagation formulas through SVD-based and Eig-based solvers and (ii) implementing the backprop with an existing PyTorch Deep Declarative Networks (DDN) framework. We demonstrate our technique on a toy example of training outlier-rejection weights for 3D point registration and on a real application of training an outlier-rejection and RANSAC sampling network in image matching. Our method provides $100\%$ stability and is 10 times faster compared to autograd, which is unstable and slow, and compared to DDN, which is stable but also slow.

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

↑