ΒΆPaper Feed

Issue 44 Β· Pick 04 AI / ML βœ“ read

Few-shot regulatory sequence design with a genomic language model

Hie, B., Hao, Y. A., Liu, M., Nori, D., Brixi, G., Lau, T., Ramakrishnan, C. A., Chang, D., Park, R., Allen, W. E.

TL;DR. Evo 2, a genome language model trained only to predict the next DNA base, turns out to be a few-shot sequence designer. Concatenate a few dozen enhancer sequences that share a function, let the model continue the text, and it writes new enhancers with that same function β€” no fine-tuning, no gradients. Reinforcement learning against a predictor-as-reward sharpens the trick. The payoff is concrete: designed enhancers drove cell-type-specific expression in three human cell lines, and two of them selectively labeled a specific neuron type (layer-5 extratelencephalic) in live mouse cortex, one of them brighter than the best natural enhancer known for that job.

Why regulatory-element design is hard

An enhancer is a short stretch of non-coding DNA β€” here 200 to 512 bp β€” that decides where and how strongly a gene turns on. Design one that fires in your target cell type and stays silent everywhere else, and you have a precision tool: a way to express a therapeutic gene only in, say, L5-ET cortical neurons, without touching the thousands of other cell types.

The trouble is data. Enhancer activity is encoded in a grammar of transcription-factor binding motifs that we only partly understand, and it is cell-type specific. The standard recipe β€” train a specialized generator on thousands of labeled sequences β€” collapses when you have only a handful of confirmed examples for a rare neuron subtype. And unlike protein-coding genes, there's no natural "genomic context" you can prompt a model with to coax out the element you want.

So the field has leaned on two things: large sequence-to-function predictors (neural nets trained on massively parallel reporter assays, MPRAs, that map DNA β†’ measured activity), and gradient- or search-based optimizers that climb those predictors. But optimizing directly against a predictor invites reward hacking: you find sequences that score beautifully in silico and do nothing in a cell.

The aha: in-context learning, in base-pairs

In-context learning is the GPT-3 surprise β€” give a language model a few input/output examples in the prompt and it performs the task without any weight update. The paper's bet is that this is not special to English. Evo 2 was trained on a trillion bases of natural genomes with a context window up to a million base-pairs. If ICL is an emergent property of scale and sequence modeling, it should show up in DNA too.

The method is almost comically simple. Take your active example sequences, glue them together with a short fixed separator, and ask Evo 2 to keep generating. The continuation is your candidate design. Filter out anything with weird GC content, low-complexity repeats, or high similarity to the prompt, and score what's left.

Prompt = concatenated active examples (a "task spec") example 1 example 2 . . . example k separators (fixed) Evo 2 (frozen) novel enhancer

More examples in context β†’ higher predicted activity ("ICL scaling") No parameter updates. The prompt itself defines the design task.

The whole method in one picture: examples glued with separators become a task specification, and the model's continuation is a candidate design.

It works across five very different regulatory classes β€” yeast promoters, human 5β€² UTRs, IRES elements, human promoters, human enhancers β€” with 30–50% yield of novel sequences (under 60% similarity to the prompts) from just 4–64 examples. And crucially, it scales with examples: four examples already match highly-active positive controls for yeast promoters; 16 examples push >40% of 5β€² UTRs past an activity threshold; with 128 promoter examples, half the designs are predicted at log2 fold-change 4. That monotonic "more shots β†’ better" curve is the signature of genuine ICL rather than lucky memorization.

Is it really induction? Looking inside

The nicest part of the mechanism story is that they checked. In natural-language transformers, ICL is tied to induction heads β€” attention heads that spot a repeated pattern and copy what followed it last time. The authors replayed that experiment in DNA: feed Evo 2 a duplicated random sequence S{+}S and look for heads that attend from each position back to its earlier copy. They found them. A subset also attended from each separator back to the start of previous examples β€” i.e., the head has learned the prompt's grammar.

Then the causal test: ablate the candidate induction head (zero its output projection) and enhancer design quality drops, relative both to an intact model and to ablating a random same-layer head (paired t-test p = 0.023 at 4-shot, 0.040 at 8-shot in the 1B model; same effect confirmed in 7B). A second analysis β€” the "categorical Jacobian," which measures how mutating one prompt base shifts the model's predicted probabilities downstream β€” shows that at low shot counts a single example dominates the generation, but as examples accumulate, influence spreads across them. The model moves from copying one example to synthesizing many. That's the behavior you'd want to call learning.

Turning a predictor into a reward

ICL gets you to parity. To beat the baselines, they bolt on reinforcement learning. A sequence-to-function predictor (Malinois for enhancers, PARM for promoters, etc.) becomes a virtual reward model, and Evo 2 is post-trained with GRPO β€” the critic-free policy-gradient method from the DeepSeek line β€” to generate rollouts that the predictor scores highly, plus cheap rule-based terms for GC content, validity, and novelty.

Evo 2 + ICL prompt G rollouts (candidate DNA) predictor reward + GC, novelty terms group-relative advantage β†’ update Evo 2 (GRPO)

Experiment-derived predictor stands in for the wet lab Score each design relative to its batch; reinforce the above-average ones

RLHF's structure, transplanted to genomics: the "human preference" is replaced by a model trained on reporter-assay measurements.

Two results here matter. First, the reward signal generalizes: a model post-trained only on promoters improved enhancer design in cell types it never saw during RL, and a model trained for specificity in K562/HepG2 improved specificity in held-out SK-N-SH. That argues the model learned general cell-type regulatory rules, not a lookup table. Second β€” and this is the reward-hacking rebuttal β€” when they stripped the examples and tried RL on random-DNA prompts, nothing functional came out. The in-context examples are doing the real work; RL just helps the model exploit them.

The data-efficiency comparison is the headline number. Against DNA-Diffusion (retrained with classifier-free guidance) and regLM (a specialized autoregressive DNA model), base Evo 2 ICL hit 16–36% yield with 8–32 examples while DNA-Diffusion produced negligible yield even with 512 training sequences. Add GRPO and yield climbs to ~70% at 32 sequences and ~90% at 64.

Design yield vs. data budget (synthetic enhancer dataset)yield (% novel, valid, specific)0204060801002600~8-32 ex2670032 budget2690064 budget26901512 budgetEvo 2 ICL (frozen)Evo 2 ICL + GRPODNA-Diffusion + CFGApproximate values from Results ('Experimentally aligned...' and data-efficiency sections); bars are representative, not all budgets were reported for every method.

The evidence that counts: cells and brains

In vitro, they built a barcoded MPRA: each designed enhancer drives EGFP through a minimal promoter, and activity is the log2 ratio of RNA to input-DNA barcode counts. Replicates correlated at Pearson 0.93; measured activity tracked Malinois predictions at 0.76. Post-trained Evo 2 beat the base model's measured specificity in K562 and HepG2, and in the held-out SK-N-SH it raised the yield of specificity-passing designs 30-fold. The top-6 Evo 2 designs matched or exceeded the best natural and synthetic positive controls in three of six conditions.

Then the real test. They fine-tuned AlphaGenome on single-cell ATAC-seq across 107 human brain cell types (scorer Pearson 0.73; a companion cCRE classifier at AUROC 0.975), used it as the RL reward, and β€” importantly β€” filtered final designs with an independent Borzoi+Enformer ensemble to catch sequences that had overfit the reward model. Under that same AlphaGenome objective, in-silico mutagenesis produced zero designs surviving the orthogonal filter, and gradient-based FastSeqProp survived for only one target. Evo 2 ICL passed for all four. The regularization from a genome model's learned priors is what buys biological plausibility.

Enhancer-AAVs carrying the designs went into wild-type mice by retro-orbital injection. Seven of nine designs drove detectable expression; six were spatially localized. For the L5-ET target, single-cell RNA-seq with MapMyCells classification found 73% and 95% of labeled cells were L5-ET for EvoCre6 and EvoCre7, versus 68% for the state-of-the-art natural enhancer AiE0674m β€” and EvoCre6 was brighter at matched viral dose.

In vivo specificity for L5-ET neurons (mouse cortex)% of labeled (YFP+) cells that are L5-ET02040608010073EvoCre695EvoCre768AiE0674m (natural, SOTA)Results, in vivo section; single-cell RNA-seq + MapMyCells classification.

What to believe, and what to hold

The honest reading: the in vivo win is narrow. It's two successful designs for one neuron type. The authors say so β€” "2 out of 2 successes in one neuronal subtype." The other brain target, VIP interneurons, missed: EvoCre9 and EvoCre11 lit up CA3 glutamatergic neurons instead (58% and 74%), a different population entirely. Their own hypothesis β€” human-derived examples don't fully transfer to mouse regulatory landscapes β€” is plausible and sobering, because the whole in-vivo pipeline used human ATAC-seq to design for a mouse brain.

Be skeptical of a few more things. "Yield" and "specificity" are overwhelmingly measured by the same predictors used as rewards; the in-vitro MPRA validation is real and reassuring, but the broad five-task scaling story is entirely in silico. Diversity is reported as comparable to DNA-Diffusion and better than regLM, but the failure mode when examples are extremely scarce β€” the model simply copies a prompt sequence β€” is acknowledged and not fully bounded. And the mechanistic claim is causal-but-partial: ablating one or two induction heads moves the needle, but ICL is surely distributed across redundant circuits they didn't map.

Still, the core claim is strong and new: a general-purpose genome model does few-shot generative design, the capability scales with examples, it has an induction-head fingerprint, RL against experiment-derived rewards amplifies it, and the output survives contact with living tissue. If it holds, the practical shift is large β€” designing a cell-type tool stops requiring a bespoke generator trained on thousands of labeled sequences and starts requiring a few dozen good examples and a frozen foundation model.

Where to spend your reading time: the Results sections "Specialized attention heads contribute to ICL" (the induction-head and categorical-Jacobian evidence that this is really ICL) and "Post-trained Evo 2 designs highly specific enhancers for neuron types in vivo" (the orthogonal-filter trick against reward hacking, and the single-cell validation). The Methods on GRPO reward shaping and the AlphaGenome fine-tuning are where you'd go to reproduce it.