Google DeepMind's CellGemma Predicts Drug Effects on Genes With One GPU
Google DeepMind released CellGemma, a 4.5B effective-parameter open model that predicts how human cells respond to drugs and gene edits on a single GPU.
Takeaways
- Google DeepMind released CellGemma, an open Apache 2.0 model predicting cell responses to perturbations.
- Built on Gemma 4 E4B: 8B total, 4.5B effective parameters, runs on a single GPU.
- Trained on 564M cell states, fine-tuned on 10 perturbation datasets with 15,900+ perturbations.
- Predicts residual differentially expressed genes relative to a mean-shift baseline, not full transcriptomes.
- Beats mean-shift across 32 held-out splits; recovers 49% of biological signal versus 33% baseline.
- Ships dataset-specific MLP decoders for Tahoe, L1000, Norman, Replogle, VCC, Parse, TISCH and more.
Google DeepMind has released CellGemma, an open-weight biology model that predicts how gene expression may change after exposure to a drug, genetic perturbation, cytokine, or therapy. Built on Gemma 4 E4B and licensed under Apache 2.0, it brings perturbation modeling to hardware available in many research labs.
Each request gives the model a baseline expression profile and a description of the perturbation. CellGemma returns a ranked set of genes expected to increase or decrease, which a separate decoder converts into continuous expression values. The system can help researchers prioritize experiments, but its predictions still require laboratory validation.
Gemma learns the language of genes
CellGemma reuses the Gemma 4 E4B decoder stack and extends its tokenizer with about 20,000 human protein-coding gene symbols. Each gene becomes one token instead of several subword fragments. The model is non-conversational and accepts a specialized prompt format rather than natural-language questions.
| Component | Specification |
|---|---|
| Base model | Gemma 4 E4B dense decoder |
| Layers | 42 |
| Parameters | 8 billion total, 4.5 billion effective |
| Context | 16,384 tokens |
| Attention | 512-token sliding windows interleaved with global attention |
| Vocabulary | About 282,000 tokens, including the added gene symbols |
| Weights | BF16 |
| License | Apache 2.0 |
The “E” in E4B refers to effective parameters. Per-Layer Embeddings give each decoder layer a small token-specific embedding table, reducing the parameters used in compute-intensive operations. By effective parameter count, CellGemma is about one-sixth the size of C2S-Scale 27B, Google’s earlier cell-language model.
Residuals keep the prediction target small
The residual design narrows the task. CellGemma starts with the dataset-wide average response to a perturbation, called the mean shift, and predicts the genes that diverge from that average. This lets the model focus on perturbation-specific changes instead of reconstructing an entire expression profile.
Inference uses two stages:
- CellGemma LM: Generates a ranked list of signed gene tokens, such as
+MYCor-TP53, representing expression above or below the mean-shift prediction. ExpressionDecoder: Applies a lightweight, dataset-specific multilayer perceptron to convert the ranked list into continuous expression values and log-fold changes.
DeepMind ships pretrained decoders for Tahoe, L1000, EmeraldBay, SciPlex, Nadig/Replogle, the Virtual Cell Challenge, Norman, Parse, Dong, and TISCH. These datasets cover small molecules, CRISPR screens, cytokines, peripheral blood samples, and tumor microenvironments.
The prompt acts as an interface contract
CellGemma treats prompt structure as part of the model interface. Each request contains a preamble, a perturbation description, a Source: section with the baseline profile’s top 1,000 expressed genes in descending order, and a Mean Global prediction: section containing the ranked dataset-wide response.
Drug prompts include the compound name, SMILES representation, and concentration:
Drug name: Panobinostat
Drug SMILES: Cc1[nH]c2ccccc2c1CCNCc1ccc(/C=C/C(=O)NO)cc1
Concentration: 0.5 uM
Source: ACTB GAPDH RPL13 ...
Mean Global prediction: HIST1H4C CDKN1A ...
Target:
Genetic perturbations use a knowledge-graph-style sentence describing the target gene. Combinatorial perturbations concatenate multiple descriptions in the expected template. DeepMind recommends temperature=0.7 and max_new_tokens=8192 for generation.
Training spans 564 million cell states
Pretraining exposed the model to more than 564 million cell states from CZ CELLxGENE, the Human Cell Atlas, and scBaseCount. WikiCrow literature summaries supplied additional context about gene function. The pipeline pseudobulked raw counts, retained protein-coding genes, normalized for library size, and applied a log1p transformation.
Fine-tuning added more than 15,900 perturbations from ten public datasets. The collection includes Tahoe-100M, SciPlex 3, LINCS L1000, Norman combinatorial CRISPRa, Nadig and Replogle Perturb-seq experiments in HepG2, Jurkat, K562, and RPE1 cells, the Virtual Cell Challenge, Parse 10M PBMC, Dong PBMC, and TISCH2 tumor microenvironment cohorts.
Benchmark gains vary by transfer task
DeepMind evaluated CellGemma across 32 held-out splits covering unseen perturbations, drug mechanisms, donors, cell lines, and gene combinations. The reported metric, Pearson delta, measures correlation between predicted and observed perturbation-induced expression changes; higher values indicate closer agreement. CellGemma exceeded the mean-shift baseline on every reported split.
| Dataset and split | CellGemma | Mean shift |
|---|---|---|
| Tahoe, unseen perturbation | 0.56 | 0.26 |
| Tahoe, unseen mechanism | 0.56 | 0.30 |
| EmeraldBay, unseen mechanism | 0.34 | 0.08 |
| Norman, both genes seen | 0.74 | 0.53 |
| TISCH, cross-study | 0.28 | 0.05 |
| Nadig/Replogle HepG2 | 0.57 | 0.44 |
Across the held-out tests, DeepMind’s aggregate measure credits CellGemma with recovering 49% of achievable biological signal, compared with 33% for mean shift. Because the published figures use mean shift as the comparator, head-to-head conclusions about scGPT, Geneformer, or larger virtual-cell models require matched evaluations.
Transfer remains difficult in several settings. L1000 performance on unseen cell lines reached 0.15, close to the 0.13 baseline. SciPlex results stayed between 0.23 and 0.28, while the Virtual Cell Challenge unseen-perturbation split scored 0.16. A new sequencing technology, normalization scheme, or assay type requires a retrained ExpressionDecoder because the supplied decoders are dataset-specific.
Research workflows with clear limits
CellGemma can support several preclinical and exploratory workflows:
- Compound screening: Rank molecules by predicted transcriptional response before selecting wet-lab assays.
- Target prioritization: Generate candidate responses for single-gene and combinatorial CRISPR perturbations.
- Mechanism hypotheses: Inspect residual gene changes for pathways that may respond to a compound.
- Combination exploration: Estimate responses for dual-gene perturbations with sparse experimental coverage.
- Custom adaptation: Fine-tune the pretrained weights and train a decoder for proprietary screens or new assays.
DeepMind labels CellGemma as a research system and excludes clinical use. Its outputs are computational hypotheses, and each workflow requires experimental validation before researchers draw biological or therapeutic conclusions.
An open-weight option for local labs
Single-cell foundation models such as scGPT, Geneformer, CellFM, and Google’s C2S-Scale family have explored transcriptomic representation and prediction for several years. CellGemma’s practical distinction is its combination of a smaller compute footprint, residual prediction, Apache 2.0 weights, and ten dataset-matched decoders.
Local execution can keep patient-derived genomic data within institutional infrastructure, which may simplify governance for sensitive datasets. Teams remain responsible for access controls, consent requirements, audit policies, and applicable privacy rules.
At BF16 precision, 8 billion parameters require about 16 GB for weights before runtime overhead, activations, and the key-value cache. The advertised single-GPU setup therefore depends on available memory, context length, batch size, and serving framework. Quantization can reduce memory use, subject to validation of any effect on prediction quality.
Running CellGemma
The model weights are available on Hugging Face, alongside a hosted demo. Supported entry points include:
transformersfor direct Python integrationvllm serve google/cellgemma-e4bfor a serving endpoint- SGLang for alternative inference deployment
A production integration needs three aligned components: the exact prompt template, a perturbation format represented during fine-tuning, and an ExpressionDecoder trained for the target assay. Mismatches in any of these components can reduce prediction quality or produce unusable outputs.