Sign in
BioengineeringbioRxiv
Preprint

RWKV-IF: Efficient and Controllable RNA Inverse Folding via Attention-Free Language Modeling

Gaoyuan JiiD, Kefan Xu, Chuhong Zheng

Abstract

We present RWKV-IF, an efficient and controllable framework for RNA inverse folding based on the attention-free RWKV language model. By treating structure-to-sequence generation as a conditional language modeling task, RWKV-IF captures long-range dependencies with linear complexity. We introduce a decoding strategy that integrates Top-k sampling, temperature control, and G-C content biasing to generate sequences that are both structurally accurate and biophysically meaningful. To overcome limitations of existing datasets, we construct a large-scale synthetic training set from randomly generated sequences and demonstrate strong generalization to real-world RNA structures. Experimental results show that RWKV-IF significantly outperforms traditional search-based baselines, achieving higher accuracy and full match rate while greatly reducing edit distance. Our approach highlights the potential of lightweight generative models in RNA design under structural and biochemical constraints. The code is available at https://github.com/Lyttr/RWKVInverseFolding.git

PDFDOICode

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
THISHuang '24Wang '25Watanabe '26Liu '26Patil '24He '26
79% semantic matchBioinformatics
Han K. Huang, Ziqian Lin, Dongchen He+2 more·bioRxiv·Apr 18, 2024· 3 citations