SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.03664 · ICLR · 2025

Partial Gromov-Wasserstein Metric

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

arXiv · PDF · Open in the Atlas

Code that ran

28 of 39 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; 10 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 17 failures of our instrument; 11 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/2402.03664.json · badge: /api/ran/2402.03664.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
mint-vu/PGW_Metric canonical (classifier label)
classifier basis: census
26 ran · 9 no recorded run
mint-vu/pgw_metric canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 1 no recorded run
FunctionStatusWhere it lives
HKExpMonge Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/LinHK.py
pointer only (licence: NONE) · get_code("6f5e13570a85cb9e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

HKLog Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/LinHK.py
pointer only (licence: NONE) · get_code("ddfb05aa653b2aeb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

KL Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/HK/SinkhornNP.py
pointer only (licence: NONE) · get_code("5f4ad09f57a60dd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

MDS_test Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/gromov_barycenter.py
pointer only (licence: NONE) · get_code("92b599f21803d223")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

PCA_numpy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/_utils.py
pointer only (licence: NONE) · get_code("8d9de98e89cbef33")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

buildDataMatrix Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/LinW2.py
pointer only (licence: NONE) · get_code("dbcd9cca06939b5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

check_number_threads Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/opt.py
pointer only (licence: NONE) · get_code("b0bb632a9a1e6e72")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

cost_function Ran
ran, violated the contract we drafted
mint-vu/PGW_Metric/lib/lopt.py
pointer only (licence: NONE) · get_code("1ec964d986f17239")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

cost_matrix Ran
ran; our contract draft was wrong, not the code
mint-vu/PGW_Metric/lib/lopt.py
pointer only (licence: NONE) · get_code("a58377b969a103e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

decomposeEigenvectors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/LinW2.py
pointer only (licence: NONE) · get_code("9b4ba556ee545dc6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

emd_lp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/opt.py
pointer only (licence: NONE) · get_code("d17fd94b1af0d3f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

extractMongeData Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/LinHK.py
pointer only (licence: NONE) · get_code("0ecd3739ff2fee74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

extractMongeData Ran
ran; our contract draft was wrong, not the code
mint-vu/PGW_Metric/lib/HK/LinW2.py
pointer only (licence: NONE) · get_code("5b69e57118377810")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

gamma_to_T Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/_utils.py
pointer only (licence: NONE) · get_code("e04b1361dd2fa985")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

generate_d_sphere Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/shape_matching.py
pointer only (licence: NONE) · get_code("57b010a6f658afcf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

generate_d_square Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/shape_matching.py
pointer only (licence: NONE) · get_code("10538f2e3b860e1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

getCostEuclidean Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/HK/SinkhornNP.py
pointer only (licence: NONE) · get_code("d6ff84d8980cc90d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

getPoslistNCube Ran
ran; our contract draft was wrong, not the code
mint-vu/PGW_Metric/lib/HK/OTCommon.py
pointer only (licence: NONE) · get_code("e39a27451d50dff2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

im2mat Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/gromov_barycenter.py
pointer only (licence: NONE) · get_code("f75fddd85ad85071")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

lot_geodesic Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/geodesic.py
pointer only (licence: NONE) · get_code("8f98f1be91d759a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

normalize_X Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/pu_learning.py
pointer only (licence: NONE) · get_code("ddac89a10bbaf59f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

opt_interpolation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/PGW_Metric/lib/geodesic.py
pointer only (licence: NONE) · get_code("b799916ef80c00ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

ot_geodesic Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/geodesic.py
pointer only (licence: NONE) · get_code("f9b40f8f3c9ea5f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

pu_gw_emd Ran
ran; our contract draft was wrong, not the code
mint-vu/pgw_metric/lib/mpgw/partial_gw.py
pointer only (licence: NONE) · get_code("bde78b222d343cc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/pgw_metric when it was checked. 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.

pu_w_emd Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mint-vu/pgw_metric/lib/mpgw/partial_gw.py
pointer only (licence: NONE) · get_code("dcd88e715c0b7a9c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/pgw_metric when it was checked. 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.

random_projections Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/lopt.py
pointer only (licence: NONE) · get_code("994e8f3b082dd270")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

rotation_2d Ran
ran, honoured the contract we drafted
mint-vu/PGW_Metric/lib/shape_matching.py
pointer only (licence: NONE) · get_code("49a9dad58dc9c817")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

smacof_mds Ran
ran; our contract draft was wrong, not the code
mint-vu/PGW_Metric/lib/gromov_barycenter.py
pointer only (licence: NONE) · get_code("ac03fc0948a770f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

SolveW2 Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/HK/SinkhornNP.py
pointer only (licence: NONE) · get_code("3932dc6120481ab3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

data_process Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/pu_learning.py
pointer only (licence: NONE) · get_code("657b63a2f201207a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

draw_pu_dataset_scar Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/pu_learning.py
pointer only (licence: NONE) · get_code("ee5ed42010b9accc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

gwgrad Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from lchapel/partial-GW-for-PU
pointer only; the stored copy get_code serves, from lchapel/partial-GW-for-PU, is pointer only (licence: NONE) · get_code("147fd80456b80804")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

gwgrad_partial1 Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/gromov.py
pointer only (licence: NONE) · get_code("56455786f838bd02")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

gwloss Not yet run
unverified (harvested, no recorded run)
mint-vu/pgw_metric/lib/mpgw/partial_gw.py
pointer only (licence: NONE) · get_code("af7ad3707397d5b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/pgw_metric when it was checked. 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.

importMeasure Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/HK/OTCommon.py
pointer only (licence: NONE) · get_code("ca28591bfb28a4f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

opt_lp Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/opt.py
pointer only (licence: NONE) · get_code("46a6ff2f033b3222")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

processDensity_Grid Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/HK/OTCommon.py
pointer only (licence: NONE) · get_code("e332456cb147b40e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

sampling Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/_utils.py
pointer only (licence: NONE) · get_code("a7e27a1315a1af98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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.

tensor_dot_func Not yet run
unverified (harvested, no recorded run)
mint-vu/PGW_Metric/lib/gromov.py
pointer only (licence: NONE) · get_code("02b0df05801406da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mint-vu/PGW_Metric when it was checked. 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 39 samples lifted from this paper's linked repositories, 39 carry a function identity and 0 do not. Of the 39 distinct functions with an identity, 5 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 later) and 34 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.

FunctionAlso present inEarliest-datedOthers named
HKExpMonge 1 other paper
1 later
2410.16669 (2024-10)
Linear Partial Gromov-Wasserstein Embedding
HKLog 1 other paper
1 later
2410.16669 (2024-10)
Linear Partial Gromov-Wasserstein Embedding
extractMongeData 1 other paper
1 later
2410.16669 (2024-10)
Linear Partial Gromov-Wasserstein Embedding
gwgrad
brick of this paper's assembly: update_rule
1 other paper
1 dated earlier
2002.08276 (2020-02)
Partial Optimal Transport with Applications on Positive-Unlabeled Learning
im2mat 1 other paper
1 dated earlier
2303.06595 (2023-03)
A Convergent Single-Loop Algorithm for Relaxation of Gromov-Wasserstein in Graph Data

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

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.

For agents

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

get_harvested_code_for_paper("2402.03664")
get_code_for_paper("2402.03664")
have("2402.03664")

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

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

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

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

Connect an agent — have() is free.