Designing RNAs with Language Models

Milan Gautam, Ning Dai, Tianshuo Zhou, Bowen Xie, David Mathews +1 more
2/12/2026
cs.LGcs.AI

Official code: KuNyaa/RNA-Design-LM (1 star, MIT, last commit 2026-02-01).

Abstract

RNA design, the task of finding a sequence that folds into a target secondary structure, has broad biological and biomedical impact but remains computationally challenging due to the exponentially large sequence space and exponentially many competing folds. Traditional approaches treat it as an optimization problem, relying on per-instance heuristics or constraint-based search. We instead reframe RNA design as conditional sequence generation and introduce a reusable neural approximator, instantiated as an autoregressive language model (LM), that maps target structures directly to sequences. We first train our model in a supervised setting on random-induced structure-sequence pairs, and then use reinforcement learning (RL) to optimize end-to-end metrics. We also propose methods to select a small subset for RL that greatly improves RL efficiency and quality. Across four datasets, our approach outperforms state-of-the-art systems on key metrics such as Boltzmann probability while being 1.7x faster, establishing conditional LM generation as a scalable, task-agnostic alternative to per-instance optimization for RNA design. Our code and data are available at https://github.com/KuNyaa/RNA-Design-LM.

View on arXivView PDF

Code Implementations(1)

MIT

A language model-based framework for RNA sequence design, enabling the generation of sequences that fold into specified secondary structures through task-specific training and scalable inference.

11PythonJun 18, 20258 months agoMIT

Similar Papers

Cite this paper

@article{gautam2026designing,
  title  = {Designing RNAs with Language Models},
  author = {Milan Gautam and Ning Dai and Tianshuo Zhou and Bowen Xie and David Mathews and Liang Huang},
  year   = {2026},
  eprint = {2602.12470},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.12470v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.12470.svg)](https://codeofpaper.com/paper/2602.12470)

Discussion