LinearFold: linear-time approximate RNA folding by 5'-to-3' dynamic programming and beam search
Not on the map. Why?
Abstract (arXiv)
Motivation: Predicting the secondary structure of an RNA sequence is useful in many applications. Existing algorithms (based on dynamic programming) suffer from a major limitation: their runtimes scale cubically with the RNA length, and this slowness limits their use in genome-wide applications. Results: We present a novel alternative O(n3)-time dynamic programming algorithm for RNA folding that is amenable to heuristics that make it run in O(n) time and O(n) space, while producing a high-quality approximation to the optimal solution. Inspired by incremental parsing for context-free grammars in computational linguistics, our alternative dynamic programming algorithm scans the sequence in a left-to-right (5'-to-3') direction rather than in a bottom-up fashion, which allows us to employ the effective beam pruning heuristic. Our work, though inexact, is the first RNA folding algorithm to achieve linear runtime (and linear space) without imposing constraints on the output structure. Surprisingly, our approximate search results in even higher overall accuracy on a diverse database of sequences with known structures. More interestingly, it leads to significantly more accurate predictions on the longest sequence families in that database (16S and 23S Ribosomal RNAs), as well as improved accuracies for long-range base pairs (500+ nucleotides apart), both of which are well known to be challenging for the current models. Availability: Our source code is available at https://github.com/LinearFold/LinearFold, and our webserver is at http://linearfold.org (sequence limit: 100,000nt).
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). First posted on arXiv 22 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 2; 2025: 1; 2026: 2.
10 papers.
- 2024BEACON: Benchmark for Comprehensive RNA Tasks and Language Modelscited by 7
- 2023Scalable Deep Learning for RNA Secondary Structure Predictioncited by 3
- 2023SynJax: Structured Probability Distributions for JAXcited by 2
- 2022Deciphering RNA Secondary Structure Prediction: A Probabilistic K-Rook Matching Perspectivecited by 1
- 2023Messenger RNA Design via Expected Partition Function and Continuous Optimizationcited by 1
- 2023Rethinking Performance Measures of RNA Secondary Structure Problemscited by 1
- 2024Sampling-based Continuous Optimization with Coupled Variables for RNA Designcited by 0
- 2025Crypto-ncRNA: a bio-inspired post-quantum cryptographic primitive exploiting RNA folding complexitycited by 0
- 2026Protein-Conditioned Multi-Objective Reinforcement Learning for Full-Length mRNA Designcited by 0
- 2026Multi-Modal Machine Learning for Population- and Subject-Specific lncRNA-Type 2 Diabetes Association Analysiscited by 0
- 2026Multi-Modal Machine Learning for Population- and Subject-Specific lncRNA-Type 2 Diabetes Association Analysis20 May 2026
- 2026Protein-Conditioned Multi-Objective Reinforcement Learning for Full-Length mRNA Design2 May 2026
- 2025Crypto-ncRNA: a bio-inspired post-quantum cryptographic primitive exploiting RNA folding complexity24 Apr 2025
- 2024Sampling-based Continuous Optimization with Coupled Variables for RNA Design11 Dec 2024
- 2024BEACON: Benchmark for Comprehensive RNA Tasks and Language Models14 Jun 2024
- 2023Messenger RNA Design via Expected Partition Function and Continuous Optimization29 Dec 2023
- 2023Rethinking Performance Measures of RNA Secondary Structure Problems4 Dec 2023
- 2023SynJax: Structured Probability Distributions for JAX7 Aug 2023
- 2023Scalable Deep Learning for RNA Secondary Structure Prediction14 Jul 2023
- 2022Deciphering RNA Secondary Structure Prediction: A Probabilistic K-Rook Matching Perspective2 Dec 2022