Predicting molecular properties—such as toxicity, binding affinity, or solubility—is a fundamental challenge in digital drug discovery. Heterogeneous Graph Neural Networks (HGNNs) have emerged as a powerful solution, capable of modeling the complex variety of atoms (nodes) and chemical bonds (edges) as rich, multi-typed graphs. However, recent research reveals that these powerful models are surprisingly fragile. A strategic, minute change to a molecule's structure can completely flip a model's prediction, posing a significant risk in sensitive applications.
To address this, researchers from Tsinghua University have developed RHGC, a framework designed to secure HGNNs using the Information Bottleneck (IB) principle. By stripping away noise and focusing on the core predictive features of a molecule, RHGC enhances both accuracy and robustness.
The Vulnerability of Heterogeneous Graphs
While adversarial vulnerabilities in standard (homogeneous) Graph Neural Networks are well-documented, this research highlights that heterogeneous graphs present even larger "vulnerability surfaces." The authors identify two specific types of perturbations that exploit the unique structure of HGNNs:
- Global Direct Perturbations: HGNNs rely on implicit patterns across different node and edge types. A small change in a specific bond type can have a disproportionately large impact on the final molecular representation.
- Local Intermediate Perturbations: Most HGNNs utilize "metapaths" (sequences of node types, e.g., Atom-Bond-Atom). Adversaries can inject noise into these intermediate metapath graphs, which then propagates and corrupts the entire model's decision-making process.
The RHGC Framework
The Robust Heterogeneous Graph Classification (RHGC) framework is built on the Information Bottleneck principle. The core objective is to compress the input graph ($G$) into a representation ($Z$) that retains maximum information about the label ($Y$) while discarding as much irrelevant "noise" as possible. RHGC achieves this through two novel modules:
1. Node Semantic Purifier (NSP)
Operating at the micro level, the NSP uses Graph Stochastic Attention to apply a probabilistic mask to the graph. This separates the structure into a $Y$-relevant subgraph (the predictive part) and a $Y$-irrelevant subgraph (the noise). To prevent different metapaths from simply repeating the same noisy information, the NSP employs the Hilbert-Schmidt Independence Criterion (HSIC) as a regularization term, forcing the model to find complementary features across different semantic views.
2. Global Graph Disentanglement (GGD)
At the macro level, the GGD module prevents "information leakage" between predictive features and noise. It splits the learning process into three distinct tasks:
- Task I: Ensuring the "Relevant Graph" maintains high predictive accuracy for molecular properties.
- Task II: Ensuring the "Irrelevant Graph" captures the remaining non-predictive information from the original molecule.
- Task III: Using an adversarial discriminator to disentangle the two, ensuring no predictive information leaks into the noise graph and vice versa.
Experimental Results and Insights
The researchers evaluated RHGC on three major benchmarks: OGB-molbace (inhibitory activity), MUTAG (mutagenic effects), and PROTEINS (protein type classification). The results were consistent across various attack vectors, including structure, feature, and evasion attacks:
- Superior Robustness: Under adversarial attacks, RHGC outperformed state-of-the-art baselines by an average of 5.06%.
- Performance on Clean Data: Interestingly, RHGC improved accuracy by 4.33% on un-attacked data. This suggests that standard HGNNs often overfit to molecular noise, and the IB principle helps them generalize better.
- Resilience to Evasion: In difficult "Evasion Attack" scenarios where the adversary knows the model structure, RHGC maintained significantly higher accuracy (e.g., 64.67% on PROTEINS compared to 58.14% for the next best baseline).
Conclusion
RHGC demonstrates that heterogeneity in molecular graphs is a double-edged sword: while it provides rich semantics for prediction, it also creates more opportunities for adversarial manipulation. By shifting the focus from simple data compression to explicit noise disentanglement, RHGC provides a robust path forward for applying HGNNs in critical drug discovery and bioinformatics tasks. Future work will look into defending against "poisoning" attacks during the training phase and optimizing these complex objectives for massive chemical libraries.
Summary updated