[Paper Review] Accurate Clinical Toxicity Prediction using Multi-task Deep Neural Nets and Contrastive Molecular Explanations
This paper proposes a multi-task deep neural network using Morgan fingerprints and pre-trained SMILES embeddings to predict in vitro, in vivo, and clinical toxicity simultaneously, achieving state-of-the-art performance on the MoleculeNet benchmark. It introduces contrastive explanations via Pertinent Positive and Negative features that align with known toxicophores, enhancing model interpretability and revealing a preference for in vitro/in vivo toxicophore recovery over clinical endpoints.
Explainable ML for molecular toxicity prediction is a promising approach for efficient drug development and chemical safety. A predictive ML model of toxicity can reduce experimental cost and time while mitigating ethical concerns by significantly reducing animal and clinical testing. Herein, we use a deep learning framework for simultaneously modeling in vitro, in vivo, and clinical toxicity data. Two different molecular input representations are used: Morgan fingerprints and pre-training SMILES embeddings. A multi-task deep learning model accurately predicts toxicity for all endpoints, including clinical, as indicated by AUROC and balanced accuracy. In particular, SMILES embeddings as input to the multi-task model improved clinical toxicity predictions compared to existing models in MoleculeNet benchmark. Additionally, our multi-task approach is comprehensive in the sense that it is comparable to state-of-the-art approaches for specific endpoints in in vitro, in vivo and clinical platforms. Through both the multi-task model and transfer learning, we were able to indicate the minimal need of in vivo data for clinical toxicity predictions. To provide confidence and explain the model's predictions, we adapt a post-hoc contrastive explanation method that returns pertinent positive and pertinent negative features, which correspond well to known mutagenic and reactive toxicophores, such as unsubstituted bonded heteroatoms, aromatic amines, and Michael receptors. Furthermore, toxicophore recovery by pertinent feature analysis captures more of the in vitro (53%) and in vivo (56%), rather than of the clinical (8%), endpoints, and indeed uncovers a preference in known toxicophore data towards in vitro and in vivo experimental data. To our knowledge, this is the first contrastive explanation, using both present and absent substructures, for predictions of clinical and in vivo molecular toxicity.
Motivation & Objective
- To address the challenge of predicting clinical toxicity accurately using machine learning, given the high failure rate of drug candidates due to toxicity.
- To develop a unified deep learning framework that models in vitro, in vivo, and clinical toxicity endpoints simultaneously, overcoming limitations of single-task models.
- To provide actionable, faithful explanations for toxicity predictions using a contrastive explanation method that identifies both present (Pertinent Positive) and absent (Pertinent Negative) molecular substructures.
- To reduce reliance on expensive and ethically sensitive in vivo data by leveraging transfer learning and multi-task training.
- To validate that the model’s explanations align with known mutagenic and reactive toxicophores, increasing trust and utility in drug development.
Proposed method
- A multi-task deep neural network (MT-DNN) is trained on three toxicity endpoints—Tox21 (in vitro), RTECS (in vivo), and ClinTox (clinical)—using shared and task-specific layers.
- Two molecular input representations are used: Morgan fingerprints and pre-trained SMILES embeddings, with the latter showing superior performance on clinical toxicity prediction.
- Transfer learning is applied by fine-tuning the model on the ClinTox task using a small number of epochs (1) after pre-training on Tox21 and RTECS.
- The Contrastive Explanations Method (CEM) is adapted to generate Pertinent Positive (PP) and Pertinent Negative (PN) features by solving an optimization problem with L1 and L2 regularization and autoencoder-based reconstruction loss.
- The optimization uses a projected fast iterative shrinkage-thresholding algorithm (FISTA) to find minimal, necessary perturbations to the input molecule that change the model’s prediction.
- An autoencoder is used to ensure perturbed molecules remain chemically plausible, with reconstruction loss enforced via γ-weighted regularization.
Experimental results
Research questions
- RQ1Can a multi-task deep learning model simultaneously and accurately predict toxicity across in vitro, in vivo, and clinical platforms using shared and task-specific representations?
- RQ2Does using pre-trained SMILES embeddings improve clinical toxicity prediction performance compared to traditional molecular fingerprints?
- RQ3To what extent can transfer learning reduce the need for in vivo data in predicting clinical toxicity?
- RQ4Can contrastive explanations (Pertinent Positives and Negatives) identify known toxicophores such as unsubstituted heteroatoms, aromatic amines, and Michael acceptors?
- RQ5Why does the model’s explanation performance correlate more strongly with in vitro and in vivo toxicophores than with clinical ones?
Key findings
- The multi-task model with pre-trained SMILES embeddings achieved state-of-the-art performance on the MoleculeNet benchmark for clinical toxicity prediction, outperforming existing models.
- The model demonstrated high predictive accuracy across all platforms, with area under the ROC curve and balanced accuracy metrics indicating strong generalization.
- Toxicophore recovery via Pertinent Positive and Negative features captured 53% of known in vitro toxicophores and 56% of in vivo toxicophores, but only 8% of clinical toxicophores.
- The discrepancy in toxicophore recovery rates suggests a data bias in known toxicophore databases toward in vitro and in vivo experimental data.
- Contrastive explanations successfully identified biologically relevant substructures such as aromatic amines, unsubstituted heteroatoms, and Michael receptors as key contributors to toxicity predictions.
- The use of transfer learning enabled effective clinical toxicity prediction with minimal in vivo data, demonstrating the model’s data efficiency and potential for reducing animal testing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.