Papers › Partial Optimal Transport with Applications on Positive-Unlabeled Learning

Partial Optimal Transport with Applications on Positive-Unlabeled Learning

19 Feb 2020arXiv:2002.08276archive 2025-07-28

Laetitia Chapel, Mokhtar Z. Alaya, Gilles Gasso

Classical optimal transport problem seeks a transportation map that preserves the total mass betwenn two probability distributions, requiring their mass to be the same. This may be too restrictive in certain applications such as color or shape matching, since the distributions may have arbitrary masses and/or that only a fraction of the total mass has to be transported. Several algorithms have been devised for computing partial Wasserstein metrics that rely on an entropic regularization, but when it comes with exact solutions, almost no partial formulation of neither Wasserstein nor Gromov-Wasserstein are available yet. This precludes from working with distributions that do not lie in the same metric space or when invariance to rotation or translation is needed. In this paper, we address the partial Wasserstein and Gromov-Wasserstein problems and propose exact algorithms to solve them. We showcase the new formulation in a positive-unlabeled (PU) learning application. To the best of our knowledge, this is the first application of optimal transport in this context and we first highlight that partial Wasserstein-based metrics prove effective in usual PU learning settings. We then demonstrate that partial Gromov-Wasserstein metrics is efficient in scenario where point clouds come from different domains or have different features.

PaperPDFCodeCode Syntology ran

In Syntology 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="2002.08276")

Code

Syntology Ran 2 of 26 code samples harvested from 3 repositories linked to this paper; 24 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong.

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

rflamary/POT officialmentioned in papermentioned on GitHubpytorchMIT report
lchapel/partial-GW-for-PU mentioned on GitHubpytorch report
thibsej/unbalanced_gromov_wasserstein mentioned on GitHubpytorch 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

26 samples harvested; 2 ran; 1 honoured the contract we drafted; 24 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
24unverified

Licence: 2 of the 26 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 3 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.

bures_wasserstein_mapping rflamary/POT/ot/gaussian.py official repository unverified MIT (permissive) · 8a32949258519378 · report
bures_wasserstein_mapping_hd rflamary/POT/ot/gaussian.py official repository unverified MIT (permissive) · bc8de67925b50231 · report
co_optimal_transport rflamary/POT/ot/coot.py official repository unverified MIT (permissive) · 69c475a756b4c16d · report
co_optimal_transport2 rflamary/POT/ot/coot.py official repository unverified MIT (permissive) · 58fcb1243e9431e8 · report
convert_to_html_table rflamary/POT/benchmarks/benchmark.py official repository unverified MIT (permissive) · a2c491dbf8c2fc12 · report
dist rflamary/POT/ot/dr.py official repository unverified MIT (permissive) · 2118fa5b8b878d5a · report
emd_laplace rflamary/POT/ot/da.py official repository unverified MIT (permissive) · 73765b4368a7da60 · report
empirical_bures_wasserstein_mapping rflamary/POT/ot/gaussian.py official repository unverified MIT (permissive) · 0644908f11a7d16f · report
empirical_sinkhorn2_geomloss rflamary/POT/ot/bregman/_geomloss.py official repository unverified MIT (permissive) · 1b4a33bceedbe219 · report
exec_bench rflamary/POT/benchmarks/benchmark.py official repository unverified MIT (permissive) · 83cc6adc356e85a7 · report
factored_optimal_transport rflamary/POT/ot/factored.py official repository unverified MIT (permissive) · 06c779d1369d447e · report
gaussian_logpdf rflamary/POT/ot/gmm.py official repository unverified MIT (permissive) · 5b25f9eee280604c · report
gaussian_pdf rflamary/POT/ot/gmm.py official repository unverified MIT (permissive) · c17b059ab990ed05 · report
get_sinkhorn_geomloss_lazytensor rflamary/POT/ot/bregman/_geomloss.py official repository unverified MIT (permissive) · fbf86f3cc43ee048 · report
gmm_pdf rflamary/POT/ot/gmm.py official repository unverified MIT (permissive) · f707d7f51ef8cb3b · report
logsumexp rflamary/POT/ot/dr.py official repository unverified MIT (permissive) · c7a68e23d2667c68 · report
make_1D_gauss rflamary/POT/ot/datasets.py official repository unverified MIT (permissive) · e43f1efd614077e6 · report
make_2D_samples_gauss rflamary/POT/ot/datasets.py official repository unverified MIT (permissive) · 8d98a43cb6bd2036 · report
setup rflamary/POT/benchmarks/emd.py official repository unverified MIT (permissive) · 3cfb9f78cee8fd33 · report
setup rflamary/POT/benchmarks/sinkhorn_knopp.py official repository unverified MIT (permissive) · e3babe388a4f4b1a · report
sinkhorn rflamary/POT/ot/dr.py official repository unverified MIT (permissive) · aa603000556ebca2 · report
sinkhorn_l1l2_gl rflamary/POT/ot/da.py official repository unverified MIT (permissive) · a41e53894dc65ebb · report
sinkhorn_lpl1_mm rflamary/POT/ot/da.py official repository unverified MIT (permissive) · 2a7422ba1267f3f3 · report
compute_cost_matrices lchapel/partial-GW-for-PU/partial_gw.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 8b32cc7700975e3c · report
euclid_dist thibsej/unbalanced_gromov_wasserstein/experiments_pu/compute_prediction.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · 475cc1bb2182df28 · report
gwgrad lchapel/partial-GW-for-PU/partial_gw.py community (archive-listed) unverified no licence file found · pointer only · 147fd80456b80804 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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