Solvation free energies play a fundamental role in various fields of chemistry and biology. Accurately determining the solvation Gibbs free energy () of a molecule in a given solvent requires a deep understanding of the intrinsic relationships between solute and solvent molecules. While deep learning methods have been developed for prediction, few explicitly model intermolecular interactions between solute and solvent molecules. The molecular modeling graph neural network more closely aligns with real-world chemical processes by explicitly capturing atomic-level interactions, such as hydrogen bonding. It achieves this by initially establishing indiscriminate connections between intermolecular atoms, which are subsequently refined using an attention-based aggregation mechanism tailored to specific solute–solvent pairs. However, its sharply increasing computational complexity limits its scalability and broader applicability. Here, we introduce an improved framework, molecular merged hypergraph neural network (MMHNN), which leverages a predefined subgraph set and replaces subgraphs with supernodes to construct a hypergraph representation. This design effectively mitigates model complexity while preserving key molecular interactions. Furthermore, to handle noninteractive or repulsive atomic interactions, MMHNN incorporates an interpretation mechanism for nodes and edges within the merged graph, leveraging the graph information bottleneck theory to enhance model explainability. Extensive experimental validation demonstrates the efficiency of MMHNN and its improved interpretability in capturing solute–solvent interactions.
| • | Predefined subgraph set: The current practice of assigning weights to relationship edges only considers atomic interactions. However, in practical chemical processes such as solvation or binding, spontaneous molecular interactions occur, where van der Waals forces and hydrogen bonding play significant roles. Certain specific atomic and subgraph combinations, such as -OH, -COOH, N, O, F, H, etc. [17–19], exhibit stronger interactions. To address this, we construct a prior knowledge repository to enhance attention mechanisms, allowing for not only the dynamic adjustment of relationship edge weights but also the consideration of interactions between atoms, atom–subgraph, and subgraph–subgraph relationships. |
| • | Merged hypergraph neural network: Constructing relationship edges in pairs, as previously done, is an effective strategy for predicting properties between solute–solvent molecular pairs. However, this approach significantly increases the graph’s complexity, especially for large, intricate molecules, due to the substantial rise in degrees of freedom, leading to higher computational resource and time consumption. To address this challenge, we propose a merged hypergraph structure, where a super node aggregates molecular frequency subgraph information using a molecular autoencoder. Information transmission between super nodes facilitates intermolecular message passing, effectively mitigating the issue. |
| • | Explainable method based on GIB: In the merged hypergraph, hypernodes encapsulate critical substructure information. Inspired by graph explainability algorithms, we employ an enhanced information bottleneck theory to derive interpretable results on the hypergraph. MMHNN incorporates interpreters for hypernodes in the merged graph, which aims to reduce redundancy and concentrate on pertinent interactions. The explanatory subgraph is then encoded and used to predict Gibbs free energy with improved accuracy. |
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |