CalibHyper: Chance-Corrected Relational Hypergraphs for Few-Shot Molecular Property Prediction
Organizations: School of Computer Science, Peking University · Key Laboratory of High Confidence Software Technologies, Peking University, Ministry of Education · School of Computer Science, Wuhan University · School of Information Science and Technology, Tibetan Language Intelligence National Key Laboratory, Tibet University
Abstract
Molecular property prediction is central to drug development and materials discovery, but experiments are costly and labeled data are scarce. Context-aware methods use auxiliary assay labels to support few-shot prediction, and recent work supervises property relations with label agreement. However, label agreement is sensitive to class marginals and does not directly capture dependence between properties. We propose CalibHyper, a chance-corrected relational hypergraph method based on the joint label distribution. CalibHyper subtracts an independence baseline from the ordered four-state label distribution and shrinks the residual according to the number of joint observations. A swap-equivariant relation head estimates these residuals, which choose the auxiliary properties for each molecule and set the sign and weight of their hyperedge messages. On thirteen datasets from five benchmarks, in both 1-shot and 10-shot settings, CalibHyper and its ablation settings achieve ROC-AUC competitive with the strongest reported results.
Figures & tables
| Tox21 | SIDER | MUV | ToxCast | PCBA | ||||||
| Method | 10-shot | 1-shot | 10-shot | 1-shot | 10-shot | 1-shot | 10-shot | 1-shot | 10-shot | 1-shot |
| Siamese | 80.40 0.35 | 65.00 1.58 | 71.10 4.32 | 51.43 3.31 | 59.96 5.13 | 50.00 0.17 | – | – | – | – |
| ProtoNet | 74.98 0.32 | 65.58 1.72 | 64.54 0.89 | 57.50 2.34 | 65.88 4.11 | 58.31 3.18 | 63.70 1.26 | 56.36 1.54 | 64.93 1.94 | 55.79 1.45 |
| MAML | 80.21 0.24 | 75.74 0.48 | 70.43 0.76 | 67.81 1.12 | 63.90 2.28 | 60.51 3.12 | 66.79 0.85 | 65.97 5.04 | 66.22 1.31 | 62.04 1.73 |
| TPN | 76.05 0.24 | 60.16 1.18 | 67.84 0.95 | 62.90 1.38 | 65.22 5.82 | 50.00 0.51 | 62.74 1.45 | 50.01 0.05 | – | – |
| EGNN | 81.21 0.16 | 79.44 0.22 | 72.87 0.73 | 70.79 0.95 | 65.20 2.08 | 62.18 1.76 | 63.65 1.57 | 61.02 1.94 | 69.92 1.85 | 62.14 1.58 |
| Ablation | Tox21 | SIDER | MUV |
|---|---|---|---|
| CalibHyper (full) | 96.82 1.70 | 96.89 2.33 | 97.19 1.21 |
| w/o C4RC | 90.08 2.96 | 90.78 3.33 | 93.82 2.19 |
| w/o MSRHA | 87.48 3.52 | 86.46 1.92 | 67.23 1.94 |
| w/o C4RC and MSRHA | 93.97 2.80 | 89.20 3.90 | 87.15 3.53 |
| w/o chance correction | 93.00 3.13 | 88.39 1.67 | 87.47 3.97 |
| w/o sign separation | 95.81 1.12 | 88.75 1.93 | 67.43 2.52 |
| Case | Molecule | Dataset and target | GT | ReCoG | Pin-Tuning | CalibHyper |
|---|---|---|---|---|---|---|
| C1 | Tox21 SR-HSE | Neg. | 0.99 Pos. | 0.59 Pos. | Neg. | |
| C2 | Tox21 SR-HSE | Neg. | 1.00 Pos. | 0.57 Pos. | Neg. | |
| C3 | CEETOX ESTRONE_up | Neg. | 1.00 Pos. | 0.83 Pos. | Neg. | |
| C4 | CEETOX ESTRADIOL_up | Neg. | 0.98 Pos. | 0.87 Pos. | 0.02 Neg. |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
|---|---|
| , | set of molecules, set of properties |
| , | disjoint meta-training and meta-test properties |
| label of molecule for property ; means unmeasured | |
| observation indicator | |
| episode with target , its support set and query set | |
| , | auxiliary properties of the episode and their number |
| Symbol | Meaning |
|---|---|
| , | joint observation set and the empirical law of the pair on it (Definition E.2 ) |
| unsmoothed positive rate of on jointly observed molecules (Definition E.2 ) | |
| , | baseline and ideal target built from exact unsmoothed marginals (Definitions E.4 and E.6 ) |
| , , , | Walsh basis of , with (Definition E.5 ) |
| , | labels in form, (Definition E.5 ) |
| , | swap acting on output coordinates and on inputs (Definition E.7 ) |
| GIN layers / width | 5 / 300 | Training episodes | 2,000 | Laplace constant | 1 |
|---|---|---|---|---|---|
| Query batch (train/test) | 16 / 64 | Routing count | 5 | Shrinkage constant | 5 |
| ROC-AUC | AP | |||||
| Masked | Ablation setting | Peak | Last-5 | Final | Peak | Final |
| Tox21 | ||||||
| 50% | C4RC, unsigned MSRHA | 94.87 | 73.73 | 86.32 | 85.53 | 40.31 |
| 50% | w/o MSRHA | 94.89 | 79.70 | 90.07 | 66.13 | 49.88 |
| 50% | Head switched to binary | 98.80 | 88.44 | 80.66 | 93.30 | 30.17 |
| 70% | C4RC, unsigned MSRHA | 85.62 | 72.15 | 57.30 | 41.84 | 22.39 |
| ROC-AUC | AP | |||||
| Ablation setting | Peak | Last-5 | Final | Peak | Final | |
| Tox21 | ||||||
| 1 | C4RC, unsigned MSRHA | 84.46 | 82.58 | 82.68 | 38.22 | 34.26 |
| 1 | w/o MSRHA | 85.39 | 82.44 | 81.59 | 38.17 | 32.28 |
| 2 | C4RC, unsigned MSRHA | 88.57 | 83.13 | 82.84 | 47.35 | 36.14 |
| 2 | w/o MSRHA | 81.46 | 74.68 | 75.29 | 32.45 | 24.34 |
| Tox21 | MUV | CEETOX | |
|---|---|---|---|
| 1 | 93.01 | 89.43 | 76.38 |
| 5 | 99.47 | 92.32 | 91.89 |
| 10 | 97.87 | 86.42 | 80.69 |
| Method | APR | ATG | BSK | CEETOX | CLD | NVS | OT | TOX21 | Tanguay |
|---|---|---|---|---|---|---|---|---|---|
| 10-shot | |||||||||
| ProtoNet | 73.58 | 59.26 | 70.15 | 66.12 | 78.12 | 65.85 | 64.90 | 68.26 | 73.61 |
| MAML | 72.66 | 62.09 | 66.42 | 64.08 | 74.57 | 66.56 | 64.07 | 68.04 | 77.12 |
| EGNN | 80.33 | 66.17 | 73.43 | 66.51 | 78.85 | 71.05 | 68.21 | 76.40 | 85.23 |
| Pre-PAR | 86.09 | 72.72 | 82.45 | 72.12 | 83.43 | 74.94 | 71.96 | 82.81 | 88.20 |
| Pre-GS-Meta | 90.15 | 82.54 | 88.21 | 74.19 | 86.34 | 76.29 | 74.47 | 90.63 | 91.47 |
| State | Observed count | Expected under independence |
|---|---|---|
| Both negative | 3117 | 3117.0 |
| Only MUV-733 positive | 1 | 1.00 |
| Only MUV-713 positive | 3 | 3.00 |
| Both positive | 0 | 0.001 |
| dn negative | dn positive | |
|---|---|---|
| up negative | 230 | 151 |
| up positive | 119 | 0 |
| Molecules | Joint observations | Cohen’s |
|---|---|---|
| All jointly observed | 6657 | |
| Containing phosphorus | 213 | |
| Other | 6444 |
| Property pair | Joint observations | Joint positives | Original | After relabeling | |
|---|---|---|---|---|---|
| MUV-652, MUV-712 | 3066 | 1 | |||
| PCBA-1460, PCBA-485364 | 204894 | 1151 |