Long-range gene expression prediction with token alignment of large language model

Edouardo Honig, Huixin Zhan, Ying Nian Wu, Zijun Frank Zhang

TL;DR

Genetic sequence Token Alignment (GTA) is a new framework that repurposes frozen Large Language Models (LLMs) like Llama3 to predict gene expression. By expanding the genomic context window to 1 million base pairs—five times larger than previous state-of-the-art models—and using natural language gene annotations as prompts, GTA achieves a 10% improvement in prediction accuracy over models like Enformer.

What Problem Does This Paper Address?

Predicting how much a gene will be "expressed" (turned into protein) based solely on its DNA sequence is a "holy grail" of genomics. While we understand the DNA immediately surrounding a gene (proximal elements), gene expression is also controlled by "distal" regulatory elements (like enhancers) that can be located hundreds of thousands of base pairs away.

Existing deep learning models struggle with two things:

  1. Context Length: Most models have a limited "vision," missing these far-away distal elements.
  2. Regulatory Grammar: DNA isn't just a string of letters; it has a complex "grammar" that dictates how different parts of the sequence interact.

The authors argue that instead of training a genomic model from scratch to learn this grammar, we can leverage the sophisticated symbolic reasoning and "grammar-processing" capabilities already present in pretrained LLMs.

Methods

The authors introduce GTA (Genetic sequence Token Alignment), which treats genomic data as a "language" that a frozen LLM can interpret.

  • Feature Extraction: Rather than feeding raw DNA (A, C, G, T) into the LLM, they use a pretrained model called Sei. Sei converts 4,096-base pair chunks of DNA into 33 "regulatory activity" features (e.g., "is this an enhancer?" or "is this a promoter?").
  • Token Alignment: This is the core innovation. They create "text prototypes"—mathematical representations that map these genomic features into the LLM’s existing embedding space. This allows the LLM to "read" genomic features as if they were words.
  • Frozen Backbone: They use Llama3-8B as the reasoning engine but keep it "frozen" (no weights are changed). This makes training much cheaper and prevents the model from forgetting its linguistic reasoning skills.
  • In-Context Learning: Because they are using an LLM, they can provide "prompts." They feed the model actual text descriptions of the gene (from the NCBI database) alongside the genomic data, allowing the model to use human-curated knowledge to inform its predictions.
  • Selection Network: Since an LLM produces many outputs, they use a small "selector" layer to pick the 25 most relevant tokens to generate the final gene expression value.

Datasets

  • Training/Evaluation: The model was trained on lymphoblastoid (immune) cells (GM12878) and evaluated using data from the Geuvadis consortium, which contains gene expression measurements from 421 individuals.
  • Genomic Reference: The human reference genome GRCh38 was used to extract sequences.
  • Annotations: Gene-specific metadata (names, aliases, and functional summaries) were pulled from the NCBI Gene service.

Key Insights and Ideas

  • LLMs as Cross-Modal Reasoners: The paper demonstrates that the "logic" an LLM uses to understand English can be successfully "reprogrammed" to understand the logic of DNA regulation.
  • Bigger is Better (for Context): GTA scales easily. By increasing the input context to 1 million base pairs (1,000 kb), the model captured distal interactions that shorter-range models simply cannot see.
  • Semantic Anchoring: The authors found that using the actual names of genomic features (like "B-cell enhancer") to find relevant tokens in the LLM's vocabulary worked significantly better than random initialization. This suggests the LLM’s internal knowledge of those words actually helps it process the genomic data.
  • Layer Efficiency: Surprisingly, an ablation study showed that using only the first 8 layers of Llama3 performed better than using all 32. This suggests that the "reasoning" required for this task happens in the earlier stages of the LLM, or that deeper layers are too specialized for human language.

Key Results

  • Superior Accuracy: GTA achieved a Spearman correlation of 0.65, outperforming the previous industry standard, Enformer (0.58), by roughly 10%.
  • Biological Interpretability: By looking at the model's "attention," the researchers found that the model naturally focused on biologically significant areas, such as the Transcription Start Site (TSS) and cell-specific enhancers, without being explicitly told to do so.
  • Long-Range Success: The model's performance peaked at the 1,000 kb context level, proving that the extra "vision" provided by the LLM backbone is crucial for accurate prediction.

Limitations and Future Work

  • Dependency on Sei: GTA is only as good as the features provided by the Sei model. If Sei fails to capture a specific nuance in the raw DNA, GTA has no way of knowing it exists.
  • The "Causal" Problem: Llama3 is a "causal" (decoder-only) model, meaning it only looks at information from left to right. However, DNA regulation is bidirectional. The authors suggest that future versions using "non-causal" or "bidirectional" models (like BERT-style architectures) might perform even better.
  • Cell-Type Specificity: This study focused on one specific cell type (lymphoblastoid cells). Expanding this to a wider variety of tissues and organs is the next logical step.

Summary updated

BibTeX
@inproceedings{honig2025long,
  author = {Edouardo Honig and Huixin Zhan and Ying Nian Wu and Zijun Frank Zhang},
  title = {{Long-range gene expression prediction with token alignment of large language model}},
  booktitle = {AI4NA @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=9vGR0p0gIa},
}

Loading related content...

Figure