{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/generative-modeling-with-optimal-transport","title":"Generative Modeling with Optimal Transport Maps","arxiv_id":"2110.02999","date":"2021-10-06","proceeding":"ICLR 2022 4","authors":["Litu Rout","Alexander Korotin","Evgeny Burnaev"],"abstract":"With the discovery of Wasserstein GANs, Optimal Transport (OT) has become a powerful tool for large-scale generative modeling tasks. In these tasks, OT cost is typically used as the loss for training GANs. In contrast to this approach, we show that the OT map itself can be used as a generative model, providing comparable performance. Previous analogous approaches consider OT maps as generative models only in the latent spaces due to their poor performance in the original high-dimensional ambient space. In contrast, we apply OT maps directly in the ambient space, e.g., a space of high-dimensional images. First, we derive a min-max optimization algorithm to efficiently compute OT maps for the quadratic cost (Wasserstein-2 distance). Next, we extend the approach to the case when the input and output distributions are located in the spaces of different dimensions and derive error bounds for the computed OT map. We evaluate the algorithm on image generation and unpaired image restoration tasks. In particular, we consider denoising, colorization, and inpainting, where the optimality of the restoration map is a desired attribute, since the output (restored) image is expected to be close to the input (degraded) one.","url_abs":"https://arxiv.org/abs/2110.02999v2","url_pdf":"https://arxiv.org/pdf/2110.02999v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"generative-modeling-with-optimal-transport","repo_url":"https://github.com/LituRout/OptimalTransportModeling","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"generative-modeling-with-optimal-transport","repo_url":"https://github.com/facebookresearch/w2ot","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null}],"tasks":[{"task_slug":"attribute","task_name":"Attribute"},{"task_slug":"colorization","task_name":"Colorization"},{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"image-restoration","task_name":"Image Restoration"}],"methods":[{"method_slug":"otm","method_name":"OTM"}],"datasets_introduced":[],"methods_introduced":[{"slug":"otm","name":"OTM","full_name":"Optimal Transport Modeling"}],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.02999","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.02999"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/w2ot","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/LituRout/OptimalTransportModeling","reach":null}],"summary":{"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":1,"ran":1,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":2,"samples":[{"code_sha256_prefix":"d05ce3ed69518646","entry":"LoadModel","repo":"LituRout/OptimalTransportModeling","repo_kind":"official","path":"source/otm_celeba_64x64.py","file_url":"https://github.com/LituRout/OptimalTransportModeling/blob/HEAD/source/otm_celeba_64x64.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d05ce3ed69518646"}},{"code_sha256_prefix":"7fb9bfa9b31ec695","entry":"plot_conj","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"7fb9bfa9b31ec695"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}