Abstract
Computational models that accurately predict the binding affinity of an input protein-chemical pair can accelerate drug discovery studies. These models are trained on available protein-chemical interaction datasets, which may contain dataset biases that may lead the model to learn dataset-specific patterns, instead of generalizable relationships. As a result, the prediction performance of models drops for previously unseen biomolecules, i.e. the prediction models cannot generalize to biomolecules outside of the dataset. The latest approaches that aim to improve model generalizability either have limited applicability or introduce the risk of degrading prediction performance. Here, we present DebiasedDTA, a novel drug-target affinity (DTA) prediction model training framework that addresses dataset biases to improve the generalizability of affinity prediction models. DebiasedDTA reweights the training samples to mitigate the effect of dataset biases and is applicable to most DTA prediction models. The results suggest that models trained in the DebiasedDTA framework can achieve improved generalizability in predicting the interactions of the previously unseen biomolecules, as well as performance improvements on those previously seen. Extensive experiments with different biomolecule representations, model architectures, and datasets demonstrate that DebiasedDTA can upgrade DTA prediction models irrespective of the biomolecule representation, model architecture, and training dataset. Last but not least, we release DebiasedDTA as an open-source python library to enable other researchers to debias their own predictors and/or develop their own debiasing methods.
Introduction
In drug discovery, predicting the binding strength between a drug candidate and a target protein—known as Drug-Target Affinity (DTA)—is a critical task. While deep learning has advanced this field, models often fall into the "shortcut" trap: they learn spurious correlations within specific datasets rather than fundamental biochemistry. For instance, if a training set contains many active drugs with a specific chemical group, a model might incorrectly learn that this group always implies high affinity. Consequently, performance plummets when these models encounter novel, "out-of-distribution" molecules. Existing solutions like data augmentation are often difficult to scale or require scarce 3D structural data. DebiasedDTA addresses this by providing a scalable, representation-agnostic framework to ensure models learn truly generalizable biological rules.
The DebiasedDTA Framework
The DebiasedDTA framework employs a two-stage "guide and predictor" approach to mitigate dataset bias through dynamic reweighting.
- The Guide: A "weak learner" (such as a simple decision tree) with limited capacity is trained first. Because of its simplicity, it naturally picks up on easy, low-complexity biases. By using 10-fold cross-validation, the framework identifies samples where the Guide fails. High error on a sample suggests it cannot be explained by simple bias and likely contains complex, "true" biological information.
- The Predictor: This is the high-performance DTA model (e.g., GraphDTA or DeepDTA). It is trained using "importance coefficients" derived from the Guide’s errors.
During training, a dynamic reweighting strategy is applied. Initially, all samples are weighted equally. As training progresses, the weight of "easy-to-bias" samples (those the Guide predicted easily) decreases, while the weight of "informative" samples (those the Guide struggled with) increases. This forces the Predictor to focus on harder, more generalizable biological patterns.
Experimental Evaluation
The framework was evaluated using two gold-standard benchmarks: BindingDB (BDB) (~31K interactions) and KIBA (~118K interactions). To test generalizability, the researchers used four split scenarios:
- Warm: Both protein and chemical were seen during training.
- Cold Chemical: The chemical is novel.
- Cold Protein: The protein is novel.
- Cold Both: Both the protein and chemical are entirely new (the most challenging task).
Results and Key Insights
DebiasedDTA consistently outperformed standard training and state-of-the-art debiasing methods like Asymmetric Validation Embedding (AVE). It showed improvements in 85% of evaluation setups for BDB and 70% for KIBA.
Key findings include:
- Superior Generalization: In the "Cold Both" scenario, DebiasedDTA showed marked improvements in Concordance Index (CI) and $R^2$ scores across various architectures.
- Model Agnostic: The framework works regardless of whether molecules are represented as sequences, graphs, or SMILES strings.
- Improved Feature Attribution: Explainability tools (GradCAM) revealed that debiased models attribute more importance to protein characteristics, whereas non-debiased models often over-rely on chemical shortcuts.
Conclusion
DebiasedDTA demonstrates that the failure of a weak model can be a powerful signal for improving a strong one. By penalizing dataset shortcuts, the framework enables DTA models to achieve higher accuracy on novel biological data. To support the community, the authors have released pydebiaseddta, an open-source Python library for implementing these debiasing techniques in future drug discovery research.
Summary updated