Skip to main content
QUICK REVIEW

[Paper Review] Massively scalable Sinkhorn distances via the Nyström method

Jason M. Altschuler, Francis Bach|arXiv (Cornell University)|Dec 12, 2018
Probabilistic and Robust Engineering DesignDecision Sciences53 references17 citations
TL;DR

This paper proposes a massively scalable algorithm for computing Sinkhorn distances using the Nyström method to approximate the kernel matrix, combined with Sinkhorn scaling. By leveraging low-rank approximation and stability analyses, the method achieves sub-quadratic time and memory complexity, enabling computation on datasets hundreds of times larger than previous methods while maintaining high accuracy.

ABSTRACT

The Sinkhorn "distance", a variant of the Wasserstein distance with entropic regularization, is an increasingly popular tool in machine learning and statistical inference. However, the time and memory requirements of standard algorithms for computing this distance grow quadratically with the size of the data, making them prohibitively expensive on massive data sets. In this work, we show that this challenge is surprisingly easy to circumvent: combining two simple techniques---the Nyström method and Sinkhorn scaling---provably yields an accurate approximation of the Sinkhorn distance with significantly lower time and memory requirements than other approaches. We prove our results via new, explicit analyses of the Nyström method and of the stability properties of Sinkhorn scaling. We validate our claims experimentally by showing that our approach easily computes Sinkhorn distances on data sets hundreds of times larger than can be handled by other techniques.

Motivation & Objective

  • To address the quadratic time and memory complexity of standard Sinkhorn distance computation in large-scale machine learning applications.
  • To enable efficient computation of Sinkhorn distances on massive datasets where standard methods become infeasible.
  • To provide theoretical guarantees on approximation accuracy using the Nyström method and Sinkhorn scaling.
  • To demonstrate empirical scalability on datasets orders of magnitude larger than previous approaches.

Proposed method

  • The method applies the Nyström method to construct a low-rank approximation of the kernel matrix derived from the squared Euclidean cost.
  • It uses adaptive sampling with a doubling trick to improve the accuracy of the Nyström approximation.
  • The approximate kernel matrix is then used as input to the Sinkhorn scaling algorithm to compute the regularized optimal transport distance.
  • Theoretical analysis establishes stability bounds for Sinkhorn scaling under kernel approximation, ensuring error control.
  • The approach combines kernel approximation error bounds with Sinkhorn projection stability to derive overall accuracy guarantees.
  • A rounding procedure is applied to ensure the final transport plan satisfies marginal constraints.

Experimental results

Research questions

  • RQ1Can the Nyström method be effectively combined with Sinkhorn scaling to achieve scalable optimal transport computation?
  • RQ2What theoretical guarantees can be provided for the accuracy of the resulting Sinkhorn distance approximation?
  • RQ3How does the method scale in practice compared to existing approaches on large datasets?
  • RQ4What is the impact of kernel approximation error and Sinkhorn scaling stability on the final distance estimate?

Key findings

  • The proposed method achieves sub-quadratic time and memory complexity, scaling as O(n^{1.5}) or better, in contrast to the standard O(n^2) complexity.
  • The method enables computation of Sinkhorn distances on datasets with n > 10^6, far exceeding the n ≈ 10^4 limit of standard methods.
  • Theoretical analysis proves that the combination of Nyström approximation and Sinkhorn scaling yields bounded error, with explicit dependence on the effective dimension and sampling size.
  • Empirical results show the method maintains high accuracy even with relatively small Nyström sample sizes, demonstrating robustness.
  • The method is stable under kernel approximation, with error bounds derived via Bregman divergence and Hausdorff distance analysis of transport polytopes.
  • The approach outperforms prior scalable methods such as grid-based convolution or Taylor expansion, especially in non-grid or non-structured settings.

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.