Research
Technical report · 30 November 2026 · v1.0.0 · 14 min read

BioCell: predicting how a human cell responds when a gene is switched off or on

Technical report for BioCell, a 16.3M-parameter virtual cell model that predicts how a human cell's genes respond when one or two genes are switched off or on: data, design, results on held-out genes in five cell types, the two-gene test, and where it falls short.

Download PDFSee the model page →

Udgam Labs research report, 30 November 2026. Model version: v2.1b.

1. Summary

BioCell is a small model (16.31M parameters per copy, three copies averaged) that predicts how the activity of 3,000 genes in a human cell changes when one gene is switched off, or one or two genes are switched on. On held-out test genes, scored with Arc Institute's Virtual Cell Challenge evaluator (cell-eval 0.8.2, vcc profile), it is ahead of a nearest-neighbour baseline at telling one switched gene from another in the three large cell types it trained on: 0.738 against 0.645 in K562 (311 test genes; difference +0.093, 95% interval +0.071 to +0.115), with similar gaps in RPE1 and Jurkat. On a liver cell line it never trained on (HepG2, 327 test genes) the same score is 0.609 against 0.538 (+0.071, interval +0.049 to +0.094). The main limit: it reaches only 24% to 49% of what repeating the lab experiment scores, and on the liver line its error in the size of the change is larger than every simple baseline's. BioCell is a research tool, not medical advice.

2. The task

A CRISPRi screen switches one gene off in each cell of a large pool (CRISPRi is a gene-silencing form of CRISPR); a CRISPRa screen switches a gene on. Each cell is then read by single-cell RNA sequencing, which counts the messages from every gene: a measure of how active each gene is. Comparing switched cells with unswitched control cells shows what the gene does to the rest of the cell.

BioCell predicts that result without the experiment: given control cells and the gene to switch, it outputs predicted cells, from which we read which genes change and by how much.

Two tests matter. A model can memorise the genes it trained on, so we score only genes held out of training. It can also memorise a cell type, so we hold one cell type out completely.

3. Data

Counts are from results/phase2_1/manifest.json (cells kept after dropping switched genes with fewer than 25 cells; Norman's single and pair counts from results/norman_phase0_check.json). Licences are as audited in LICENCE_AUDIT.md, which is not legal advice.

SourceCell typeCellsSwitched genesRoleLicence as audited
Replogle et al. 2022K562, leukaemia309,5172,003train, testCC BY 4.0
Replogle et al. 2022RPE1, retina243,6392,122train, testCC BY 4.0
Nadig et al. 2025Jurkat, T cell259,9522,201train, testpublic NCBI GEO data (GSE264667); no licence stated by the submitters
Nadig et al. 2025HepG2, liver138,9642,010test onlysame as Jurkat
Arc Institute, Virtual Cell Challenge 2025H1, stem cell221,273150train, testCC0 1.0
Norman et al. 2019, through scPerturbK562, genes switched on111,445236 (105 single, 131 pairs)train, two-gene testCC BY 4.0

Each cell's counts are scaled to 10,000 and log-transformed (src/phase2_prep.py). Of the 6,210 gene names present in all five cell lines (phase2_1.log), we kept the 3,000 whose activity varies most, measured only on control cells and training-gene cells of K562, RPE1, Jurkat and H1 (up to 30,000 sampled cells per line). No HepG2 cell entered that ranking, though a gene had to be in HepG2's gene list to be eligible.

4. Splits and leakage controls

Held-out genes. Each switched gene is assigned to train, validation or test by a hash of its name (15% test, 15% validation), so it falls in the same split in every cell line. Test counts (same manifest): K562 311, RPE1 340, Jurkat 351, H1 22, HepG2 327.

Held-out cell type. No HepG2 cell is used in training. HepG2 is also removed from the DepMap input (how much each gene matters to the survival of many cancer cell lines): 1,175 of 1,178 lines were kept, with K-562, Jurkat and Hep G2 dropped (priors/depmap_24q4.json).

Pre-2021 Gene Ontology. Gene Ontology (a curated catalogue of gene functions) could have absorbed findings from these very experiments, so we use only annotations dated before 1 December 2021 and drop high-throughput evidence codes (src/build_priors.py). The whole gene-knowledge table is centred and scaled on training genes only.

Shuffled-knowledge check. With the table's rows shuffled so each gene gets another gene's knowledge, one copy of the model falls to chance on K562: PDS 0.505, 2.5% of ceiling (phase2_1_test_scorecard.json).

Known gaps. An internal re-check of v2.0 (RECHECK_RESEARCH.md) found that every Norman single gene goes to training whatever its hash, so two test genes (STIL in K562 and RPE1, PTPN1 in RPE1) were trained on as switched-on singles. It also found that about 15% of K562 and RPE1 test genes were test genes in our earlier project, on which the knowledge recipe was chosen. The splits are unchanged here, and the test genes have now been scored three times (v2.0, one ablation, v2.1b), so v2.1b is not a first look.

5. Model

Read from src/models.py and src/phase2_1_main.py.

  • Inputs. A set of control cells (32 per set in training); the cell line's average and spread per gene, as a summary of cell type; a knowledge vector for each switched gene; an on/off flag.
  • Gene-knowledge table. 771 numbers per gene for 20,836 genes: 256 from STRING v12.0 (which proteins interact), 256 from DepMap 24Q4, 256 from pre-2021 Gene Ontology, and 3 flags marking which sources cover the gene. It holds no text embedding.
  • On/off input. A learned two-way switch: off for the CRISPRi data, on for Norman.
  • Architecture. A transformer (a network in which each cell in the set attends to the others) with 4 layers, width 384 and 6 attention heads, steered at every layer by the gene and cell-type signals. A symmetric block handles two genes, so their order does not matter. The output is the control cells plus a predicted change, clipped at zero.
  • Training objective. Match the real switched cells' distribution (energy distance), per-gene average and variation, and direction of change.
  • Unseen cell types. The cell-type signal is scaled automatically by how closely the new line's controls resemble a training line: for HepG2, similarity 0.936 and scale 0.90.
  • Size. 16.31M parameters per copy. Three copies (seeds 0, 1, 2) are trained and their predicted cells averaged.

6. Baselines and the comparison method

  • Mean. Control cells shifted by the average change over all training genes.
  • KG-kNN. Shifted by a weighted average of the 15 training genes nearest in the gene-knowledge table.
  • ResMLP. A small network from knowledge vector and cell-type average to the average change, three copies averaged.
  • Scouter, as run by us. Scouter is a published method (Zhu and Li, Nature Computational Science, 2026). We ran its official code (commit fe2a73b) with its default model and training settings (40 epochs, batch 256, patience 5), one model each for K562 and RPE1. Two things differ from Scouter as published: it was given our gene-knowledge table in place of its own language-model gene embeddings, and it was early-stopped on our validation genes, in our 3,000-gene space. These are not the scores in Scouter's paper. The run also missed our own training-fit bar (0.826 on one K562 gene, 0.864 on one RPE1 gene, against 0.90), so it may be under-trained. It was scored in the v2.0 run only.

All baselines use the same knowledge table, test genes and control cells as BioCell. For HepG2, the simple baselines draw on the four training lines.

7. How it is scored

For each test gene the model turns 100 held-aside control cells into predicted cells, which are compared with up to 100 real cells for that gene and up to 2,000 reference controls. The evaluator reports:

  • DES: how well the predicted list of changed genes overlaps the real one (higher is better).
  • PDS: how well the prediction for one switched gene is told apart from the others (0.5 is chance).
  • MAE: average error in the size of the change (lower is better).

Ceiling. The evaluator's ceiling mode scores real cells against real cells: roughly what repeating the experiment would score. "% of ceiling" is the result file's pct_ceiling.avg_pct: the average of DES as a share of the ceiling's DES, and PDS above 0.5 as a share of the ceiling's PDS above 0.5.

Intervals. Differences are paired by gene and resampled 2,000 times; we report the 2.5th to 97.5th percentiles.

8. Results

All single-gene scores: cell-eval 0.8.2, vcc profile, held-out test genes (with the two exceptions in section 4), three-copy ensemble.

Table 1. Scores (DES / PDS / MAE) and % of ceiling. Source: results/phase2_1/phase2_1_test_scorecard.json.

Cell type (test genes)BioCell%KG-kNN%ResMLP%Mean%
K562 (311)0.1102 / 0.7381 / 0.057339.70.0900 / 0.6451 / 0.059826.60.0786 / 0.6253 / 0.059423.10.0462 / 0.5015 / 0.06365.1
RPE1 (340)0.2666 / 0.7312 / 0.071548.70.2345 / 0.6178 / 0.076333.70.2114 / 0.6230 / 0.076232.20.1743 / 0.5000 / 0.083115.7
Jurkat (351)0.1083 / 0.6980 / 0.067036.40.0818 / 0.6179 / 0.069723.70.0680 / 0.6033 / 0.069320.30.0432 / 0.5060 / 0.07225.8
H1 (22)0.1021 / 0.6880 / 0.039627.60.0697 / 0.6818 / 0.035724.70.0075 / 0.5496 / 0.03935.90.0096 / 0.5455 / 0.03985.6
HepG2, never trained on (327)0.0968 / 0.6090 / 0.083324.40.0916 / 0.5384 / 0.071415.00.0840 / 0.5465 / 0.070415.20.0484 / 0.5012 / 0.07295.5

Table 2. BioCell minus KG-kNN, paired, with 95% intervals. Same file. For MAE, negative is better.

Cell typeDESPDSMAE
K562+0.020 [+0.010, +0.031]+0.093 [+0.071, +0.115]-0.0025 [-0.0032, -0.0019]
RPE1+0.032 [+0.019, +0.046]+0.113 [+0.085, +0.141]-0.0048 [-0.0064, -0.0031]
Jurkat+0.027 [+0.018, +0.036]+0.080 [+0.060, +0.099]-0.0026 [-0.0035, -0.0017]
H1+0.032 [-0.001, +0.080]+0.006 [-0.037, +0.050]+0.0039 [+0.0027, +0.0050]
HepG2+0.005 [-0.001, +0.011]+0.071 [+0.049, +0.094]+0.0119 [+0.0108, +0.0130]

BioCell is ahead of KG-kNN on all three measures in K562, RPE1 and Jurkat; level on DES and PDS and worse on MAE in H1; ahead on PDS only in HepG2. Against ResMLP, the PDS differences are clear of zero in all five, from +0.063 [+0.041, +0.083] (HepG2) to +0.138 [+0.039, +0.248] (H1).

Scouter, side by side. Scouter and v2.0 are from results/phase2/phase2_test_scorecard.json; v2.1b from the v2.1 file. Same test genes.

Scouter, as run by usv2.0BioCell (v2.1b)
K562 (311)0.1122 / 0.6788 / 0.05700.1138 / 0.7481 / 0.05750.1102 / 0.7381 / 0.0573
RPE1 (340)0.2687 / 0.6913 / 0.07720.2697 / 0.7512 / 0.07150.2666 / 0.7312 / 0.0715

There is no paired interval for v2.1b against Scouter. For v2.0 there is: PDS +0.069 [+0.051, +0.089] in K562 and +0.060 [+0.040, +0.079] in RPE1; DES level in both (intervals cross zero); MAE level in K562 and lower in RPE1 (-0.0057 [-0.0071, -0.0042]).

Two genes at once. Norman 2019, 24 held-out pairs, genes switched on; each gene was seen singly in training. Scored by our own code, not cell-eval: squared error in the average change over 1,000 genes. BioCell's error is 0.004576 against 0.006397 for adding the two measured single effects, 28.5% lower (difference -0.00182, interval -0.00332 to -0.00027), ahead on 18 of 24 pairs. Correlation is level (0.8755 against 0.8728; interval crosses zero).

One copy against three. One copy is level with the ensemble on DES and PDS in K562, RPE1, Jurkat and H1 (intervals cross zero) and slightly worse on MAE everywhere. On HepG2 it is clearly weaker: PDS 0.581 against 0.609 (+0.028 [+0.017, +0.041]), 19.1% of ceiling against 24.4%.

v2.0 against v2.1b. % of ceiling, v2.0 then v2.1b: K562 41.3, 39.7; RPE1 51.2, 48.7; Jurkat 38.7, 36.4; H1 28.6, 27.6; HepG2 22.8, 24.4. Two-gene error: 0.004788, 0.004576. There is no paired interval between versions.

The familiarity score. The demo's "confidence" is familiarity: how close a gene's knowledge vector is to the nearest training gene. Its rank correlation with DES is above zero in every cell type (K562 0.441 [0.349, 0.526]; RPE1 0.481; Jurkat 0.426; H1 0.808 [0.603, 0.895] on 22 genes; HepG2 0.373). With PDS it is above zero only in K562, RPE1 and Jurkat, not in H1 (-0.021 [-0.572, +0.427]) or HepG2 (-0.042 [-0.146, +0.070]). The claim is narrow: it tracks how well the model finds the changed genes, in the cell types it trained on.

9. What did not work

  • Single-cell generators. Three earlier generator designs each failed a test written down before the run: they added almost nothing over shifting control cells by a predicted average (project log, 22 November).
  • The first version. A rival check found Scouter, even on a capped run, ahead of it on DES and MAE; it was not released.
  • A licence problem. An earlier line used a gene text embedding built on a third-party commercial model; the log records it as a licence blocker, and it was dropped. An open text embedding added nothing to the biology table in the one check on file (K562-to-RPE1 correlation 0.236 with text, 0.240 without; results/gate0_priors_scorecard.json).
  • A flow-based generator reached 37.24% of ceiling across K562 and RPE1 on validation genes, against 51.25% for the design we kept (results/phase1/phase1_shootout_scorecard.json).
  • The v2.1 ablation. A tighter cell-type bottleneck with a noisier training target lowered liver MAE (0.0780) and two-gene error (0.004112) but hurt the trained cell types: K562 27.7%, RPE1 43.2%, Jurkat 26.6%, H1 16.4% of ceiling, and K562 DES fell behind KG-kNN (-0.022 [-0.032, -0.012]) (phase2_1_ablation1_scorecard.json).
  • One training-fit check failed. The model should reproduce each line's five strongest training genes at 0.90 or above; Jurkat's MED27 reached 0.874.

10. Where it falls short

  • Far from the ceiling. 24% to 49% of what a repeat experiment scores, and the figure depends on which ceiling is used.
  • Liver line, size of change. MAE 0.0833 against 0.0704 to 0.0729 for the simple baselines; worse by 0.010 to 0.013, intervals clear of zero.
  • Stem cells. Only 22 test genes; level with KG-kNN on DES and PDS, worse on MAE.
  • Slightly behind v2.0 in every trained cell type.
  • Scouter. DES is level; the PDS lead has an interval only for v2.0, against a run that may be under-trained.
  • Bars set in the plan and not met. Ahead of Scouter on DES, and ahead of KG-kNN on DES in the liver line. Two rivals the plan named, GEARS and a linear model, were not run.
  • Repeated looks at the test genes, and two leaked genes (section 4).
  • Scope. 3,000 genes, not all of roughly 20,000. Gene switches only: no drugs or doses. Switching on was learned from one dataset in one cell type. One held-out cell type is a single test.
  • The demo. Its guided genes (PSMA3, MYC, GATA1, RPL5, KIF11) are training genes, so those cards show recall, not prediction of unseen genes.

11. Reproducing this

Released: three weight files as safetensors, an inference pack (the gene-knowledge table, the 3,000 gene names, each line's average and spread, and 200 control cells per line) and the code, at huggingface.co/udgamlabs/biocell. The result files this report reads are in results/ at github.com/udgamlabs/biocell, with the gene splits and the 3,000 gene names. The raw cell data is not redistributed; fetch it from the sources in section 3. Splits can be rebuilt from gene names with the salt in the manifest. Pinned versions: cell-eval 0.8.2, Scouter fe2a73b.

File names. This report cites files by their names in our lab repository. Their public copies in results/ at github.com/udgamlabs/biocell are: phase2_1_test_scorecard.json as v2.1b_test_scorecard.json, phase2_1_ablation1_scorecard.json as v2.1b_ablation_scorecard.json, results/phase2/phase2_test_scorecard.json as v2.0_test_scorecard_with_scouter.json, and results/phase2_1/manifest.json as manifest_splits_and_genes.json. models.py is in the repository as released. The other files named here (the training and data-preparation scripts, the run log, the Norman and Gate 0 checks, the licence audit and the re-check notes) are internal and not published.

12. Credits and licences

Weights and code: Apache-2.0. Inference pack and gene atlas: CC BY 4.0, as they hold data derived from the sources below.

  • Cell data: the six sources in section 3, with the licences listed there. Norman 2019 was taken through scPerturb (Peidli et al. 2024). Jurkat and HepG2 are public NCBI GEO data (GSE264667) with no licence stated by the submitters.
  • Gene knowledge, all CC BY 4.0: STRING v12.0; UniProt (gene descriptions, through STRING); DepMap Public 24Q4, Broad Institute; Gene Ontology Consortium, release 2026-05-21.
  • Scoring: cell-eval 0.8.2, Arc Institute. Comparison method: Scouter, Zhu and Li 2026.

These sources do not endorse this model.

13. Not verified

  • The evaluator was not re-run; its stored outputs were read. Its internal definitions of DES, PDS and the ceiling were not read from source.
  • Scouter's patience of 5 and "all other settings default": our code shows only 40 epochs, batch 256 and the pinned commit. The paper was not opened.
  • The re-check's overlap and leak counts were not recomputed; it covered v2.0 on K562 and RPE1 only.
  • Whether RPE1 or H1 appear in DepMap under another name.
  • Cell counts before filtering; that Norman is CRISPRa in K562 (from project notes).
  • Licences are as audited, not legal advice; the audit did not reach the GEO page.
  • The first three items of section 9 come from the project log, not result files.