We lifted 4 functions out of this paper's own repositories and ran 2 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 |
|---|---|---|
| facebookresearch/lagrangian-ot | canonical | 2 of 4 |
| Function | Status | Where it lives |
|---|---|---|
| get_bounds | Ran | facebookresearch/lagrangian-ot/lagrangian_ot/data.py pointer only (licence: NOASSERTION) · get_code("71a6cf96a8d75736") |
| get_samplers | Ran | facebookresearch/lagrangian-ot/lagrangian_ot/data.py pointer only (licence: NOASSERTION) · get_code("c22badd2f55faeeb") |
| compute_spline | Not yet run | facebookresearch/lagrangian-ot/lagrangian_ot/splines.py pointer only (licence: NOASSERTION) · get_code("e760eb800d0b2f34") |
| get_gsb_gmm_sampler | Not yet run | facebookresearch/lagrangian-ot/lagrangian_ot/data.py pointer only (licence: NOASSERTION) · get_code("3990a1a09491815b") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
We investigate the optimal transport problem between probability measures when the underlying cost function is understood to satisfy a least action principle, also known as a Lagrangian cost. These generalizations are useful when connecting observations from a physical system where the transport dynamics are influenced by the geometry of the system, such as obstacles (e.g., incorporating barrier functions in the Lagrangian), and allows practitioners to incorporate a priori knowledge of the underlying system such as non-Euclidean geometries (e.g., paths must be circular). Our contributions are of computational interest, where we demonstrate the ability to efficiently compute geodesics and amortize spline-based paths, which has not been done before, even in low dimensional problems. Unlike prior work, we also output the resulting Lagrangian optimal transport map without requiring an ODE solver. We demonstrate the effectiveness of our formulation on low-dimensional examples taken from prior work. The source code to reproduce our experiments is available at https://github.com/facebookresearch/lagrangian-ot.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2406.00288")
get_code_for_paper("2406.00288")
have("2406.00288")
Connect an agent — have() is free.