Biases in In Silico Evaluation of Molecular Optimization Methods and Bias-Reduced Evaluation Methodology

Hiroshi Kajino, Kohei Miyaguchi, Takayuki OsogamiarXiv 2022

Abstract

We are interested in in silico evaluation methodology for molecular optimization methods. Given a sample of molecules and their properties of our interest, we wish not only to train an agent that can find molecules optimized with respect to the target property but also to evaluate its performance. A common practice is to train a predictor of the target property on the sample and use it for both training and evaluating the agent. We show that this evaluator potentially suffers from two biases; one is due to misspecification of the predictor and the other to reusing the same sample for training and evaluation. We discuss bias reduction methods for each of the biases comprehensively, and empirically investigate their effectiveness.

Introduction

In the pursuit of accelerated drug discovery, researchers increasingly rely on Reinforcement Learning (RL) agents to design novel molecules with specific biological properties. Because physical laboratory testing is resource-intensive, these agents are typically trained and evaluated in silico using a machine learning model—a predictor—that acts as a proxy for the true chemical environment.

However, a fundamental flaw exists in the standard evaluation pipeline: the "plug-in" estimator. When the same dataset is used to build the predictor and subsequently evaluate the agent's performance, the resulting metrics are often over-optimistic. This paper identifies and decomposes this over-optimism into two distinct statistical traps: model misspecification bias and reusing bias.

The Two Faces of Evaluation Bias

1. Model Misspecification Bias

Model misspecification occurs because any predictor is merely an approximation of reality. As an RL agent explores the chemical space to maximize a property, it often drifts into regions far from the original training data—a phenomenon known as covariate shift. In these unfamiliar regions, the predictor’s errors can be large and systematic. If the agent discovers a region where the predictor erroneously assigns high scores, the evaluation will reflect these errors rather than true molecular performance.

2. Reusing Bias

Reusing bias arises from using the same data sample to both construct the "world" (the predictor) and evaluate the agent's success within it. Even if the predictor is perfectly specified, the agent naturally learns to exploit the specific noise and quirks of the training sample. The paper mathematically demonstrates that agents are inherently "optimistic"; they will find points where the predictor overestimates the true value. Notably, the authors prove that a standard train-test split—the traditional remedy for overfitting in supervised learning—is insufficient here because the performance estimator is non-linear, leaving a significant $O(1/N)$ bias.

Proposed Methodology for Bias Reduction

To address these issues, the authors propose and test several mitigation strategies:

Addressing Misspecification

  • Policy Constraints (Behavior Cloning): By forcing the RL agent to stay within a distribution "close" to the known training data, researchers can ensure the agent stays within the predictor's area of expertise. This creates a trade-off between agent "creativity" and the reliability of the evaluation.
  • Doubly-Robust (DR) Estimators: Borrowed from causal inference, this method combines the plug-in predictor with importance sampling to stabilize estimates, though its success depends heavily on accurate density estimation.

Addressing Reusing Bias

  • Bootstrap Bias Estimation: The authors propose a bootstrap-based correction. By repeatedly re-sampling the training data and measuring the resulting "optimism" of the agent across these samples, they can calculate a correction factor to subtract from the final performance score. This method is shown to be more accurate than a simple train-test split, reducing the error to $O(1/N^2)$.

Experimental Framework and Results

The researchers utilized a semi-synthetic framework to validate their findings. Using real-world data from the ChEMBL database regarding the CCR5 receptor, they established a high-capacity model as the "ground truth" ($f^*$). They then provided agents with smaller subsets of this data to simulate real-world constraints.

Key Findings

  • Magnitude of Bias: Empirical tests showed that misspecification bias is often twice as large as reusing bias, though both contribute significantly to over-optimistic reporting.
  • Sample Size Sensitivity: As the training sample size ($N$) decreases, reusing bias increases sharply. This suggests that studies using small, specialized datasets are at the highest risk of reporting inflated results.
  • The Failure of Density Ratios: Interestingly, importance sampling and Doubly-Robust methods struggled in practice. The authors attribute this to the extreme difficulty of estimating density ratios in high-dimensional molecular feature spaces.
  • Bootstrap Success: The bootstrap method proved highly effective at estimating and neutralizing reusing bias, providing a more honest assessment of agent performance.

Conclusion

The common practice of using a single predictor for both training and evaluation in molecular AI creates a "hallucination" of high performance. While policy constraints can mitigate misspecification by limiting an agent's search space, the bootstrap method offers a robust path toward correcting the statistical optimism inherent in data reuse. Future work must focus on better density estimation for molecular distributions to unlock the full potential of doubly-robust evaluation methods.

Summary updated

BibTeX
@misc{kajino2022biases,
  author = {Hiroshi Kajino and Kohei Miyaguchi and Takayuki Osogami},
  title = {{Biases in In Silico Evaluation of Molecular Optimization Methods and Bias-Reduced Evaluation Methodology}},
  year = {2022},
  eprint = {2201.12163},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.12163},
}
Figure