{"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/ollivier-ricci-curvature-for-hypergraphs-a","title":"Ollivier-Ricci Curvature for Hypergraphs: A Unified Framework","arxiv_id":"2210.12048","date":"2022-10-21","proceeding":null,"authors":["Corinna Coupette","Sebastian Dalleiger","Bastian Rieck"],"abstract":"Bridging geometry and topology, curvature is a powerful and expressive invariant. While the utility of curvature has been theoretically and empirically confirmed in the context of manifolds and graphs, its generalization to the emerging domain of hypergraphs has remained largely unexplored. On graphs, the Ollivier-Ricci curvature measures differences between random walks via Wasserstein distances, thus grounding a geometric concept in ideas from probability theory and optimal transport. We develop ORCHID, a flexible framework generalizing Ollivier-Ricci curvature to hypergraphs, and prove that the resulting curvatures have favorable theoretical properties. Through extensive experiments on synthetic and real-world hypergraphs from different domains, we demonstrate that ORCHID curvatures are both scalable and useful to perform a variety of hypergraph tasks in practice.","url_abs":"https://arxiv.org/abs/2210.12048v3","url_pdf":"https://arxiv.org/pdf/2210.12048v3.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":"ollivier-ricci-curvature-for-hypergraphs-a","repo_url":"https://github.com/aidos-lab/orchid","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2210.12048","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.12048"}},"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/aidos-lab/orchid","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":12},"by_repo_kind":{"official":{"samples":12,"ran":0,"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":"7f045c3291db3117","entry":"bootstrapping","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/mmd.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/mmd.py","link_basis":"harvester_set","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":"7f045c3291db3117"}},{"code_sha256_prefix":"8e91ec3a43c6a9c2","entry":"clustering","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/graph-clustering.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/graph-clustering.py","link_basis":"harvester_set","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":"8e91ec3a43c6a9c2"}},{"code_sha256_prefix":"5b980d57979fdd3a","entry":"compute_edge_cardinalities","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/features.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/features.py","link_basis":"harvester_set","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":"5b980d57979fdd3a"}},{"code_sha256_prefix":"1e6674c180020caa","entry":"compute_edge_neighborhood_sizes","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/features.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/features.py","link_basis":"harvester_set","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":"1e6674c180020caa"}},{"code_sha256_prefix":"bd3a191e5a97ad9b","entry":"compute_node_degrees","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/features.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/features.py","link_basis":"harvester_set","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":"bd3a191e5a97ad9b"}},{"code_sha256_prefix":"ca82ca4f86965c16","entry":"eemdkernel","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/common.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/common.py","link_basis":"harvester_set","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":"ca82ca4f86965c16"}},{"code_sha256_prefix":"2e2a9e5c77aeab04","entry":"exp_kernel","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/node-clustering.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/node-clustering.py","link_basis":"harvester_set","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":"2e2a9e5c77aeab04"}},{"code_sha256_prefix":"c245a87218b4bbf1","entry":"kpca","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/kpca.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/kpca.py","link_basis":"harvester_set","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":"c245a87218b4bbf1"}},{"code_sha256_prefix":"ef5629d6ce56031e","entry":"mmd","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/mmd.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/mmd.py","link_basis":"harvester_set","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":"ef5629d6ce56031e"}},{"code_sha256_prefix":"f31e66047dcb61de","entry":"mmd_emd","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/mmd.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/mmd.py","link_basis":"harvester_set","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":"f31e66047dcb61de"}},{"code_sha256_prefix":"dc1cb2ab92b08713","entry":"sncluster","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/node-clustering.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/node-clustering.py","link_basis":"harvester_set","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":"dc1cb2ab92b08713"}},{"code_sha256_prefix":"2878d24e61ec7e5f","entry":"wasserstein_kernel","repo":"aidos-lab/orchid","repo_kind":"official","path":"experiments/common.py","file_url":"https://github.com/aidos-lab/orchid/blob/HEAD/experiments/common.py","link_basis":"harvester_set","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":"2878d24e61ec7e5f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}