Enhancing selectivity using Wasserstein distance based reweighing

Pratik WoraharXiv 2024 · DOI

Abstract

In many machine learning applications, particularly drug discovery, the objective is not merely to achieve high accuracy on a general dataset but to ensure high selectivity toward a specific target distribution. This paper presents a scalable framework for "tilting" the training process using optimal transport theory. By reweighting the loss function based on the 1-Wasserstein distance, the proposed method steers the neural network's weight distribution toward a desired target. We demonstrate the efficacy of this approach on a medicinal chemistry task: identifying selective inhibitors for the MNK2 protein against the closely related MNK1. The method achieved a 95% in-silico selectivity rate and was validated through wet-lab experiments, yielding a 5% success rate—significantly higher than standard high-throughput screening benchmarks.

1. Introduction

A fundamental challenge in machine learning is the distribution shift between a large, labeled source dataset ($\mathcal{S}$) and a more specific, often scarcer, target distribution ($\mathcal{T}$). In the context of drug discovery, this manifests as a selectivity problem. For instance, a therapeutic candidate must bind to a target protein (e.g., MNK2) while avoiding an off-target protein (e.g., MNK1) that may be structurally very similar. Standard training often fails to distinguish between these subtle differences because the source data is dominated by general binders. To address this, we require a mechanism to prioritize regions of the chemical space where the target and off-target behaviors diverge.

2. Methodology: Wasserstein-Based Reweighing

The core of the proposed approach is a reweighting scheme for the neural network's loss function, guided by the 1-Wasserstein distance (also known as Earth Mover's Distance).

2.1 Scalable Optimal Transport

Computing the exact Wasserstein distance for large-scale datasets is computationally prohibitive, as it typically requires solving a complex Linear Program. To overcome this, the authors introduce a greedy bipartite matching algorithm. While greedy approaches are often suboptimal in general cases, the authors prove that for datasets characterized by "low metric entropy"—where data points cluster naturally in feature space—the greedy approximation is remarkably effective.

2.2 Algorithm 1: The Reweighting Process

The algorithm operates by:

  1. Measuring the gap between the source ($\mathcal{S}$) and target ($\mathcal{T}$) distributions using the 1-Wasserstein metric.
  2. Applying a "tilt factor" ($\alpha$) to reweight the loss function, effectively highlighting the specific portions of the feature space that align with the target distribution.
  3. Utilizing random sampling to maintain computational efficiency without sacrificing the quality of the approximation.

3. Theoretical Foundation

A significant contribution of this work is the formal link established between the geometry of the training data and the resulting model weights. Theorem 3.2 demonstrates that the Wasserstein distance between training distributions provides a formal upper bound on the Total Variation (TV) distance between the resulting neural network weights. This provides a theoretical guarantee that modifying the data distribution via reweighting will predictably shift the model's internal state toward the desired target.

4. Experimental Evaluation

The method was evaluated on a high-stakes medicinal chemistry problem involving the kinases MNK1 and MNK2.

4.1 Data and Screening

The training utilized a proprietary DNA-encoded library (DEL) dataset containing approximately 250,000 small molecules labeled as binders or non-binders. The model was then tasked with screening the Enamine catalog, a massive library of 1.9 billion commercially available molecules. A holdout set of 7,000 molecules served as the initial in-silico validation.

4.2 Results

The reweighting procedure demonstrated substantial improvements in selectivity:

  • In-Silico Performance: The percentage of MNK1 non-hits among the top-predicted MNK2 binders rose from 54% in the baseline model to 95% with the reweighted model.
  • Wet-Lab Validation: 43 top-predicted selective molecules were synthesized and tested in experimental assays. Two molecules were confirmed to be highly selective, inhibiting MNK2 without affecting MNK1.
  • Success Rate: The 5% experimental success rate is notably high for multi-target selectivity tasks, where traditional high-throughput screening success rates often hover around 1%.

5. Discussion and Limitations

The study highlights that "greedy" matching is sufficient for optimal transport in chemical spaces due to the natural "packing" or clustering of molecular data. Molecules identified by the reweighted model showed higher Tanimoto similarity to each other than those from the baseline, suggesting the model successfully focused on a specific, high-value region of the chemical space.

However, some limitations remain. The "tilt factor" ($\alpha$) currently requires manual tuning during the validation phase. Additionally, the theoretical proofs assume data representation on a boolean hypercube (binary fingerprints); while common in chemistry, further research is needed to generalize this to other metric spaces. Finally, while the 5% success rate is impressive, the reliance on single-point concentration assays suggests that future work should incorporate more rigorous dose-response testing.

6. Conclusion

By integrating optimal transport theory into the training loop, this work provides a robust and scalable method for enhancing model selectivity. The successful experimental validation in drug discovery underscores the practical utility of Wasserstein-based reweighting for complex, real-world distribution shift problems.

Summary updated

BibTeX
@misc{worah2024enhancing,
  author = {Pratik Worah},
  title = {{Enhancing selectivity using Wasserstein distance based reweighing}},
  year = {2024},
  eprint = {2401.11562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.11562},
}
Figure