A new sense for a language model
Vision models read images through a small projector that turns pixels into tokens. We built the same thing for DNA: a methylation adapter turns 3,148 CpG sites measured on cell-free DNA into 16 soft tokens in Glimmer's embedding space. Glimmer is then fine-tuned with QLoRA (Meta's recipe, 4-bit) in two stages, adapter first, and the answer is read from its own next-token logits.
Six fine-tuning runs. One week.
| Run | Date | What changed | Result (new people, 1% tumour DNA) |
|---|---|---|---|
| v1 | Oct 27 | Adapter and LoRA together | Collapse: the same answer for everyone |
| v2 | Oct 28 | Two stages; 8 tissues | Tissue right 70% (classic ML 57%), but memorises donors |
| v3 | Oct 28 | Smaller adapter | 99.9% specificity, 26% of signals |
| v4 | Oct 29 | Pseudo-donors | 42% of signals at 99.7% specificity |
| v5 | Oct 29 | 20 tissues | Tissue 60% (classic 55%); alarm fails on new people |
| v6 | Nov 2 | 5,728 donors from 8 labs aligned; 23 tissues | Tissue 58% of 23 (classic 46%) · 75% of signals at 99.5% specificity |
Results on people never seen in training
Now a DNA-reading engine
The language model stays the same; the question lives in the adapter. Retrain it on new labels (about an hour of GPU) and the same engine answers something else.
Everything is open
What it is not. A research prototype trained on simulated plasma and checked on 27 real samples, where the language model's alarm still needs recalibration. Not a medical device and never a diagnosis.