{"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/symmetric-spaces-for-graph-embeddings-a","title":"Symmetric Spaces for Graph Embeddings: A Finsler-Riemannian Approach","arxiv_id":"2106.04941","date":"2021-06-09","proceeding":null,"authors":["Federico López","Beatrice Pozzetti","Steve Trettel","Michael Strube","Anna Wienhard"],"abstract":"Learning faithful graph representations as sets of vertex embeddings has become a fundamental intermediary step in a wide range of machine learning applications. We propose the systematic use of symmetric spaces in representation learning, a class encompassing many of the previously used embedding targets. This enables us to introduce a new method, the use of Finsler metrics integrated in a Riemannian optimization scheme, that better adapts to dissimilar structures in the graph. We develop a tool to analyze the embeddings and infer structural properties of the data sets. For implementation, we choose Siegel spaces, a versatile family of symmetric spaces. Our approach outperforms competitive baselines for graph reconstruction tasks on various synthetic and real-world datasets. We further demonstrate its applicability on two downstream tasks, recommender systems and node classification.","url_abs":"https://arxiv.org/abs/2106.04941v1","url_pdf":"https://arxiv.org/pdf/2106.04941v1.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":"symmetric-spaces-for-graph-embeddings-a","repo_url":"https://github.com/fedelopez77/sympa","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"symmetric-spaces-for-graph-embeddings-a","repo_url":"https://github.com/geoopt/geoopt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"graph-reconstruction","task_name":"Graph Reconstruction"},{"task_slug":"node-classification","task_name":"Node Classification"},{"task_slug":"recommendation-systems","task_name":"Recommendation Systems"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"riemannian-optimization","task_name":"Riemannian optimization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2106.04941","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.04941"}},"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/geoopt/geoopt","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/fedelopez77/sympa","reach":{"status":"ok"}}],"summary":{"ran":3,"ran_violates":1,"ran_honours":1,"unverified":3},"by_repo_kind":{"listed":{"samples":8,"ran":5,"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":8,"samples":[{"code_sha256_prefix":"422dcea3d6b9c970","entry":"ScalingInfo","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"422dcea3d6b9c970"}},{"code_sha256_prefix":"d15bf70339ec32d9","entry":"ScalingStorage","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d15bf70339ec32d9"}},{"code_sha256_prefix":"151b5568cba5c7e8","entry":"Stereographic","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"151b5568cba5c7e8"}},{"code_sha256_prefix":"f177cb3a99ff2717","entry":"make_tuple","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f177cb3a99ff2717"}},{"code_sha256_prefix":"8d8f2d569e441a2c","entry":"strip_tuple","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"8d8f2d569e441a2c"}},{"code_sha256_prefix":"abc3ff8920fadd36","entry":"Manifold","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"abc3ff8920fadd36"}},{"code_sha256_prefix":"cd7865ebd4a5e57e","entry":"broadcast_shapes","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cd7865ebd4a5e57e"}},{"code_sha256_prefix":"675b7d084fb725a8","entry":"size2shape","repo":"geoopt/geoopt","repo_kind":"listed","path":"geoopt/manifolds/stereographic/manifold.py","file_url":"https://github.com/geoopt/geoopt/blob/HEAD/geoopt/manifolds/stereographic/manifold.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"675b7d084fb725a8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}