Biology Models

Google Open-Sources CellGemma: A Million Virtual Screens on One GPU, and a Drug That Makes CAR-T Work

December 2, 20262 views阅读中文原文
Google Open-Sources CellGemma: A Million Virtual Screens on One GPU, and a Drug That Makes CAR-T Work

On December 1, Google DeepMind published CellGemma on Hugging Face under Apache 2.0, with the full weights.

The download is 15.6 GB and runs on a single modern workstation GPU. Google's own demo: more than a million virtual screens, and the drug it picked made CAR-T clear thyroid cancer cells that CAR-T alone could not touch.

This article is compiled from multiple media reports. Numbers follow Google's launch blog and the Hugging Face model card.

TL;DR

  • What it is: an open model that predicts which genes go up and which go down after a cell is hit by a drug or a genetic edit.
  • Size: Gemma 4 E4B base, 8B parameters with embeddings, 4.5B effective, 42 layers, 16K context.
  • Training volume: more than 564 million cell states, ten perturbation datasets, 32 generalization splits.
  • Barrier to entry: 15.6 GB of weights, one local GPU, no cloud cluster, Apache 2.0 including commercial use.
  • Weak spot: it does not predict a full expression profile. It predicts the shift away from the average response, and it needs a dataset-specific decoder to turn that into numbers.

What it actually does

A drug rarely does one thing inside a cell. Hitting a single target pulls a chain of pathways, and the outcome depends on the cell type.

So researchers pick compounds by intuition, or by testing only the genes they already understand. That process is expensive enough that most combinations are never tried at all. And if you never try, how do you know which pathway was the one that mattered?

CellGemma turns a cell into a sentence: its genes ordered by expression level.

Standard language models chop unfamiliar gene names into subword pieces. CellGemma's vocabulary gives roughly 20,000 whole-gene tokens, so one gene is one word and its identity never gets shredded.

Then it predicts only the residual. It first computes the response shared across all perturbations, then asks the model which genes move away from that average. The compute goes where the difference actually is.

Why it is not just another cell model

The comparison point is Cell2Sentence Scale 27B, the open Gemma model Google shipped with Yale last year. CellGemma is one-sixth its size, and Google says it captures nearly 50% more true biological signal.

Design choiceWhat they didWhat it buys
Whole-gene vocabularyNearly 20,000 genes, one token eachGene identity stays intact, sequences get shorter
Predict the residual onlySubtract the shared mean response firstNo compute wasted on thousands of unchanged genes
One checkpoint, many decodersA single backbone plus small per-dataset MLPsSwitching assays swaps a decoder, not the model

That third row is the most practical part of the design, and also the easiest way to waste a night. More on that below.

The numbers: 32 splits, all above the mean baseline

The model card lists Pearson Δ across 32 generalization splits. A few rows, including the ones it wins by the least:

DatasetSplitCellGemmaMean-shift baseline
TahoeUnseen perturbation + cell0.760.56
NormanBoth genes seen0.740.53
TISCHCross-study0.280.05
L1000Unseen cell line0.150.13
VCCUnseen perturbation0.160.11
ParseUnseen perturbation0.160.06

The last three rows are where the information is. Cross-study and unseen-cell-line settings narrow to 0.15 versus 0.13, a gap of 0.02, with a low absolute score on both sides. Google's claim is that it beats the population average on all 32 evaluations. By how much is a separate question. Would you cut half your wet-lab budget on a model that leads the baseline by 0.02?

The lab result carries more weight. The target was GPNMB, an antigen CAR-T struggles with when tumor cells express too little of it.

The team ran a genome-wide screen of nearly 20,000 genes plus a chemical screen of 15,000 compounds, over a million simulations. Drugs the model prioritized raised surface GPNMB on thyroid cancer cells, and pretreating with them let GPNMB CAR-T wipe out the tumor. CAR-T alone did not.

That is a laboratory proof of concept, not a clinical result. The model card is explicit: research use only, not for diagnosis or treatment decisions.

How to use it

Four steps, four dependencies. The runnable code lives in the model card; here are the constraints that matter.

pip install -U transformers torch accelerate safetensors huggingface_hub

Step one, load google/cellgemma-e4b plus the decoder that matches your assay. There are ten: tahoe, l1000, emeraldbay and sciplex for small molecules; nadig, replogle, vcc and norman for CRISPR work; parse, dong and tisch for cytokines and clinical cohorts.

Step two, build the prompt in the fixed template. The order is preamble, perturbation description, Source:, Mean Global prediction:, Target:. The preamble must be copied word for word. Do not rewrite it.

Step three, let the model emit an ordered +GENE / -GENE list. Order carries meaning: earlier genes are predicted to shift further.

Step four, pass that list and the baseline expression into the decoder to reconstruct continuous expression and log fold change.

Three settings you should not touch: do_sample=True, temperature=0.7, max_new_tokens=8192. Google says these match the evaluation setup, and changing them costs accuracy.

Who it's for

  • Preclinical teams that want to rank tens of thousands of compounds before committing to wet-lab work.
  • Groups hunting combination targets, such as dual knockouts, where full experimental coverage is unaffordable.
  • Labs with single-cell data that need mechanism hypotheses, for instance whether a pathway is being activated indirectly.
  • Teachers and replicators. Apache 2.0 means students can run the whole inference chain on their own hardware.

Not a good fit

  • Anyone hoping for a clinical answer. The model card rules out diagnostic use, and every prediction needs lab validation.
  • Assays that do not match the training platforms. Bulk L1000 and single-cell data are different worlds, and decoders do not transfer.
  • Anyone who wants to chat with it about biology. CellGemma is non-conversational and has no thinking mode. Force a chat prompt and you get gene symbols back.
  • Zero-shot work on a new species. Training covered human and mouse, with mouse mapped through one-to-one orthologs.

Pitfalls

First, do not grab the wrong decoder. This is the mistake that quietly burns a whole night. Each decoder was trained on a specific assay platform and normalization scheme, and across platforms it simply fails. Google's own guidance: retrain a decoder on a small matched dataset for a new assay.

Second, do not edit the prompt template. The model never went through instruction tuning, so one misplaced field and the output drifts.

Third, do not read the 8,192-token output as the full list of differentially expressed genes. It is a residual list. The mean-shift baseline sits underneath it, and only the two layers together form a prediction.

Fourth, do not wave away a 0.15 versus 0.13 result. In unseen cell lines and cross-study settings the model is barely ahead of knowing nothing and using the average. Treating it as a decision tool there is worse than not using it.

Cost and time

Money is the easy part. The weights are Apache 2.0, so licensing costs nothing.

Time goes into download and inference. The 15.6 GB arrives as three safetensors shards, alongside a 65 MB control sample file and a 31 MB knowledge-graph sentence table. On an ordinary connection, budget a long meal.

Inference wants one modern workstation GPU. Google has not published per-cell latency, but with up to 8,192 generated tokens per cell the bottleneck is decoding, not VRAM. The million-simulation run was Google's own job; on a single machine expect hours to days. Is a week of GPU time cheaper than a batch of wet experiments? That depends on what your lab pays per person-hour.

Learning curve: someone comfortable with PyTorch and scanpy gets the example running in half a day. Without single-cell preprocessing experience, the sticking points are pseudobulking, library-size normalization and log1p.

Next step

First step: open the google/cellgemma-e4b model card and read the Usage and Limitations section before downloading anything. Confirm which decoder matches your assay platform.

Match it first, then pull the 15.6 GB. Not the other way around.

Sources

  • Google launch blog: https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma
  • Hugging Face model card: https://huggingface.co/google/cellgemma-e4b
  • ZDNET: https://www.zdnet.com/innovation/google-cellgemma-cancer-research-advance-ai-public-benefit
  • Ifeng Tech: https://tech.ifeng.com/c/8yUwaO7r0lg
  • Sina Tech: https://k.sina.com.cn/article_5953190046_162d6789e06703yl52.html

Sources

Comments

0 published
Log inorsign up to leave a comment.

Loading comments...