bioRxivBioinformaticsPreprint
A new framework for evaluating model out-of-distribution for the biochemical domain
Raúl Fernández-DíaziD, Denis C. ShieldsiD, Thanh Lam Hoang, Vanessa LópeziD
Abstract
AO_SCPLOWBSTRACTC_SCPLOWQuantifying model generalization to out-of-distribution data has been a longstanding challenge in machine learning. Addressing this issue is crucial for leveraging machine learning in scientific discovery, where models must generalize to new molecules or materials. Current methods typically split data into train and test sets using various criteria -- temporal, sequence identity, scaffold, or random cross-validation -- before evaluating model performance. However, with so many splitting criteria available, existing approaches offer limited guidance on selecting the most appropriate one, and they do not provide mechanisms for incorporating prior knowledge about the target deployment distribution(s). To tackle this problem, we have developed a novel metric, AU-GOOD, which quantifies expected model performance under conditions of increasing dissimilarity between train and test sets, while also accounting for prior knowledge about the target deployment distribution(s), when available. This metric is broadly applicable to biochemical entities, including proteins, small molecules, nucleic acids, or cells; as long as a relevant similarity function is defined for them. Recognizing the wide range of similarity functions used in biochemistry, we propose criteria to guide the selection of the most appropriate metric for partitioning. We also introduce a new partitioning algorithm that generates more challenging test sets, and we propose statistical methods for comparing models based on AU-GOOD. Finally, we demonstrate the insights that can be gained from this framework by applying it to two different use cases: developing predictors for pharmaceutical properties of small molecules, and using protein language models as embeddings to build biophysical property predictors.
- Citations
- 5
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Step Forward Cross Validation for Bioactivity Prediction: Out of Distribution Validation in Drug Discovery
Udit Surya Saha, Michele Vendruscolo, … Srijit Seal·bioRxiv·Jul 2, 2024
- Small molecule machine learning: All models are wrong, some may not even be useful
Fleming Kretschmer, Jan Seipp, … Sebastian Böcker·Nature CommunicationsPeer-reviewed·Jan 9, 2025
- Model Validation Protocols for Machine Learning in Small Molecule Drug Discovery
Srijit Seal, Akshat Shirish Zalte, … Cas Wognum·bioRxiv·Aug 24, 2026
- Evaluating generalizability of artificial intelligence models for molecular datasets
Yasha Ektefaie, Andrew Nathanael Shen, … Maha Reda Farhat·Nature Machine IntelligencePeer-reviewed·Dec 6, 2024
- Improving the assessment of deep learning models in the context of drug-target interaction prediction
Mirko Torrisi, Antonio de la Vega de León, … Alejandro Panjkovich·bioRxiv·Apr 20, 2022
- Model Agnostic Semi-Supervised Meta-Learning Elucidates Understudied Out-of-distribution Molecular Interactions