semirelaxed Gromov-Wasserstein initial transport plan #707
Replies: 1 comment 1 reply
-
Hello @KetsiaGuichard , Indeed the srGW conditional gradient solver is quite sensitive to its initialisation, as it is non-convex as GW and looks for solutions in a bigger space as the constraints over the target marginal are removed. These aspects are partly discussed in the original srGW paper, where we addressed this task of matching to an identity matrix. In this specific case, the classical product of marginals is a local optimum where the solver gets stuck (see Section 7.5 in the Supplementary). This is not necessarily the case if the target structure is more informative, which is why we kept the product of marginals as default in POT. Unfortunately, for now good initialisations appear to be quite data dependent. For tasks that relate to graph partitioning we implemented various initialization strategies that can be used by the user in Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I’m facing an issue where the results of the semirelaxed Gromov-Wasserstein (srGW) method differ significantly, even though the initial matrices OT (from the Gromov-Wasserstein result) and the default matrices (which I derived from the uniform distributions in the source and target space, as described in the documentation for when G0=None) appear to be quite similar. Despite this, the srGW distances are different depending on which initialization is used. Can you explain why this discrepancy occurs, even though the initializations seem to be similar?
Thanks a lot for your help !
To Reproduce
See code sample
Expected behavior
With the same initialization, the function should yield the same result.
Environment (please complete the following information):
Linux-6.5.0-44-generic-x86_64-with-glibc2.38
Python 3.11.6 (main, Apr 10 2024, 17:26:07) [GCC 13.2.0]
NumPy 2.1.3
SciPy 1.14.1
POT 0.9.5
Code sample
Beta Was this translation helpful? Give feedback.
All reactions