Md. Asif Uddin

    Projects07 of 18

    DeltaAudit

    What the metric hides: predicting unseen gene knockdowns

    A model can score well on a gene it has never seen by predicting what most knockdowns do. I built a pre-registered audit to separate that shared effect from what is specific to each gene, and to test whether a map of related genes helps because of its biology. Six registered comparisons, 1,070 held-out CRISPRi knockdowns, and the hypotheses tagged in git before any model was scored.

    Read the write-upSource code

    Data
    1,070 CRISPRi knockdowns, 162,751 cells
    Release
    v1.1.0, December 2026
    Code
    GitHub, MIT licence
    Archive
    Zenodo DOI

    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.

    Each dot is one held-out knockdown. The dots hug the dashed line: on every knockdown, the average-effect baseline's usual score is almost exactly that knockdown's similarity to the average change, and its specific score is zero. The ringed gene, IGBP1, was picked by a fixed rule: the best learned model has a high usual score there (0.67) and almost no specific score (0.001).

    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.

    The same comparisons, in the same order, with intervals from resampling single knockdowns (blue) and from resampling 177 groups of related genes (grey). The conclusions agree.
    Show the numbers
    ComparisonDifference [95% interval]bootstrap over groups of related genesResult
    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.

    Which levels of the validation ladder each model clears, on the 406 main knockdowns
    L0IntegrityL1FitL2Beats no changeL3Beats the averageL4Specific signalL5Beats ridge-linearL6Graph meaning mattersL7Replicates
    No changeclearedcleareddoes not applyclearedclearednot cleareddoes not applycleared
    Average effectclearedclearedcleareddoes not applynot clearednot cleareddoes not applycleared
    Ridge-linearclearedclearedclearedclearedcleareddoes not applydoes not applynot cleared
    Ridge-linear + GOclearedclearedclearedclearedclearedcleareddoes not applycleared
    GO-neighbour averageclearedclearedclearedclearedclearedcleareddoes not applycleared
    Network, no graphclearedclearedclearedclearedclearednot cleareddoes not applynot cleared
    Network + GOclearedclearedclearedclearedclearedclearedclearednot cleared
    Network + shuffled GOclearedclearednot clearedclearedclearednot cleareddoes not applycleared
    Network + rewired GOclearedclearednot clearedclearedclearednot cleareddoes not applycleared
    How far each model gets on a ladder of increasingly strict tests. Solid: cleared without a break from L0. Pale: cleared after a break. n/a: the test does not apply, such as a model against itself. The graph network climbs furthest, to L6; no model clears every level.

    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.

    Mean correlation over all 1,070 held-out knockdowns. Ridge-linear without GO falls back to the average effect for the 664 targets it cannot represent.
    Show the numbers
    Rowusual score (raw_r) [95% interval]specific score (pspec_r) [95% interval]
    No change0.000 [0.000, 0.000]0.079 [0.061, 0.097]
    Average effect0.384 [0.373, 0.394]0.000 [0.000, 0.000]
    Ridge-linear0.400 [0.388, 0.411]0.073 [0.060, 0.085]
    Ridge-linear + GO0.508 [0.494, 0.523]0.449 [0.431, 0.467]
    GO-neighbour average0.562 [0.547, 0.578]0.458 [0.440, 0.476]
    Network, no graph0.387 [0.376, 0.399]0.103 [0.088, 0.117]
    Network + GO0.533 [0.517, 0.549]0.435 [0.416, 0.452]
    Network + shuffled GO0.380 [0.369, 0.391]0.046 [0.035, 0.057]
    Network + rewired GO0.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.