paper-with-me

Papers

A Unified Framework for Implicit Sinkhorn Differentiation

2022-05-13 · CVPR 2022 1 · Marvin Eisenberger, Aysim Toker, Laura Leal-Taixé, Florian Bernard, Daniel Cremers

The Sinkhorn operator has recently experienced a surge of popularity in computer vision and related fields. One major reason is its ease of integration into deep learning frameworks. To allow for an efficient training of respective neural networks, we propose an algorithm that obtains analytical gradients of a Sinkhorn layer via implicit differentiation. In comparison to prior work, our framework is based on the most general formulation of the Sinkhorn operator. It allows for any type of loss function, while both the target capacities and cost matrices are differentiated jointly. We further construct error bounds of the resulting algorithm for approximate inputs. Finally, we demonstrate that for a number of applications, simply replacing automatic differentiation with our algorithm directly improves the stability and accuracy of the obtained gradients. Moreover, we show that it is computationally more efficient, particularly when resources like GPU memory are scarce.

📄 PDF Abstract BibTeX arXiv:2205.06688

Code (1)

marvin-eisenberger/implicit-sinkhorn 공식 구현 pytorch

Tasks

GPU

Similar Papers 제목 키워드 기반

Scalable Sinkhorn Backpropagation

2021-09-29 · Marvin Eisenberger, Aysim Toker, Laura Leal-Taixé, Florian Bernard 외

Optimal transport has recently gained increasing attention in the context of deep learning. A major contributing factor is the line of work on smooth relaxations that make the classical optimal transport problem differen…

GPURolling Shutter Correction

Rethinking Initialization of the Sinkhorn Algorithm

2022-06-15 · James Thornton, Marco Cuturi

While the optimal transport (OT) problem was originally formulated as a linear program, the addition of entropic regularization has proven beneficial both computationally and statistically, for many applications. The Sin…

Sinkhorn Flow: A Continuous-Time Framework for Understanding and Generalizing the Sinkhorn Algorithm

2023-11-28 · Mohammad Reza Karimi, Ya-Ping Hsieh, Andreas Krause

Many problems in machine learning can be formulated as solving entropy-regularized optimal transport on the space of probability measures. The canonical approach involves the Sinkhorn iterates, renowned for their rich ma…

Re-basin via implicit Sinkhorn differentiation

2022-12-22 · CVPR 2023 1 · Fidel A. Guerrero Peña, Heitor Rapela Medeiros, Thomas Dubail, Masih Aminbeidokhti 외

The recent emergence of new algorithms for permuting models into functionally equivalent regions of the solution space has shed some light on the complexity of error surfaces, and some promising properties like mode conn…

Continual LearningIncremental LearningLinear Mode ConnectivityModels Alignment+1

Amortized Implicit Differentiation for Stochastic Bilevel Optimization

2021-11-29 · ICLR 2022 4 · Michael Arbel, Julien Mairal

We study a class of algorithms for solving bilevel optimization problems in both stochastic and deterministic settings when the inner-level objective is strongly convex. Specifically, we consider algorithms based on inex…

Bilevel Optimization