A Comprehensive Benchmark for RNA 3D Structure-Function Modeling

Luis Wyss, Vincent Mallet, Wissam Karroucha, Karsten M. Borgwardt, Carlos G. Oliver

Introduction

The rapid advancement of deep learning in structural biology, exemplified by breakthroughs in protein folding, has yet to be fully mirrored in the study of RNA. Despite the critical roles RNA plays in gene regulation and protein synthesis, the field has lacked the standardized infrastructure necessary for rigorous model evaluation. This paper introduces a comprehensive benchmarking suite for RNA 3D structure-function modeling, integrated into the rnaglib ecosystem. By providing seven diverse tasks and robust data-splitting protocols, we establish a foundation for fair comparison and accelerated progress in RNA structural bioinformatics.

The RNA Modeling Challenge

RNA molecules present unique challenges compared to proteins. They are highly flexible, negatively charged, and characterized by a scarcity of high-resolution 3D structures. While protein benchmarks like ATOM3D have catalyzed innovation, RNA research has been hindered by a lack of standardized datasets and evaluation metrics. Without "leakage-proof" splitting strategies, models often appear to perform well by memorizing similar structures rather than learning generalizable biological principles.

Methodology: Rigorous Data Splitting and Representation

To address these challenges, we developed an automated pipeline that fetches data from the Protein Data Bank (PDB), applies quality filters (e.g., resolution < 4Å), and partitions large complexes into manageable units.

Preventing Data Leakage

A central contribution of this work is the implementation of rigorous splitting protocols. We employ a clustering-based approach using sequence similarity (CD-HIT) and structural similarity (US-align). Integer programming via the PuLP library is then used to create balanced splits that minimize similarity between training and testing sets.

Test scores across different splitting strategies (Structure, Sequence, Random), illustrating the risk of performance inflation when using random splits.

As shown in the figure above, random data splitting consistently leads to inflated performance metrics. Our similarity-based splitting provides a more realistic assessment of a model's ability to generalize to novel RNA structures.

2.5D Graph Representations

We emphasize the use of "2.5D graphs" for RNA representation. Unlike 1D sequences or raw 3D atomic coordinates, 2.5D graphs represent nucleotides as nodes and encode both backbone connections and complex, non-canonical base-pairing interactions (using Leontis-Westhof nomenclature) as edges. This representation provides a "biological prior" that captures essential structural information while remaining robust to the noise inherent in atomic-level data.

Benchmarking Tasks

The suite comprises seven core tasks designed to probe different aspects of RNA function and structure.

Schematic overview of the seven RNA 3D structure-function modeling tasks: RNA-Prot, RNA-GO, RNA-Ligand, RNA-Site, RNA-CM, RNA-IF, and RNA-VS.
  1. RNA-GO: Predicting molecular functions (Gene Ontology terms).
  2. RNA-IF (Inverse Folding): Designing a sequence to fit a specific 3D backbone.
  3. RNA-CM: Identifying chemically modified residues from geometry.
  4. RNA-PROT: Predicting RNA-protein interaction sites.
  5. RNA-SITE: Detecting small-molecule binding sites.
  6. RNA-LIGAND: Classifying ligands based on binding pockets.
  7. RNA-VS: Virtual screening for drug discovery (predicting binding affinity).

Key Insights and Results

Our benchmarking of baseline architectures, including Relational Graph Convolutional Networks (RGCNs) and Geometric Vector Perceptrons (GVPs), yielded several key insights:

  • Structural Information is Vital: Models incorporating 3D or 2.5D information consistently outperformed 1D sequence-only models (LSTMs/Transformers), confirming that RNA function is inextricably linked to its spatial fold.
  • The 2.5D Advantage: Coarse-grained 2.5D graphs often outperformed full atomic models. We hypothesize that given the limited and dynamic nature of RNA data, atomic detail may introduce noise that hinders generalization.
  • Task-Specific Context: The optimal network depth is task-dependent; for instance, protein binding site prediction requires less structural context than global function prediction.

In terms of performance, the RNA-GO task achieved a Jaccard score of 0.533, significantly outperforming the majority-class baseline. The RNA-VS task reached an AuROC of 0.759, demonstrating the potential for AI-driven RNA drug discovery.

Conclusion

This benchmarking suite provides the necessary tools for the community to develop and evaluate RNA 3D structure-function models systematically. While data scarcity and the dynamic nature of RNA remain ongoing challenges, the standardized datasets and rigorous protocols established here represent a significant step toward bringing RNA structural biology into the era of deep learning.

All resources, code, and documentation are available at rnaglib.org.

Summary updated

Abstract

The RNA structure-function relationship has recently garnered significant attention within the deep learning community, promising to grow in importance as nucleic acid structure models advance. However, the absence of standardized and accessible benchmarks for deep learning on RNA 3D structures has impeded the development of models for RNA functional characteristics. In this work, we introduce a set of seven benchmarking datasets for RNA structure-function prediction, designed to address this gap. Our library builds on the established Python library rnaglib, and offers easy data distribution and encoding, splitters and evaluation methods, providing a convenient all-in-one framework for comparing models. Datasets are implemented in a fully modular and reproducible manner, facilitating for community contributions and customization. Finally, we provide initial baseline results for all tasks using a graph neural network. Source code: https://github.com/cgoliver/rnaglib Documentation: https://rnaglib.org
BibTeX
@misc{wyss2025comprehensive,
  author = {Luis Wyss and Vincent Mallet and Wissam Karroucha and Karsten M. Borgwardt and Carlos G. Oliver},
  title = {{A Comprehensive Benchmark for RNA 3D Structure-Function Modeling}},
  year = {2025},
  eprint = {2503.21681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.21681},
}
Figure