Sign in
BioinformaticsNucleic Acids Research
Peer-reviewed journal article

Differentiable Partition Function Calculation for RNA

Marco C. Matthies, Ryan KruegeriD, Andrew E. TordaiD, Max WardiD

Abstract

AO_SCPLOWBSTRACTC_SCPLOWRibonucleic acid (RNA) is an essential molecule in a wide range of biological functions. In 1990, McCaskill introduced a dynamic programming algorithm for computing the partition function of an RNA sequence. This forward model is widely used for understanding the thermodynamic properties of a given RNA. In this work, we introduce a generalization of McCaskills algorithm that is well-defined over continuous inputs and is differentiable. This allows us to tackle the inverse folding problem--designing a sequence with desired equilibrium thermodynamic properties--directly using gradient optimization. This has applications to creating RNA-based drugs such as mRNA vaccines. Furthermore, it allows McCaskills foundational algorithm to be incorporated into machine learning pipelines directly since we have made it end-to-end differentiable. This work highlights how principles from differentiable programming can be translated to existing physical models to develop powerful tools for machine learning. We provide a concrete example by implementing an effective and interpretable RNA design algorithm.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISKrueger '25Huang '24Li '26Hou '25Wang '24Sato '21
64% semantic matchBioinformatics
Ryan Krueger, Max Ward·Bioinformatics·Apr 24, 2025· 12 citations