SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2102.12833 · ICML · 2021

Diffusion Earth Mover's Distance and Distribution Embeddings

Alexander Tong, Guy Wolf, Smita Krishnaswamy, Guillaume Huguet, Amine Natik, Kincaid Macdonald, Manik Kuchroo, Ronald Coifman

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2102.12833.json · badge: /api/ran/2102.12833.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
krishnaswamylab/diffusionemd canonical (classifier label)
classifier basis: classifier_2025
1 ran · 2 no recorded run
KrishnaswamyLab/DiffusionEMD marked official in Papers with Code
Papers with Code archive
3 ran · 1 no recorded run
FunctionStatusWhere it lives
DiffusionEMD Ran
ran on a synthesized input
KrishnaswamyLab/DiffusionEMD/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("295bf82b8b736391")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, KrishnaswamyLab/DiffusionEMD (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_anisotropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KrishnaswamyLab/DiffusionEMD/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("3324490bf67a556f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, KrishnaswamyLab/DiffusionEMD (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_vectors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
KrishnaswamyLab/DiffusionEMD/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("962d224ce0612a7e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, KrishnaswamyLab/DiffusionEMD (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolative_decomposition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
krishnaswamylab/diffusionemd/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("8a5be38c36fa11e2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, krishnaswamylab/diffusionemd (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

approximate_rank Not yet run
unverified (harvested, no recorded run)
krishnaswamylab/diffusionemd/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("c59720d5b8d2101e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, krishnaswamylab/diffusionemd (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

approximate_rank_of_scales Not yet run
unverified (harvested, no recorded run)
KrishnaswamyLab/DiffusionEMD/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("80a6eeb195ba9276")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, KrishnaswamyLab/DiffusionEMD (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

estimate_dos Not yet run
unverified (harvested, no recorded run)
krishnaswamylab/diffusionemd/DiffusionEMD/diffusion_emd.py
pointer only (licence: NOASSERTION) · get_code("7d2e3983fb523c61")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, krishnaswamylab/diffusionemd (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose a new fast method of measuring distances between large numbers of related high dimensional datasets called the Diffusion Earth Mover's Distance (EMD). We model the datasets as distributions supported on common data graph that is derived from the affinity matrix computed on the combined data. In such cases where the graph is a discretization of an underlying Riemannian closed manifold, we prove that Diffusion EMD is topologically equivalent to the standard EMD with a geodesic ground distance. Diffusion EMD can be computed in Õ(n) time and is more accurate than similarly fast algorithms such as tree-based EMDs. We also show Diffusion EMD is fully differentiable, making it amenable to future uses in gradient-descent frameworks such as deep neural networks. Finally, we demonstrate an application of Diffusion EMD to single cell data collected from 210 COVID-19 patient samples at Yale New Haven Hospital. Here, Diffusion EMD can derive distances between patients on the manifold of cells at least two orders of magnitude faster than equally accurate methods. This distance matrix between patients can be embedded into a higher level patient manifold which uncovers structure and heterogeneity in patients. More generally, Diffusion EMD is applicable to all datasets that are massively collected in parallel in many medical and biological systems.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2102.12833")
get_code_for_paper("2102.12833")
have("2102.12833")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2102.12833.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2102.12833.svg)](https://syntology.ai/paper/2102.12833)

Connect an agent — have() is free.