SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.16289 · NeurIPS · 2025

Disentangling Hyperedges through the Lens of Category Theory

Sungwon Kim, Yoonho Lee, Chanyoung Park, Junseok Lee, Sangwoo Seo, Yeongmin Kim

arXiv · PDF · Open in the Atlas

Code that ran

None of the 1 samples (functions and classes) lifted from this paper's linked repositories has a recorded run on a synthesized input (1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2510.16289.json · badge: /api/ran/2510.16289.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Yoonho-Lee-AI4Science/Natural-HNN community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
disen_HGNN Not yet run
unverified (harvested, no recorded run)
Yoonho-Lee-AI4Science/Natural-HNN/src/models.py
pointer only (licence: NONE) · get_code("34126e054f4b2245")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Yoonho-Lee-AI4Science/Natural-HNN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 1 samples lifted from this paper's linked repositories, 1 carry a function identity and 0 do not. Of the 1 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Despite the promising results of disentangled representation learning in discovering latent patterns in graph-structured data, few studies have explored disentanglement for hypergraph-structured data. Integrating hyperedge disentanglement into hypergraph neural networks enables models to leverage hidden hyperedge semantics, such as unannotated relations between nodes, that are associated with labels. This paper presents an analysis of hyperedge disentanglement from a categorytheoretical perspective and proposes a novel criterion for disentanglement derived from the naturality condition. Our proof-of-concept model experimentally showed the potential of the proposed criterion by successfully capturing functional relations of genes (nodes) in genetic pathways (hyperedges). Our implementation is available at https://github.com/Yoonho-Lee-AI4Science/Natural-HNN. 'c' representation of a hyperedge (i.e., H dis c ) must be the same (or similar) regardless of applying f en o 9 α H,c (i.e., message passing on entangled representation first, and then disentangling factors) or α X,c o 9 f dis c (i.e., disentangling factors first, and then message passing on disentangled representation). In other words, the factor representation must be consistent regardless of the sequence of operations if that factor is relevant to the interaction context of a hyperedge. We use this property as a guidance for disentanglement, since it must hold for any kind of hypergraph message passing neural networks, and must work regardless of data characteristics. To validate whether our criterion can effectively capture factors relevant to hyperedge disentanglement, we implemented a simple yet effective model, Natural-HNN. Each layer of the model is consisted with 3 components as shown in Figure 4: 1) Node-to-hyperedge propagation step that learns hyperedge factor representations and relevance scores, which is calculated by our criterion. 2) Hyperedge-to-Node propagation step that propagates factor representations of hyperedges to nodes with weights proportional to relevance scores. 3) The last component concatenates factor representations and produces final outputs by interpolating with the node representations given as input to the layer. Note that each layer of Natural-HNN has K factors where K is a hyperparamter. Obtaining Two Disentangled Hyperedge Representations. To validate whether the naturality condition (Figure 4 (a)) holds, we need to get two disentangled hyperedge factor representations for every factor (i.e., H dis k for every factor k P r1, Ks). The two disentangled representations are obtained through 1) Aggregation-first Branch and 2) Disentalgle-first Branch. In the following, we describe how morphisms in Figure 4 (a) are implemented as operations in the two branches shown in Figure 4 (b). Aggregation-first Branch. The first disentangled representation is obtained from the aggregationfirst branch performing f en o 9 α H,k for each factor k. This process is implemented as performing aggregation agg n2e (i.e., f en in Figure 4 (a)) first, and then disentangling into hyperedge factor representations using a factor encoder α H,k . The factor representations of hyperedge e i obtained from this branch are denoted as h1 e i , . . . , hK e i . Disentangle-first Branch. The other one is obtained from the disentangle-first branch performing α X,k o 9 f dis k for each factor k. This process is implemented as disentangling into node factor representations with factor encoder α X,k first, and then performing aggregation agg n2e (i.e., f dis c in Figure 4 (a)). Factor representations of hyperedge e i obtained from this branch are denoted as h 1 e i , . . . , h K e i . For both branches, we used mean aggregation as agg n2e and K MLPs as factor encoders for disentangling factors. Factor representations are vectors with size d{K (i.e., h k e i , hk e i P R d K ), when the desired size for node representations after message passing is d. In summary, operations of the two branches regarding factor k can be written as follows:

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2510.16289")
get_code_for_paper("2510.16289")
have("2510.16289")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2510.16289.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2510.16289.svg)](https://syntology.ai/paper/2510.16289)

Connect an agent — have() is free.