C3P: Contrastive promoter-protein pretraining yields representations capturing bacterial gene regulation

Cameron Dufault, Scott Xu, Alan M MosesNeurIPS 2026

TL;DR

Knowing what protein a gene builds is only half the story; cells also need regulatory DNA—like promoters—to know when and where to build it. While massive genome language models (gLMs) struggle to make sense of noisy regulatory DNA, this paper introduces C3P, a CLIP-inspired model that learns regulatory logic by matching bacterial promoters to their corresponding proteins. With a fraction of the parameters and compute, C3P vastly outperforms giant gLMs, hinting that we might soon decode the regulatory wiring of millions of unstudied bacteria straight from their raw DNA.

What Problem Does This Paper Address?

Deep learning has famously cracked protein structure prediction from amino acid sequences. Yet, reading a raw genome to understand gene regulation—how a cell orchestrates which genes turn on or off to adapt to its environment—remains an open challenge.

In bacteria, regulatory instructions live primarily in short, non-coding DNA regions right upstream of genes, called promoters. Because experimental data on gene regulation exists for only a tiny sliver of Earth's millions of bacterial species, researchers have turned to self-supervised genome language models (gLMs). These models train on raw DNA by predicting masked or next nucleotides (reconstruction).

Here's the catch: over evolutionary time, regulatory DNA mutates rapidly and looks very "noisy" at the sequence level, even when its underlying biological function stays the same. Reconstruction-based models get bogged down trying to predict high-variance, surface-level noise rather than true regulatory meaning—much like trying to learn object recognition by predicting individual static pixels. In fact, on regulatory tasks, massive gLMs often barely beat randomly initialized networks.

Methods

Instead of sequence reconstruction, the authors reframe the problem using multi-modal contrastive learning—essentially CLIP for genomics, or Contrastive Promoter-Protein Pretraining (C3P).

Figure 1: An overview of (a) C3P dataset creation and (b) architecture and training.

The biological intuition is wonderfully elegant: proteins that work together or share functions often need to be expressed at the same time (co-regulated). We already have protein language models (pLMs) like ESM-2 that excel at capturing protein function in their embeddings. C3P uses these rich protein embeddings as a supervisory anchor to teach a DNA encoder what matters in a promoter:

  1. Dual Encoders: A randomly initialized Transformer (up to 100M parameters) encodes the DNA promoter (tokenized into overlapping 3-mers), while a frozen pretrained ESM-2 (150M) encodes the corresponding protein.
  2. Contrastive Alignment: Both outputs are projected into a shared 256-dimensional space. Using a symmetric InfoNCE loss, C3P pulls real promoter-protein pairs together and pushes mismatched pairs apart. Keeping the protein encoder frozen prevents representational collapse and makes training cheap enough for a single GPU.

Datasets

  • Pretraining Dataset (New): Extracted from 40,000 RefSeq bacterial genomes (~23,000 species), yielding 87.5 million training and 10 million validation promoter-protein pairs. It uses a neat distance heuristic to group multi-gene operons (clusters of bacterial genes sharing one promoter). E. coli and its close relatives were strictly held out to test true generalization.
  • Curated Benchmarks: RegulonDB (E. coli) and DBTBS (B. subtilis) for gold-standard, experimentally validated regulons (genes controlled by the same transcription factor) and sigmulons (genes sharing a sigma factor).
  • Zero-Shot Co-Regulated Gene Retrieval (New Framework): Built using 25 datasets across 17 species from iModulonDB (co-regulated gene groups inferred from expression data). It tests whether a gene's nearest neighbor in promoter-embedding space actually shares its regulatory group, using zero experimental training data.

Key Insights and Ideas

  • The student surpasses the teacher: You might worry C3P just learns a lossy copy of ESM-2's protein embeddings. It doesn't. On promoter classification and clustering, C3P handily beats ESM-2 itself. Because functionally different proteins sometimes share a regulatory switch, aligning promoters across thousands of genomes forces the DNA encoder to discover actual DNA binding motifs rather than memorizing protein structure.
Figure 4: UMAP plots of B. subtilis promoter embeddings from C3P and protein embeddings from ESM2 (150M). Genes labeled with one of the 10 most frequent iModulons in the nicolas iModulonDB dataset are highlighted. Background is genes with other iModulon labels or no labels.
  • Contrastive objectives beat brute-force scale on DNA: Unlike gLMs—which show flat scaling and frequently fail to beat random initializations on co-regulation tasks—C3P beats its random baseline on all 25 iModulon datasets and scales steeply with compute.
  • Emergent motif discovery: Without ever seeing experimental binding data, mutating nucleotides in silico shows that C3P's promoter-protein similarity drops sharply right where real transcription factors bind.

Key Results

  • Gold-Standard Classification (E. coli): Despite having 70x fewer parameters (100M vs. 7B), C3P outperforms the best gLM (Evo2) by ~9x on regulon prediction (0.058 vs. 0.006 mAP@R) and ~3x on sigmulon prediction (0.077 vs. 0.028 mAP@R), while also beating its ESM-2 teacher (0.021 and 0.036).
  • Zero-Shot Co-Regulated Gene Retrieval: Across 25 bacterial datasets, C3P achieves 39.2% Top-1 Any-Match accuracy, roughly 3x to 4x higher than Evo2 (12.4%) and gLM2 (11.6%), and nearly double ESM-2 (21.8%). On B. subtilis, C3P hits 62.5% accuracy.
  • Zero-Shot Binding Site Prediction: On 100 E. coli promoters, C3P reaches 0.697 AUROC and 0.482 AUPRC, beating gLM2 (0.594 / 0.343) and Evo2 (0.562 / 0.325).

Limitations and Future Work

  • No sequence generation: Unlike autoregressive gLMs (like Evo), C3P is an encoder-only representation learner and cannot generate synthetic DNA sequences out of the box.
  • Blind spots for ubiquitous features & promoter strength: Because contrastive learning focuses on what distinguishes promoters, C3P underperforms on the common "housekeeping" sigma factor (rpoD). Interestingly, when predicting overall promoter strength (expression levels), smaller C3P models (1M–5M) beat larger ones (25M–100M).
  • Bacteria vs. Humans: Bacterial regulation is compact. Extending C3P to complex eukaryotes like humans will require new ways to handle enhancers, long-range 3D DNA interactions, alternative splicing, and cell-type specificity.
  • Interpretability: Digging into what exact sequence rules C3P learned could uncover brand-new biology.

Summary updated

BibTeX
@inproceedings{dufault2026c,
  author = {Cameron Dufault and Scott Xu and Alan M Moses},
  title = {{C3P: Contrastive promoter-protein pretraining yields representations capturing bacterial gene regulation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=0pWBLS7Kzj},
}
Figure