Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, and More

07/14/2021
by   Johannes Klicpera, et al.
0

The current best practice for computing optimal transport (OT) is via entropy regularization and Sinkhorn iterations. This algorithm runs in quadratic time as it requires the full pairwise cost matrix, which is prohibitively expensive for large sets of objects. In this work we propose two effective log-linear time approximations of the cost matrix: First, a sparse approximation based on locality-sensitive hashing (LSH) and, second, a Nyström approximation with LSH-based sparse corrections, which we call locally corrected Nyström (LCN). These approximations enable general log-linear time algorithms for entropy-regularized OT that perform well even for the complex, high-dimensional spaces common in deep learning. We analyse these approximations theoretically and evaluate them experimentally both directly and end-to-end as a component for real-world applications. Using our approximations for unsupervised word embedding alignment enables us to speed up a state-of-the-art method by a factor of 3 while also improving the accuracy by 3.1 percentage points without any additional model changes. For graph distance regression we propose the graph transport network (GTN), which combines graph neural networks (GNNs) with enhanced Sinkhorn. GTN outcompetes previous models by 48 log-linearly in the number of nodes.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/26/2017

Near-linear time approximation algorithms for optimal transport via Sinkhorn iteration

Computing optimal transport distances such as the earth mover's distance...
research
10/14/2018

Approximating optimal transport with linear programs

In the regime of bounded transportation costs, additive approximations f...
research
02/08/2022

On the Convergence of Gradient Extrapolation Methods for Unbalanced Optimal Transport

We study the Unbalanced Optimal Transport (UOT) between two measures of ...
research
04/26/2017

Quadratically-Regularized Optimal Transport on Graphs

Optimal transportation provides a means of lifting distances between poi...
research
06/12/2020

Linear Time Sinkhorn Divergences using Positive Features

Although Sinkhorn divergences are now routinely used in data sciences to...
research
05/27/2020

Rationalizing Text Matching: Learning Sparse Alignments via Optimal Transport

Selecting input features of top relevance has become a popular method fo...
research
05/16/2022

Optimal Randomized Approximations for Matrix based Renyi's Entropy

The Matrix-based Renyi's entropy enables us to directly measure informat...

Please sign up or login with your details

Forgot password? Click here to reset