Abstract
Single-cell transcriptomics enabled the study of cellular heterogeneity in response to perturbations at the resolution of individual cells. However, scaling high-throughput screens (HTS) to measure cellular responses for many drugs remains a challenge due to technical limitations and, more importantly, the cost of such multiplexed experiments. Thus, transferring information from routinely performed bulk RNA HTS is required to enrich single-cell data meaningfully. We introduce chemCPA, a new encoder-decoder architecture to study the perturbational effects of unseen drugs. We combine the model with an architecture surgery for transfer learning and demonstrate how training on existing bulk RNA HTS datasets can improve generalisation performance. Better generalisation reduces the need for extensive and costly screens at single-cell resolution. We envision that our proposed method will facilitate more efficient experiment designs through its ability to generate in-silico hypotheses, ultimately accelerating drug discovery.
Introduction
A central goal in drug discovery is understanding how specific compounds affect diverse cell types. Traditionally, researchers relied on bulk RNA sequencing, which provides an averaged transcriptomic response across millions of cells. While informative, bulk data masks cellular heterogeneity—the reality that different cells within a population may respond uniquely to the same stimulus. Single-cell RNA sequencing (scRNA-seq) addresses this by providing high-resolution data, but its high cost and technical complexity make it difficult to scale to the tens of thousands of drugs typically screened in bulk formats. This creates a "generalization gap": we possess vast libraries of bulk data for many drugs but high-resolution single-cell data for only a few hundred.
The chemCPA Architecture
To bridge this gap, we developed the Chemical Compositional Perturbation Autoencoder (chemCPA). The model is designed to generalize to unseen drugs by learning a structured latent space where cell identity and drug effects are disentangled.
The architecture is built on three primary pillars:
- Disentangled Representations: Using an adversarial encoder-decoder framework, chemCPA separates a cell's "basal state" (its intrinsic identity) from the "perturbation" (the drug effect). This allows the model to predict the effect of any drug on any cell type by combining their respective latent representations.
- Additive Latent Space: The model assumes that a perturbed cell's state is the linear sum of its basal state, its cell-line identity, and the drug effect (scaled by dosage). This linearity makes the model highly interpretable, allowing researchers to visualize drug-response curves for individual genes.
- Molecular Embeddings: Unlike previous models that used simple categorical IDs for drugs, chemCPA incorporates molecular descriptors (e.g., RDKit fingerprints or Graph Neural Networks). This enables the model to understand the chemical structure of a drug, facilitating predictions for novel molecules not present in the training set.
Attribute Embeddings and Transfer Learning
A key innovation in chemCPA is the use of "Architecture Surgery" to enable transfer learning from bulk RNA-seq datasets like L1000 to single-cell datasets like sci-Plex3. By pretraining on massive bulk datasets, the model learns the fundamental "language" of drug-gene interactions across a wide chemical space.
During fine-tuning on single-cell data, specific layers are adapted to handle the higher variance and different gene sets characteristic of scRNA-seq. This pretraining significantly boosts performance; for instance, predicting the response of the 50 most important differentially expressed genes (DEGs) for a new drug saw accuracy ($r^2$) improve from 0.22 to 0.47 when bulk pretraining was utilized.
Key Results and Insights
Experimental evaluation demonstrates that chemCPA significantly outperforms existing baselines such as scGen and CPA in generalizing to unseen drugs. Beyond predictive accuracy, the model naturally learns to cluster drugs by their Mode of Action (MoA). Even without explicit supervision, drugs with similar biological pathways (e.g., histone deacetylase inhibitors) group together in the latent space based on the transcriptomic changes they induce.
Furthermore, we implemented an uncertainty quantification metric. The model exhibits "self-awareness," providing lower confidence scores for drugs with chemically unique structures or novel mechanisms. This feature is crucial for researchers, as it indicates when an in-silico hypothesis requires more rigorous experimental validation.
Conclusion
chemCPA represents a significant step toward cost-effective, high-resolution drug screening. By leveraging existing bulk data to inform single-cell predictions, it allows for the generation of robust hypotheses for thousands of untested drug-cell combinations. While challenges remain—such as handling the inherent noise in single-cell data and predicting effects for entirely novel biological pathways—chemCPA provides a powerful framework for accelerating the early stages of drug discovery.
Summary updated