Homology-aware cross-validation strategies for generalization assessment in RNA secondary structure prediction
L. Bugnon, G. Kulemeyer, M. Gerard, L. Di Persia, G. Stegmayer, D. H. Milone
Key points
From the paper's conclusion- We analyzed cross-validation strategies for RNA secondary structure prediction and proposed homology-aware strategies: human-learned folds and similarity folds.
- Traditional random partitioning and clustering-based splitting yield overoptimistic results due to homology, while leaving one RNA family out makes learning impossible.
- Homology-aware strategies enable fair comparisons between classical and learning-based RNA secondary structure prediction methods.
Abstract
RNA secondary structure prediction is a fundamental challenge in bioinformatics, essential for understandingthe functional roles of non-coding RNAs. Recently, deep learning models have transformed the field with impressive results, leading to critical discussions regarding the validity of current crossvalidation strategies. On the one hand, traditional random partitioning yields overoptimistic results due to data leakage from uncontrolled homology. On the other hand, removing every training sequence that even slightly resembles the testing set penalizes learning-based methods, requiring generalization to completely out-of-distribution sequences. While removing sequences and retraining a machine-learned model is straightforward, the experimental data used for development and parameter tuning of classical thermodynamic methods cannot be removed, leaving these methods to benefit from knowledge leakage. Here we critically analyze the cross-validation strategies currently used for RNA secondary structure prediction: random splitting, clustering-based splitting, and leaving one RNA family out for testing. We demonstrate that this last strategy can leave structural patterns present only in the test partition, making the learning task impossible. Overall, we find that the apparent superiority of either type of method is an artifact of the splitting strategy. We propose here two homology-aware strategies: human-learned folds, which exclude from testing the structures already captured by decades of human learning, and similarity folds, which measure performance across the full spectrum of test-totrain similarity. Both enable fair comparisons, applying the same rigorous assessment to classical and learning-based methods.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We analyzed cross-validation strategies for RNA secondary structure prediction and proposed homology-aware strategies: human-learned folds and similarity folds.
- Traditional random partitioning and clustering-based splitting yield overoptimistic results due to homology, while leaving one RNA family out makes learning impossible.
- Homology-aware strategies enable fair comparisons between classical and learning-based RNA secondary structure prediction methods.
Readers' thoughts
No reader thoughts yet.
Related papers
- Deep learning for RNA secondary structure determination: gauging generalizability and broadening the scope of traditional methodsRNA · 2026
- Machine learning and language models for RNA structure prediction: Progress and perspectivesCurrent Opinion in Structural Biology · 2026
- A validation approach for RNA structures based on deep-learning 3D-structure predictionsbioRxiv · 2026
- A fully open structure-guided RNA foundation model for robust structural and functional inferenceResearch Square · 2025
- RiNALMo: general-purpose RNA language models can generalize well on structure prediction tasksNature Communications · 2025
- An open structure-guided RNA foundation model for generalizable prediction.Nature · 2026