A long-context RNA foundation model for predicting transcriptome architecture

Alihossein Saberi, Man Hung Choi, Simai Wang, Aldo Hernández-Corchado, Mohsen Naghipourfar, Arsham Mikaeili Namini, Vijay Ramani, Amin Emad, Hamed S. Najafabadi, Hani GoodarzibioRxiv 2024

Abstract

Linking DNA sequence to genomic function remains one of the grand challenges in genetics and genomics. Here, we combine large-scale single-molecule transcriptome sequencing of diverse cancer cell lines with cutting-edge machine learning to build LoRNA$^{SH}$, an RNA foundation model that learns how the nucleotide sequence of unspliced pre-mRNA dictates transcriptome architecture—the relative abundances and molecular structures of mRNA isoforms. Owing to its use of the StripedHyena architecture, LoRNA$^{SH}$ handles extremely long sequence inputs at base-pair resolution (~65 kilobase pairs), allowing for quantitative, zero-shot prediction of all aspects of transcriptome architecture, including isoform abundance, isoform structure, and the impact of DNA sequence variants on transcript structure and abundance. We anticipate that our public data release and the accompanying frontier model will accelerate many aspects of RNA biotechnology. More broadly, we envision the use of LoRNA$^{SH}$ as a foundation for fine-tuning of any transcriptome-related downstream prediction task, including cell-type specific gene expression, splicing, and general RNA processing.

Introduction

One of the "grand challenges" in genomics is predicting how a DNA sequence results in a functional product. While identifying genes has become routine, predicting transcriptome architecture—the exact mix of different mRNA isoforms and their relative amounts—remains incredibly difficult.

Most existing models rely on short-read sequencing data, which loses the "connectivity" of how different exons link together. Furthermore, standard Transformer models struggle with long sequences due to quadratic computational costs. To truly understand a gene, a model must process the entire sequence at once—from the start site to the polyadenylation signal, including every splicing decision in between.

Methods

The researchers introduced LoRNA$^{SH}$, which stands out due to two main innovations:

  1. StripedHyena Architecture: Instead of relying solely on Attention mechanisms, LoRNA$^{SH}$ uses a hybrid approach. It primarily utilizes "Hyena" operators—data-controlled convolutions that scale sub-quadratically ($O(L \log L)$)—interspersed with attention layers. This allows the model to handle a massive 64,000-nucleotide context window at single-base resolution.
  2. Splice-Aware Tokenization: The model uses a specialized 16-token vocabulary that distinguishes between exonic regions (uppercase A, C, U, G) and intronic regions (lowercase a, c, u, g). It also employs special tokens to mark the Transcription Start Site (TSS) and the PolyA Site (PAS), teaching the model the structural "grammar" of a transcript.

The model was trained using Causal Language Modeling across billions of tokens to learn the underlying logic of RNA processing.

Datasets

A major contribution of this work is the Cancer Cell-Line Long-Read Compendium (C2L2), a massive data resource designed to capture transcriptomic diversity.

The C2L2 compendium provides a diverse resource of long-read RNA sequencing across multiple tissues and cell lines, detailing read lengths, library sizes, and gene biotypes.

C2L2 includes high-quality long-read data (PacBio IsoSeq) from 26 cancer cell lines across nine tissue types. The full training corpus comprised 201 human and 46 mouse samples, resulting in over 7 billion training tokens and nearly 300,000 unique transcripts. For evaluation, the team utilized the ClinVar dataset and experimental exon trapping data.

Key Insights and Ideas

Analysis of the C2L2 data reveals the complexity of the transcriptome, showing significant differential transcript usage and expression across different cell lines. LoRNA$^{SH}$ was designed to navigate this complexity without explicit supervision for specific tasks.

Analysis of the C2L2 dataset reveals high Pearson correlation within cell lines and significant differential transcript usage (DTU) and expression (DE) across the compendium.
  • The "PAS" Embedding as a Summary: The embedding of the final PolyA Site (PAS) token acts as a compressed representation of the entire transcript, capturing enough information to predict gene expression levels.
  • Zero-Shot Splicing Logic: Without being explicitly trained to find splice sites, the model learned to recognize them. In mutation experiments, the model assigned much higher likelihoods to actual splice sites than to mutated versions.
  • Generative Biology: As a causal model, LoRNA$^{SH}$ can generate synthetic transcripts that follow the same length and structural distributions as real human mRNA, suggesting it has internalized the rules of the transcriptome.

Key Results

LoRNA$^{SH}$ demonstrated superior performance across several zero-shot tasks:

  • Isoform Abundance: It achieved a Pearson correlation of 0.15 for absolute mRNA abundance, significantly outperforming other long-context models like HyenaDNA (0.03).
  • Exon Trapping: In predicting autonomous exons, LoRNA$^{SH}$ (0.20 correlation) outperformed specialized models like SpliceAI (0.13).
  • Variant Pathogenicity: When identifying dangerous non-coding mutations in ClinVar, LoRNA$^{SH}$ achieved an AUROC of 0.80, outperforming both SpliceAI (0.77) and general DNA foundation models (~0.52).

Limitations and Future Work

While a major step forward, the authors note that 64kb covers only about 80% of human transcripts; many important genes are much longer. Future iterations will require even more efficient operators to scale further. Additionally, the current model predicts a "mean" transcriptome; future work will need to incorporate cell-specific regulatory factors to move beyond cell-type agnosticism.

Summary updated

BibTeX
@misc{saberi2024long,
  author = {Alihossein Saberi and Man Hung Choi and Simai Wang and Aldo Hernández-Corchado and Mohsen Naghipourfar and Arsham Mikaeili Namini and Vijay Ramani and Amin Emad and Hamed S. Najafabadi and Hani Goodarzi},
  title = {{A long-context RNA foundation model for predicting transcriptome architecture}},
  year = {2024},
  doi = {10.1101/2024.08.26.609813},
  howpublished = {bioRxiv},
}
Figure