Independent OOD evaluation on natural products: external baseline ribo/MT collapse guardrail, batch_size=8 speedup, and SMILES glycoside aliasing

#4
by Apparro - opened

Thank you for open-sourcing google/cellgemma-e4b under Apache 2.0. Sharing a concise, reproducible set of engineering and out-of-distribution (OOD) findings from 96 A100-40GB evaluation runs on unseen natural-product perturbations (Nigella sativa quinones and triterpenoids, absent from LINCS L1000 and Tahoe-100M):

  1. External baseline RPL*/RPS*/MT-* collapse guardrail (tahoe decoder):
    Native tahoe controls in controls_sample.json have ~8% RPL*/RPS*/MT-* genes in their Top-100 Source: list (sum(expm1) = 1543.0). Feeding bulk TPM (B-CPAP, 77% ribo/MT) or unfiltered 10x primary thyroid tumor scRNA-seq (GSE232237 PT10, 57% ribo/MT) frequently triggered autoregressive token-repetition collapse (+6/-8 valid genes out of 2,048 tokens; seed Jaccard 0.005–0.085), even for NVP-BHG712. Filtering RPL*/RPS*/MT-* prior to Tahoe scaling eliminated collapse across 48/48 runs (Jaccard 0.50–0.82). (Also logged as a small docs suggestion in google-gemma/docs#25.)

  2. Left-padded batched inference speedup (~7.4× on A100-40GB):
    Setting tokenizer.padding_side = "left" with batch_size = 8 (bfloat16, max_new_tokens = 2048) cut wall-clock latency from ~192 s/run to 25.9 s/run (48 runs in 20.7 min) with normal parsed outputs.

  3. OOD decoy-ranking & SMILES "glycoside aliasing" vs. real wet-lab RNA-seq:

    • Against real GSE186218 A549 hederagenin (10 µM), Hederagenin beat inert DMSO (r = +0.122 all / +0.241 WL-sig vs DMSO -0.012 / -0.081) but ranked #6/13 on WL-sig DEGs (#8/13 all predicted genes), behind unrelated decoys (NVP-BHG712, Menadione, 4-drug unrelated mean) and drug-free tahoe_mean_delta_global (r_full = +0.123 vs hederagenin +0.095) — highlighting the value of ranking against active decoys rather than DMSO alone.
    • On identical A549_tahoe_pb, glycosylated α-hederin mapped closely onto cardiac glycosides Digoxin (cos = +0.749) and Ouabain (+0.610) rather than its aglycone Hederagenin (+0.081) or Ursolic acid (+0.060). Direct comparison of real HeLa α-hederin RNA-seq (PRJNA1251828) against GSE230039 (C4-2B Digoxin 100 nM and Ursolic acid 10 µM) and LINCS L1000 shows the opposite in wet-lab biology (Ursolic acid 48h r_sig = +0.346, Hederagenin +0.205, LINCS Celastrol #4–5 vs Digoxin 24h +0.069 / 48h -0.119), suggesting SMILES disaccharide aliasing onto cardenolides.
    • A provisional bulk-TPM thyroid +GPNMB hit did not replicate (0/4) on cleaned primary human thyroid single-cell baselines (PT10/AT9).

Full offline-reproducible scripts, Colab notebooks, raw A100 JSON outputs, and the technical evaluation report (v1.1.0, Apache 2.0):

Apparro changed discussion status to closed

Sign up or log in to comment