Skip to main content
QUICK REVIEW

[Paper Review] Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, and More

Johannes Klicpera, Marten Lienen|arXiv (Cornell University)|Jul 14, 2021
Caching and Content DeliveryComputer Science3 citations
TL;DR

This paper proposes two log-linear time approximations—LSH-based sparse cost matrix and locally corrected Nystrom (LCN)—to accelerate entropy-regularized optimal transport (OT) in high-dimensional spaces. The methods enable scalable OT for deep learning applications, improving speed by 3× and accuracy by 3.1% in word embedding alignment and achieving 48% better performance in graph distance regression with the graph transport network (GTN).

ABSTRACT

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 Nystrom approximation with LSH-based sparse corrections, which we call locally corrected Nystrom (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% and still scales log-linearly in the number of nodes.

Motivation & Objective

  • Address the computational bottleneck of optimal transport (OT) in high-dimensional deep learning applications, where full cost matrices are prohibitively expensive.
  • Develop efficient, scalable alternatives to the standard Sinkhorn algorithm that rely on entropy regularization but avoid quadratic cost matrix computation.
  • Enable practical application of OT in large-scale settings such as word embedding alignment and graph distance regression.
  • Introduce a novel graph transport network (GTN) that combines GNNs with enhanced Sinkhorn to improve performance while maintaining log-linear scalability.
  • Theoretical and empirical validation of approximation quality and end-to-end performance gains in real-world tasks.

Proposed method

  • Propose a sparse cost matrix approximation using locality-sensitive hashing (LSH) to reduce the number of pairwise distance computations in OT.
  • Introduce the locally corrected Nystrom (LCN) method, which applies LSH to identify sparse correction terms for low-rank Nystrom approximation of the cost matrix.
  • Integrate LSH-based approximations into entropy-regularized OT via Sinkhorn iterations, maintaining convergence guarantees while reducing time complexity to log-linear.
  • Design the graph transport network (GTN) that uses GNNs to generate node features and applies enhanced Sinkhorn with LCN approximations for graph-level distance regression.
  • Theoretical analysis shows that LCN preserves convergence and accuracy under mild assumptions on the underlying data distribution.
  • End-to-end training and evaluation of the proposed methods in downstream tasks such as word embedding alignment and graph distance prediction.

Experimental results

Research questions

  • RQ1Can LSH-based sparsification of the cost matrix preserve the accuracy of entropy-regularized OT while enabling log-linear time complexity?
  • RQ2Does the locally corrected Nystrom (LCN) method provide a better trade-off between approximation quality and computational efficiency than standard Nystrom or LSH alone?
  • RQ3How do the proposed approximations perform in real-world deep learning applications such as unsupervised word embedding alignment?
  • RQ4Can the integration of LCN-approximated OT into a graph neural network framework (GTN) lead to state-of-the-art performance in graph distance regression?
  • RQ5What is the empirical gain in speed and accuracy when replacing standard Sinkhorn with the proposed approximations in existing pipelines?

Key findings

  • The LSH-based sparse approximation and LCN method reduce the time complexity of entropy-regularized OT to log-linear, enabling scalability to large datasets.
  • In unsupervised word embedding alignment, the proposed method accelerates a state-of-the-art method by a factor of 3 while improving accuracy by 3.1 percentage points.
  • The graph transport network (GTN), which combines GNNs with LCN-approximated Sinkhorn, outperforms previous models by 48% in graph distance regression.
  • The LCN approximation maintains high approximation quality, with minimal degradation in OT solution accuracy compared to full-matrix Sinkhorn.
  • The proposed methods scale log-linearly with the number of nodes in graph tasks, making them practical for large graphs.
  • Empirical evaluation confirms that both approximations are effective across diverse high-dimensional settings, including deep learning representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.