Projects07 of 18
DeltaAudit
What the metric hides: predicting unseen gene knockdowns
- Data
- 1,070 CRISPRi knockdowns, 162,751 cells
- Release
- v1.1.0, December 2026
- Archive
- Zenodo DOI
Show the numbers
| Row | usual score (raw_r) [95% interval] | specific score (pspec_r) [95% interval] |
|---|---|---|
| No change | 0.000 [0.000, 0.000] | 0.055 [0.024, 0.085] |
| Average effect | 0.401 [0.384, 0.419] | 0.000 [0.000, 0.000] |
| Ridge-linear | 0.443 [0.422, 0.464] | 0.191 [0.162, 0.221] |
| Ridge-linear + GO | 0.505 [0.482, 0.528] | 0.423 [0.395, 0.452] |
| GO-neighbour average | 0.554 [0.530, 0.579] | 0.421 [0.392, 0.451] |
| Network, no graph | 0.411 [0.389, 0.433] | 0.188 [0.161, 0.215] |
| Network + GO | 0.527 [0.500, 0.552] | 0.406 [0.376, 0.436] |
| Network + shuffled GO | 0.406 [0.387, 0.425] | 0.094 [0.073, 0.116] |
| Network + rewired GO | 0.421 [0.400, 0.442] | 0.117 [0.091, 0.143] |
The question
Knock down one essential gene and a cell changes. Knock down another and it often changes in a similar direction. A model that learns only this shared shift can look accurate on every new gene without knowing which gene was hit. How much of a model's score is about the gene, and how much is the average?
That the usual metrics reward the average, and that simple baselines rival deep models, is already known (Ahlmann-Eltze, Huber and Anders 2025; Systema, Viñas Torné et al. 2025). I recomputed both from scratch, then asked a further question: if a model is given a graph of related genes, is it the biology in the graph that helps?
How I tested it
Held-out genes
Every knockdown is tested exactly once, in 5 folds whose training and test sets share no target gene. Leakage checks run before every fit.
Rules fixed first
Hypotheses, metrics, tests and decision rules were committed and tagged in git before any model was scored.
Matched networks
The same small network runs with no graph, with a Gene Ontology (GO) graph, and with that graph after shuffling which gene is which. Shuffling keeps the shape and removes the meaning.
Honest units
Tests compare models on held-out knockdowns, with a paired bootstrap (10,000 resamples) and Holm correction. Cells and genes are never the sample size.
The usual score rewards knowing only the average
The "average effect" baseline knows nothing about the gene, and it still correlates with the truth at 0.40. Its score on a knockdown is almost exactly that knockdown's similarity to the average (Spearman ρ = 0.998). Once the average is subtracted, its score is zero by definition.
I expected the average to come within 0.05 of the best learned model on the usual score. It did not. The best learned model beat it by 0.125 [0.105, 0.145], so that hypothesis was not supported.
The graph helps because of its biology
Without a graph, the network is indistinguishable from ridge regression. With the GO graph it improves clearly. With the shuffled graph the gain disappears.
| Registered comparison | Score | Main set: 406 knockdowns | All 1,070 knockdowns |
|---|---|---|---|
| Best learned model vs average effect | usual | +0.125 [+0.105, +0.145] p = 0.0006 |
+0.150 [+0.139, +0.161] p = 0.0006 |
| Ridge-linear vs average effect * | specific | +0.191 [+0.162, +0.221] p = 0.0006 |
+0.073 [+0.060, +0.085] p = 0.0006 |
| Network, no graph vs ridge-linear * | specific | −0.003 [−0.026, +0.019] p = 0.79 |
+0.030 [+0.017, +0.043] p = 0.0006 |
| Network with GO vs no graph | specific | +0.218 [+0.189, +0.246] p = 0.0006 |
+0.332 [+0.311, +0.354] p = 0.0006 |
| Network with GO vs shuffled GO | specific | +0.312 [+0.283, +0.340] p = 0.0006 |
+0.389 [+0.369, +0.409] p = 0.0006 |
| Ridge-linear with GO vs without * | specific | +0.232 [+0.204, +0.259] p = 0.0006 |
+0.377 [+0.358, +0.395] p = 0.0006 |
Each cell is the mean difference with its 95% interval and Holm-corrected p. The main set was fixed in advance: the knockdowns whose target gene is in the data's gene panel, so every model can predict all of them. The full set was registered as a secondary analysis. Rows marked * compare with ridge regression, which cannot represent the other 664 knockdowns and returns the average effect there. Its disadvantage in those rows is partly built in. The graph rows without a mark are a fair test on both sets, and the graph's benefit is larger on all knockdowns.
Show the numbers
| Comparison | Difference [95% interval] | bootstrap over groups of related genes | Result |
|---|---|---|---|
| Best learned model vs average effect (usual score) | +0.125 [+0.105, +0.145] | [+0.079, +0.166] | p = 0.0006 |
| Ridge-linear vs average effect (specific score) | +0.191 [+0.162, +0.221] | [+0.124, +0.278] | p = 0.0006 |
| Network, no graph vs ridge-linear (specific score) | −0.003 [−0.026, +0.019] | [−0.031, +0.027] | p = 0.79 |
| Network with GO vs no graph (specific score) | +0.218 [+0.189, +0.246] | [+0.163, +0.274] | p = 0.0006 |
| Network with GO vs shuffled GO (specific score) | +0.312 [+0.283, +0.340] | [+0.253, +0.371] | p = 0.0006 |
| Ridge-linear with GO vs without (specific score) | +0.232 [+0.204, +0.259] | [+0.181, +0.283] | p = 0.0006 |
The network itself is not essential
Averaging the effects of a gene's GO neighbours has a specific score of 0.421, against 0.406 for the graph network. I had not registered that comparison, and the registered epoch cap had ended 19 of 25 of the network's main runs early. So I committed a plan for an exploratory rerun with a much higher cap, then ran it. No run reached the new cap, the network's score moved by +0.002, and it was still not distinguishable from the plain average on these knockdowns. On all 1,070 knockdowns it was slightly worse. The information is in the map.
| L0Integrity | L1Fit | L2Beats no change | L3Beats the average | L4Specific signal | L5Beats ridge-linear | L6Graph meaning matters | L7Replicates | |
|---|---|---|---|---|---|---|---|---|
| No change | cleared | cleared | does not apply | cleared | cleared | not cleared | does not apply | cleared |
| Average effect | cleared | cleared | cleared | does not apply | not cleared | not cleared | does not apply | cleared |
| Ridge-linear | cleared | cleared | cleared | cleared | cleared | does not apply | does not apply | not cleared |
| Ridge-linear + GO | cleared | cleared | cleared | cleared | cleared | cleared | does not apply | cleared |
| GO-neighbour average | cleared | cleared | cleared | cleared | cleared | cleared | does not apply | cleared |
| Network, no graph | cleared | cleared | cleared | cleared | cleared | not cleared | does not apply | not cleared |
| Network + GO | cleared | cleared | cleared | cleared | cleared | cleared | cleared | not cleared |
| Network + shuffled GO | cleared | cleared | not cleared | cleared | cleared | not cleared | does not apply | cleared |
| Network + rewired GO | cleared | cleared | not cleared | cleared | cleared | not cleared | does not apply | cleared |
All knockdowns
The same scores over every knockdown, including the 664 whose target gene is outside the gene panel. The same three models lead as on the main set: the GO-neighbour average, ridge regression with GO, and the network with GO. Ridge regression without GO scores no better here than predicting no change (0.073 against 0.079), because it returns the average for most targets.
Show the numbers
| Row | usual score (raw_r) [95% interval] | specific score (pspec_r) [95% interval] |
|---|---|---|
| No change | 0.000 [0.000, 0.000] | 0.079 [0.061, 0.097] |
| Average effect | 0.384 [0.373, 0.394] | 0.000 [0.000, 0.000] |
| Ridge-linear | 0.400 [0.388, 0.411] | 0.073 [0.060, 0.085] |
| Ridge-linear + GO | 0.508 [0.494, 0.523] | 0.449 [0.431, 0.467] |
| GO-neighbour average | 0.562 [0.547, 0.578] | 0.458 [0.440, 0.476] |
| Network, no graph | 0.387 [0.376, 0.399] | 0.103 [0.088, 0.117] |
| Network + GO | 0.533 [0.517, 0.549] | 0.435 [0.416, 0.452] |
| Network + shuffled GO | 0.380 [0.369, 0.391] | 0.046 [0.035, 0.057] |
| Network + rewired GO | 0.384 [0.372, 0.395] | 0.041 [0.024, 0.057] |
What did not hold up
On a smaller dataset (Norman et al. 2019, 105 single-gene activations) most directions repeat, but the graph network falls below the average-effect baseline on the usual score, and "nothing changes" scores higher than the network on the specific one. When groups of related genes are resampled instead of single genes, none of the six comparisons stays significant there.
Limitations
- Predictions are averages over cells, not distributions.
- The gene panel was chosen upstream using all cells, including test cells. A partial check found no effect, but it could only be run inside that panel.
- GO similarity is not causal, and well-studied genes have richer annotations.
- I tested one small network with fixed settings. A better-tuned network might do more.
- One registered step happened out of order: the rule that chose the best learned model used validation data only, but I computed it after seeing test scores. The write-up lists this with the other deviations.
Reproduce it
git clone https://github.com/asifuddin01/DeltaAudit.git
cd DeltaAudit
make env && make all && make test
In a fresh clone on the same machine, every regenerated result file came out byte-identical. The numbers on this page were taken from those files.
Cite
Uddin, Md Asif. DeltaAudit: What the metric hides: predicting unseen gene knockdowns. Version v1.1.0. Zenodo, 2026. https://doi.org/10.5281/zenodo.24759526
@software{uddin_deltaaudit_2026,
author = {Uddin, Md Asif},
title = {DeltaAudit: What the metric hides: predicting unseen gene knockdowns},
year = {2026},
version = {v1.1.0},
publisher = {Zenodo},
doi = {10.5281/zenodo.24759526}
}
References
- Ahlmann-Eltze C, Huber W, Anders S. Deep-learning-based gene perturbation effect prediction does not yet outperform simple linear baselines. Nat Methods 22, 1657–1661 (2025). doi
- Viñas Torné R, et al. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nat Biotechnol 44, 1050–1059 (online 2025). doi
- Replogle JM, et al. Mapping information-rich genotype–phenotype landscapes with genome-scale Perturb-seq. Cell 185, 2559–2575 (2022). doi
- Norman TM, et al. Exploring genetic interaction manifolds constructed from rich single-cell phenotypes. Science 365, 786–793 (2019). doi
The code is under the MIT licence; the data keep their own licences.