Abstract
Image-based profiling of the cellular response to drug compounds has proven to be an effective method to characterize the morphological changes resulting from chemical perturbation experiments. This approach has been useful in the field of drug discovery, ranging from phenotype-based screening to identifying a compound’s mechanism of action or toxicity. As a greater amount of data becomes available however, there are growing demands for deep learning methods to be applied to perturbation data. In this paper we applied the transformer-based SwinV2 computer vision architecture to predict the mechanism of action of 10 kinase inhibitor compounds directly from raw images of the cellular response. This method outperforms the standard approach of using image-based profiles, multidimensional feature set representations generated by bioimaging software. Furthermore, we combined the best performing models for three different data modalities, raw images, image-based profiles and compound chemical structures, to form a fusion model, Cell-Vision Fusion (CVF). This approach classified the kinase inhibitors with 69.79% accuracy and 70.56% F1 score, 4.20% and 5.49% greater, respectively, than the best performing image-based profile method. Our work provides three techniques, specific to Cell Painting images, which enable the SwinV2 architecture to train effectively, and explores approaches to combat the significant batch effects present in large Cell Painting perturbation datasets.
Introduction
In drug discovery, identifying a compound's Mechanism of Action (MOA) is critical for understanding its biological effects and potential toxicity. "Cell Painting" is a high-content screening technique that uses fluorescent dyes to label various cellular compartments, generating high-resolution images that capture the morphological response to chemical perturbations. Traditionally, researchers rely on software like CellProfiler to extract thousands of "hand-crafted" features—such as size, shape, and texture—to create image-based profiles (IBP).
However, this traditional pipeline faces significant challenges. First, summarizing complex images into tabular features can lead to information loss, potentially missing subtle spatial patterns or unanticipated biological signals. Second, "batch effects"—variations in image quality due to different experimental dates or equipment—often introduce noise that can mislead machine learning models. This study explores whether modern computer vision architectures, specifically Transformers, can predict MOA directly from raw pixels while effectively mitigating these batch effects.
Methods and Architecture
The researchers developed Cell-Vision Fusion (CVF), a multi-modal deep learning framework designed to integrate diverse data streams for MOA prediction.
The CVF architecture comprises three primary branches:
- Raw Images: High-resolution five-channel images are processed using the Swin Transformer (SwinV2). Unlike traditional CNNs, the Swin Transformer utilizes hierarchical attention mechanisms to capture both local details and global context across the cellular field of view.
- Image-Based Profiles (IBP): Standard morphological features are processed through a Multi-Layer Perceptron (MLP).
- Chemical Structures: SMILES strings are converted into Morgan Fingerprints and analyzed by an MLP.
To address batch effects in the raw image data, the authors implemented three specialized normalization techniques: Per-Channel Normalization (PCN), Plate-wise Channel-wise Standardization (PCS) using DMSO control wells, and Channel-Weighted Augmentation (CWA). The study utilized a curated subset of the JUMP Cell Painting Consortium dataset (cpg0016), focusing on 10 kinase inhibitor classes across 96 unique compounds in U2OS cells.
Results and Discussion
The Cell-Vision Fusion model demonstrated superior performance, achieving 69.79% accuracy and a 70.56% F1 score. This represents a significant improvement over the best-performing single-modality IBP method (a 4.20% increase in accuracy).
A key finding was the importance of morphological features in identifying kinase inhibitors. Using Shapley values to interpret model decisions, the researchers found that Zernike moments—mathematical descriptors of cell shape—were disproportionately influential. While Zernike moments make up only 1.9% of the total feature set, they accounted for 38.0% of the top 100 ranked Shapley features. This biological insight aligns with the known effects of kinase inhibitors on the cellular cytoskeleton.
Furthermore, the fusion approach proved synergistic. Confusion matrices revealed that different modalities were better at identifying specific drug classes; for instance, chemical structures might excel where images are ambiguous. By fusing these streams, the CVF model effectively minimized individual "blind spots."
Conclusion
This work demonstrates that deep learning architectures like SwinV2 can outperform traditional feature-extraction methods in predicting drug MOA from Cell Painting data. By integrating raw images with chemical and morphological data, the Cell-Vision Fusion framework provides a more holistic and accurate representation of cellular responses. Future research will focus on expanding this approach to multiple cell lines and varying drug concentrations to further enhance predictive power in drug discovery pipelines.
Summary updated