The Gromov-Wasserstein distance (Mémoli, 2011) generalizes optimal transport by comparing the metric spaces directly instead of samples across the spaces.
this framework operates on distances between pairs of points calculated within each domain and measures how these distances compare to those in the other domain.