Papers › Partial Gromov-Wasserstein Metric

Partial Gromov-Wasserstein Metric

6 Feb 2024arXiv:2402.03664archive 2025-07-28

Yikun Bai, Rocio Diaz Martin, Abihith Kothapalli, Hengrong Du, Xinran Liu, Soheil Kolouri

The Gromov-Wasserstein (GW) distance has gained increasing interest in the machine learning community in recent years, as it allows for the comparison of measures in different metric spaces. To overcome the limitations imposed by the equal mass requirements of the classical GW problem, researchers have begun exploring its application in unbalanced settings. However, Unbalanced GW (UGW) can only be regarded as a discrepancy rather than a rigorous metric/distance between two metric measure spaces (mm-spaces). In this paper, we propose a particular case of the UGW problem, termed Partial Gromov-Wasserstein (PGW). We establish that PGW is a well-defined metric between mm-spaces and discuss its theoretical properties, including the existence of a minimizer for the PGW problem and the relationship between PGW and GW, among others. We then propose two variants of the Frank-Wolfe algorithm for solving the PGW problem and show that they are mathematically and computationally equivalent. Moreover, based on our PGW metric, we introduce the analogous concept of barycenters for mm-spaces. Finally, we validate the effectiveness of our PGW metric and related solvers in applications such as shape matching, shape retrieval, and shape interpolation, comparing them against existing baselines. Our code is available at https://github.com/mint-vu/PGW_Metric.

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="2402.03664")

Code

Syntology Ran 28 of 39 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran · fixture could not drive it; 25 ran with no contract checked.

By repository: official repository: 38 samples from 1 repository, 28 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mint-vu/pgw_metric officialmentioned in paperpytorch 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

39 samples harvested; 28 ran; 0 honoured the contract we drafted; 11 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 · our draft was wrong
2ran · fixture could not drive it
25ran
11unverified

Licence: 39 of the 39 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 mint-vu/PGW_Metric. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

HKExpMonge mint-vu/PGW_Metric/lib/HK/LinHK.py official repository ran no licence file found · pointer only · 6f5e13570a85cb9e · report
HKLog mint-vu/PGW_Metric/lib/HK/LinHK.py official repository ran no licence file found · pointer only · ddfb05aa653b2aeb · report
KL mint-vu/PGW_Metric/lib/HK/SinkhornNP.py official repository ran fingerprinted no licence file found · pointer only · 5f4ad09f57a60dd3 · report
MDS_test mint-vu/PGW_Metric/lib/gromov_barycenter.py official repository ran fingerprinted no licence file found · pointer only · 92b599f21803d223 · report
PCA_numpy mint-vu/PGW_Metric/lib/_utils.py official repository ran no licence file found · pointer only · 8d9de98e89cbef33 · report
buildDataMatrix mint-vu/PGW_Metric/lib/HK/LinW2.py official repository ran no licence file found · pointer only · dbcd9cca06939b5e · report
check_number_threads mint-vu/PGW_Metric/lib/opt.py official repository ran fingerprinted no licence file found · pointer only · b0bb632a9a1e6e72 · report
cost_function mint-vu/PGW_Metric/lib/lopt.py official repository ran fingerprinted no licence file found · pointer only · 1ec964d986f17239 · report
cost_matrix mint-vu/PGW_Metric/lib/lopt.py official repository ran fingerprinted no licence file found · pointer only · a58377b969a103e3 · report
decomposeEigenvectors mint-vu/PGW_Metric/lib/HK/LinW2.py official repository ran no licence file found · pointer only · 9b4ba556ee545dc6 · report
emd_lp mint-vu/PGW_Metric/lib/opt.py official repository ran no licence file found · pointer only · d17fd94b1af0d3f1 · report
extractMongeData mint-vu/PGW_Metric/lib/HK/LinHK.py official repository ran no licence file found · pointer only · 0ecd3739ff2fee74 · report
extractMongeData mint-vu/PGW_Metric/lib/HK/LinW2.py official repository ran no licence file found · pointer only · 5b69e57118377810 · report
gamma_to_T mint-vu/PGW_Metric/lib/_utils.py official repository ran no licence file found · pointer only · e04b1361dd2fa985 · report
generate_d_sphere mint-vu/PGW_Metric/lib/shape_matching.py official repository ran no licence file found · pointer only · 57b010a6f658afcf · report
generate_d_square mint-vu/PGW_Metric/lib/shape_matching.py official repository ran fingerprinted no licence file found · pointer only · 10538f2e3b860e1c · report
getCostEuclidean mint-vu/PGW_Metric/lib/HK/SinkhornNP.py official repository ran no licence file found · pointer only · d6ff84d8980cc90d · report
getPoslistNCube mint-vu/PGW_Metric/lib/HK/OTCommon.py official repository ran no licence file found · pointer only · e39a27451d50dff2 · report
im2mat mint-vu/PGW_Metric/lib/gromov_barycenter.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · f75fddd85ad85071 · report
lot_geodesic mint-vu/PGW_Metric/lib/geodesic.py official repository ran no licence file found · pointer only · 8f98f1be91d759a4 · report
normalize_X mint-vu/PGW_Metric/lib/pu_learning.py official repository ran fingerprinted no licence file found · pointer only · ddac89a10bbaf59f · report
opt_interpolation mint-vu/PGW_Metric/lib/geodesic.py official repository ran no licence file found · pointer only · b799916ef80c00ac · report
ot_geodesic mint-vu/PGW_Metric/lib/geodesic.py official repository ran no licence file found · pointer only · f9b40f8f3c9ea5f3 · report
pu_gw_emd mint-vu/pgw_metric/lib/mpgw/partial_gw.py official repository ran · our draft was wrong no licence file found · pointer only · bde78b222d343cc7 · report
pu_w_emd mint-vu/pgw_metric/lib/mpgw/partial_gw.py official repository ran · fixture could not drive it no licence file found · pointer only · dcd88e715c0b7a9c · report
random_projections mint-vu/PGW_Metric/lib/lopt.py official repository ran no licence file found · pointer only · 994e8f3b082dd270 · report
rotation_2d mint-vu/PGW_Metric/lib/shape_matching.py official repository ran fingerprinted no licence file found · pointer only · 49a9dad58dc9c817 · report
smacof_mds mint-vu/PGW_Metric/lib/gromov_barycenter.py official repository ran no licence file found · pointer only · ac03fc0948a770f5 · report
SolveW2 mint-vu/PGW_Metric/lib/HK/SinkhornNP.py official repository unverified no licence file found · pointer only · 3932dc6120481ab3 · report
data_process mint-vu/PGW_Metric/lib/pu_learning.py official repository unverified no licence file found · pointer only · 657b63a2f201207a · report
draw_pu_dataset_scar mint-vu/PGW_Metric/lib/pu_learning.py official repository unverified no licence file found · pointer only · ee5ed42010b9accc · report
gwgrad_partial1 mint-vu/PGW_Metric/lib/gromov.py official repository unverified no licence file found · pointer only · 56455786f838bd02 · report
gwloss mint-vu/pgw_metric/lib/mpgw/partial_gw.py official repository unverified no licence file found · pointer only · af7ad3707397d5b0 · report
importMeasure mint-vu/PGW_Metric/lib/HK/OTCommon.py official repository unverified no licence file found · pointer only · ca28591bfb28a4f0 · report
opt_lp mint-vu/PGW_Metric/lib/opt.py official repository unverified no licence file found · pointer only · 46a6ff2f033b3222 · report
processDensity_Grid mint-vu/PGW_Metric/lib/HK/OTCommon.py official repository unverified no licence file found · pointer only · e332456cb147b40e · report
sampling mint-vu/PGW_Metric/lib/_utils.py official repository unverified no licence file found · pointer only · a7e27a1315a1af98 · report
tensor_dot_func mint-vu/PGW_Metric/lib/gromov.py official repository unverified no licence file found · pointer only · 02b0df05801406da · report
gwgrad identical code first harvested elsewhere unverified licence of this copy not recorded · 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