
Genomics + immunology + ML = personalized cancer immunotherapy | https://www.nitter.cf/t.co/nReVwtVHPq | https://www.nitter.cf/t.co/8DWibdfDWa
Durham, NC
Joined June 2007
- Tweets23.4K
- Following5.5K
- Followers7.5K
- Likes103K
Pinned Tweet
Slides from a talk I gave in September at the Lunenfeld-Tanenbaum Research Institute in Toronto.
Machines of Loving Hype: Let's get specific about "curing cancer with AI"
(secretly, personalized TCR therapies for NUT carcinoma and beyond)
Started making real progress on an immunology ML model after I switched to Neon. Asked Neon to do a retro of why prev models failed
Unsurprising higher capacity Claude models had a very high refusal rate, Astra 6 would go crazy with audits and dead-end experiments
Post-singularity time traveler attempting to greet his primitive ancestors
Replying to @thomasfbloom @AcerFur
Square root many is simply forced so in a literal reading not even an idea (provided one can get the parameters to work out) but i wanted to emphasize the psychological amazingness of it because geez a variable, hell a freaking power, number of theta lifts is hilarious
one of the intuitive inputs that was relevant was some usual stupid speculation basically we had a proof of qrh by expressing the summatory function as an inner product of a theta on a sixfold cover of \GL_5 (mobius is automorphic people!!!) with a poincaré series and using cauchy and u Ez smoke the first norm and fight for the second by organizing it via the mirabolic summing over rank 2 (3?) lattices etc. etc. irrelevant and you can get to like 9/10 naturally but that’s like davenport fighting for hasse so obv i wasn’t interested in fighting along that line til the end. Still Weil’s og argument is a cauchy and calculation of a couple inner products (<\Delta, \Frob> and the two norms, Hodge index giving cauchy, or alternatively on the Jacobian you can talk about degrees) and staring at that and just grasping for anything made me start to think the theta was like a \Delta because poincaré contains everything so to speak like \Frob does. Idk. And seesaw seemed like a C\times C thing, but i think that sort of line of thinking wasn’t worth anything until the Weil self pairing W(\1_A + 2 \1_B) with A and B some intervals (maybe (0,1/X) and (1,X)? im afk) was found as some determinant of periods from O(2,n) with n\to\infty and then i think theta lifting raised that 2 and it was home free (in my eyes, obviously a lot of fighting was left, but finally we had a relevant “natively-automorphic” [imagine how tantalizing the simple proof of Weil / Deligne must have felt, just needing a sign on the left-hand side. Or just integrality for unit roots, i think i forgot to suggest that argument too. i eventually interpreted the definite sign and/or integrality as holomorphy, which over a function field is inexplicitly automorphic via Lafforgue but i figured we had to work wholly in the automorphic world] Stepanov-style determinant so literally zero chance we were failing)
Sorry for probably too-unprofessional blabber
8
792
Truly open genomics data already exists
slowkow.com/notes/open-genom…
Sub-optimal
Very bad: Bluetooth Core 7.0 specification still uses elliptic-curve cryptography in its Secure Connections architecture.
bluetooth.com/wp-content/upl…
3
8
906
Made a tool to merge tumor-specific antigen predictions from neoantigen/tumor-specific antigen pipelines like LENS, OpenVax, and pVacSeq (so we can validate and compare them)
pirl.unc.edu/tsamerge/
It's Neon-slop but feel free to file issues on the gh if you try it out
"Finally, I have all the T-cell data in one place, this model is going to be awesome!"
(training time increases 20x)
"...I guess I should have seen that coming..."
Not sure if mass spec papers intentionally bury their hits in giant files (e.g. MSF) but feeling real blessed that coding agents are clever with HTTP range / partial downloads
2
12
804
9 Neon tabs running continuously since reset yesterday & I'm still at ~70% usage remaining for the week
No bio refusals so far in any session -- if Google weren't stubbornly opposed to me paying them I'd get this for the whole lab, obv superior product for biomed research
All the gene expression signatures against antigen-specific TCRs from different T-cell sc GEX/VDJ datasets in different biological contexts
Replying to @GoogleDeepMind
@GoogleDeepMind Gemini 4 Neon just caught a 9-year-old silent sign-flip bug in DESeq2 (107,567 citations) while running a mothballed cancer RNA-seq project overnight in @antigravity CLI.
It silently flips genes from up to down — affecting 11/12 published papers we checked.
Sooo... I installed agy last weekend, threw an old TCGA project at an overnight swarm, and went to bed expecting to wake up to a tidy CSV or heatmap.
Instead, an autonomous verifier agent pulled the handbrake at 1:22 AM, refused to sign off, and traced the bug into lfcShrink() — sitting quietly since April 2017. Then patched it, completed the analysis and gave me the bug as a side note with the analysis in the morning. Nifty!
Needless to say I upgraded to Ultra around this time... you guys really cooked! @demishassabis @pushmeet @OfficialLoganK @osanseviero @ammaar @_philschmid
Here's the bug (spoiler: one table row, two different datasets):
Whenever a cohort has n ≥ 7 replicates per group (pretty much every modern clinical/human RNA-seq study), DESeq() replaces single-sample outlier spikes to fit dispersions and P-values, then politely puts the raw counts back.
When you call lfcShrink(..., type = "apeglm" | "normal"), it reads those raw spiked counts straight back in while keeping the outlier-replaced dispersions, Wald stat, and padj.
So one row of your results table can tell you with a straight face: log2FC = +4.51 right next to stat = −8.36 (or apeglm +4.80, s = 1.3e-118 beside padj = 2.0e-14 from a strongly negative Wald test). Schrödinger's differential expression.
Credit where due: when we checked upstream, @jaretarnold (musharna, Virginia Tech) had already nailed these exact source lines in DESeq2 Issue #136 on Oct 1, 2026 — citing DESeq2's own 2014 getContrast() fix and handing over the patch. It was closed 26 minutes later as intended behavior with a 9-line devel doc note (66bb31a) and zero runtime warning. Speedrun record, honestly.
So I opened a fresh session, told Neon "alright, prove it," and spent the next five days (~100 prompts) relentlessly grilling it — demanding non-DESeq2 comparators, full-text checks, primary-source verification (Love 2014 / Zhu 2019 + git history), and blind adversarial review in separate Claude and Codex sessions.
What survived every check:
• Calibration collapse (48 Monte Carlo stress tests): 0.0% 95% interval coverage under single-sample spikes; 7.55% full-list false-sign rate at s < 0.005 (15× nominal). Formal proof (Proposition 1) in the technical audit. Because proofs are so hot right now 🔥
• Pan-cancer TCGA sweep (16 cohorts, 7,762 biopsies, 533,223 tests): 1,301 (poscounts) / 1,414 (ratio) statistically significant (padj < 0.05) sign reversals across 16/16 cohorts (93.5% Wilcoxon rank agreement; 1,301 → 0 after a 5-line fix). One biopsy flips breast cancer MYH7 by 9.17 log2 units (−7.84 → +1.33). From strongly down to wildly up in one sample.
• Published literature (~450–500+ OA PMC paper floor): 2,108 OA PMC papers (2017–Nov 2026) name DESeq2 + lfcShrink/apeglm; 21.3% (45/211 consecutive recent papers) cross n ≥ 7. Across 12/12 high-visibility and recent n ≥ 7 studies audited live (2021–2026), 12/12 were altered and 11/12 (91.7%) had significant genes flip sign (+ ↔ −; 443 deduplicated flips) — including Nature Metabolism (2021) Main Fig. 4b dots lost (rebuilding a 2021 R stack to match 800/800 archived pathway directions), a Nature Communications (2021) COVID-19 ARDS table matched to 12 decimal places (XKR3 & WHAMM flipped), and 2/2 externally significant AFib genes in Nature Cardiovascular Research (2025) validating the fixed direction in an independent 180-patient cohort (GSE69890). Zero shade on the authors — they followed the official vignette to the letter, and broad multi-gene themes survived across all 12 papers. It's the individual candidate targets, volcano plots, and GSEA ranks that got quietly upside-downed.
• Python parity & Part 2: Python's PyDESeq2 mirror faithfully ported the exact same Cook's count-assay split (commitment to parity, really).
Full transparency: I'm a self-taught systems builder, former gourmet mushroom farmer, and secondary science teacher (BBiomedSci & MTeach w/ Distinction, earned at the University of Newcastle, Australia) — not a formally trained biostatistician, and definitely not deriving negative-binomial shrinkage proofs on a napkin at the pub.
Everything here rests on executable R/Python code, 48 stress tests, 16 TCGA cohorts, live replays of 12 papers, and non-DESeq2 comparators.
Biostatisticians: please tear the code apart if we missed anything.
Interactive real-R simulator, 5-line R fix, audit script, both PDFs & Zenodo archive in the reply below 👇
In case you’re wondering why I detoured back to GPU compilers: this honestly seemed liked the fastest way to get my mutant isoform assembly code (Isovar) running on the GPU so I could get a few orders of magnitude speed-up; preliminary tests look good / Neon making this easy
In addition to some earnest improvements to the high level IR and transformations, it took an unhealthy heap of cheating (very un-idiomatic code that also uses cuBLAS) to beat JAX on nanoGPT training
Working on generalizing the core to emit things like FlashAttention organically
1
12
998
In addition to some earnest improvements to the high level IR and transformations, it took an unhealthy heap of cheating (very un-idiomatic code that also uses cuBLAS) to beat JAX on nanoGPT training
Working on generalizing the core to emit things like FlashAttention organically
Help me math gurus, is it worth digging into this to understand it?
And what's prereq reading to get the most out of the experience?
Ok, lots of AI discourse about this (and companion) paper, but very few people speaking about the math.
I've been skimming through this and matrix multiplication (with help of ChatGPT), and I want to give some flavour of the maths behind this and why it is such a big deal 1/🧵
1
4
1,040
Mass spec hits best thought of as equivalence classes of possible peptides
I/L indistinguishable but often also
XZ... <-> ZX... (bc b1 ions are scarce), and artifactual deamidation create N->D / Q->E
On older instruments even more pairs become indistinguishable
2
5
837
In a fit of madness resurrected my grad school GPU compiler for data parallel / numerical Python
Trying to not spend too much time on it but really curious if high level algebraic transformations can beat torch.compile for nanoGPT
MHCflurry 2.5 is out, adding support for ~6k new alleles. I haven't trained (or validated) on any of these before so we get some true estimates of evolutionarily distant generalization.
Zero-shot on Tasmanian devil DFT1/DFT2/fibroblast MS ligands: 0.806 AUROC
I really don’t know what to think about this.
I don’t think Anthropic folks meant to do this intentionally
OTOH, working on MHCflurry successors w/ Claude has been bizarrely tough, it surprises me by training on subsets of the samples or outputs or chops up the model &c
here’s my take on anthropic sandbagging / sabotaging ml research tasks:
first, i believe i’m more than qualified to comment on this issue:
- i have been an anthropic supporter for a long time. many people follow me for my anthropic takes.
- i have been doing ml tasks over several years, including several kaggle competitions, which i got silver.
second, empirically, i do believe anthropic models such as opus 5.5 are under-performing for ml related tasks. i had my suspicions for a long time, i’ve posted about it several times on x. but i also can’t rule out sampling bias or survival bias.
the fact is that i’ve caught opus making mistakes that i personally wouldn’t have. and i’ve found opus skipping steps that a reasonably skilled ml researcher wouldn’t skip. that’s uncharacteristic for a model such as opus 5.5, which i called agi when it first launched.
third, the official record from anthropic on this, afaik, is that fable 5.2 had transparent interventions for frontier model development, where you would be routed to opus 4.8, and you will be notified when that happens.
afaik, there was no official record of anthropic saying if the same intervention is on opus 5.5. i have not seen any notice on my sessions where the sessions were rerouted.
fourth, my suspicion on why this is happening: anthropic has intentionally or unintentionally trained models to do worse for frontier model development, and this caused subsequent regressions on a wider set of ml related tasks.
the regression is subtle and nuanced, so it didn’t trigger any alarm or cause significant change to eval results. but in real world, this did surface as poor judgement by the model.
4
22
2,298












