Abstract
For quantitative structure-property relationship (QSPR) studies in chemoinformatics, it is important to get interpretable relationship between chemical properties and chemical features. However, the predictive power and interpretability of QSPR models are usually two different objectives that are difficult to achieve simultaneously. A deep learning architecture using molecular graph encoding convolutional neural networks (MGE-CNN) provided a universal strategy to construct interpretable QSPR models with high predictive power. Instead of using application-specific preset molecular descriptors or fingerprints, the models can be resolved using raw and pertinent features without manual intervention or selection. In this study, we developed acute oral toxicity (AOT) models of compounds using the MGE-CNN architecture as a case study. Three types of high-level predictive models: regression model (deepAOT-R), multi-classification model (deepAOT-C) and multi-task model (deepAOT-CR) for AOT evaluation were constructed. These models highly outperformed previously reported models. For the two external datasets containing 1673 (test set I) and 375 (test set II) compounds, the R2 and mean absolute error (MAE) of deepAOT-R on the test set I were 0.864 and 0.195, and the prediction accuracy of deepAOT-C was 95.5% and 96.3% on the test set I and II, respectively. The two external prediction accuracy of deepAOT-CR is 95.0% and 94.1%, while the R2 and MAE are 0.861 and 0.204 for test set I, respectively.
Introduction
Determining a chemical's Acute Oral Toxicity (AOT)—typically quantified as the $LD_{50}$ (the dose lethal to 50% of a test population)—is a critical requirement for chemical safety assessment. Traditional in vivo animal testing is increasingly scrutinized due to high costs, slow throughput, and ethical concerns. Consequently, computational (in silico) models have become essential tools in toxicology.
Most existing models rely on Quantitative Structure-Property Relationship (QSPR) methods. However, these methods often depend on manually engineered molecular descriptors or fingerprints (e.g., ECFP), which may fail to capture nuanced structural information. Furthermore, high-performing models like deep neural networks are frequently viewed as "black boxes," offering little insight into the structural basis of toxicity. This lack of interpretability limits their utility for chemists aiming to design safer molecular structures.
Methodology
The researchers developed the Molecular Graph Encoding Convolutional Neural Network (MGE-CNN) to address these limitations. This framework treats molecules as undirected graphs, where atoms are nodes and bonds are edges, allowing for automatic feature extraction directly from the molecular structure.
The MGE-CNN architecture consists of two primary components:
- Encode Layer: This layer iteratively updates atom representations by aggregating information from neighboring atoms and bonds. Through multiple "convolutional" iterations, the network learns to encode the local chemical environment of each atom into a fixed-size vector, termed a "deep fingerprint."
- Output Layer: The learned fingerprints are then fed into task-specific layers. The study explored three model variants:
deepAOT-R(regression),deepAOT-C(multi-classification), anddeepAOT-CR(multi-task).
A key innovation is the "backward exploration" method, which traces high-activation features in the deep fingerprint back to specific atoms in the original molecule. This allows for the identification of "activation fragments"—the chemical substructures the model identifies as primary drivers of toxicity.
Experimental Setup
The models were trained and validated using a comprehensive AOT dataset of 12,173 compounds. The data was partitioned as follows:
- Training/Validation: 8,080 and 2,045 compounds, respectively.
- External Test Set I: 1,673 compounds from the MDL Toxicity Database.
- External Test Set II: 375 compounds from the EPA’s Toxicity Estimation Software Tool (TEST) program.
Results and Discussion
The deepAOT models demonstrated exceptional performance, setting new benchmarks for AOT prediction. The regression model, deepAOT-R, achieved an $R^2$ of 0.864 on Test Set I, a significant improvement over previous consensus models that typically achieved $R^2$ values around 0.69. The Mean Absolute Error (MAE) was reduced to 0.195, indicating high precision.
For classification, deepAOT-C achieved accuracies of 95.5% and 96.3% on Test Sets I and II, respectively. The multi-task model, deepAOT-CR, proved particularly robust, maintaining high accuracy (95.0% and 94.1%) while providing consistent predictions across both continuous and categorical endpoints.
Beyond raw performance, the study validated the "AI intuition" of the MGE-CNN. The activation fragments identified through backward exploration, such as $\alpha, \beta$-unsaturated nitriles, closely matched established "structural alerts" in toxicological literature. This confirms that the model learns meaningful chemical principles rather than just statistical correlations. Furthermore, "deep fingerprints" extracted from the CNN outperformed industry-standard fingerprints when used in traditional machine learning models like SVMs, highlighting the superior representational power of the graph-based encoding.
Conclusion
The MGE-CNN framework provides a powerful and interpretable approach to QSPR modeling. By automating feature extraction and enabling the visualization of toxicophores, it bridges the gap between predictive power and chemical insight. While the model showed some challenges in distinguishing between lower-toxicity categories, the multi-task learning approach successfully mitigated these issues. This general-purpose architecture holds significant potential for broader applications in drug discovery and environmental safety, supporting the development of inherently safer chemicals.
Summary updated