{"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/learning-distributions-on-manifolds-with-free","title":"Learning Distributions on Manifolds with Free-Form Flows","arxiv_id":"2312.09852","date":"2023-12-15","proceeding":null,"authors":["Peter Sorrenson","Felix Draxler","Armand Rousselot","Sander Hummerich","Ullrich Köthe"],"abstract":"We propose Manifold Free-Form Flows (M-FFF), a simple new generative model for data on manifolds. The existing approaches to learning a distribution on arbitrary manifolds are expensive at inference time, since sampling requires solving a differential equation. Our method overcomes this limitation by sampling in a single function evaluation. The key innovation is to optimize a neural network via maximum likelihood on the manifold, possible by adapting the free-form flow framework to Riemannian manifolds. M-FFF is straightforwardly adapted to any manifold with a known projection. It consistently matches or outperforms previous single-step methods specialized to specific manifolds. It is typically two orders of magnitude faster than multi-step methods based on diffusion or flow matching, achieving better likelihoods in several experiments. We provide our code at https://github.com/vislearn/FFF.","url_abs":"https://arxiv.org/abs/2312.09852v3","url_pdf":"https://arxiv.org/pdf/2312.09852v3.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":"learning-distributions-on-manifolds-with-free","repo_url":"https://github.com/vislearn/fff","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"form","task_name":"Form"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2312.09852","atlas_url":"https://app.syntology.ai/?focus=2312.09852","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.09852"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":"deterministic:regex_extraction","url":"https://github.com/vislearn/FFF","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vislearn/fff","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6,"unverified":1},"by_repo_kind":{"official":{"samples":7,"ran":6,"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":0,"samples":[{"code_sha256_prefix":"615bdd56e7131c04","entry":"build_model","repo":"vislearn/FFF","repo_kind":"official","path":"fff/base.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"615bdd56e7131c04"}},{"code_sha256_prefix":"62beb8156e773f1e","entry":"get_module","repo":"vislearn/FFF","repo_kind":"official","path":"fff/model/utils.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"62beb8156e773f1e"}},{"code_sha256_prefix":"b5063fada3aaa1f8","entry":"guess_image_shape","repo":"vislearn/FFF","repo_kind":"official","path":"fff/model/utils.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5063fada3aaa1f8"}},{"code_sha256_prefix":"505ce06e6c35e263","entry":"make_dense","repo":"vislearn/FFF","repo_kind":"official","path":"fff/model/utils.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"505ce06e6c35e263"}},{"code_sha256_prefix":"08ea55cee9bcbaa8","entry":"rand_log_uniform","repo":"vislearn/FFF","repo_kind":"official","path":"fff/base.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"08ea55cee9bcbaa8"}},{"code_sha256_prefix":"dc02abdd7ec5f6ca","entry":"soft_heaviside","repo":"vislearn/FFF","repo_kind":"official","path":"fff/base.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dc02abdd7ec5f6ca"}},{"code_sha256_prefix":"bec3f11465bbb13c","entry":"make_res_net","repo":"vislearn/FFF","repo_kind":"official","path":"fff/model/res_net.py","file_url":"https://github.com/vislearn/FFF/blob/HEAD/fff/model/res_net.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bec3f11465bbb13c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}