RNA-Protein Interaction Classification via Sequence Embeddings

Dominika Matus, Frederic Runge, Jörg K.h. Franke, Lars Gerne, Michael Uhl, Frank Hutter, Rolf Backofen

TL;DR

Experimental mapping of non-coding RNA-protein interactions is expensive and low-throughput, while existing computational predictors often fail to generalize or rely on naive random negative sampling. This paper introduces RNAInterAct, a large-scale, homology-controlled benchmark with biologically informed negative pairs, and RPIembeddor, a transformer-based classifier powered by RNA-FM and ESM-2 sequence embeddings. By exploiting representations from these foundational models, RPIembeddor significantly outperforms existing state-of-the-art tools on structurally unseen RNA families.

What Problem Does This Paper Address?

Non-coding RNAs (ncRNAs) make up the vast majority of the human transcriptome and serve as essential cellular regulators via their interactions with RNA-binding proteins (RBPs). Despite their biological importance, mapping RNA-protein interactions (RPIs) via wet-lab assays (such as CLIP-seq or SELEX) is labor-intensive and costly.

Existing machine learning approaches suffer from critical flaws:

  1. Narrow Scope: Most models are trained on single proteins and require thousands of pre-existing CLIP-seq binding targets, leaving thousands of uncharacterized RBPs unexplored.
  2. Homology Leakage & Naive Benchmarks: Existing sequence-level interaction predictors typically evaluate on small datasets with random train-test splits, introducing homology bias that inflates performance.
  3. Noisy Negative Data: Computational datasets typically synthesize negative examples by randomly pairing non-interacting sequences without biological rationale.

Methods

The authors introduce RPIembeddor, a lightweight (1.4M parameters) transformer-based model:

  • Pre-trained Embeddings: Instead of one-hot sequences or handcrafted physicochemical descriptors, the pipeline extracts token embeddings using two foundation models: RNA-FM for ncRNA sequences and ESM-2 (30 layers, 150M parameters) for protein sequences, both outputting 640-dimensional representations. These capture high-level structural and evolutionary constraints without requiring experimental structures or multiple sequence alignments (MSAs).
  • Architecture: Parallel feed-forward layers first normalize sequence dimension lengths. A symmetric cross-attention encoder layer ($d_{\text{model}} = 256$, 2 attention heads) enables the model to dynamically attend across RNA and protein positions. The aggregated latent representations are concatenated and passed through a 20-layer feedforward network with a sigmoid output.
  • Informed Negative Sampling: Negative interactions in RNAInterAct are generated systematically: an RNA (or protein) is paired with a protein (or RNA) whose Pfam clan (or Rfam family) has no known binding interactions with that RNA family (or protein clan).
[ncRNA Sequence]   --> RNA-FM (640-d) --\
                                         --> [Size Normalization] --> [Symmetric Attention Encoder] --> [20-Layer MLP] --> P(Interaction)
[Protein Sequence] --> ESM-2  (640-d) --/

Datasets

  • RNAInterAct (New): Built from RNAInter v4.0, filtered to sequences $\le 1024$ residues and restricted to $\le 150$ interactions per molecule. It comprises 122,217 total interactions (35,852 positive, 73,362 negative).
  • $TR_{\text{inter}}$ (Train): 109,214 interactions spanning 976 RNA families.
  • $TS_{\text{fam}}$ (Test): 13,003 interactions across 172 RNA families, held out strictly with zero RNA family overlap with $TR_{\text{inter}}$ to test true out-of-distribution generalization.
  • RPI2825 (Existing): A widely cited benchmark containing 871 positive-only interactions (after applying the same 1024-residue length cutoff).

Key Insights and Ideas

  • Evaluating on unseen RNA families reveals huge baseline flaws: On the homology-split $TS_{\text{fam}}$, competing tools falter. XRPI predicts positive for ~91% of inputs despite the test set being 62% negative, and IPMiner essentially acts as a coin flip ($\text{AUC} \approx 0.50$).
  • Foundation embeddings are an all-or-nothing necessity: When ablating embeddings by replacing either protein or RNA inputs with random vectors—or replacing both with traditional one-hot encodings—the model collapses completely, predicting zero positive interactions (Precision, Recall, and F1 drop to 0.0). Simple sequence representations fail to capture the complex, non-linear binding grammar without pre-trained structural priors.

Key Results

  • Homology-split Test Set ($TS_{\text{fam}}$):
  • RPIembeddor: $\text{F1} = \mathbf{0.586 \pm 0.013}$, Accuracy = $\mathbf{0.667 \pm 0.009}$, $\text{ROC-AUC} = \mathbf{0.70 \pm 0.01}$.
  • IPMiner: $\text{F1} = 0.366$, Accuracy = $0.512$, $\text{ROC-AUC} = 0.50$.
  • XRPI: $\text{F1} = 0.531$, Accuracy = $0.398$, $\text{ROC-AUC} = 0.48$.
  • Zero-Shot Transfer to RPI2825:
  • Even though RPIembeddor was trained on a 1:2 positive-to-negative ratio, it generalized well to this positive-only benchmark ($\text{F1} = 0.800 \pm 0.049$). XRPI achieved 0.991, but only because it was originally trained directly on RPI2825.

Limitations and Future Work

  • Input Length Constraints: Sequences are capped at 1,024 nucleotides/amino acids due to context limits of pre-trained models, truncating very long lncRNAs or giant proteins.
  • ncRNA Exclusivity: Because RNA-FM is pre-trained exclusively on ncRNAs, messenger RNAs (mRNAs) were omitted from RNAInterAct to avoid embedding degradation.
  • Annotation Bottleneck: Negative pair generation depends on existing Rfam and Pfam annotations, leaving completely unannotated sequences out of the dataset curation.
  • Future Directions: Integrating explicit secondary/tertiary RNA structural models (e.g., RNAformer) and exploring modern foundation models supporting longer sequences and mRNA contexts.

Summary updated

BibTeX
@inproceedings{matus2024rna,
  author = {Dominika Matus and Frederic Runge and Jörg K.H. Franke and Lars Gerne and Michael Uhl and Frank Hutter and Rolf Backofen},
  title = {{RNA-Protein Interaction Classification via Sequence Embeddings}},
  booktitle = {GEM @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=04MgOkuPTo},
}
Figure