TL;DR
This paper introduces a novel method, Representation-Property Relationship Analysis (RePRA), to rigorously evaluate the quality of molecular representations learned by pre-trained models. The authors demonstrate that while some advanced models outperform traditional methods like ECFP, their learned representations may not explicitly correspond to molecular substructures, potentially leading to issues like scaffold hopping.
What Problem Does This Paper Address?
The field of AI-aided drug discovery is increasingly relying on self-supervised pre-trained models (PTMs) to learn rich molecular representations from vast amounts of unlabeled data. The promise is that these representations will be superior to traditional methods like Extended-Connectivity Fingerprints (ECFP), leading to better performance in downstream tasks like property prediction. However, there's a lack of robust methods to truly evaluate the quality of these learned representations. Current evaluation often relies on finetuning performance, which is influenced by the downstream task layers and can be misleading. This paper aims to fill this gap by proposing a method to directly assess the quality of representations themselves, independent of downstream task performance.
Methods
The core contribution is the Representation-Property Relationship Analysis (RePRA) framework. RePRA is inspired by two key concepts in drug discovery: Activity Cliffs (ACs) and Scaffold Hopping (SH).
- Generalization of ACs and SH: The authors generalize these concepts from the structure-activity context to the representation-property context.
- Generalized ACs: Pairs of molecules with similar representations but significantly different properties.
- Generalized SH: Pairs of molecules with very different representations but similar properties.
- The presence of these generalized ACs and SH is considered unfavorable for ideal representation-property relationships.
- Representation-Property Similarity Map (RPSMap): A visualization tool that maps the similarity of representations against the distance of their corresponding properties. This map helps to visually identify regions where ACs and SH might occur.
- Quantitative Scores: Two scores are proposed to quantify the quality of representations:
- Average Deviation (SAD): Measures the ratio of "noise points" (representing ACs and SH) and their deviation from ideal regions. Lower SAD is better.
- Improvement Rate (SIR): Compares the performance of a PTM's representations against ECFP. SIR < 2 indicates improvement over ECFP.
- Threshold Selection: The paper discusses strategies for selecting thresholds (δ and ε) for detecting ACs and SH, proposing "loose standards" based on statistical properties of the data to avoid false positives and underestimation.
Datasets
The experiments were conducted on 10 target tasks, including datasets for BACE, BBBP, ClinTox, ESOL, FreeSolv, Lipo, QM7, QM8, SIDER, and Tox21. The paper also details the pre-training datasets used for the 7 evaluated PTMs, which include large corpora like ZINC, ChEMBL, and PubChem.
Key Insights and Ideas
- Beyond Finetuning Accuracy: The paper strongly argues that finetuning accuracy is an insufficient metric for evaluating representation quality, as it's heavily influenced by downstream task layers and hyperparameter choices.
- RePRA as a Diagnostic Tool: RePRA provides a more fundamental way to understand why a representation might perform well or poorly, by directly analyzing its relationship with molecular properties.
- PTMs vs. ECFP: While many PTMs show promise in learning structural similarities better than ECFP, their representations might not be directly interpretable in terms of specific molecular substructures. This lack of explicit correspondence can be a double-edged sword.
- Scaffold Hopping Remains a Challenge: PTMs trained solely on molecular structures struggle to inherently avoid scaffold hopping, as they primarily learn structural similarity. Incorporating domain knowledge or property information during pre-training might be necessary.
- The "Ideal" Representation: An ideal representation-property relationship is one where similar representations correspond to similar properties, and vice-versa, minimizing ACs and SH.
Key Results
- PTMs Show Promise: The study found that several state-of-the-art PTMs can indeed learn better structural similarity than ECFP, leading to fewer ACs in some cases.
- Pretrain8 Excels: The PTM named "Pretrain8" consistently performed well across various datasets according to both SAD and SIR scores, indicating superior representation quality.
- Mixed Performance: While some PTMs like GROVER and Pretrain8 showed improvement over ECFP (SIR < 2), others like GraphLoG performed worse.
- Interpretability Gap: A key finding is that the basis of the representation space learned by most PTMs does not explicitly correspond to specific molecular substructures, making it difficult to interpret why a representation is good.
- Finetuning Impact: Experiments showed that finetuning a PTM, even with a simple property prediction loss, can improve the representation-property relationship, suggesting that information from downstream tasks can implicitly regularize representations.
Limitations and Future Work
- Threshold Sensitivity: The choice of thresholds (δ, ε) for detecting ACs and SH can influence the evaluation, and finding optimal thresholds remains a challenge. The paper proposes "loose standards" as a practical solution.
- Metric Functions: The paper explores Euclidean distance and Cosine Similarity but suggests that exploring more metric functions, such as those from manifold learning, could offer deeper insights.
- Domain Knowledge Integration: The authors encourage researchers to incorporate more domain knowledge into pre-training to better regularize ACs and SH, as models trained solely on structure may struggle with property relationships.
- Out-of-Distribution (OOD) Generalization: Future work could investigate how these representations handle OOD data, which is common in molecular datasets.
Summary updated