{"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/transport-of-algebraic-structure-to-latent","title":"Transport of Algebraic Structure to Latent Embeddings","arxiv_id":"2405.16763","date":"2024-05-27","proceeding":null,"authors":["Samuel Pfrommer","Brendon G. Anderson","Somayeh Sojoudi"],"abstract":"Machine learning often aims to produce latent embeddings of inputs which lie in a larger, abstract mathematical space. For example, in the field of 3D modeling, subsets of Euclidean space can be embedded as vectors using implicit neural representations. Such subsets also have a natural algebraic structure including operations (e.g., union) and corresponding laws (e.g., associativity). How can we learn to \"union\" two sets using only their latent embeddings while respecting associativity? We propose a general procedure for parameterizing latent space operations that are provably consistent with the laws on the input space. This is achieved by learning a bijection from the latent space to a carefully designed mirrored algebra which is constructed on Euclidean space in accordance with desired laws. We evaluate these structural transport nets for a range of mirrored algebras against baselines that operate directly on the latent space. Our experiments provide strong evidence that respecting the underlying algebraic structure of the input space is key for learning accurate and self-consistent operations.","url_abs":"https://arxiv.org/abs/2405.16763v1","url_pdf":"https://arxiv.org/pdf/2405.16763v1.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":"transport-of-algebraic-structure-to-latent","repo_url":"https://github.com/spfrommer/latent_algebras","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2405.16763","atlas_url":"https://app.syntology.ai/?focus=2405.16763","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.16763"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/spfrommer/latent_algebras","reach":{"status":"ok"}}],"summary":{"ran":9,"unverified":1},"by_repo_kind":{"official":{"samples":10,"ran":9,"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":10,"samples":[{"code_sha256_prefix":"6c055a4b53038c84","entry":"add_click_options","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/utils/cmd_utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/utils/cmd_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6c055a4b53038c84"}},{"code_sha256_prefix":"cc1302fa5d7c53c3","entry":"change_extension","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/utils/file_utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/utils/file_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cc1302fa5d7c53c3"}},{"code_sha256_prefix":"fe839e5b459df206","entry":"create_mlp_from_params","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/utils/model_utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/utils/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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fe839e5b459df206"}},{"code_sha256_prefix":"3fcdad9780a321ef","entry":"files_with_extension","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/utils/file_utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/utils/file_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3fcdad9780a321ef"}},{"code_sha256_prefix":"c6fcd3c4829c610c","entry":"flatten_mlp_params","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"lib/inr2vec/utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/lib/inr2vec/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c6fcd3c4829c610c"}},{"code_sha256_prefix":"2e91ed7aa3fa38b2","entry":"get_mlps_batched_params","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"lib/inr2vec/utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/lib/inr2vec/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2e91ed7aa3fa38b2"}},{"code_sha256_prefix":"9e0c05cabd0e3ce5","entry":"remove_extension","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/utils/file_utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/utils/file_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9e0c05cabd0e3ce5"}},{"code_sha256_prefix":"0be2ebdc38492f25","entry":"symbolize","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/main/algebra.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/main/algebra.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0be2ebdc38492f25"}},{"code_sha256_prefix":"70110f366c43d76e","entry":"unflatten_mlp_params","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"lib/inr2vec/utils.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/lib/inr2vec/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"70110f366c43d76e"}},{"code_sha256_prefix":"c25a5205364024bd","entry":"setup_trainer","repo":"spfrommer/latent_algebras","repo_kind":"official","path":"latalg/main/core.py","file_url":"https://github.com/spfrommer/latent_algebras/blob/HEAD/latalg/main/core.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c25a5205364024bd"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}