Robust Molecular Property Prediction via Densifying Scarce Labeled Data
Jina Kim, Jeffrey Willette, Bruno Andreis, Sung Ju Hwang
TL;DR
The paper tackles the challenge of covariate shift and scarce labeled data in molecular property prediction by proposing a bilevel optimization framework that densifies the training distribution through interpolation with abundant unlabeled context via a learnable set function $\mu_\lambda$. The inner loop updates a meta-learner on a densified training signal, while the outer loop optimizes the mixer parameters using hypergradients derived from a meta-validation objective, with pseudo-labels drawn from unlabeled data to regularize. Empirically, the method yields significant MSE improvements over baselines on the Merck Molecular Activity Challenge (HIVPROT, DPP4, NK1) and is supported by t-SNE analyses showing clearer separation between joint, input, context, and OOD embeddings, validating robust generalization under covariate shift. The work demonstrates a practical route to extrapolate to unseen chemical spaces in drug discovery and provides code for replication.
Abstract
A widely recognized limitation of molecular prediction models is their reliance on structures observed in the training data, resulting in poor generalization to out-of-distribution compounds. Yet in drug discovery, the compounds most critical for advancing research often lie beyond the training set, making the bias toward the training data particularly problematic. This mismatch introduces substantial covariate shift, under which standard deep learning models produce unstable and inaccurate predictions. Furthermore, the scarcity of labeled data-stemming from the onerous and costly nature of experimental validation-further exacerbates the difficulty of achieving reliable generalization. To address these limitations, we propose a novel bilevel optimization approach that leverages unlabeled data to interpolate between in-distribution (ID) and out-of-distribution (OOD) data, enabling the model to learn how to generalize beyond the training distribution. We demonstrate significant performance gains on challenging real-world datasets with substantial covariate shift, supported by t-SNE visualizations highlighting our interpolation method.
