CellGemma model results from Google DeepMind and the University of Pennsylvania (released December 1, 2026 under Apache 2.0 as google/cellgemma-e4b) tackle a long-standing benchmark failure in computational biology: across 32 held-out perturbation splits spanning 10 public datasets, seven published deep-learning and single-cell foundation models—including scGPT, GEARS, TxPert, STATE-SE 600M, Tx1-3B, and Google’s own C2S-Scale 27B—all average below a simple population mean-shift baseline (32.7% normalized recovery on Pearson Δ). By predicting signed residuals from that mean on a 4.5B-effective-parameter Gemma 4 E4B backbone with 19,881 dedicated gene tokens, Google DeepMind’s CellGemma reaches 48.9% normalized recovery and beats the mean-shift baseline on all 32 splits.
The 92-page technical report, model card, and early computational-biology discussions also surface four trade-offs absent from the launch summary. Giving a plain two-layer MLP the exact same mean-shift residual inputs already doubles its Pearson Δ from 0.164 to 0.352; CellGemma’s truncated autoregressive gene list drops its genome-wide ROC-AUC recovery to 0.093 behind scGPT (0.408); the linear baseline Rhaister still beats CellGemma on 2 of 13 seen-perturbation interpolation splits using roughly 280-million-fold fewer FLOPs; and running google/cellgemma-e4b locally requires one of 13 dataset-specific ExpressionDecoder MLPs—or retraining a new decoder on matched control data.
| Specification | CellGemma (google/cellgemma-e4b) verified figure | Source & caveat |
|---|---|---|
| Release & license | Dec 1, 2026; Apache 2.0 (ungated on Hugging Face, 11,348 downloads on Dec 5, 2026) | HF API, Gemma Docs model card |
| Backbone & parameters | Gemma 4 E4B dense: 4.5B effective / 8B total (with Per-Layer Embeddings); 42 layers; 5:1 local (512-token window) to global attention; 16K context | Technical report Section M.1.2, model card |
| Tokenizer & weights | 282K vocab (262,144 base + 19,881 human protein-coding HGNC gene tokens); 15.46 GB across 3 bfloat16 safetensors shards | Technical report Section M.1.1, HF repo tree |
| Training corpus | ~564M single-cell profiles (~500B tokens): CPT on 445M cell sentences (45% CELLxGENE/HCA, 45% scBaseCount, 10% WikiCrow); SFT on 118M profiles (10 datasets, 15,905 perturbations, 235 cell lines, 20 tissues) | Technical report Fig. M.1b, Section M.1.2 |
| Headline benchmark (vendor) | 48.9% normalized Pearson Δ recovery (0.426 Benchmark Score) across 32 splits; beats mean shift (32.7%) on 32/32 splits | Technical report Fig. 1b & 3a (preprint, no independent replication yet) |
| Metric inversion & compute | Leads 13/19 metrics (magnitude/direction/distribution); trails continuous encoders on ROC-AUC (0.093 vs scGPT 0.408); 9.3×10¹² FLOPs/cell | Technical report Fig. 3a, Table A.3 |
| Pretrained decoders | 13 dataset-specific 3-layer MLP ExpressionDecoders (tahoe, l1000, emeraldbay, sciplex, hepg2, jurkat, k562, rpe1, vcc, norman, parse, dong, tisch) | HF decoders/ tree; non-transferable across normalization/assays |
CellGemma model architecture: residual gene tokens and ExpressionDecoder
The CellGemma model splits perturbation prediction into two stages: a fine-tuned Gemma 4 E4B decoder emits signed, rank-ordered residual genes (+GENE / -GENE) relative to an empirical mean-shift baseline, and a dataset-specific 3-layer MLP (ExpressionDecoder) maps those discrete gene ranks back to continuous expression and log-fold change vectors. Rather than spending capacity re-predicting thousands of housekeeping genes and generic stress pathways shared across drugs, Stage 1 models only how a specific cell departs from the population average.

CellGemma’s three-part design: residual decomposition relative to mean shift (a), two-stage CPT and perturbation SFT curriculum (b), and two-stage inference with a dataset-specific ExpressionDecoder (c). Source: Google DeepMind & UPenn Technical Report, Figure M.1 (p. 24).
Four architectural choices in Sections M.1.1–M.1.3 separate CellGemma from standard fine-tuned LLMs and from DeepMind’s earlier C2S-Scale 27B:
- 19,881 gene-native tokens (2–5× sequence compression): Standard SentencePiece tokenizers split gene symbols such as
CD274into 3–4 arbitrary subwords (CD,2,7,4). CellGemma appends 19,881 dedicated learnable tokens for canonical human protein-coding HGNC symbols to Gemma 4’s 262,144-token vocabulary (total 282K). Each unperturbed control cell is serialized as a rank-ordered “cell sentence” of its top 1,000 expressed genes—fitting full baseline and reference profiles inside the 16,384-token context window without truncation. - Four split-dependent residual priors: For a control cell
x_ctrland empirical shiftΔ̄, the reference state isx_base = max(0, x_ctrl + Δ̄), and Stage 1 predicts the signed alternating residual sequence+g1 -g1 +g2 -g2 ...ranked by absolute residual magnitude. Training mixes four prior types—perturbation mean, cell-line mean, dataset global mean, and linear additive combinations for pairwise CRISPRa—plus unconditioned control fallback (Δ̄ = 0), paired with two-tiered stochastic metadata dropout (p = 0.5) so the model does not memorize drug names or descriptions. - Structured biological context for zero-shot targets: Small molecules are encoded via canonical SMILES strings and concentration. Because bare CRISPR gene names or cytokines carry no structural information for unseen targets, CellGemma serializes each gene’s top 20 interacting partners from the STRING protein–protein interaction database (confidence ≥ 0.700, falling back to ≥ 0.400, capped at 500 words) into relational triples such as
BCL2L11 functional MCL1. - Asymmetric, non-negative
ExpressionDecoder(Stage 2): For each gene emitted by Stage 1, a 3-layer MLP (32hidden units per layer,BatchNorm1d, ReLU) takes a 13-dimensional input—sign, predicted rank, total up/down gene counts, 8-dim task one-hot encoding, and scalar baseline expression—and predicts a continuous residual shift. Negative shifts pass through an exponential soft-clamp bounded by-x_baseso predicted expression stays non-negative, while genes omitted from Stage 1 remain at zero residual. The decoder trains with an asymmetric MSE loss that penalizes overpredicting effect magnitude by α = 50 (versus 1.0 for underprediction).
Training runs in two stages across 512 TPU v5p chips with full parameter updates (no frozen backbone): continued pre-training on 445M cell sentences (45% CZ CELLxGENE & HCA, 45% multi-species scBaseCount, 10% WikiCrow gene text summaries), followed by 13,000 steps of supervised fine-tuning on 118M perturbation profiles (upweighting genetic screens and Dong PBMC by 10× and downsampling noisier clinical TISCH2 cohorts by 2×). Unlike Google DeepMind’s DNA-level AlphaGenome 2, which maps 1 Mb genomic sequences to cell-type regulatory tracks, CellGemma operates entirely at the transcriptional level—and unlike conversational Gemma 4 variants such as MedGemma 2, it is strictly non-conversational and outputs only signed gene symbols.
Pairing specialized cell models with frontier reasoning models. Because CellGemma outputs ranked gene tokens rather than natural-language pathway analysis or literature synthesis, computational biology workflows often pair a local cellgemma-e4b run with general-purpose LLMs to annotate enriched pathways, draft experimental protocols, or cross-check target toxicity. If your team benchmarks frontier models such as claude-opus-5-5, claude-fable-5-2, and gpt-6.2-sol for downstream bioinformatics scripting under one API bill, a unified gateway such as PackyAPI lists those models in its public catalog as an option.
CellGemma benchmarks vs scGPT, TxPert, C2S-Scale 27B, and Rhaister
On DeepMind’s 32-split benchmark (10 datasets, 7 generalization regimes, retrained on the identical 19,881-gene vocabulary without highly-variable-gene filtering), CellGemma recovers 48.9% of achievable biological signal on Pearson Δ (calibrated against split-half experimental replicate agreement), compared with 32.7% for the non-learned mean-shift baseline and 30.8% for the strongest broad-coverage published neural model (TxPert). Across 146 matched pairwise comparisons against all seven published neural and foundation baselines on shared splits, CellGemma posts a 1.00 win rate on Pearson Δ Normalized Recovery.
| Model | Architecture class | Supported splits (of 32) | Pearson Δ Norm. Recovery | Pearson Δ Benchmark Score | DEG R² (k=20) Norm. Recovery | ROC-AUC Norm. Recovery | Inference FLOPs / cell |
|---|---|---|---|---|---|---|---|
| CellGemma (E4B) | Autoregressive LM (4.5B eff.) | 32 / 32 | 0.489 | 0.426 | 0.466 | 0.093 | 9.3×10¹² |
| Rhaister | Additive linear / ALS | 13 / 32 | 0.429* | 0.148 | 0.516* | 0.165 | 3.3×10⁴ |
| Mean Shift (baseline) | Empirical prior | 32 / 32 | 0.327 | 0.285 | 0.389 | 0.063 | — |
| TxPert (open-source) | Graph attention (GO/STRING) | 30 / 32 | 0.308 | 0.250 | −0.011 | −0.094 | 9.8×10⁶ |
| STATE-SE 600M | Cell-set transformer (MMD) | 11 / 32 | 0.269 | 0.082 | −0.034 | 0.374 | 1.3×10¹² |
| Tx1-3B | Transcriptomic encoder (3B) | 11 / 32 | 0.267 | 0.081 | −0.390 | 0.400 | 1.0×10¹³ |
| GEARS | Gene-interaction GNN | 16 / 32 | 0.259 | 0.114 | 0.043 | −0.196 | 6.1×10⁸ |
| MLP (ESM-2 + Morgan) | Two-layer feedforward | 30 / 32 | 0.205 | 0.164 | −0.492 | 0.311 | 8.2×10⁷ |
| C2S-Scale 27B | Autoregressive LM (Gemma 2) | 32 / 32 | 0.162 | 0.137 | −0.217 | 0.289 | 5.5×10¹³ |
| scGPT | Masked expression encoder | 16 / 32 | 0.128 | 0.054 | −7.891 | 0.408 | — |
Source: Google DeepMind & UPenn Technical Report, Figures 1b, 2a, 3a (pp. 3, 7–8) and Table A.3 (p. 53). Normalized Recovery averages only over a model’s supported splits (0 = unperturbed control, 1 = split-half replicate ceiling); Benchmark Score assigns 0 to unsupported splits. *Rhaister only runs on 13 seen-perturbation splits; head-to-head on those same 13 splits, CellGemma leads Rhaister on Pearson Δ (0.505 vs 0.429) and DEG R² k=20 (0.563 vs 0.516).

Normalized recovery across six benchmark metrics (a) and Parse cytokine UMAP separation (b): CellGemma leads magnitude and direction metrics cleanly, while continuous predictors invert the ranking on ROC-AUC. Source: Google DeepMind & UPenn Technical Report, Figure 3 (p. 8).
Reading Figure 3 and Appendix A.3.2 alongside the Hacker News technical thread (50726701, 580 points) highlights four caveats essential for interpreting these scores:
- The ROC-AUC and genome-wide ranking inversion: Across all 19 reported metrics, CellGemma ranks first on 13 (all seven magnitude/direction metrics, Overlap@50/100, and all four distributional MMD/Wasserstein metrics) and loses on all six broad genome-wide ranking metrics (
ROC-AUC,PR-AUC, significant-gene recall, and Overlap@200/500/N). OnROC-AUCnormalized recovery, CellGemma scores 0.093, well behindscGPT(0.408),Tx1-3B(0.400),STATE-SE 600M(0.374),MLP(0.311), andC2S-Scale 27B(0.289). Because Stage 1 emits a truncated list of top residual genes and leaves the rest of the 19,881 transcriptome at zero residual, it preserves precision on strong biological drivers while sacrificing continuous threshold-free ranking across weak tail genes. - How much of the win comes from injecting the mean-shift prior? On Hacker News, readers questioned whether feeding the mean-shift baseline directly into CellGemma’s prompt handed it an unfair head start over non-residual baselines. Appendix A.3.2 answers that directly with a controlled ablation (
MLP Residual) that gives the feedforward MLP the exact same residual inputs. Supplying residual priors more than doubles the MLP’s Pearson Δ from0.164to0.352(0.404 normalized recovery)—confirming that the residual formulation itself carries a large share of the gain. Even then, CellGemma (0.426Pearson Δ, 0.489 recovery) beatsMLP Residualon 30 of 32 splits, demonstrating clear lift from the autoregressive backbone. Removing STRING knowledge-graph sentences lowers 16-split genetic/cytokine Pearson Δ from0.444to0.429(and DEG R² k=20 recovery from0.552to0.377), while removing the asymmetric α = 50 decoder penalty drops overall Pearson Δ from0.426to0.406(hurting 25 of 32 splits). - Where linear baseline
Rhaisterstill wins—and baseline protocol caveats: On its 13 supported seen-perturbation splits,Rhaisterhits 42.9% recovery overall (vs CellGemma’s 50.5%), ties CellGemma on Parse unseen donor (0.200), and edges out CellGemma on two seen-perturbation interpolation splits: LINCS L1000 unseen pert./cell (0.392vs0.375) and Parse PBMC unseen pert./cell (0.334vs0.295). Separately, the authors note thatTxPertwas benchmarked using its open-source GO/STRING configuration without Recursion’s proprietaryPxMap/TxMapgraphs, and all results remain vendor-reported in a preprint with no independent lab replication yet. - Wide absolute accuracy spread across splits: Normalized recovery hides how hard zero-shot extrapolation remains. Absolute Pearson Δ reaches 0.76 ± 0.01 on Tahoe unseen pert./cell and 0.74 ± 0.02 on Norman combinatorial CRISPRa (both genes seen), yet drops to 0.15 ± 0.01 on L1000 unseen cell line, 0.16 ± 0.02 on Virtual Cell Challenge (hESC) unseen gene knockdowns, and 0.16 ± 0.01 on Parse unseen cytokine perturbations. Meanwhile, 10% of continued pre-training comes from WikiCrow text summaries—leaving open how much zero-shot gene generalization derives from literature priors versus single-cell RNA-seq patterns, a question also raised in the HN critique.
Cell perturbation models data scaling: why breadth beats depth
Holding the CellGemma architecture and per-fraction compute fixed across 5%, 10%, 25%, and 100% training mixtures (6.9×10¹⁹ to 1.3×10²¹ FLOPs), perturbation and cell-line breadth drive far larger gains in cell perturbation models than deeper sampling of repeated conditions. Randomly subsampling down to just 5% of cells (keeping every distinct perturbation and cell line, only fewer observations of each) already yields 0.453 normalized recovery (0.395 Benchmark Score)—higher than every competing baseline trained on 100% of the data. Scaling data volume 20× to 100% adds only +0.036 overall, and the chemical modality curve is practically flat (0.477 at 5% vs 0.474 at 100%).

Breadth vs depth scaling across all 32 settings and four modalities: random 5% subsamples beat every 100%-data baseline, while removing distinct perturbations or cell lines consistently degrades held-out accuracy. Source: Google DeepMind & UPenn Technical Report, Figure 4 (p. 10).
Removing breadth reverses that efficiency. Cutting 95% of unique perturbations drops 5% normalized recovery to 0.416 (below Rhaister); in genetic perturbations, the 5% perturbation subsample (0.441) falls below the mean-shift reference (0.457), whereas the 5% random subsample (0.519) stays well above it. Across the 18 settings where cell lines could be withheld, cell-line subsampling trailed random subsampling at every data fraction (0.407 / 0.418 / 0.424 vs 0.435 / 0.441 / 0.443), and on clinical TISCH2 tumor cohorts the gap widened from 0.027 at 5% to 0.045 at 25%. Breadth-restricted runs achieved lower training loss at equal compute yet generalized worse because narrower distributions are easier to memorize.
That training efficiency contrasts sharply with inference cost. In Table A.3 (p. 53, evaluated at 1,000 generated gene slots), CellGemma uses 9.3×10¹² FLOPs per cell—roughly 6× cheaper than C2S-Scale 27B (5.5×10¹³) and on par with Tx1-3B (1.0×10¹³), yet 5 to 8 orders of magnitude heavier than GEARS (6.1×10⁸), MLP (8.2×10⁷), TxPert (9.8×10⁶), and Rhaister (3.3×10⁴). In an independent hosted run published December 2, 2026 by Corollary Labs, a single K562 MYC knockdown took 89 seconds (producing 291 upregulated and 221 downregulated genes) and a drug run took roughly 9 minutes—manageable for targeted hypothesis ranking on a workstation GPU, yet still a throughput wall for sweeping tens of thousands of compounds across dozens of cell states without multi-GPU batching.
CellGemma CAR T thyroid cancer validation: what worked and what failed
In prospective wet-lab validation across three GPNMB-low or -negative thyroid carcinoma cell lines (B-CPAP, IHH-4, and TPC-1), 3 of 5 CellGemma-prioritized drugs increased surface GPNMB in B-CPAP, only NVP-BHG712 enhanced GPNMB CAR T killing in both B-CPAP and IHH-4, and TPC-1 showed little killing benefit despite higher surface GPNMB. Google DeepMind and UPenn’s Baker and June labs screened 19,880 single-gene knockdowns and 15,000 small-molecule compounds (10 stochastic repeats each, over 1 million predicted profiles), ranked hits by target–drug concordance, removed cytotoxic compounds and essential genes via DepMap PRISM/GDSC and CRISPR scores, and tested five drugs from the top-10 list in flow cytometry and 72-hour human CAR T co-cultures (two T-cell donors, matched untransduced controls).
| Compound (rank & target) | Tested dose (CAR T assay) | Surface GPNMB induction (48 h) | Enhanced GPNMB CAR T killing (72 h) | Cell-line scope & caveat |
|---|---|---|---|---|
NVP-BHG712 (#1, EPHA2) | 2.5 μM (0.31–5 μM dose curve) | Increased in B-CPAP, IHH-4, TPC-1 | Yes in B-CPAP & IHH-4; limited in TPC-1 | Multi-kinase profile; EPHA2 vs off-target contribution unresolved |
Marimastat (#7, MMP2) | 20 μM (20–50 μM dose curve) | Increased in B-CPAP only | Yes in B-CPAP only | May reduce GPNMB ectodomain shedding via ADAM10 rather than pure transcription |
DMH-1 (#8, BMPR1B / BMP) | 10 μM (1–20 μM dose curve) | Increased in B-CPAP only | Yes in B-CPAP only | Minimal effect in IHH-4 and TPC-1 |
Tesaglitazar (#2, PPARA) | Flow cytometry screen | No discernible effect | Not advanced to killing gain | Null result across all three thyroid lines under tested conditions |
TGX-221 (#3, PIK3CB) | Flow cytometry screen | No discernible effect | Not advanced to killing gain | Null result across all three thyroid lines under tested conditions |
Source: Google DeepMind & UPenn Technical Report, Section 3 & Figures 5–6 (pp. 11–16). All assays are in vitro cell-line proofs of concept; no in vivo animal or clinical patient testing was performed.

Prospective wet-lab CAR T co-culture results across three thyroid carcinoma lines: NVP-BHG712 clears B-CPAP and sensitizes previously unresponsive IHH-4, while TPC-1 persists near 100% tumor area despite increased surface GPNMB. Source: Google DeepMind & UPenn Technical Report, Figure 6 (p. 14).
The wet-lab outcome is encouraging as experimental triage—3 of 5 candidates induced surface GPNMB in B-CPAP and NVP-BHG712 unlocked strong CAR T cytolysis in IHH-4—yet Figure 6’s failure cases bound any clinical reading. Two of the top three concordance picks (tesaglitazar #2 and TGX-221 #3) produced no discernible surface GPNMB shift. In TPC-1, cells resisted CAR T killing even after NVP-BHG712 elevated surface GPNMB, showing that antigen induction alone does not guarantee cytolysis. The authors also flag an unresolved safety risk in Section 4: because tumor-associated antigens such as GPNMB are expressed in healthy tissues, raising antigen density systemically risks on-target, off-tumor toxicity (analogous to pulmonary toxicity seen with active mesothelin CAR T cells). As computational biologist Alfonso Valencia summarized on December 4, CellGemma prioritizes bench experiments rather than replacing them—echoing the gap between automated scores and noisy lab biology seen in BioBasicsBench.
How to run CellGemma E4B locally: hardware, prompts, and ExpressionDecoder limits
Running google/cellgemma-e4b locally takes 15.5 GB of disk space (three bfloat16 safetensors shards totaling 15,461,140,028 bytes on Hugging Face, plus controls_sample.json at 65.2 MB and kg_sentences.json at 30.8 MB), a single 24 GB workstation GPU (or unified-memory Apple Silicon) for unquantized bfloat16 inference with transformers, torch, accelerate, and safetensors, and strict adherence to four formatting constraints that differ from conversational LLM prompting:
- Exact prompt template and stochastic sampling: Prompts must use Gemma 4 turn tokens (
<bos><|turn>user\n{prompt}<turn|>\n<|turn>model\n) tokenized withadd_special_tokens=False, exact section order (preamble→ perturbation metadata →Source:top-1,000 ranked uppercase HGNC genes →Mean Global prediction:top-1,000 ranked genes →Target:), no system prompt, and no<|think|>tag. DeepMind evaluates withdo_sample=True,temperature=0.7, andmax_new_tokens=8192—so outputs vary across seeds and production screens should aggregate multiple repeats (DeepMind ran 10 repeats per condition in the thyroid screen). - Mandatory knowledge-graph strings for genes and cytokines: Do not pass bare gene symbols for CRISPR or cytokine prompts. Look up the gene’s pre-built STRING interactome sentence in
kg_sentences.json(e.g.,Gene knockdown: {kg["MYC"]}), and format cytokines as the gene symbol plus its KG sentence (IFNGfor IFN-γ). Small molecules requireDrug name:, canonicalDrug SMILES:, andConcentration:with units (e.g.,0.5 uM). - Dataset-locked
ExpressionDecoders: The Hugging Face repository ships 13 pretrained MLP decoders underdecoders/: four small-molecule screens (tahoe,l1000,emeraldbay,sciplex), six CRISPR screens (hepg2,jurkat,k562,rpe1,vcc,norman), and three cytokine/clinical assays (parse,dong,tisch). Each directory containsconfig.json,model.safetensors, andmean_delta_global.json. The model card explicitly warns that decoders do not transfer across assays with different normalization or sequencing technologies (such as bulk L1000 vs single-cell Tahoe). For a new proprietary assay, either stop at Stage 1’s ranked+GENE/-GENElist for pathway enrichment, or pseudobulk, library-size normalize,log1p-transform, and retrain a lightweight 3-layerExpressionDecoderon matched training splits. - Scope and clinical boundaries: The extended vocabulary covers human protein-coding genes only (non-coding RNAs and non-human genes fall back to base subword tokens), training data skew heavily toward cancer cell lines and PBMCs, and the model card strictly prohibits clinical diagnosis or medical decision-making.
For computational biologists deciding whether to adopt the CellGemma model today: use it as a local, Apache 2.0 hypothesis ranker when you need zero-shot generalization across unseen drugs, MoAs, CRISPR targets, or combinatorial knockdowns on a 24 GB GPU—especially when top-DEG magnitude and direction matter more than genome-wide ROC-AUC. If your workload is pure interpolation over already-seen perturbations inside L1000 or Parse PBMC, linear Rhaister remains dramatically faster and marginally stronger on two splits; and for broader context on how December 2026 open models balance compute efficiency against domain fidelity, compare MiniMax M4 benchmarks and Gemini 4 models compared.
References
- Eric Wang, Parsa Mahmoudieh, Wei Zhou, Daniel J. Baker, Shekoofeh Azizi et al., Predicting Transcriptional Responses to Diverse Perturbations with CellGemma (Technical Report, 92 pp.), Google DeepMind & University of Pennsylvania, December 1, 2026.
- Google DeepMind, CellGemma Model Card & Inference Documentation, Gemma Docs, December 1, 2026.
- Google DeepMind, google/cellgemma-e4b on Hugging Face (Apache 2.0 weights,
kg_sentences.json, and 13ExpressionDecodercheckpoints, checked December 5, 2026). - Corollary Labs, CellGemma: Results, Limits and How to Run It (independent K562
MYCknockdown timing and benchmark summary, December 2, 2026). - Hacker News Discussion, CellGemma – Model built to help accelerate discovery of new cancer therapies (580 points, 118 comments, December 1–2, 2026).