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

通过组合算法的反向传播:带投影的恒等映射有效

Backpropagation through Combinatorial Algorithms: Identity with Projection Works

Cornell University(康奈尔大学);MPI Intelligent Systems(马克斯·普朗克智能系统研究所);Masaryk University(马萨里克大学);Cornell Tech(康奈尔理工学院)

Subham Sekhar Sahoo, Anselm Paulus, Marin Vlastelica, Vít Musil, Volodymyr Kuleshov, Georg Martius

AI总结:

针对离散求解器导数为零或未定义的问题,提出利用离散解空间几何将反向传播时求解器视为负恒等映射的无超参数方法,辅以通用正则化,在多任务上性能媲美复杂现有方法。

摘要:

将离散求解器嵌入为可微层,为现代深度学习架构赋予了组合表达能力与离散推理能力。这类求解器的导数为零或未定义,因此找到有意义的替代方案对基于梯度的有效学习至关重要。现有研究依赖通过输入扰动平滑求解器、将求解器松弛为连续问题,或使用通常需要额外调用求解器、引入额外超参数或损害性能的技术插值损失景观。我们提出一种原则性方法,利用离散解空间的几何结构,将求解器在反向传播时视为负恒等映射,并进一步提供了理论依据。我们的实验表明,这种无超参数的简单方法在多项实验中能与此前更复杂的方法相媲美,例如通过离散采样器的反向传播、深度图匹配和图像检索任务。此外,我们用一种通用正则化流程替代了此前提出的针对特定问题且依赖标签的间隔(margin),该流程可防止代价崩溃并提升鲁棒性。

英文摘要:

Embedding discrete solvers as differentiable layers has given modern deep learning architectures combinatorial expressivity and discrete reasoning capabilities. The derivative of these solvers is zero or undefined, therefore a meaningful replacement is crucial for effective gradient-based learning. Prior works rely on smoothing the solver with input perturbations, relaxing the solver to continuous problems, or interpolating the loss landscape with techniques that typically require additional solver calls, introduce extra hyper-parameters, or compromise performance. We propose a principled approach to exploit the geometry of the discrete solution space to treat the solver as a negative identity on the backward pass and further provide a theoretical justification. Our experiments demonstrate that such a straightforward hyper-parameter-free approach is able to compete with previous more complex methods on numerous experiments such as backpropagation through discrete samplers, deep graph matching, and image retrieval. Furthermore, we substitute the previously proposed problem-specific and label-dependent margin with a generic regularization procedure that prevents cost collapse and increases robustness.

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

↑