Papers › Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distances

Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distances

4 Jun 2013NeurIPS 2013arXiv:1306.0895archive 2025-07-28

Marco Cuturi

Optimal transportation distances are a fundamental family of parameterized distances for histograms. Despite their appealing theoretical properties, excellent performance in retrieval tasks and intuitive formulation, their computation involves the resolution of a linear program whose cost is prohibitive whenever the histograms' dimension exceeds a few hundreds. We propose in this work a new family of optimal transportation distances that look at transportation problems from a maximum-entropy perspective. We smooth the classical optimal transportation problem with an entropic regularization term, and show that the resulting optimum is also a distance which can be computed through Sinkhorn-Knopp's matrix scaling algorithm at a speed that is several orders of magnitude faster than that of transportation solvers. We also report improved performance over classical optimal transportation distances on the MNIST benchmark problem.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1306.0895")

Code

Syntology Ran 23 of 30 code samples harvested from 6 repositories linked to this paper; 7 have no recorded run. Of those that ran: 4 ran · violated contract; 12 ran · our draft was wrong; 7 ran · fixture could not drive it.

By repository: community (archive-listed): 30 samples from 6 repositories, 23 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

BenoitTran/END mentioned on GitHubMIT report
Godofnothing/optimal_transport_problem mentioned on GitHubpytorch report
fwilliams/fml mentioned on GitHubpytorch report
fwilliams/point-cloud-utils mentioned on GitHub report
fwilliams/scalable-pytorch-sinkhorn mentioned on GitHubpytorch report
locuslab/projected_sinkhorn mentioned on GitHubpytorch report
nicolasbolle/barycenters mentioned on GitHubtf report
thinklab-sjtu/linsatnet mentioned on GitHubpytorch report
yrobink/SBCK mentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

30 samples harvested; 23 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

4ran · violated contract
12ran · our draft was wrong
7ran · fixture could not drive it
7unverified

Licence: 23 of the 30 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

_bdot locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 96e8c4030f58cb9c · report
_expand locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · c07b4486b58d651e · report
_unfold locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · f7343c5b6de44ba1 · report
_uv_iteration nicolasbolle/barycenters/bary.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · ca496b363128dc4f · report
bdot locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 5622291b1b88a13d · report
collapse2 locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 0225f350ab8b1db2 · report
collapse3 locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 4c1add083f994c2f · report
evalpoly locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 03349056db623470 · report
get_K Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 0566ec84bebafc5b · report
lambertw locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 43d99be742579b90 · report
lamw locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 5973fe5d1dbccd26 · report
singularity_check_jax Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 6d8d47e99849d8a9 · report
singularity_check_numpy Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · 928f50453e92f2a0 · report
singularity_check_torch Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · bf2e51370cdc69e8 · report
sinkhorn fwilliams/fml/fml/functional.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · f3e2495fbb139c89 · report
sinkhorn nicolasbolle/barycenters/bary.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 18b39009324da9d4 · report
sinkhorn fwilliams/point-cloud-utils/point_cloud_utils/_sinkhorn.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 79cdb3d17acfd5a1 · report
sinkhorn_knopp_jax Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 7a9d778ff56e1279 · report
sinkhorn_knopp_numpy Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 2a95e0b4e82f5730 · report
sinkhorn_knopp_torch Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · f9b4bdaf3b8d7d17 · report
sinkhorn_mk nicolasbolle/barycenters/bary.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · bc5921cd42953118 · report
unflatten2 locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 6bb08e5daa220306 · report
unsqueeze3 locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 4a7029914257601e · report
_expand_filter locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) unverified no licence file found · pointer only · 09f913366f4c1d94 · report
_mm locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) unverified no licence file found · pointer only · 1187b4a8ad7f3d38 · report
docs2mat IntelLabs/Optimized-Implementation-of-Word-Movers-Distance/prep.py community (archive-listed) unverified MIT (permissive) · b0862ba630f603cd · report
load_vecs IntelLabs/Optimized-Implementation-of-Word-Movers-Distance/prep.py community (archive-listed) unverified MIT (permissive) · 4bd6c4ed02fbf4d1 · report
log_sinkhorn locuslab/projected_sinkhorn/projected_sinkhorn/projected_sinkhorn.py community (archive-listed) unverified no licence file found · pointer only · 7ae919dd4ef56ab8 · report
sinkhorn_knopp Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) unverified no licence file found · pointer only · 41dcc017865b1b37 · report
truncate_kernel Godofnothing/optimal_transport_problem/src/sinkhorn.py community (archive-listed) unverified no licence file found · pointer only · 152965650d8abe5b · report

Tasks

Retrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections