[Paper Review] Fr\\'echet ChemNet Distance: A metric for generative models for molecules in drug discovery
This paper proposes Fréchet ChemNet Distance (FCD), a novel metric for evaluating generative models in drug discovery by leveraging activations from the penultimate layer of ChemNet—a deep neural network trained to predict drug activity. FCD computes the Fréchet distance between the distributions of real and generated molecules in the ChemNet representation space, capturing chemical validity, biological relevance, and diversity. The method achieves low FCD values (e.g., 1.62) for models like Segler’s, indicating strong distributional similarity to real molecules, while detecting biases in targeted generation and outperforming fingerprint-based baselines.
The new wave of successful generative models in machine learning has increased the interest in deep learning driven de novo drug design. However, assessing the performance of such generative models is notoriously difficult. Metrics that are typically used to assess the performance of such generative models are the percentage of chemically valid molecules or the similarity to real molecules in terms of particular descriptors, such as the partition coefficient (logP) or druglikeness. However, method comparison is difficult because of the inconsistent use of evaluation metrics, the necessity for multiple metrics, and the fact that some of these measures can easily be tricked by simple rule-based systems. We propose a novel distance measure between two sets of molecules, called Fr\\'echet ChemNet distance (FCD), that can be used as an evaluation metric for generative models. The FCD is similar to a recently established performance metric for comparing image generation methods, the Fr\\'echet Inception Distance (FID). Whereas the FID uses one of the hidden layers of InceptionNet, the FCD utilizes the penultimate layer of a deep neural network called ChemNet, which was trained to predict drug activities. Thus, the FCD metric takes into account chemically and biologically relevant information about molecules, and also measures the diversity of the set via the distribution of generated molecules. The FCD's advantage over previous metrics is that it can detect if generated molecules are a) diverse and have similar b) chemical and c) biological properties as real molecules. We further provide an easy-to-use implementation that only requires the SMILES representation of the generated molecules as input to calculate the FCD. Implementations are available at: https://www.github.com/bioinf-jku/FCD
Motivation & Objective
- To address the lack of a consistent, unified evaluation metric for generative models in de novo drug design.
- To overcome limitations of existing metrics—such as reliance on single descriptors (e.g., logP, druglikeness) or rule-based validity—by incorporating both chemical and biological information.
- To develop a metric that captures the diversity of generated molecules while measuring their similarity to real molecules in a biologically meaningful representation space.
- To evaluate whether FCD can detect biases in generative models, such as overfitting to specific targets like DRD2 or PLK1.
- To provide a practical, open-source implementation that enables reproducibility and widespread adoption in drug discovery research.
Proposed method
- FCD computes the Fréchet distance between the multivariate Gaussian distributions of molecule representations derived from the penultimate layer of ChemNet.
- Each molecule is embedded using ChemNet’s hidden activations, which encode both chemical and biological features learned during training on drug activity prediction.
- The first two moments (mean and covariance) of the activation distributions are computed for real molecules (pw) and generated molecules (p), assuming Gaussianity.
- The FCD is calculated using the formula: d² = ||m − mw||² + Tr(C + Cw − 2(C Cw)^1/2), where m, C are the mean and covariance of generated molecules, and mw, Cw those of real molecules.
- The metric is applied to SMILES strings of generated molecules, enabling compatibility with sequence-based generative models and conversion to SMILES for graph-based models.
- FCD is compared against a fingerprint-based Fréchet distance (FFD) to evaluate the added value of biological information in the representation.
Experimental results
Research questions
- RQ1Can FCD serve as a unified metric that evaluates both the chemical and biological relevance of generated molecules?
- RQ2Does FCD detect distributional biases in generative models, such as overfitting to specific protein targets like DRD2 or PLK1?
- RQ3How does FCD compare to existing metrics like logP, druglikeness, or SA score in capturing model performance comprehensively?
- RQ4To what extent does incorporating biological information (via ChemNet) improve the sensitivity of the metric compared to purely chemical representations?
- RQ5Can FCD reliably rank generative models in a way that aligns with expert intuition and prior findings?
Key findings
- The FCD value of 1.62 for the Segler method indicates strong distributional similarity to real molecules, confirming its effectiveness in generating diverse, drug-like compounds.
- Methods optimized for DRD2 activity (e.g., ORGAN, RL) showed significantly higher FCD values (24.14 to 47.85), indicating they diverge from the full distribution of real molecules.
- Increasing training iterations for ORGAN and RL led to higher FCD values (e.g., ORGAN 60 vs. 30 iterations), confirming that longer training increases bias toward target-specific molecules and reduces diversity.
- The rule-based system achieved the highest FCD (58.76), serving as a strong baseline and confirming that simple systems fail to approximate the real molecular distribution.
- FCD detected biological bias in PLK1 kinase inhibitor generation, demonstrating its ability to identify target-specific deviations from the global molecular distribution.
- The FCD outperformed fingerprint-based Fréchet distance (FFD), showing that biological information in ChemNet representations enhances metric sensitivity and discriminability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.