Sinkhorn's Algorithm: Difference between revisions

From Optimal Transport Wiki
Jump to navigation Jump to search
(add characterization)
(→‎Sinkhorn's Algorithm: added description of Sinkhorn's algorithm.)
Line 31: Line 31:


==Sinkhorn's Algorithm==
==Sinkhorn's Algorithm==
The algorithm takes advantage of the aforementioned characterization result to iteratively approximate the scaling factors <math>\mathbf u</math> and <math>\mathbf v</math>. The procedure is simple and only involves matrix-vector multiplication and entrywise division as follows
:<math> u^{(\ell +1)} = \frac{\textbf a}{K\textbf v^{(\ell)}} \quad\text{and}\quad v^{(\ell +1)} = \frac{\textbf a}{K^T\textbf u^{(\ell)}} </math>

Revision as of 11:23, 9 May 2020

Sinkhorn's Algorithm is an iterative numerical method used to obtain an optimal transport plan for the Kantorovich problem with entropic regularization in the case of finitely supported positive measures .

Continuous Problem Formulation

Entropic regularization modifies the Kantorovich problem by adding a Kullback-Leibler divergence term to the optimization goal. Specifically, the general form of the problem is now to determine

where is the product measure of and , and where

whenever the Radon-Nikodym derivative exists (i.e. when is absolutely continuous w.r.t. ) and otherwise. This form of the KL divergence is applicable even when differ in total mass and it reduces to the standard definition whenever and have equal total mass. From this definition it immediately follows that for an optimal coupling must be absolutely continuous w.r.t . As a result, the optimal plan is in some sense less singular and hence "smoothed out."

Discrete Problem Formulation

To apply Sinkhorn's algorithm to approximate , it will be necessary to assume finite support so let and and denote the corresponding vector of weights by and . Additionally let and denote the discrete version of by . This let's us write the entropic Kantorovich problem as

where


Characterizing the Solution

The solution to the discrete problem formulation is unique and has a special form.

Theorem
The solution to discrete regularized Kantorovich problem is unique and has the form for some where .

Sinkhorn's Algorithm

The algorithm takes advantage of the aforementioned characterization result to iteratively approximate the scaling factors and . The procedure is simple and only involves matrix-vector multiplication and entrywise division as follows