[Paper Review] Context-enriched molecule representations improve few-shot drug discovery
The authors introduce MHNfs, a context-enriched few-shot learning model for drug discovery that uses Modern Hopfield Networks to retrieve context molecules and enrich representations, achieving state-of-the-art results on FS-Mol and robustness under domain shift.
A central task in computational drug discovery is to construct models from known active molecules to find further promising molecules for subsequent screening. However, typically only very few active molecules are known. Therefore, few-shot learning methods have the potential to improve the effectiveness of this critical phase of the drug discovery process. We introduce a new method for few-shot drug discovery. Its main idea is to enrich a molecule representation by knowledge about known context or reference molecules. Our novel concept for molecule representation enrichment is to associate molecules from both the support set and the query set with a large set of reference (context) molecules through a Modern Hopfield Network. Intuitively, this enrichment step is analogous to a human expert who would associate a given molecule with familiar molecules whose properties are known. The enrichment step reinforces and amplifies the covariance structure of the data, while simultaneously removing spurious correlations arising from the decoration of molecules. Our approach is compared with other few-shot methods for drug discovery on the FS-Mol benchmark dataset. On FS-Mol, our approach outperforms all compared methods and therefore sets a new state-of-the art for few-shot learning in drug discovery. An ablation study shows that the enrichment step of our method is the key to improve the predictive quality. In a domain shift experiment, we further demonstrate the robustness of our method. Code is available at https://github.com/ml-jku/MHNfs.
Motivation & Objective
- Motivate learning from very small numbers of active molecules in drug discovery to accelerate screening and decision making.
- Propose a context-enrichment mechanism that leverages a large set of reference molecules to augment both query and support representations.
- Develop an architecture integrating context retrieval, cross-set interaction, and similarity-based prediction for few-shot tasks.
- Demonstrate state-of-the-art performance on FS-Mol and explore robustness under domain shift scenarios.
Proposed method
- Encode all molecules with a shared molecule encoder to obtain embeddings.
- Enrich embeddings via a context module (CM) implemented as a continuous Modern Hopfield Network that retrieves from a large context set of molecules.
- Mutually exchange information between query and support set through a cross-attention module (CAM) based on Transformer-like cross-attention (Hopfield layer formulation).
- Compute predictions with a similarity module that uses dot-product similarity between enriched representations to form a weighted average over the support labels.
- Train end-to-end with cross-entropy loss, using a context set sampled from the training data and a fixed context during inference; apply dropout and learning-rate warm-up schedules.
Experimental results
Research questions
- RQ1Can enriching molecular representations with a large context set improve generalization in few-shot drug discovery settings?
- RQ2What is the impact of the context module and cross-attention module on predictive performance?
- RQ3How does the proposed method perform under domain shift compared to existing few-shot baselines?
Key findings
- MHNfs achieves state-of-the-art performance on FS-Mol, outperforming all compared methods in Delta AUC-PR.
- Ablation shows the context module (CM) and the cross-attention module (CAM) are crucial for performance, with significant drops when removed or replaced.
- In a domain shift experiment using Tox21, MHNfs significantly outperforms IterRefLSTM and Similarity Search, indicating robustness to distribution shift.
- The ablation study confirms the enrichment steps are key to predictive quality improvements.
- Training MHNfs on FS-Mol requires substantial compute, roughly 90 hours per model on an A100 GPU (total ~15,000 GPU hours in the study).
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.