Improving Molecular-Morphology Contrastive Pretraining using Deep-Learning-based Morphology Profiles
Organizations: GSK, Artificial Intelligence and Machine Learning · GSK, Cheminformatics
Abstract
Recent advancements in image-based profiling techniques have enabled the collection of high-volume cell morphology data, allowing new molecular embedding models to learn from the experimental phenotypic perturbations of a molecule in a cell. Previously, we developed Molecule-Morphology Contrastive Pretraining (MoCoP), a strategy for aligning small molecule embeddings to morphology fingerprints extracted through CellProfiler. The resulting molecular representation showed transferable performance for quantitative structure--activity relationship (QSAR) prediction tasks. Here, we extend the method by using a deep-learning-based cell image encoding pipeline to extract more feature-rich morphology profiles and align them to the molecular embeddings through contrastive learning. The new embeddings encode more accurate information on how molecules perturb cell morphology and enable improvements for QSAR predictions through either fixed-embedding linear probes or fully flexible fine-tuning. Morphology retrieval performance scales log-linearly with training data size, suggesting continued improvements as larger datasets become available. The improved MoCoP v2 also achieves superior performance on toxicity prediction and competitive results on ADME and activity benchmarks, when compared with existing molecular embedding models that use both cell morphology and transcriptomic data during training.
Figures & tables
| Data | AUROC | AUPRC | ||
|---|---|---|---|---|
| Proportion | MoCoP v1 | MoCoP v2 | MoCoP v1 | MoCoP v2 |
| 5% | ||||
| 25% | ||||
| 100% | ||||
| Data | AUROC | AUPRC | ||
|---|---|---|---|---|
| Proportion | MoCoP v1 | MoCoP v2 | MoCoP v1 | MoCoP v2 |
| 5% | ||||
| 25% | ||||
| 100% | ||||
| Method | ChEMBL 2K AUC | ToxCast AUC | Broad 6K AUC | Biogen 3K MAE |
|---|---|---|---|---|
| Structure only | ||||
| MLP | ||||
| MolT5 [ 9 ] | ||||
| UniMol [ 62 ] | ||||
| Structure + cell morphology | ||||
| CLOOME [ 47 ] | ||||
| Task | MoCoP v2 | CHMR [ 28 ] | InfoAlign [ 31 ] |
|---|---|---|---|
| LOG HLM CLint | |||
| LOG MDR1-MDCK ER | |||
| LOG Solubility @ pH 6.8 | |||
| LOG PPB Human | |||
| LOG PPB Rat | |||
| LOG RLM CLint |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value |
|---|---|
| Backbone | ResNet-18 (ImageNet pretrained) |
| Projection head | MLP: |
| Embedding dimension | 128 |
| Tiles per well | 12 |
| Aggregation | Mean |
| Loss function | Triplet margin loss (margin = 0.1) |
| Stage | Dataset | Wells | Compounds | Plates |
| DL image encoder training | ||||
| JUMP-CP Source 3 | 66,471 | 55,336 | 217 | |
| Contrastive pretraining (DL embeddings) | ||||
| Source 3 only | 66,471 | 55,336 | 217 | |
| Full JUMP-CP (10 sources) | 649,384 | 109,164 | 1,685 | |
| Compound splits (split 0) | ||||
| Hyperparameter | Value |
|---|---|
| Molecular encoder (GGNN) | |
| Input atom features | 75 |
| Edge types | 1 |
| Message-passing layers | 6 |
| FC dimensions | 1024 |
| Dropout | 0.1 |
| Dataset | Task Type | # Compounds | # Tasks |
|---|---|---|---|
| ChEMBL 2K [ 16 ] | Classification (AUC) | 2,355 | 41 |
| ToxCast [ 43 ] | Classification (AUC) | 8,576 | 617 |
| Broad 6K [ 38 ] | Classification (AUC) | 6,567 | 32 |
| Biogen 3K [ 12 ] | Regression (MAE) | 3,521 | 6 |
| Dataset | Learning Rate | Dropout | Patience | Scheduler |
|---|---|---|---|---|
| ToxCast | 0.2 | 10 | — | |
| ChEMBL 2K | 0.2 | 10 | Cosine ( ) | |
| Broad 6K | 0.1 | 20 | — | |
| Biogen 3K | 0.2 | 10 | — |
Molecular Representation Learning
Molecular representation learning encodes chemical structures and context for prediction, generation, and discovery across chemistry and biology.
See all 207 papers