Known Unknowns: Out-of-Distribution Property Prediction in Materials and Molecules

Nofit Segal, Aviv Netanyahu, Kevin P. Greenman, Pulkit Agrawal, Rafael Gomez-Bombarelli

TL;DR

Standard machine learning models excel at interpolation but notoriously fail to extrapolate when predicting material properties beyond the range of their training data. By adapting a method called Bilinear Transduction, this paper shifts the problem from predicting absolute property values to predicting structural and chemical analogies. This approach improves the true positive rate of discovering extreme, high-performance materials and molecules by up to 3x over competitive baselines.

What Problem Does This Paper Address?

In materials science and molecular design, the most valuable discoveries are often the extremes—materials with unprecedented thermal conductivity, exceptional hardness, or novel binding affinities. To find them, machine learning models must perform out-of-distribution (OOD) extrapolation, predicting property values higher or lower than anything present in their training datasets.

Unfortunately, classical regression models face a "support ceiling." When faced with an OOD candidate, traditional models typically flatline, predicting values that stay safely within the bounds of what they have already seen. This paper tackles this limitation head-on, aiming to train models capable of zero-shot extrapolation to entirely unseen target ranges.

Methods

The authors address this challenge by adapting Bilinear Transduction. Instead of learning a direct mapping from a material's representation to its property ($h(x) \rightarrow y$), the model is trained to predict the property of a new candidate by comparing it to a known training example, termed an anchor.

The problem is reparameterized around differences:

  1. Training by Pairs: During training, the model takes a target material ($x_2$), an anchor material ($x_1$), and the difference vector between them ($\Delta x = x_2 - x_1$). It learns a bilinear function over non-linear embeddings of $\Delta x$ and $x_1$ to predict the target property $y_2$.
  2. Inference by Analogy: When evaluating an unseen test candidate ($x_{te}$), the algorithm searches the training set to find an anchor ($x_{an}$) that minimizes the distance between their difference vector and the differences seen during training.

By predicting how a property changes relative to a known baseline rather than predicting the absolute value from scratch, the model effectively transforms an OOD extrapolation task into an in-distribution interpolation task over difference vectors.

Datasets

The method was evaluated across 16 distinct prediction tasks using established benchmarks:

  • Solid-State Materials:
  • AFLOW: 2,740 to 14,123 samples evaluating 6 properties (band gap, bulk modulus, Debye temperature, shear modulus, thermal conductivity, thermal expansion).
  • Matbench: Composition-based regression tasks including experimental band gap, refractive index, and steel yield strength.
  • Materials Project (MP): Over 6,000 samples evaluating bulk modulus, shear modulus, and elastic anisotropy.
  • Molecules:
  • MoleculeNet: 643 to 4,200 molecular graphs evaluating physical chemistry and biophysics properties (ESOL solubility, Freesolv hydration free energy, Lipophilicity, and BACE binding affinity).

To rigorously test extrapolation, the datasets were split so that the top 5% of samples with the highest true property values were strictly reserved for the OOD test set.

Key Insights and Ideas

  • Chemical Tenets as Mathematical Operators: The success of this approach relies on a fundamental principle of chemistry: similar changes in structure imply similar changes in properties. The model successfully maps algebraic operations in embedding space to real-world chemical modifications, such as swapping neighboring f-block elements in a crystal lattice or adding a conjugated double bond to a molecular backbone.
  • Bypassing the Regression Ceiling: Traditional models fail to predict extreme values because their output layers are bounded by the training distribution's target support. Transduction bypasses this because the final prediction is anchored to a real, known value, allowing the model to safely extrapolate beyond the training threshold.

Key Results

Bilinear Transduction consistently outperformed leading domain-specific baselines (such as CrabNet, MODNet, and Chemprop) in both prediction accuracy and screening precision.

  • Distribution Overlap: As shown in the probability density functions, the predictions generated by Bilinear Transduction closely mirror the actual OOD ground truth distribution, whereas baseline models completely miss the target range.
Fig. 1: Bilinear Transduction prediction distribution on out-of-distribution values is closer to the ground truth distribution compared with other machine learning methods. (Left) probability density functions for out-of- distribution materials Debye temperature. Compared with CrabNet, ModNet, and Ridge Regression, Bilinear Transduction (purple) has the most overlap with the ground truth (red). (Right) probability density functions for out-of-distribution molecular hydration free energy. Ground truth (red) and machine learning method predictions estimated with kernel density estimation – Chemprop, MLP, Random Forest, and Bilinear Transduction (purple) which has the most overlap with the ground truth.
  • Parity Plots & Extrapolation: Parity plots reveal that while standard models cap out at the training threshold, Bilinear Transduction successfully extends its predictions into the OOD territory.
Fig. 2: In-distribution and out-of-distribution Bulk Modulus (top) and Debye Temperature (bottom) predictions vs. ground truth values. While Ridge Regression [15], MODNet [13], CrabNet [11], and Bilinear Transduction (ours), perform well within the training distribution (gray dots bounded by the red horizontal line), Bilinear Transduction extends predictions beyond this range on ood data (red dots) closest to the ground truth, achieving a lower ood MAE and higher TPR.
  • Screening Performance: In the crucial task of identifying the top 30% highest-performing candidates from a mixed pool, Bilinear Transduction improved the True Positive Rate (TPR) by 3x for materials and 2.5x for molecules compared to non-transductive baselines. Precision also saw a 1.5x to 2x improvement.

Limitations and Future Work

While highly effective, the authors note a theoretical caveat: the original mathematical proofs guaranteeing the convergence of Bilinear Transduction apply to out-of-support inputs (covariate shift), whereas this work applies it to out-of-distribution outputs (target shift). Consequently, the standard theoretical guarantees may not fully hold here.

The authors suggest that future work should focus on developing representation learning techniques specifically designed to satisfy the strict mathematical assumptions of transduction for OOD target spaces.

Summary updated

BibTeX
@inproceedings{segal2025known,
  author = {Nofit Segal and Aviv Netanyahu and Kevin P. Greenman and Pulkit Agrawal and Rafael Gomez-Bombarelli},
  title = {{Known Unknowns: Out-of-Distribution Property Prediction in Materials and Molecules}},
  booktitle = {Npj},
  year = {2025},
  doi = {10.1038/s41524-025-01808-x},
}
Figure