Soft causal learning for generalized molecule property prediction: An environment modeling perspective
Abstract
Learning on molecule graphs has become an increasingly important topic in AI for science, which takes full advantage of AI to facilitate scientific discovery. Existing solutions on modeling molecules utilize Graph Neural Networks (GNNs) to achieve representations, but they mostly fail to adapt models to out-of-distribution (OOD) samples. Although recent advances on OOD-oriented graph learning have discovered the invariant rationale on graphs, they still ignore three important issues, i.e., 1) the expanding atom patterns regarding environments on graphs lead to failures of invariant rationale-based models, 2) the associations between discovered molecular subgraphs and corresponding properties are complex where causal substructures cannot fully interpret the labels, and 3) the interactions between environments and invariances can influence with each other and thus are challenging to be modeled. To this end, we propose a soft causal learning framework, to tackle the unresolved molecule OOD challenge, from the perspective of negatively modeling the molecule environments and bypassing the invariant subgraphs. Specifically, we first incorporate chemistry theories into our graph growth generator to imitate expanded environments and then devise a GIB-based objective to disentangle environment from whole graphs and finally introduce a cross-attention-based soft causal interaction, which allows dynamic interactions between environments and invariances. We perform extensive experiments on seven datasets by imitating different kinds of OOD generalization scenarios. Extensive comparison, ablation experiments as well as visualized case studies demonstrate well generalization ability of our proposal.
Benchmark Results
Tested on 3 datasets 5 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
TU Dortmund
| # | Model | Accuracy ↑ | Paper |
|---|---|---|---|
| 1 | MSH-GNN | 0.9910
±0.0030 | |
| 2 | ID-GNN+BEC | 0.9830
±0.0360 | |
| 3 | SupCosine | 0.9830
±0.0250 | |
| 5 | CauEMO | 0.9692
±0.0136 | This paper |
| 6 | GALA | 0.9676
±0.0170 | This paper |
| 8 | GSAT | 0.9637
±0.0215 | prev best: Interpretable Prototype-based Graph Information Bottleneck (NeurIPS 2023) |
| 13 | IGM | 0.9604
±0.0201 | This paper |
| 14 | DIR | 0.9601
±0.0224 | prev best: Mind the Label Shift of Augmentation-based Graph OOD Generalization (2023) Improvement within reported uncertainty; not highlighted. |
| 17 | CIGA | 0.9577
±0.0123 | This paper |
| 27 | IB-Subgraph | 0.9433
±0.0644 | This paper |
| 39 | GIN | 0.9330
±0.0290 best reported | best at pub: ProtGNN: Towards Self-Explaining Graph Neural Networks (AAAI 2021) Difference within reported uncertainty; not counted as underperformance. |
| 63 | GCN | 0.9220
±0.0440 best reported | best at pub: Depth-Adaptive Graph Neural Networks via Learnable Bakry-Émery Curvature (KDD 2025) |
| 158 | GraphSAGE | 0.9040
±0.0780 | |
| 403 | MLP | 0.8660
±0.0495 | |
| 464 | Graph-SAGE | 0.8460
±0.0534 | This paper |
MoleculeNet
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | MAGPrompt+ | 0.9432
±0.0238 | |
| 2 | CamS-LLaMA | 0.9420 | |
| 3 | SE(3)-I MPPH | 0.9400
±0.0210 | |
| 34 | GIN | 0.8875
±0.0049 best reported | |
| 38 | GCN | 0.8810
±0.0360 best reported | best at pub: Motif-based Graph Representation Learning with Application to Chemical Molecules (2022) |
| 57 | GraphSAGE | 0.8304
±0.0038 | |
| 95 | CauEMO | 0.7231
±0.0102 | This paper |
| 114 | GSAT | 0.6913
±0.0202 | prev best: Graph Invariant Learning with Subgraph Co-mixup for Out-Of-Distribution Generalization (AAAI 2023) Improvement within reported uncertainty; not highlighted. |
| 121 | IGM | 0.7103
±0.0079 | This paper |
| 140 | GALA | 0.7021
±0.0131 | This paper |
| 158 | DIR | 0.6973
±0.0154 | This paper |
| 164 | CIGA | 0.6965
±0.0132 | This paper |
| 198 | IB-Subgraph | 0.6812
±0.0112 | This paper |
| 282 | Graph-SAGE | 0.6416
±0.0283 | This paper |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | KA-GAT | 0.8470
±0.0020 | |
| 2 | KA-GCN | 0.8420
±0.0010 | |
| 3 | GraphKAN | 0.8370
±0.0010 | |
| 66 | GIN | 0.6403
±0.0104 best reported | |
| 125 | GCN | 0.6150
±0.0250 best reported | best at pub: Motif-based Graph Representation Learning with Application to Chemical Molecules (2022) |
| 186 | CauEMO | 0.5990
±0.0128 | This paper |
| 202 | GSAT | 0.5919
±0.0103 | This paper |
| 203 | GALA | 0.5904
±0.0130 | This paper |
| 204 | CIGA | 0.5895
±0.0122 | This paper |
| 205 | DIR | 0.5881
±0.0184 | This paper |
| 212 | IGM | 0.5823
±0.0143 | This paper |
| 216 | IB-Subgraph | 0.5771
±0.0214 | This paper |
| 227 | GraphSAGE | 0.5670
±0.0010 | |
| 237 | Graph-SAGE | 0.5252
±0.0169 | This paper |
