bioRxivBiophysicsPreprint
Conditional Generation And Inpainting Of Non-coding RNA Sequences With Masked Discrete Diffusion
Utkarsh UpadhyayiD, Chuankai DaiiD, Julian M. HeroldiD, Kengo SatoiD, Alexander H. SchugiD
Abstract
Designing functional non-coding RNA (ncRNA) is fundamental to synthetic biology and RNA therapeutics, yet generative modelling for ncRNA has received far less attention than protein design. We present RNA-MDLM, a framework that extends Masked Discrete Language Models (MDLM) to the conditional generation and inpainting of ncRNA. We make two additions: first, conditioning on RNA-type representations from a pretrained RNA language model, and second, a modified classifier-free guidance scheme (Mod-CFG) that interpolates among conditional, unconditional, and random-sequence probabilities for better control. We also introduce REPAINT GAMES, a benchmark of seven structured masking tasks to probe a model's performance on sequence patterns, structural motifs, and base-pairing per RNA type. Our model is trained on 4.6 million ncRNA sequences spanning six evaluable classes. It produces sequences whose composition and folding statistics closely match natural RNAs. Through extensive ablation studies, we find that the embedding-conditioned model achieves the best balance of structural fidelity, biological novelty, and inpainting accuracy, and its class label steers generation far more strongly than a plain label baseline. We further show that a model trained on a smaller, class-balanced subset can appear more realistic mainly by copying abundant natural sequences rather than learning their rules. We also benchmark against a masked-diffusion model and a family-specific VAE on ribozyme families, and find that a type-conditioned model like ours and a per-family model are solving different tasks, which must be accounted for in a fair comparison. We will release the code and the trained models.
- Citations
- 0
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.
Related papers
- RNA-DCGen: Dual Constrained RNA Sequence Generation with LLM-Attack
Haz Sameen Shahgir, Md. Rownok Zahan Ratul, … Atif Hasan Rahman·bioRxiv·Sep 23, 2024
- EVOFLOW-RNA: GENERATING AND REPRESENTING NON-CODING RNA WITH A LANGUAGE MODEL
Smit Patel, Fred Zhangzhi Peng, … Sherwood Yao·bioRxiv·Feb 25, 2025
- RiboDiffusion: Tertiary Structure-based RNA Inverse Folding with Generative Diffusion Models
Han K. Huang, Ziqian Lin, … Yu Li·bioRxiv·Apr 18, 2024
- GenerRNA: A generative pre-trained language model for de novo RNA design
Yichong Zhao, Kenta Oono, … Masaaki Kotera·bioRxiv·Feb 1, 2024
- Hybrid Generative Model: Bridging Machine Learning and Biophysics to Expand RNA Functional Diversity
Vaitea Opuu·bioRxiv·Jan 20, 2025
- RWKV-IF: Efficient and Controllable RNA Inverse Folding via Attention-Free Language Modeling
Gaoyuan Ji, Kefan Xu, Chuhong Zheng·bioRxiv·Jun 13, 2025