Work

Advancing Computational Toxicology: Integrating Machine Learning, Uncertainty Quantification and Explainability in Predictive Models for Chemical-Effect Associations

Year: 2024
Type: dissertation
Abstract: Advancing Computational Toxicology: Integrating Machine Learning, Uncertainty Quantification and Explainability in Predictive Models for Chemical-Effect Associations The increasing presence of chemicals in the environment poses significant risks to both ecological and human health, creating an urgent need for faster and more reliable toxicity assessments (Naidu et al., 2021). Today, fewer than 3% of chemicals in use have been thoroughly tested using traditional laboratory methods, which are often slow, costly, and reliant on animal studies (Hartung, 2023). In this context, in-silico models powered by machine learning have emerged as promising alternatives to help fill this gap by enabling rapid, large-scale toxicity predictions. This situation raises a key challenge: how can we bridge the gap between machine learning–assisted predictive toxicology and regulatory decisions? To address this, the first question we posed: How can we build a well-defined and generalisable model? In response, we built on and expanded the deepFPlearn model (Schor et al., 2022). To get better generalization, we explored alternative pretraining strategies using molecular fingerprints, used realistic data splitting to avoid overestimating performance, but also extended the model to incorporate Graph Neural Networks (Soulios et al., 2023; Heid et al., 2023). This led to a tool capable of delivering robust chemical-effect predictions that follow the first three OECD principles for in-silico models — defined endpoint, unambiguous algorithm, and goodness-of-fit — which are usually addressed. But this work places special emphasis on reliable predictions and mechanistic interpretation, which are often overlooked in the development of such models. We also asked: How can we get reliable predictions? For this, we integrated conformal prediction (Shafer & Vovk, 2008; Norinder & Boyer, 2017; Carlsson et al., 2014; Astigarraga et al., 2025). Conformal prediction provides statistical guarantees or confidence levels, making uncertainty estimates reliable and interpretable for regulatory use. Our results showed that high accuracy alone does not guarantee meaningful uncertainty, highlighting the importance of including conformal prediction in any predictive toxicology model. Finally, we explored: How can we offer mechanistic insight of the predictions? We addressed this by integrating Monte Carlo Tree Search (MCTS) (Jin et al., 2020), which systematically explores molecular substructures. MCTS simulates fragment removal and evaluates how each part contributes to predicted toxicity. This method helps uncover the structural drivers of toxicity and supports expert review and regulatory decisions (Nendza et al., 2016). Bringing these elements together, we applied our full pipeline — combining Graph Neural Networks + Conformal Prediction + MCTS — to unlabeled chemical spaces. This approach successfully identified meaningful substructures that match a quarter of the known estrogenic toxicophores reported in the literature (Nendza et al., 2016), demonstrating the pipeline’s potential as a practical tool for chemical prioritization and regulatory decision-making. References Astigarraga, M., et al. (2025). Conformal prediction-based machine learning in cheminformatics: Current applications and new challenges. Artificial Intelligence in the Life Sciences. Carlsson, L., Eklund, M., & Norinder, U. (2014). Aggregated conformal prediction. In Artificial Intelligence Applications and Innovations: AIAI 2014 Workshops: CoPA. Hartung, T. (2023). ToxAIcology — The evolving role of artificial intelligence in advancing toxicology and modernizing regulatory science. ALTEX, 40(4), 559–570. Heid, E., et al. (2023). Chemprop: A machine learning package for chemical property prediction. Journal of Chemical Information and Modeling, 64(1). Jin, W., Barzilay, R., & Jaakkola, T. (2020). Multi-objective molecule generation using interpretable substructures. In International Conference on Machine Learning (PMLR). Naidu, R., et al. (2021). Chemical pollution: A growing peril and potential catastrophic risk to humanity. Environment International, 156. Nendza, M., et al. (2016). Screening for potential endocrine disruptors in fish: Evidence from structural alerts and in vitro and in vivo toxicological assays. Environmental Sciences Europe, 28. Norinder, U., & Boyer, S. (2017). Binary classification of imbalanced datasets using conformal prediction. Journal of Molecular Graphics and Modelling, 72. Schor, J., et al. (2022). AI for predicting chemical-effect associations at the chemical universe level—DeepFPlearn. Briefings in Bioinformatics, 23(5). Shafer, G., & Vovk, V. (2008). A tutorial on conformal prediction. Journal of Machine Learning Research, 9(3). Soulios, K., et al. (2023). DeepFPlearn+: Enhancing toxicity prediction across the chemical universe using graph neural networks. Bioinformatics, 39(12).:Contents 1 Chemicals in the environment and Computational Toxicology 1.1 1.2 13 Chemicals in the environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1.1Chemicals harm the environment and human health . . . . . . . . . . . . 14 1.1.2High number of chemicals with unknown risks . . . . . . . . . . . . . . . . 16 1.1.3Toxicity assessment is slow and costly . . . . . . . . . . . . . . . . . . . . 16 From the lab to computational toxicology . . . . . . . . . . . . . . . . . . . . . . 17 1.2.1Toxicology Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.2.2Methods in computational toxicology . . . . . . . . . . . . . . . . . . . . . 19 1.2.3Technological advancements lead to increased available chemical data . . 20 1.2.4Knowledge gaps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2 Data and Methods in Computational Toxicology 27 2.1Traditional machine learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2How to represent a molecule in a machine-readable format . . . . . . . . . . . . . 28 2.3 2.2.1Prefixed Representations: The Foundation of Molecular Insight . . . . . . 28 2.2.2Learnt Representations: Informative and Flexible . . . . . . . . . . . . . . 32 2.2.3Advantages and Disadvantages of Molecular Representations . . . . . . . 33 Deep learning in Computational Toxicology . . . . . . . . . . . . . . . . . . . . . 34 2.3.1 Neural Networks: The backbone of deep learning . . . . . . . . . . . . . . 35 2.4Data in Toxicology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 2.5Pretraining and Transfer Learning Techniques . . . . . . . . . . . . . . . . . . . . 49 2.5.1 Why we need pretraining . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 92.5.2Basics of Restricted Boltzmann Machines and Deep Belief Networks . . . 51 2.5.3Autoencoders: A versatile tool for unsupervised learning . . . . . . . . . . 53 2.5.4Variational Autoencoders introduce probabilistic mapping . . . . . . . . . 53 2.5.5Pretraining for GNNs set the state-of-the-art in molecular tasks . . . . . . 53 2.6Uncertainty Quantification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 2.7Conformal prediction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 2.7.1 2.8 Interpretability and Explainability . . . . . . . . . . . . . . . . . . . . . . . . . . 59 2.8.1 2.9 Training a conformalized model . . . . . . . . . . . . . . . . . . . . . . . . 58 Explainability in Molecular Tasks . . . . . . . . . . . . . . . . . . . . . . . 60 Scope of this thesis 2.9.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Aim and scope of the thesis . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3 DeepFPlearn and DeepFPlearn+ 3.1 63 DeepFPlearn: A Deep Learning Framework for Predicting the Activity of Molecules Against Biological Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.2Pretraining via Reconstruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 3.3DeepFPlearn+: Extending DeepFPlearn . . . . . . . . . . . . . . . . . . . . . . . 66 3.3.1 3.4 Alternative Pretraining Methods . . . . . . . . . . . . . . . . . . . . . . . 66 Data Splitting Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 3.4.1 Additional splitting strategies . . . . . . . . . . . . . . . . . . . . . . . . . 73 3.5From fingerprints to graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.6Experimental results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 3.6.1Molecular toxicity prediction in the era of Foundation Models . . . . . . . 81 3.6.2Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 4 Uncertainty Quantification 4.1 85 Conformal prediction on fingerprint-based models . . . . . . . . . . . . . . . . . . 85 4.1.1Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 4.1.2Conformal Prediction Results . . . . . . . . . . . . . . . . . . . . . . . . . 89 4.2Conformal prediction on GNN-based models . . . . . . . . . . . . . . . . . . . . . 91 4.3Summary of Conformal Prediction Results . . . . . . . . . . . . . . . . . . . . . . 99 5 Putting our model to the real-world test 10 1015.1Proof of concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 5.2Predictions on unlabeled chemicals . . . . . . . . . . . . . . . . . . . . . . . . . . 108 5.2.1 5.3 Predictions, Uncertainty, and Interpretations . . . . . . . . . . . . . . . . 110 Pipeline as a compass to navigate the chemical space . . . . . . . . . . . . . . . . 117 6 Discussion, Future Work and Conclusions 119 6.1Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.2Limitations of the study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 6.3Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 6.4 6.3.1Challenges from the perspective of To
Institution: Leipzig University
Language: English
Subfield: Drug Discovery
Open Access status: green
OpenAlex ID: W6979775991
Cites: 215
Cited by:
Related to: 9