Reliable OOD Virtual Screening with Extrapolatory Pseudo-Label Matching

Yunni Qu, Bhargav Vaduri, Karthikeya Jatoth, James Wellnitz, Dzung Dinh, Seth Veenbaas, Jonathan Chapman, Alexander Tropsha, Junier OlivaarXiv 2024

In the high-stakes world of drug discovery, machine learning is the ultimate triage tool. Ligand-based virtual screening (LBVS) allows researchers to sift through billions of potential molecules to nominate a tiny handful for expensive laboratory validation. However, there is a catch: the most valuable discoveries—structurally novel "scaffolds"—are by definition out-of-distribution (OOD).

Standard ML models tend to break down when they encounter these unfamiliar chemical territories, either becoming dangerously overconfident in false positives or overly conservative, rejecting the very novelty they were designed to find. A new paper from researchers at UNC Chapel Hill introduces EXPLOR, a framework designed to make OOD screening both reliable and extrapolatory.

TL;DR

EXPLOR (Extrapolatory Pseudo-Label Matching) is a framework that enables ML models to safely "venture into the unknown" of chemical space. By training a multi-headed network to match a diverse ensemble of pseudo-labelers on synthetic, expanded latent-space data, it achieves state-of-the-art reliability in the high-confidence regions that matter most for drug discovery.

What Problem Does This Paper Address?

Virtual screening is an "early recognition" problem. Because experimental budgets are tight, only the top-ranked candidates (the "tail" of the distribution) are ever tested. If a model is overconfident on OOD molecules, it floods the top of the list with false positives, wasting time and money.

Most OOD research focuses on global metrics like total accuracy or AUROC. But in drug discovery, you don't care if the model is 90% accurate on average; you care if the 100 molecules you just bought for $50,000 are actually active. The authors argue that we need models that provide trustworthy confidence in OOD regions, allowing for "controlled extrapolation" rather than blind guessing or blanket rejection of novelty.

Methods

EXPLOR operates in three distinct stages, as illustrated in the training pipeline:

Figure 1: EXPLOR trains a multi-headed neural network with diverse pseudo-labelers on expanded data.
  1. Diverse Pseudo-Labelers: Instead of relying on one "teacher" model, EXPLOR builds an ensemble of diverse pseudo-labelers (like XGBoost models) trained on different subsets of features and data.
  2. Latent-Space Expansion: To simulate OOD data during training, the authors use an autoencoder to map molecules into a latent space and then apply "radial scaling"—stretching the points away from the center to create synthetic samples that lie just beyond the training distribution's support.
  3. Multi-Headed Matching: A student neural network is built with a shared encoder and $K$ separate "heads." Each head is tasked with matching one specific pseudo-labeler. Crucially, this matching happens on both the original training data and the synthetic OOD samples.

This architecture creates a "bottleneck" effect. The shared encoder must learn a representation robust enough to satisfy many diverse labeling functions simultaneously, which prevents the model from over-fitting to narrow, brittle patterns.

Datasets

The authors evaluated EXPLOR across several challenging benchmarks:

  • ChEMBL & TDC: Four bioactivity datasets (hERG, A549, CYP2D6, Ames) using scaffold-based splits. This ensures the test set contains structural frameworks never seen during training.
  • DrugOOD: A benchmark specifically for OOD drug discovery, using molecular size to define domain shifts.
  • TableShift: A suite of non-chemical tabular datasets (healthcare, finance) to demonstrate the method's general-purpose utility.

Key Insights and Ideas

  • The Early Retrieval Metric: The authors champion AUPRC@R<τ (Area Under the Precision-Recall curve at low recall). This metric specifically measures how many "hits" are in the top-ranked results, which directly correlates to the success of a real-world screening campaign.
  • Expansion, Not Rejection: Unlike standard "novelty rejection" strategies that simply say "I don't know" to new molecules, EXPLOR uses synthetic OOD data (Figure 2) to teach the model how to behave when it leaves its comfort zone.
Figure 2: Expansion in latent space: data points (black) are augmented (gray) and expand the distributional support.
  • Stability is Reliability: Standard models often "oscillate" between high and low confidence for OOD samples based on tiny changes in training data. EXPLOR significantly reduces this variance, providing much more stable predictions (Figure 6).

Key Results

EXPLOR consistently outperformed strong OOD baselines (like D-BAT, AdvStyle, and Mixup) in the high-confidence regime.

  • Higher Precision: On the hERG and CYP2D6 datasets, EXPLOR showed dramatic gains in AUPRC@R<0.2, meaning its top-ranked candidates were far more likely to be correct.
  • Structural Diversity: EXPLOR identified a broader range of unique chemical scaffolds (26 unique scaffolds in the top 2.5% of predictions) compared to baselines like D-BAT (19 scaffolds). This means it doesn't just find more hits; it finds more kinds of hits.
  • Modality Agnostic: The gains persisted whether the model used simple molecular fingerprints or advanced pretrained embeddings like ChemBERTa or MolFormer.
OOD screening performance on scaffold- and size-shifted molecular benchmarks.

Limitations and Future Work

While EXPLOR is powerful, it relies on the quality of the latent space used for expansion. The current implementation uses PCA or simple autoencoders; more sophisticated generative models might produce even better synthetic OOD samples. Additionally, while the framework is designed for binary classification (active vs. inactive), extending it to regression (predicting exact potency) remains an area for future exploration. Finally, the method assumes that the ensemble of pseudo-labelers provides a useful, if imperfect, signal for extrapolation—a heuristic that held true in these experiments but may vary across different domains.

Summary updated

BibTeX
@misc{qu2024reliable,
  author = {Yunni Qu and Bhargav Vaduri and Karthikeya Jatoth and James Wellnitz and Dzung Dinh and Seth Veenbaas and Jonathan Chapman and Alexander Tropsha and Junier Oliva},
  title = {{Reliable OOD Virtual Screening with Extrapolatory Pseudo-Label Matching}},
  year = {2024},
  eprint = {2406.01825},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01825},
}
Figure