Genomic Pretraining Learns to Read Designed Enhancer Motifs, but Not Across Assay Domains

Yuan Liang, Siu Pui Chung, Grant H. Watson, Massimo PoesioAI4Science @ NeurIPS 2026

TL;DR

DNA foundation models really do learn transferable regulatory grammar: when fine-tuned, they outperform randomly initialized twins on unseen synthetic enhancer libraries and visibly lock onto the designed transcription-factor motifs, especially when labeled data is scarce. However, generalizing across sequences is not the same as generalizing across experimental assays. When tested on an independent human primary-cell endpoint, sequence-only models hit a wall ($\rho \le 0.19$), even though a lab-measured discovery assay predicts that exact same endpoint well ($\rho = 0.76$).

What Problem Does This Paper Address?

Genomic language models are increasingly used to predict gene-regulatory activity directly from DNA sequence. The catch is that standard random train/test splits can flatter a model: if similar sequences appear in both sets, the model can simply interpolate rather than learn generalizable biological rules.

The authors treat enhancer sequence-to-function prediction as a three-level stress test for genomic pretraining:

  1. Library-level transfer: Does pretraining help a model generalize to a completely new synthetic enhancer design program?
  2. Motif localization: If it does, is it actually reading the known, designed regulatory motifs?
  3. Measurement-process transfer: Does that sequence-level knowledge carry over to an independent human primary-cell functional endpoint?

Methods

The authors fine-tuned HyenaDNA (1.64M parameters) and Nucleotide Transformer v2 (50M parameters) and compared them against:

  • Identical architectures initialized from scratch (random init).
  • A 4-mer ridge regression baseline.
  • A capacity-matched, task-specific CNN (LegNet, 1.59M parameters).

To prevent data leakage, they used a strict leave-one-library-out (LOLO) split: models were trained and validated on two synthetic enhancer libraries (with no shared background scaffolds across splits) and tested on a third, held-out library. Learning rates were selected using validation Pearson correlation only, without touching test metrics.

To peek inside the black box, they ran in-silico mutagenesis (ISM) on held-out single-transcription-factor sequences—systematically mutating every base to its three alternatives to see whether the model's importance scores actually land on the annotated motif positions.

Datasets

  • Synthetic enhancer libraries (Velten/Frömel Figshare v3): 54,091 unique ~250 bp sequences measured in human K562 and mouse MegEry cells across three distinct design programs (Library A embeds single-TF motifs; Libraries B and C embed TF pairs).
  • Cross-study replication: Bergman ExP (enhancer-to-promoter shift, ~680 training sequences) and Agarwal lentiMPRA (K562-to-WTC11 cell-type shift, ~157k training sequences).
  • External primary-cell audit: 14,999 human erythroid discovery tiles and a separate 42-vector retrospective panel from Psatha et al. (2025) carrying both sequence, measured discovery-assay activity, and a human primary-cell functional endpoint.

Key Insights and Ideas

  • Frozen representations aren't enough: Off-the-shelf frozen HyenaDNA embeddings fail to beat a simple 4-mer ridge baseline. Fine-tuning the backbone is essential.
  • Pretraining acts as a low-data prior: Across three independent MPRA studies, the advantage of pretraining over random initialization is largest when labeled data is scarce (~680 examples) and shrinks when data is abundant (~157k examples).
  • Pretraining teaches the model where to look: Unlike its randomly initialized twin, fine-tuned HyenaDNA concentrates its sensitivity on the actual designed transcription-factor motifs rather than background sequence.
Figure 2: Genomic pretraining improves localization of designed motif positions. In-silico mutagene- sis on the held-out single-TF library. (a) Per-sequence AUROC separating designed motif positions from background: pretrained (mean 0.66) versus the random-initialized twin (mean 0.55, near the 0.5 chance line). (b) Per-transcription-factor mean AUROC, random versus pretrained; nearly all factors lie above the diagonal, erythroid TFs highlighted.
  • The measurement-process boundary: Sequence models fail on the human primary-cell endpoint, but not because the endpoint is noisy or unpredictable—the measured discovery-assay readout predicts it well. Within the synthetic platform, human K562 and mouse MegEry readouts even agree ($\rho \approx 0.56$). The breakdown happens when crossing from a synthetic reporter assay to an endogenous primary-cell measurement, where trans-acting, cell-state, and assay-specific factors dominate.

Key Results

  • Leave-one-library-out transfer: Fine-tuned HyenaDNA beats random initialization by a macro paired-bootstrap Spearman $\Delta\rho = +0.133$ (95% CI: 0.109–0.155) and 4-mer ridge by $+0.148$. However, its edge over capacity-matched LegNet is small ($+0.025$).
Figure 1: Fine-tuned HyenaDNA transfers to unseen enhancer libraries, exceeding its random- initialized twin and a 4-mer ridge and staying competitive with a capacity-matched LegNet. Validation- selected leave-one-library-out results. (a) Seed-ensemble Spearman correlation for each held-out library. (b) Macro paired-bootstrap difference between pretrained HyenaDNA and each comparator; error bars are 95% intervals. Learning rates are selected by macro validation Pearson without test metrics.
  • Replication: Nucleotide Transformer v2 replicates the pretraining benefit ($\Delta\rho = +0.157$ over random init). Cross-study shifts yield $+0.233$ on Bergman ExP and $+0.028$ on Agarwal lentiMPRA.
  • Motif localization: Pretrained HyenaDNA separates designed motifs from background with an AUROC of 0.664, compared to 0.553 for random initialization, improving in 19 of 20 transcription-factor groups.
  • Primary-cell endpoint ($n=42$): All five tested sequence-model families remain weak (Spearman $\rho$ between $0.05$ and $0.19$), whereas the measured discovery-assay screen activity reaches $\rho = 0.76$.

Limitations and Future Work

  • Limitations: The mechanistic ISM and boundary analyses come from a single synthetic-enhancer study, and the cross-study data-budget trend is confounded with differences in study design and assay. The external human primary-cell panel is small ($n=42$) and retrospective. Additionally, the hyperparameter audit only varied learning rate and optimized validation Pearson rather than test Spearman.
  • Future work: Because model scale alone does not appear to cross the assay boundary, the authors suggest conditioning models on the target cellular state using matched functional data and light calibration—and quantifying how much of primary-cell activity is sequence-encoded in the first place.

Summary updated

BibTeX
@inproceedings{liang2026genomic,
  author = {Yuan Liang and Siu Pui Chung and Grant H. Watson and Massimo Poesio},
  title = {{Genomic Pretraining Learns to Read Designed Enhancer Motifs, but Not Across Assay Domains}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=y8uPLxy58Z},
}

Loading related content...

Figure