Hypergraph Pattern Machine: Compositional Tokenization for Higher-Order Interactions
Anonymous authors
ICLR 2027
Abstract. Hypergraphs model higher-order relations that drive real-world decisions, from drug prescriptions to recommendations. A central structural signal in such data, beyond what pairwise relations can express, is interaction compositionality: whether a higher-order relation is compositional, emergent, or inhibitory with respect to its subsets, i.e., whether a set and its one-element-smaller subset are both observed, only the larger one is observed, or only the smaller one is observed. These patterns are read directly from the observed data. In adverse-event reports, for example, they distinguish drug sets whose reported association persists when a drug is added, appears only for the full set, or is absent after adding a drug; these are reporting patterns, not pharmacological mechanisms. However, existing hypergraph learning methods, which propagate messages over observed hyperedges, do not represent unobserved subsets explicitly and leave this signal implicit. To this end, we propose the Hypergraph Pattern Machine (HGPM), which makes the compositional pattern of subsets an explicit part of the input. It tokenizes observed and unobserved subsets around each target, organizes them in an inclusion DAG, and pretrains an inclusion-aware Transformer with masked reconstruction. On ten hypergraph benchmarks, HGPM matches or exceeds state-of-the-art methods. A qualitative case study on adverse-event reports further illustrates how HGPM separates candidate drugs that are close in feature space but have different recorded patterns.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Desk rejected · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:33 UTC.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
The paper turns subsets around a target node, both observed and unobserved, into tokens arranged in an inclusion DAG. A Transformer with inclusion and role biases encodes them, and is pretrained with masked reconstruction against an EMA teacher. Experiments cover eight node classification benchmarks and two adverse-event datasets.
Strengths
-
Representing absent subsets explicitly is an interesting idea. It gives the model access to patterns that standard hypergraph message passing can miss.
-
The inclusion DAG fits the subset relationships well, and the results across several datasets suggest that the representation is useful.
Weaknesses
-
The definition of existence in Section 3 does not match the tokenizer. Section 4.1 gives sampled sub tokens existence 1 even when they are not observed hyperedges. The same subset can instead become a neg token with existence 0 if it is not sampled as a sub token. Its label therefore depends on the sampler. This makes it unclear how faithfully the input represents the COMP/EMER/INHIB patterns defined in Section 3.
-
Theorem 3 does not explain the benefit of inclusion-aware attention. Its separating construction sets the structural biases and attention contributions to zero; token-type counts alone distinguish the two hypergraphs. This supports the value of subset tokenization, but leaves the role of inclusion-aware attention unresolved.
Questions for the authors
- Why do unobserved sub-hyperedges get existence 1? How does this fit with Section 3, and with the same subset getting different labels across views?
- What can inclusion-aware attention tell apart that mean pooling over the same token attributes cannot? Does that hold for the real bounded tokenizer, not just the idealized one?
4 comments
W2 and Q2. Theorem 3 and inclusion-aware attention
W2.1. What Theorem 3 shows
"Theorem 3 does not explain the benefit of inclusion-aware attention. Its separating construction sets the structural biases and attention contributions to zero; token-type counts alone distinguish the two hypergraphs."
We agree with this reading of Theorem 3. Its witness sets the structural biases and the attention contribution to zero and separates the two hypergraphs through the number of tokens of each type, as Remark 6 states. It establishes the value of subset tokenization; the role of inclusion-aware attention is shown by the example in W2.2.
W2.2 and Q2. What inclusion-aware attention can tell apart
Q2: "What can inclusion-aware attention tell apart that mean pooling over the same token attributes cannot?"
Two views whose token sequences are identical and whose inclusion edges differ, under the same tokenizer as Theorem 3. Take constant node features, , and
For center , the tokenizer of Lemma 3 keeps every observed hyperedge that contains and all of their 2-subsets that contain , with existence given by membership. In both hypergraphs this yields the center token and the five tokens below, where is the observed triple ( in A, in B).
| Token | Order | Existence | Adjacent superset in A | Adjacent superset in B |
|---|---|---|---|---|
| 2 | 1 | (COMP) | - | |
| 2 | 0 | - | (EMER) | |
| 2 | 0 | (EMER) | (EMER) | |
| 3 | 1 | (COMP) | (COMP) | |
| 4 | 1 | - | - |
The two token sequences are identical in feature, order, existence, source and position: , and are observed hyperedges in both hypergraphs, and and are unobserved 2-subsets of in both, so no token's source depends on the hypergraph. The token-type counts used by the witness of Theorem 3 therefore coincide, and any encoder that reads only the tokens returns the same output for A and B, for every choice of weights; this includes mean pooling and a Transformer without structural biases. The inclusion edges differ. In A the triple extends the observed pair (COMP) and the unobserved pair (EMER). In B it extends only the unobserved pairs and (two EMER edges), and the observed pair has no adjacent superset. The direction bias is defined on these edges. With a nonzero and every other bias at zero, an explicit weight setting gives different representations for A and B: only the token changes, because it attends to one observed and one unobserved pair in A and to two unobserved pairs in B. By Lemma 5, HGPM then separates A and B for almost all weights.
W2.3 and Q2. The bounded tokenizer
Q2: "Does that hold for the real bounded tokenizer, not just the idealized one?"
The example needs no retention assumption under the tokenizer of Lemma 3. Under the bounded sampler it holds for views that retain these five tokens, which the sampler does not guarantee in general. The coverage table in W1 reports coverage under the actual sampler, while Table 2(c) compares encoders on its outputs.
The empirical counterpart with the actual tokenizer is Table 2(c). The inclusion-aware encoder reaches 86.03 / 80.42 (homophilic / heterophilic), against 84.78 / 77.99 for a vanilla Transformer on the same tokens and 83.29 / 76.29 for mean pooling. On drug edge classification, the task is to predict the label of a (drug set, adverse event) record, and HGPM additionally reads subset-state evidence: for each subset of the queried drug set among its tokens, the state (positive, negative or unknown) of that subset for the queried adverse event (AE) in the training records, with the queried set's own state masked. With tokens, subset-state evidence and pretraining matched, the inclusion-aware encoder is 1.3 / 1.1 F1 points (HODDI / JADER) above the vanilla Transformer.
Dear Reviewer,
As the discussion period is drawing to a close, we would like to check in on whether our response has resolved your concerns. We are happy to answer any further questions. If our response has addressed your concerns, we would be grateful if you would consider raising your rating. Thank you again for your time and thoughtful feedback.
Best Regards, Authors
Dear Reviewer,
With about 10 hours left in the discussion period, we would be happy to address any remaining questions or concerns you may have. Thank you again for your time.
Best regards,
The Authors
- Rating
- 3/4(+1)
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 1/3
Read review
Summary
The paper claims that existing hypergraph models only pass messages along the groups that exist in the data, so they never see which smaller or larger groups are missing. The idea is that when one item is added to a group, the larger group may still be observed, may appear only as a whole, or may disappear. The proposed HGPM turns this into model input. Around each node it lists nearby subsets, both observed and unobserved, links them by one-element-larger relations, marks each as present or absent, and feeds them to a Transformer that is pre-trained by masking subsets.
Strengths
- It asks a fresh, well-motivated question: should absent subsets be a first-class input to hypergraph learning?
- Theorem 1 gives a clean formal footing: the three labels are a discrete difference of the hyperedge indicator, and simplicial complexes are exactly the "no-emergent" case.
Weaknesses
-
There is a problem with tokenizer inconsistency. Subsets sampled from observed hyperedges (sub tokens) are assigned existence = 1, even when they are not observed hyperedges themselves. This can turn genuinely emergent transitions into compositional ones. The observed-first token budget can also exclude negative tokens when the positive pool fills the cap. Moreover, the theoretical analysis relies on an idealized tokenizer rather than the actual sampling procedure.
-
There is a missing preptrain control in comparisions. HGPM performs notably worse without pretraining, and the best objective is generic EMA reconstruction. Removing missing-subset tokens causes only a small drop, leaving the contribution unclear.
-
HGPM uses training labels of the query subsets, while the baselines do not receive the same query-specific information. A matched-input comparison and temporal split would help clarify the reported gains and cross-order generalization. The FOLFOX case study is informative but limited to one example, with predicted regimes closely tied to binary labels.
Questions for the authors
- Can the authors explain what is the difference between a negative unknown-sub-tokens (meaning that these sub-tokens never form a hyperedge?) and a positive unknown-sub-tokens, when both are assigned existence = 1?
- Can the author design a pretraining control for a fair comparison?
7 comments
W1 and Q1. Tokenizer
W1.1 and Q1. Existence of sub tokens
"Subsets sampled from observed hyperedges (sub tokens) are assigned existence = 1, even when they are not observed hyperedges themselves. This can turn genuinely emergent transitions into compositional ones."
Q1: "Can the authors explain what is the difference between a negative unknown-sub-tokens (meaning that these sub-tokens never form a hyperedge?) and a positive unknown-sub-tokens, when both are assigned existence = 1?"
Sec. 4.1 and App. C.1 give every sub token existence 1. Under that description, an unobserved fragment of an observed hyperedge would be presented as observed, and a genuinely emergent transition would be read as compositional. We correct the description accordingly, as below and in the updated draft. The correction concerns the text only; the implementation and all reported results are unchanged.
In the implemented tokenizer, every non-center token receives the indicator of Sec. 3,
where is the set of hyperedges visible to the model. The rule is the same for every source. The source tag records how a token was generated and does not affect its existence. Emergent transitions therefore stay emergent: if is a hyperedge and is not, has existence 0 whether it was generated as a sub token or by perturbation, and the edge has the state pair , which is EMER as defined in Sec. 3, not COMP.
We audited the implemented tokenizer's outputs on the eight node-classification benchmarks, covering 229,518 views, before pretraining masking. In the audit table below, 99.29–100% of sub tokens outside Congress have existence 0; the share is 73.09% on Congress. The remaining fragments are themselves observed hyperedges, and no cross-view existence conflicts were found.
Existence of sub tokens in the implemented tokenizer's outputs. Counts are token occurrences across views; existence is checked against the visible hyperedge set. In the last column, a subset is identified by its node set and compared across the views in which it occurs within the same dataset.
| Dataset | sub tokens |
Existence 0 | Existence 1 (the fragment is itself a hyperedge) | Share with existence 0 | Subsets with conflicting existence across views |
|---|---|---|---|---|---|
| Citeseer | 30,689 | 30,524 | 165 | 99.46% | 0 |
| Pubmed | 438,831 | 435,722 | 3,109 | 99.29% | 0 |
| Cora-CA | 77,644 | 77,356 | 288 | 99.63% | 0 |
| DBLP-CA | 1,762,561 | 1,759,013 | 3,548 | 99.80% | 0 |
| Congress | 31,009 | 22,663 | 8,346 | 73.09% | 0 |
| Senate | 66,569 | 66,569 | 0 | 100.00% | 0 |
| Walmart | 234,225 | 233,657 | 568 | 99.76% | 0 |
| House | 250,322 | 250,313 | 9 | 100.00% | 0 |
To answer Q1 directly: sub and neg differ in how the subset relates to the observed hyperedge it was generated from, not in existence. A sub token is contained in an observed hyperedge. A neg token is obtained by dropping, adding or swapping one member, so it can be a subset, a superset or a sibling of its source, and it is kept only if it is not a hyperedge. A neg token always has existence 0. A sub token has existence 0 unless the fragment is itself a hyperedge.
W1.2. Token budget
"The observed-first token budget can also exclude negative tokens when the positive pool fills the cap."
The reviewer's reading is correct: perturbation (neg) tokens enter an order only through positions that the pool of obs and sub tokens leaves free, so an order whose pool reaches the cap admits none. What App. C.1 describes incompletely is how positions are filled within the cap. The implemented sampler works in two steps.
- Relation endpoints. It first selects, greedily and subject to the per-order caps and the pool order above, pairs of tokens at adjacent orders that form a COMP, EMER or INHIB relation, and keeps both endpoints.
- Remaining positions. It then fills what is left of each order as App. C.1 states: from the
obs/subpool first, and fromnegcandidates only if positions remain.
Endpoint priority therefore decides which obs and sub tokens are kept, so that the retained tokens form relations with one another. It does not admit a neg token into a full order. The unobserved endpoints it keeps at such an order are sub fragments, which under the membership rule of W1.1 are unobserved in 99.29–100% of cases outside Congress (audit table in W1.1). The cap thus limits one source of unobserved subsets and does not remove them from the view. The selection uses the hyperedge set only and no node labels.
Direct audit. We counted these cases on five datasets, shown in table below. A slot is one order of one view. The cap is reached in 5.4–81.0% of slots: rarely on Citeseer and Pubmed, and in a third or more of the slots on the other three. No slot at the cap holds a perturbation token. Even so, 87.1–99.2% of these slots still hold at least one existence-0 token, supplied by the sub fragments; in the remaining 0.8–12.9%, every token retained at that order is observed. Slots that are at the cap and hold no existence-0 token therefore make up about 0.2% (Pubmed) to 10.4% (Congress) of all slots.
Where the cap binds often, this fill-in role is one reason why removing perturbation tokens costs little (0.22 / 0.81 points on average, Table 2(a)): they are absent from every slot at the cap, and the unobserved subsets the encoder reads there are sub fragments.
Slots at the cap and the unobserved tokens they keep. The last two columns are shares of the slots at the cap.
| Dataset | Slots at the cap | With no neg token |
With an existence-0 token |
|---|---|---|---|
| Citeseer | 9.7% | 100% | 96.2% |
| Pubmed | 5.4% | 100% | 96.8% |
| DBLP-CA | 34.7% | 100% | 99.2% |
| Walmart | 67.4% | 100% | 90.9% |
| Congress | 81.0% | 100% | 87.1% |
W1.3. Idealized tokenizer in the theory
"Moreover, the theoretical analysis relies on an idealized tokenizer rather than the actual sampling procedure."
We agree. Theorem 3 is proved for the deterministic tokenizer of Lemma 3, which keeps every observed hyperedge that contains the center and all of their 2-subsets that contain the center. It does not guarantee that a bounded, sampled view retains the subsets that separate the two hypergraphs. This scope is stated in Lemma 3 and at the start of App. B.3. Theorems 1 and 2 do not involve the tokenizer. Empirically, with the actual bounded tokenizer, the inclusion-aware encoder reaches 86.03 / 80.42 (homophilic / heterophilic), against 84.78 / 77.99 for a vanilla Transformer on the same tokens and 83.29 / 76.29 for mean pooling (Table 2(c)).
W2 and Q2. Pretraining control and missing-subset tokens
W2.1 and Q2. Pretraining control
"HGPM performs notably worse without pretraining, and the best objective is generic EMA reconstruction."
Q2: "Can the author design a pretraining control for a fair comparison?"
We provide a pretrained strong-baseline comparison (configuration 1) and a matched-input architecture–pretraining control (configuration 2).
Configuration 1: masked EMA pretraining adapted to conventional baselines
Node benchmarks (table below). We add masked EMA pretraining to HealHGNN, the strongest baseline in Table 1 (average rank 2.9). Its architecture, published per-dataset configuration and downstream training are unchanged. In pretraining, the content embeddings of 20% of nodes are replaced by a mask vector, an EMA teacher sees the unmasked input on the same hypergraph, and the student regresses the teacher's projected final-layer states at the masked nodes.
HealHGNN as reported and with masked EMA pretraining, and HGPM, on the node benchmarks; accuracy (%), mean ± s.d. The best value in each row is in bold.
| Dataset | HealHGNN | HealHGNN + masked EMA | HGPM (ours) |
|---|---|---|---|
| Citeseer | 75.1 ± 1.2 | 75.6 ± 1.3 | 77.1 ± 1.2 |
| Pubmed | 88.8 ± 0.3 | 90.0 ± 0.4 | 89.7 ± 0.5 |
| Cora-CA | 84.3 ± 1.7 | 84.4 ± 1.5 | 85.1 ± 0.2 |
| DBLP-CA | 92.0 ± 0.3 | 92.1 ± 0.2 | 92.2 ± 0.2 |
| Congress | 93.5 ± 0.8 | 94.2 ± 0.9 | 94.1 ± 1.0 |
| Senate | 76.1 ± 4.1 | 76.1 ± 4.4 | 77.2 ± 4.8 |
| Walmart | 68.2 ± 0.6 | 68.9 ± 0.6 | 71.2 ± 0.5 |
| House | 77.2 ± 2.3 | 77.7 ± 2.3 | 79.2 ± 1.8 |
| Homophilic mean | 85.1 | 85.5 | 86.0 |
| Heterophilic mean | 78.8 | 79.2 | 80.4 |
The HealHGNN + masked EMA column is based on the official HealHGNN backbone with masked EMA pretraining added, using the same protocol as our method.
- The pretrained baseline is at or above the reported one on every dataset: higher by 0.1–1.2 percentage points on seven of the eight datasets and equal on Senate. The homophilic / heterophilic means increase from 85.05 / 78.75 to 85.53 / 79.23.
- With both models pretrained, HGPM has higher mean accuracy on six of the eight datasets, by 0.1–2.3 points. Its group means are 86.03 / 80.42, compared with 85.53 / 79.23 for HealHGNN + EMA. On Pubmed and Congress, HealHGNN + EMA is higher, by 0.3 and 0.1 points, respectively.
Drug benchmarks. An analogous control with KHGNN, the strongest baseline in Table 3, gives a similar picture. Adapted masked EMA pretraining improves KHGNN by 0.7 edge-classification F1 points on both HODDI and JADER (90.5 to 91.2 and 75.7 to 76.4), and HGPM remains 1.7 / 2.0 points above the pretrained KHGNN (control table in W3.1).
Configuration 2: identical tokens, with and without pretraining and structural biases
Encoder and pretraining on the node benchmarks, with identical subset tokens; group-mean accuracy (%), ten seeds.
| Encoder | Pretraining | Homophilic | Heterophilic |
|---|---|---|---|
| Vanilla Transformer | None | 83.1 | 75.9 |
| Vanilla Transformer | Masked EMA | 84.8 | 78.0 |
| HGPM | None | 83.8 | 78.6 |
| HGPM | Masked EMA | 86.0 | 80.4 |
The first row is new; the others restate results in the paper (Table 2(c) and Table 1). The pretraining recipe is the same for the two encoders on every dataset (App. E.1).
Pretraining helps both encoders by a similar amount: 1.73 / 2.07 points for the vanilla Transformer and 2.28 / 1.84 for HGPM. The pretraining gain is therefore not specific to HGPM, in line with the remark that EMA reconstruction is generic. We use it as a standard component and do not claim it as a contribution; Table 2(e) shows only that it is the best of the four targets we tried. The structural biases add 0.70 / 2.66 points without pretraining and 1.25 / 2.43 with it.
W2.2. Missing-subset tokens
"Removing missing-subset tokens causes only a small drop, leaving the contribution unclear."
The "No negatives" row of Table 2(a) does not remove missing subsets. It removes only the perturbation-generated tokens; unobserved fragments of observed hyperedges remain, and in the full tokenizer these fragments make up 99.29–100% of sub tokens outside Congress (audit table in W1.1). Its 0.22 / 0.81 drop therefore measures one source of unobserved subsets, not their total contribution. The revised PDF relabels the row "No perturbation tokens".
Two results on the node benchmarks measure what the existence and source inputs contribute.
Evidence already in the paper (Table 2(d)). The composition bias is indexed by the roles (center, observed, unobserved) of the query and key tokens, which are derived from existence and not from the source tag, so it is the channel through which attention distinguishes absent from present subsets. With the tokens and every other input unchanged, removing it lowers accuracy by 0.73 / 1.32 points (homophilic / heterophilic), and by 0.52–1.77 points on each of the eight datasets (Table 8, App. F).
New ablation (table below). We remove existence and source from the encoder's inputs: the existence embedding, the source embedding and are disabled in pretraining and fine-tuning, with tokens, inclusion edges and all other biases unchanged. This is the node-benchmark counterpart of the "HGPM without subset-state inputs" row of the drug-prediction control table in W3.1.
HGPM without existence and source inputs, on the node benchmarks; accuracy (%), mean over ten seeds. The first and last columns restate Table 8 (App. F) and Table 1.
| Dataset | Observed hyperedges only | Without existence and source inputs (new) | HGPM |
|---|---|---|---|
| Citeseer | 73.3 | 74.7 | 77.1 |
| Pubmed | 88.0 | 88.8 | 89.7 |
| Cora-CA | 82.4 | 83.1 | 85.1 |
| DBLP-CA | 90.0 | 90.6 | 92.2 |
| Congress | 89.7 | 91.6 | 94.1 |
| Senate | 71.6 | 74.3 | 77.2 |
| Walmart | 65.4 | 66.1 | 71.2 |
| House | 75.1 | 76.1 | 79.2 |
| Homophilic mean | 83.4 | 84.3 | 86.0 |
| Heterophilic mean | 75.5 | 77.0 | 80.4 |
Hiding these inputs lowers accuracy on all eight datasets, by 0.91–5.11 points, and by 1.76 / 3.42 points in the homophilic / heterophilic means. This is 8.0 / 4.2 times the drop of the "No perturbation tokens" row.
These results show that telling the encoder which subsets are observed, and how the unobserved ones were generated, helps node classification.
- Rating
- 3/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper proposes a hypergraph model that explicitly represents both observed and unobserved node sets. It uses a Transformer to learn from these sets and their subset relationships. The method is evaluated on node classification and drug–side-effect prediction, with improvement on ten hypergraph benchmarks.
Strengths
- Explicitly representing unobserved subsets is an interesting way to capture patterns which I think previous hypergraph models have missed.
- The experiments cover ten datasets, report strong results, and examine the contributions of several model components.
Weaknesses
- From my understanding, the meaning of “existence” doesn't seem consistent: a subset absent from the data can receive label 1 or 0 depending on how it was sampled. This makes the interpretation of the learned patterns unclear.
- The two drug-prediction tasks can be more clearly distinguished. Additional controls are also needed to show whether the gains come from the proposed architecture or the subset-label information supplied to it.
Questions for the authors
Please see weaknesses.
4 comments
W1. Consistency of existence
"From my understanding, the meaning of "existence" doesn't seem consistent: a subset absent from the data can receive label 1 or 0 depending on how it was sampled. This makes the interpretation of the learned patterns unclear."
Sec. 4.1 and App. C.1 give every sub token existence 1. Under that description, an unobserved fragment of an observed hyperedge would be presented as observed, and the same subset could have existence 1 in one view and 0 in another. We correct the description accordingly, as below and in the updated draft. The correction concerns the text only; the implementation and all reported results are unchanged.
In the implemented tokenizer, every non-center token receives the indicator of Sec. 3,
where is the set of hyperedges visible to the model. The rule is the same for every source. The source tag records how a token was generated and does not affect its existence. A subset absent from the visible hyperedge set therefore has existence 0, consistently across views.
We audited the implemented tokenizer's outputs on the eight node-classification benchmarks, covering 229,518 views, before pretraining masking (table below). The share of sub tokens with existence 0 is 99.29–100% outside Congress and 73.09% on Congress. The remaining fragments are themselves observed hyperedges. No membership errors or cross-view existence conflicts were found.
Existence of sub tokens in the implemented tokenizer's outputs. Counts are token occurrences across views; existence is checked against the visible hyperedge set. In the last column, a subset is identified by its node set and compared across the views in which it occurs within the same dataset.
| Dataset | sub tokens |
Existence 0 | Existence 1 (the fragment is itself a hyperedge) | Share with existence 0 | Subsets with conflicting existence across views |
|---|---|---|---|---|---|
| Citeseer | 30,689 | 30,524 | 165 | 99.46% | 0 |
| Pubmed | 438,831 | 435,722 | 3,109 | 99.29% | 0 |
| Cora-CA | 77,644 | 77,356 | 288 | 99.63% | 0 |
| DBLP-CA | 1,762,561 | 1,759,013 | 3,548 | 99.80% | 0 |
| Congress | 31,009 | 22,663 | 8,346 | 73.09% | 0 |
| Senate | 66,569 | 66,569 | 0 | 100.00% | 0 |
| Walmart | 234,225 | 233,657 | 568 | 99.76% | 0 |
| House | 250,322 | 250,313 | 9 | 100.00% | 0 |
For any retained adjacent pair with at least one observed endpoint, this rule gives the COMP/EMER/INHIB label defined in Sec. 3; pairs are outside these three regimes.
W2. The two drug tasks, and where the gain comes from
W2.1. The two drug-prediction tasks
"The two drug-prediction tasks can be more clearly distinguished."
The two tasks differ in what is predicted and in whether negative samples are used. In both, a record pairs a drug set with an adverse event (AE) .
- Edge classification. The task is to predict which side-effect class an observed drug combination is reported with (1,710 classes on HODDI, 100 on JADER). It is scored per record with the label that the data assigns to it, so no negative samples are generated. We report F1 and AUROC.
- Link prediction. The task is to tell observed records from negative samples: observed records are the positives, and sampled negative records are the negatives. We report AUROC and AUPRC.
What HGPM reads. For each subset of among its tokens, HGPM reads the state of in the training records: positive, negative, or unknown if no such record exists. We refer to these training-derived states as subset-state evidence, and to the channels that encode them as subset-state inputs. The token of itself has this input masked, and validation and test records are never read (App. C.3). This subset-state evidence is built from the same training records that every model is trained on, so HGPM uses no additional data. The conventional baselines do not take it as input.
W2.2. Where the gain comes from
"Additional controls are also needed to show whether the gains come from the proposed architecture or the subset-label information supplied to it."
Both structural encoding and the explicit state and source input channels contribute under the evaluated controls. The table below reports three separate comparisons on both datasets with ten seeds; these do not form an additive decomposition of the total gain. In edge-classification F1, HODDI / JADER:
- Architecture. With inputs and pretraining matched, HGPM is 1.3 / 1.1 points above a vanilla Transformer.
- Explicit state and source channels. With architecture and pretraining matched, the existence embedding, source embedding, and composition bias jointly add 1.2 / 1.6 points. Without them HGPM is still 0.5 / 0.4 above a pretrained KHGNN.
- Pretraining. Adding adapted masked EMA pretraining to KHGNN improves it by 0.7 / 0.7, and HGPM remains 1.7 / 2.0 above it.
Drug-prediction controls (%), mean ± s.d. over the ten seeds of Table 3. The three control rows are defined below the table.
| Model | HODDI, edge classification: F1 | HODDI, link prediction: AUROC | JADER, edge classification: F1 | JADER, link prediction: AUROC |
|---|---|---|---|---|
| KHGNN | 90.5 ± 0.1 | 97.2 ± 0.1 | 75.7 ± 0.3 | 59.4 ± 0.1 |
| KHGNN + masked EMA pretraining | 91.2 ± 0.2 | 97.4 ± 0.1 | 76.4 ± 0.3 | 60.3 ± 0.2 |
| Vanilla Transformer + matched subset-state evidence | 91.6 ± 0.2 | 97.5 ± 0.1 | 77.3 ± 0.3 | 61.6 ± 0.2 |
| HGPM without subset-state inputs | 91.7 ± 0.2 | 97.3 ± 0.1 | 76.8 ± 0.3 | 59.8 ± 0.3 |
| HGPM (ours) | 92.9 ± 0.1 | 97.9 ± 0.0 | 78.4 ± 0.2 | 63.2 ± 0.1 |
The three control rows are defined as follows.
- KHGNN + masked EMA pretraining. KHGNN is the strongest baseline in Table 3 (average rank 2.4). We mask the content embeddings of 20% of drug nodes and regress the final-layer states of the masked nodes onto an EMA teacher that sees the unmasked training hypergraph. The architecture and the downstream training are unchanged.
- Vanilla Transformer + matched subset-state evidence. The same tokens, subset-state evidence, AE conditioning, target masking, pretraining objective and budgets as HGPM, without the structural attention biases.
- HGPM without subset-state inputs. The existence embedding, source embedding, and composition bias are all disabled during pretraining (in both the student and teacher) and fine-tuning. Token sets, drug features, order, and the label-independent inclusion, direction, overlap and sibling inputs are kept. This ablation measures the joint contribution of the explicit state and source channels under unchanged supervision and retained token support.
Dear Reviewer,
As the discussion period is drawing to a close, we would like to check in on whether our response has resolved your concerns. We are happy to answer any further questions. If our response has addressed your concerns, we would be grateful if you would consider raising your rating. Thank you again for your time and thoughtful feedback.
Best Regards, Authors
Dear Reviewer,
With about 10 hours left in the discussion period, we would be happy to address any remaining questions or concerns you may have. Thank you again for your time.
Best regards,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
W1 and Q1. Existence of
subtokenssubtokens outside Congress have existence 0; the share is 73.09% on Congress. The others are fragments that are themselves hyperedges (first table below).negtokens only into positions that theobs/subpool leaves free. All tokens remain subject to the original per-order caps and source constraints, so retaining all three regimes in every view is not guaranteed; the second table below reports the resulting coverage.subtoken is a fragment of an observed hyperedge. Anegtoken is obtained by dropping, adding or swapping one member of an observed hyperedge orsubtoken, and is kept only if it is not a hyperedge. A subset reached by either route receives the same existence. The audit found no membership errors or cross-view existence conflicts on any of the eight benchmarks (first table below).Existence of
subtokens in the implemented tokenizer's outputs. Counts are token occurrences across views; existence is checked against the visible hyperedge set. In the last column, a subset is identified by its node set and compared across the views in which it occurs within the same dataset.subtokensRetained adjacent-order inclusion edges and view coverage. Each cell gives edge count (percentage of all views containing at least one such edge). Both endpoints have order at least 2. Each smaller-to-larger pair is counted once per view, before masking; center/readout edges and cross-view pairs are excluded. A pair occurring in several views is counted in each, so these are not globally distinct-pair counts. The percentages are view coverage, not edge shares, and need not sum to 100%.
The idealized tokenizer of App. B.3 (Lemma 3) already follows this membership rule: it gives 1S=0 to the unobserved 2-subsets of observed hyperedges.