Nicolas Courty, Clément Bonet, Lucas Drumetz, Laetitia Chapel
We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections | — | 4 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| hyper_sliced_wasserstein | Ran | clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections/lib/hsw.py pointer only (licence: NONE) · get_code("1e04373d6fef79ed") |
| minkowski_ip | Ran | clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections/lib/hsw.py pointer only (licence: NONE) · get_code("6f12d7897291e661") |
| minkowski_ip2 | Ran | clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections/lib/hsw.py pointer only (licence: NONE) · get_code("ed1339743750a4af") |
| sliced_cost | Ran | clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections/lib/hsw.py pointer only (licence: NONE) · get_code("469888994e6546e3") |
| emd1D | Not yet run | clbonet/Hyperbolic_Sliced-Wasserstein_via_Geodesic_and_Horospherical_Projections/lib/hsw.py pointer only (licence: NONE) · get_code("c823fdd343e6fb1a") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Hyperbolic space embeddings have been shown beneficial for many learning tasks where data have an underlying hierarchical structure. Consequently, many machine learning tools were extended to such spaces, but only few discrepancies to compare probability distributions defined over those spaces exist. Among the possible candidates, optimal transport distances are well defined on such Riemannian manifolds and enjoy strong theoretical properties, but suffer from high computational cost. On Euclidean spaces, sliced-Wasserstein distances, which leverage a closed-form solution of the Wasserstein distance in one dimension, are more computationally efficient, but are not readily available on hyperbolic spaces. In this work, we propose to derive novel hyperbolic sliced-Wasserstein discrepancies. These constructions use projections on the underlying geodesics either along horospheres or geodesics. We study and compare them on different tasks where hyperbolic representations are relevant, such as sampling or image classification.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2211.10066")
get_code_for_paper("2211.10066")
have("2211.10066")
Connect an agent — have() is free.