MemeLabCDA v3 · Lab notes

Lab notes

Speeding up CellGemma simulation from 13 years to 12 hours across 192 cancers on a consumer workstation

How I sped up CellGemma from years to 12.4 hours on one machine to run 5.25M drug-cell screens across 192 cancer subtypes and 18 oncology axes.

Flat editorial print illustration of a grid of biological cells passing through a blue geometric sieve into a single small-molecule hexagon.

I just finished screening 11,964 clinical human-trial drugs across all 192 cancer subtypes in the Broad DepMap catalog (435 distinct human cancer cell lines, plus 3 healthy primary human organ baselines for Heart, Liver, and Kidney). That single overnight run completed 5,248,920 drug-cell simulations in 12.3 hours on one local workstation, then rescored the saved representations across 18 additional translational oncology dimensions (94.3 million cell-level scores, 41.3 million subtype-level scores) in 21.4 seconds, followed by 6.0 minutes of exact full-precision verification.

On the exact same machine, the unmodified reference workflow from Hugging Face (google/cellgemma-e4b) would have taken 13.0 years (official 4-seed two-stage pipeline) to 187 years (vanilla 8,192-token rollout), or 227 days even if you stripped out decoding and ran stock Hugging Face one forward pass at a time.

All curated datasets from this run are published openly under CC BY 4.0 at github.com/TheMemeticist/cellgemma-open-repurposing, and the complete implementation spec for reproducing the inference speedup is available in the fast CellGemma engineering recipe (GitHub docs/CELLGEMMA_FAST_RECIPE.md · raw Markdown). Just like the simulation work behind MemeLab, the reason to chase throughput is practical: speed determines whether an exhaustive biological screen is an overnight job or an experiment that never runs.

The first half of this post explains the speedup architecture in plain English and shows exact ranking parity against the unmodified Hugging Face model across 30 High, Mid, and Low drugs. The second half is the proof of work: what actually came out of screening every cancer subtype in DepMap against drugs that have already passed human safety trials.

Important medical and research disclaimer: Everything in this post, including every drug name, score, safety badge, and linked dataset, is strictly an unvalidated in silico computational hypothesis for academic research and educational purposes only. This is not medical advice, clinical guidance, diagnosis, or a recommendation to take, stop, or change any medication. Do not self-medicate or use any compound mentioned here off-label to prevent, treat, or cure cancer or any other disease, and never delay or replace standard-of-care oncology treatment based on computational rankings. Even FDA-approved generic drugs carry serious side effects, drug interactions, and contraindications, and a cell-line score does not establish human efficacy or safe oncology dosing. Always consult a licensed physician or qualified oncologist for medical decisions.


Part 1: Turning 13 to 187 years into one night's sleep

Why vanilla CellGemma is slow out of the box

google/cellgemma-e4b is a 42-layer Transformer extended with roughly 20,000 single-token human gene symbols. You feed it a baseline cell profile (the cell's top 1,000 expressed genes and a global mean-shift baseline) alongside a drug name, its canonical aromatic SMILES string, and a concentration.

Out of the box, the vanilla setup predicts a drug's transcriptional response by autoregressively generating up to 8,192 tokens of ranked +GENE and -GENE shifts across 4 random sampling seeds, then feeding those lists into a Stage-2 MLP decoder. Generating tokens one by one is heavily memory-bandwidth bound.

On my local workstation, rolling out 4 seeds per drug in the official 2-stage pipeline takes 78.8 seconds per drug (about 46 simulations per hour), while a full 8K rollout runs at roughly 3.2 simulations per hour. Even bypassing decoding to run one forward pass with unmodified stock Hugging Face at batch size 1 takes 3.74 seconds per drug (962 simulations per hour).

At 46 simulations per hour, screening 12,000 drugs on a single cell line takes 11 days. Screening 438 cell lines takes more than a decade.

Log-scale wall-clock comparison for 5,248,920 drug-cell evaluations on one workstation
Wall-clock time to run the exact same 5,248,920-simulation atlas on one local workstation across five execution tiers.

How long vanilla Hugging Face would take on my machine

Every baseline rate below was measured on the exact same workstation against unmodified google/cellgemma-e4b:

Execution tier (same model weights, same single workstation)Measured rateTime for 5,248,920 simsSpeedup vs vanilla 8K
Vanilla 8K autoregressive rollout (reference)3.2 sims/hr187 years (1,640,288 hr)1x
Official 4-seed 2-stage pipeline (768 tok + MLP)46 sims/hr13.0 years (114,107 hr)14x
Unmodified stock Hugging Face 1-step (B=1 exact)962 sims/hr227 days (7.5 months)302x
Lossless BF16 Final Judge (V2-Fast, 0.0-ULP)9.7K to 12.9K sims/hr17 to 23 days (used on finalists)4,030x
Solo-workstation Scout (B5-Align + Mixed FP4/FP8)0.86M to 1.37M sims/hr4 to 6 hours (solo Stage 1)430,000x
This actual overnight run (Scout + BF16 Judge + 18 dims)0.50M/hr sustained12.4 hours actual132,000x end-to-end
Cached archive rescoring (18 extra dimensions)4.41M scores/sec21.4 seconds (94.3M scores)9.3 billion x

Two practical details explain the gap between solo Scout speed (4 to 6 hours) and total overnight wall time (12.4 hours). Stage 1 ran continuously across all 438 cell lines with persistent disk checkpointing and saved the full 51 GB hidden-state archive as it went (about 10.5 hours). The remaining 1.8 hours went to running the strictly lossless full-precision BF16 Judge on every subtype's finalists, including 3-point dose curves and blind chemical-structure checks.

Six engineering changes behind the speedup

Rather than forcing one engine to be both ultra-fast and bit-exact, I split screening into a two-tier Scout + Judge architecture plus a zero-Transformer archive rescorer. Every mathematical detail, Triton kernel layout, and calibration step is documented in the reproducible engineering recipe.

End-to-end two-tier Scout, lossless BF16 Judge, and zero-Transformer LSE rescorer
Stage 1 screens all 11,964 drugs per cell into a reusable 51 GB hidden-state archive; Stage 2 re-scores every finalist on strictly unmodified BF16 weights; Stage 3 rescores new gene signatures in seconds.
  1. Read exact decision log-odds in one pass: CellGemma outputs a strict alternating +GENE / -GENE sequence over single-token human gene symbols. Instead of sampling thousands of tokens to count which genes appear early, I read the model's exact conditional log-probabilities at the + and - branches in a single forward pass against each cell's DMSO control. Tested against 60 authentic 4-seed official rollouts plus the Stage-2 decoder, this 1-step readout achieves 96.0% NDCG@5, right up against the official stochastic pipeline's own self-consistency noise ceiling (98.4%).
  2. Cache the cell once and pack all 11,964 drugs into a shared Radix-Trie: Each baseline cell prompt is 4,070 tokens long, while a drug suffix is only 50 to 140 tokens. Re-encoding those 4,070 cell tokens for every compound wastes over 97% of the compute. The Scout caches the cell's key-value tensors once per cell line and packs all 11,964 drug suffixes into depth-first Radix-Trie batches so shared text (Drug name:, Drug SMILES:) and shared chemical prefixes are computed once. Pre-packing all 239 trie batches and their sparse attention masks once at startup (1.5 seconds) lets all 438 cell lines reuse the exact same packed tree.
  3. Close the sliding-window shortcut (S1 anti-goodhart mask): Moving the drug to the end of the prompt created an unexpected leak. Thirty-five of the model's 42 layers use sliding-window attention (width 512). In the official Drug-First layout, the drug sits more than 4,000 tokens before the target readout, so sliding layers never attend directly to raw drug tokens. When the drug moved to the end, 38.6% of sliding-window attention mass at the target readout got hijacked by raw drug tokens. Masking drug keys out of sliding attention at the target tokens (S1) cut prediction error 4.15x with zero trained weights.
  4. Quantize only the bottom 23 layers and align Top-19 at zero runtime cost: Cellular gene residuals are 99% near-zero with extreme biological tails, so full-model quantization degrades rankings. I kept the cell prefix, attention math, all Top-19 layers (L23 through L41), and the gene output head in 100% BF16. Only the bottom 23 layers' heavy MLPs use 4-bit block quantization (RAREBAL-LDLQ) and bottom attention projections use 8-bit. I then trained a Rank-32 LoRA adapter on Top-19 against 300 exact BF16 teacher targets (32 seconds to train) and merged those deltas directly into the Top-19 BF16 weights (B5-Align), lifting unseen Top-10 capture to 10/10 (99.0% NDCG@10) at 0.00% extra inference FLOPs.
  5. Judge every finalist on unmodified BF16 (V2-Fast): After Stage 1 finishes, the Scout is unloaded and strictly unmodified BF16 weights take over in the official canonical Drug-First prompt order with exact B=1 unpadded DMSO baselines. Every subtype's finalists (Top-12 off-patent generics and Top-4 Phase 2 to 3 drugs across every cell line of that subtype), 3-dose ladders (0.05 / 0.5 / 5.0 uM), and blind Compound_X checks are scored at 99.54% exact pairwise order identity with unmodified Hugging Face.
  6. Exploit LSE cancellation for instant multi-dimension rescoring: Instead of saving 1.91 GB per cell of raw 19,720-gene probabilities, I save only the compact FP16 top hidden state (117 MB per cell) and two float32 mean-logit scalars (94 KB per cell). Because log-sum-exp normalization constants cancel out algebraically in mean-centered differential scores, testing any new gene signature requires multiplying only the K signature rows of the output head, never loading the 42-layer Transformer again. Scoring 18 brand-new dimensions across all 438 cell lines (94.3 million cell-level scores) took 21.4 seconds.

Proof that it ranks the same way: 30-item High / Mid / Low parity check

Speed only counts if the accelerated engine puts the same drugs at the top, middle, and bottom as unmodified Hugging Face. To test this directly on an unseen held-out cell line (MONO-MAC-6, full 11,975-drug clinical library), I pulled 30 stratified compounds (the High 10 ranked 1 to 10, the Mid 10 ranked 5,983 to 5,992 at the 50th percentile, and the Low 10 ranked 11,966 to 11,975 at the very bottom) and scored all 30 side by side on unmodified stock Hugging Face, the Lossless BF16 Judge (V2-Fast), and the Ultra-Fast Scout (B5-Align + Mixed FP4/FP8).

Side-by-side 30-drug parity scatter plots comparing Vanilla HF against the Lossless BF16 Judge and Ultra-Fast Scout across High 10, Mid 10, and Low 10 slices
Exact 30-drug parity check on an unseen held-out cell line: the BF16 Judge tracks stock Vanilla HF at r = 0.9997 (10/10 overlap in every tier), and the 890x faster Scout puts all 10 true Top-10 hits into the Top 10 (r = 0.962).

Summary across the three 10-drug slices

Metric (30 stratified drugs vs unmodified stock Vanilla HF)Unmodified Vanilla HF (1-step)Lossless BF16 Judge (V2-Fast)Ultra-Fast Scout (B5-Align FP4/FP8)
Runtime for all 11,975 drugs (1 cell)12.44 hours2.0 hours (finalists only)50.3 seconds (890x faster)
High 10 overlap (mean Vanilla +6.00)10/10 (reference)10/10 (0 swaps)10/10
Mid 10 overlap (mean Vanilla +0.31)10/10 (reference)10/109/10
Low 10 overlap (mean Vanilla -5.32)10/10 (reference)10/109/10
Cross-tier order accuracy (High > Mid > Low)100.0%99.67%99.67%
Full 30-item pairwise order accuracy100.0%99.54%89.89%
NDCG@10 capture / Pearson r / Spearman rho100% / 1.000 / 1.000100.0% / 0.9997 / 0.999199.03% / 0.9619 / 0.9413

All 30 drugs side by side (High 10, Mid 10, and Low 10)

Every single drug from the held-out parity test is listed below so you can inspect the exact rank agreement from #1 down to #30:

SliceDrugVanilla HF Score (Rank)BF16 Judge Score (Rank)Ultra-Fast Scout Score (Rank)
High 10Ilmofosine+10.13 (#1)+10.18 (#1)+8.16 (#1)
High 10Phorbol Myristate Acetate+7.84 (#2)+7.74 (#2)+6.26 (#5)
High 10Miristalkonium Ion+6.38 (#3)+6.05 (#3)+6.37 (#2)
High 10Miripirium+5.62 (#4)+5.41 (#4)+6.25 (#6)
High 10Gsk-3117391+5.52 (#5)+5.30 (#5)+3.83 (#10)
High 10Miramistin Ion+5.48 (#6)+5.22 (#6)+5.85 (#8)
High 10Miramistin+5.26 (#7)+5.12 (#7)+6.34 (#3)
High 10Miripirium Chloride+5.00 (#8)+4.81 (#8)+6.31 (#4)
High 10Fimepinostat+4.48 (#9)+4.17 (#9)+4.38 (#9)
High 10Metalkonium Chloride+4.22 (#10)+4.15 (#10)+6.19 (#7)
Mid 10Nafoxidine+2.93 (#11)+2.82 (#11)+0.61 (#11)
Mid 10Seladelpar+1.40 (#12)+0.99 (#13)-2.29 (#20)
Mid 10Diclofensine+1.24 (#13)+1.03 (#12)-0.76 (#15)
Mid 10Proligestone+0.93 (#14)+0.87 (#14)-0.47 (#14)
Mid 10Esafloxacin+0.63 (#15)+0.38 (#15)-0.24 (#13)
Mid 10Balovaptan+0.02 (#16)-0.03 (#16)+0.19 (#12)
Mid 10Ephedrine Hydrochloride-0.06 (#17)-0.17 (#17)-1.34 (#18)
Mid 10Aprobarbital-0.95 (#18)-0.99 (#18)-1.63 (#19)
Mid 10Ciadox-1.10 (#19)-1.31 (#19)-1.33 (#17)
Mid 10Acrihellin-1.96 (#21)-1.93 (#22)-0.93 (#16)
Low 10Bromocriptine Mesylate-1.46 (#20)-1.50 (#20)-5.25 (#24)
Low 10Rg-547-1.99 (#22)-1.82 (#21)-4.35 (#22)
Low 10Macozinone-3.61 (#23)-3.80 (#23)-4.92 (#23)
Low 10Amflutizole-4.08 (#24)-4.11 (#24)-3.71 (#21)
Low 10Riminkefon-5.26 (#25)-5.22 (#25)-5.78 (#25)
Low 10Belumosudil Mesylate-6.54 (#26)-6.45 (#26)-6.13 (#26)
Low 10Azd-8154-6.54 (#27)-6.46 (#27)-7.75 (#28)
Low 10Suricapavir-7.63 (#28)-7.59 (#28)-8.32 (#30)
Low 10Anastrozole-7.79 (#29)-7.86 (#29)-6.63 (#27)
Low 10Celecoxib-8.23 (#30)-8.18 (#30)-7.96 (#29)

Notice the top ten rows: the BF16 Judge reproduces Vanilla HF ranks #1 through #10 in exact 1-to-1 order with zero swaps, and the 890x faster Scout captures all 10 of those exact winners in its top 10 before handing them off to the Judge.


Part 2: Proof of work, what I discovered across 192 cancer subtypes and 18 dimensions

Rather than dumping millions of speculative, untested molecules into the screen, I restricted the entire run to drugs that have already passed human clinical trials (11,964 Phase 1 to 4 small molecules fitting the 144-token suffix budget), strictly separating 2,269 off-patent approved non-oncology generics from 7,803 Phase 2 to 3 shelved clinical drugs. The goal is practical preclinical prioritization: focusing wet-lab validation on already-manufactured compounds with known pharmacology for their approved non-cancer indications, rather than starting from scratch. Prior human approval for another condition does not make a drug safe or effective for cancer, and none of these hits are validated for clinical or off-label use.

Scope, 3-organ safety screening, and curation

  • All 192 Broad DepMap cancer subtypes (89 primary cancers, 435 maximally diverse cell lines, up to 3 lines per subtype). That spans major solid tumors and blood cancers down to ultra-rare orphan pediatric and adult tumors that see almost zero pharma R&D (CIC-DUX4 sarcoma, synovial sarcoma, hepatoblastoma, retinoblastoma, Wilms' tumor, anaplastic thyroid cancer, small-cell carcinoma of the ovary, extrarenal rhabdoid cancer, uveal and acral melanoma, chondrosarcoma, Merkel cell carcinoma, and adrenocortical carcinoma).
  • A built-in 3-organ healthy safety filter: Before screening a single tumor line, Stage 1 profiled all 11,964 drugs on 3 healthy primary human organ baselines from the Human Protein Atlas (Heart cardiomyocytes, Liver hepatocytes, and Kidney proximal tubule cells). Every cancer hit received a CLEAN, WATCH, or TOX_FLAG healthy-organ stress badge. These labels are strictly in silico transcriptional stress proxies on three reference tissue profiles, not clinical safety clearances or toxicity guarantees.
  • 18 orthogonal extra oncology dimensions rescored from the saved 51 GB shard archive: 4 immunotherapy/TME axes, 4 cell-death/metabolic axes, 4 resistance/metastasis axes, 4 clinical CAR-T/ADC antigen boosters, and 2 epigenetic/vascular axes.
Funnel and 3-organ safety breakdown showing 5,248,920 base simulations curated down to 1,134 clean salt-stripped rows with 86 CLEAN, 456 WATCH, and 415 TOX_FLAG subtype hits
Only 9.0% of curated subtype hits stay CLEAN across healthy Heart, Liver, and Kidney baselines, while automated post-run curation caught 375 radiocontrast, oncology, and withdrawn artifacts.

Scaling to 192 subtypes also exposed artifacts that slip past small screens:

  1. Iodinated X-ray radiocontrast dyes (134 rows removed): Unannotated triiodobenzoate imaging dyes (Ioxitalamic Acid, Metrizoic Acid, Diatrizoate, Ioversol, Iothalamic Acid) scored cleanly across dozens of subtypes because they lacked diagnostic ATC tags in raw metadata. Filtering for >= 3 iodine atoms plus diagnostic names stripped 100% of them.
  2. Unannotated oncology, immunosuppressant, and withdrawn drugs (241 rows removed): Legacy entries without L01 tags (Lenalidomide, Mercaptopurine, Sunitinib, Lapatinib, Azathioprine, withdrawn Iproniazid, Cisatracurium, Ibutilide) were removed before exporting the curated off-patent tables.
  3. Heavy-atom salt stripping: Following a sharp contributor PR (#2) on cellgemma-open-repurposing that caught a string-length salt-stripping bug on Brimonidine Tartrate (29-character tartrate beat 27-character brimonidine), every exported molecule was standardized with RDKit's LargestFragmentChooser(preferOrganic=True) and deduplicated by canonical aromatic parent SMILES (0 multi-fragment salts and 0 counterion bugs across all 1,134 curated rows).

Unprompted biological sanity checks

Before trusting novel repurposing leads, I checked whether the model recovered real antitumor biology zero-shot from chemical structure alone (with known L01 chemotherapies masked out):

  • Sildenafil ranked #1 overall in TME_ANTI_ANGIO_HYPOXIA (BF16 Judge +12.39, blind Compound_X +11.84, positive in 180/192 subtypes, CLEAN healthy-organ safety). Published solid-tumor studies directly document sildenafil downregulating HIF-1a, VEGF, and TGF-b1 while reversing MDSC immunosuppression. #2 on the exact same axis was Fingolimod (+11.03, WATCH), an S1PR modulator with independent anti-angiogenic literature.
  • Nitazoxanide emerged as the top clean systemic lead in DEATH_FERROPTOSIS (BF16 Judge +5.88, 160/192 subtypes positive, WATCH), matching recent PubMed studies identifying nitazoxanide as a ferroptosis inducer acting through iron-homeostasis disruption and suppression of the beta-catenin/GPX4 shield.
  • Ciclopirox ranked #1 in Synovial Sarcoma (BF16 Judge +6.46, 3/3 lines, blind Compound_X +5.52, WATCH), mirroring active repurposing of ciclopirox prodrugs (CPX-POM) in sarcoma and solid-tumor Phase I trials.
  • Pitavastatin ranked #1 in CART_B7H3_GPNMB_GD2 (BF16 Judge +13.82, blind Compound_X +13.31), independently replicating the statin-to-GPNMB lysosomal induction axis seen earlier with simvastatin (though pitavastatin tripped TOX_FLAG on healthy organs, making the clean alternative below far more compelling).
  • Sodium Phenylbutyrate (an FDA-approved urea-cycle drug with established HDAC-inhibitory activity) surfaced as the #1 subtype-specific precision hit in both Sarcomatoid Pleural Mesothelioma (RESIST_EMT_METASTASIS_REV, +11.86) and B-ALL (RESIST_BRCANESS_PARP_SENS, +16.43).
  • In the separate Phase 2 to 3 shelved clinical pool, real investigational oncology drugs rose straight to the top unprompted: Guadecitabine (Phase 3 DNA hypomethylator, #1 in 21/192 subtypes), Bimiralisib (Phase 2 dual PI3K/mTOR inhibitor, #1 in 18/192), Elraglusib (Phase 2 GSK-3b inhibitor, #1 in 8/192), Triptolide (4x #1), and TAS-116 / Pimitespib (HSP90 inhibitor, 3x #1).

Standout novel off-patent leads across the 18 extra dimensions

Rescoring all 438 saved shards across 18 orthogonal oncology axes (94.3 million cell-level scores in 21.4 seconds) and verifying the top leads on the lossless BF16 Judge surfaced a sharp set of clean, systemic, off-patent hypotheses:

Horizontal bar chart of top lossless BF16-verified CLEAN and WATCH off-patent generic leads across extra translational oncology dimensions
BF16 Judge top-3 anchor scores across the extra oncology dimensions. Cobalt blue bars cleared CLEAN healthy-organ safety across Heart, Liver, and Kidney; charcoal bars landed in WATCH.

Research-only note: The compounds listed below are unvalidated computational hypotheses for wet-lab testing, not treatment suggestions. Several entries are prescription, hormonal, sedative, controlled, or narrow-therapeutic-index drugs (including progestogens, estrogens, barbiturates, opioids, diuretics, and antibiotics) with serious adverse effects and contraindications, and must never be taken off-label based on model rankings.

DimensionClean/Watch off-patent leadBF16 Judge (Top-3)Subtypes +Organ safetyBlind Compound_X / novelty takeaway
METAB_WARBURG_LIPID_STARVEMedrogestone (+ Loperamide +16.93)+21.46190/192CLEANanon +20.52; novel Warburg/lipogenesis suppression (note long-term progestogen meningioma caveat; Loperamide is a clean non-hormonal backup)
RESIST_MDR_EFFLUX_REVTolmetin+17.26189/192WATCHPredicts transcriptional ABCB1/ABCG2/AKR1C suppression rather than acute P-gp pump binding
ADC_TROP2_HER2_NECTIN4Tazarotene (+ Meperidine +15.65)+17.26190/192WATCHanon +22.15; retinoid boosting Trop-2, HER2, and Nectin-4 while curbing ABCG2 efflux
IMMUNE_NK_NKG2D_SENSITIZEBendroflumethiazide+16.54185/192WATCHNovel oral thiazide link to NKG2D/DNAM-1 NK-cell ligand induction (HLA-E/ADAM10-17 down)
IMMUNE_PHAGOCYTOSIS_CD47Sulfamethizole (+ Acetazolamide +13.08)+15.49165/192CLEANNovel 1953 sulfonamide signal boosting CALR/CIITA/HLA-DR while suppressing CD47/CD24
RESIST_BRCANESS_PARP_SENSQuinestrol+14.47189/192WATCHTriple-axis hit: also +14.40 in EPIGEN_PRC2_YAP_COLLAPSE (192/192) and +10.48 in DEATH_CELL_CYCLE_NON_SASP (anon +15.11)
CART_B7H3_GPNMB_GD2Protriptyline (BBB+)+13.38162/192CLEANZero prior link; crosses the blood-brain barrier cleanly while matching Pitavastatin without healthy-organ toxicity
TME_ANTI_ANGIO_HYPOXIASildenafil+12.39180/192CLEANanon +11.84; positive literature validation on HIF-1a/VEGF suppression
ADC_CLDN18_MSLN_FOLR1_GPC3Cyclobarbital+11.70170/192CLEANClean GI, ovarian, mesothelioma, and liver ADC/CAR-T antigen booster
DEATH_BH3_APOPTOSIS_PRIMECefmetazole (+ Moxalactam +8.36)+9.91172/192WATCHMitochondrial pro-apoptotic BH3 rheostat priming (Moxalactam is CLEAN)
IMMUNE_MHCI_COLD_TO_HOTDoxycycline+9.58177/192WATCHCheap oral tetracycline boosting MHC-I and CXCL9/10/11 chemokines while curbing PD-L1
RESIST_EMT_METASTASIS_REVInamrinone+7.60162/192WATCHRestores epithelial markers (CDH1/EPCAM/OCLN) while downregulating VIM/ZEB/TWIST/MMPs

Notable subtype-specific clusters across the 192 cancers

  • A three-drug CLEAN progestin cluster: Alongside Medrogestone (+21.46 metabolic starvation, +25.84 in Desmoid/Aggressive Fibromatosis, +8.76 in Small Cell Carcinoma of the Stomach), Dydrogesterone (CLEAN) hit +12.87 across 3/3 Acute Megakaryoblastic Leukemia lines (anon +19.48) and +9.41 across 3/3 Burkitt Lymphoma lines (anon +9.58), while Nomegestrol (CLEAN) led Extraskeletal Myxoid Chondrosarcoma (+11.70) and PRC2/YAP collapse in Down-syndrome Myeloid Leukemia (+19.35).
  • Neuroendocrine convergence: Pinacidil Anhydrous (CLEAN, K-ATP channel opener) independently topped both Lung Carcinoid (+11.44, anon +10.55) and Pancreatic Neuroendocrine Tumor (+9.94, anon +9.52).
  • Focused rare and solid-tumor leads: Prazosin (WATCH, Top-5 in 42/192 subtypes; Clear Cell Ovarian +7.06, 3/3, anon +10.76), Istradefylline (adenosine A2A antagonist, +9.80 across 3/3 Burkitt Lymphoma), Garenoxacin (CLEAN, +8.65 in 3/3 Lung Adeno and +3.89 in 3/3 High-Grade Serous Ovarian), Zonisamide (CLEAN, BBB+, +7.84 in 3/3 Cutaneous Melanoma), Nebivolol (CLEAN, +16.08 precision ferroptosis hit in Myelodysplastic Syndromes), and Melatonin (+10.13 in 2/2 AML with Minimal Differentiation).

The Furosemide + Piretanide + Sulosemide puzzle

The single most striking structural convergence across all 5.25 million evaluations sits on sulfamoyl-benzoic-acid loop diuretics across both clinical pools:

  • Furosemide (1966 off-patent, WATCH) landed in the curated Top-5 of 90 out of 192 cancer subtypes (Small Cell Carcinoma of the Ovary +16.23 3/3, Merkel Cell +12.78 3/3, Chondrosarcoma +11.81 2/2, Acral Melanoma +11.37 3/3, Uveal Melanoma +11.20 3/3).
  • Piretanide (off-patent structural cousin, WATCH) landed in 14 out of 192 subtypes (mean +9.00).
  • Sulosemide (Phase 2 shelved sulfamoyl-benzoic diuretic, WATCH) ranked #1 overall in 22 out of 192 subtypes (mean +11.30), outranking Guadecitabine and Bimiralisib in the Phase 2 to 3 pool.

Yet Bumetanide, an equally potent NKCC1/2 diuretic with a different aminophenoxy geometry, does not match this pan-cancer shift. That rules out generic NKCC1/2 diuresis and narrows the hypothesis to two cleanly falsifiable possibilities: either a scaffold-specific off-target effect shared by furosemide, piretanide, and sulosemide, or a shared chemical-representation bias in the model's training screens. One wet-lab RT-qPCR plate comparing Furosemide, Piretanide, and Bumetanide side by side in SCCOHT, uveal melanoma, and PDAC lines would settle it directly.


Reproduce it

You do not need my custom inference stack to verify any single hit. Clone the public repository and score any drug directly on unmodified stock google/cellgemma-e4b:

git clone https://github.com/TheMemeticist/cellgemma-open-repurposing.git
cd cellgemma-open-repurposing

# Verify any drug + canonical SMILES on unmodified stock Hugging Face weights
# (pass --strip-salt if starting from a multi-fragment salt SMILES)
python3 scripts/verify_single_drug.py \
  --model google/cellgemma-e4b \
  --program ADULT_PDAC \
  --drug "Furosemide" \
  --smiles "NS(=O)(=O)c1cc(C(=O)O)c(NCc2ccco2)cc1Cl" \
  --conc 0.5

# Run the exact same compound blind (drug name hidden as Compound_X)
python3 scripts/verify_single_drug.py \
  --model google/cellgemma-e4b \
  --program ADULT_PDAC \
  --drug "Compound_X" \
  --smiles "NS(=O)(=O)c1cc(C(=O)O)c(NCc2ccco2)cc1Cl" \
  --conc 0.5

Medical and research disclaimer

This article, the linked repository, and the accompanying engineering recipe are provided strictly "as is" for independent computational biology research, benchmarking, and educational discussion, with no warranties of any kind. Nothing published here constitutes medical, clinical, pharmaceutical, or legal advice, nor does it create a doctor-patient relationship.

Virtual-cell foundation models have real failure modes: they can reflect training-set bias, overfit to chemical scaffolds, and ignore pharmacokinetics, tumor bioavailability, immune interactions, drug-drug interactions, and systemic organ toxicity. No compound mentioned on this page has been clinically proven here to prevent, treat, or cure any form of cancer. Every lead requires independent preclinical wet-lab validation, toxicology review, and formal clinical trials before any human application could be considered. Do not use any score, dataset, or table here to self-treat or alter any medical regimen; always consult a licensed physician or board-certified oncologist.

If you want to explore the interactive epidemic simulation engine that shares this focus on fast local compute, try MemeLab at epi.meme.