RNA-FM
A BERT-style encoder pretrained on 23 million non-coding RNA sequences to produce RNA embeddings.
Molecules, proteins and genomics · 462 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 99.5M
- Operations
- 462
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2022
- Cited by
- 329 (as of 12 November 2026)
- Authors
- Jiayang Chen, Zhihang Hu, Siqi Sun and others
- Source
- GitHub: ml4bio/RNA-FM
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2425
- Graph hash
- f928d81af4c2445292c0d719793efd0bdb947c2fa11bf30106ae82a73da26db1
- Skeleton hash
- 4fe3ba52b745c6678ddcbdfd92123808296132d73685c132abf6f9491dfbc7b1
- Architecture hash
- b324e94f0913794730890bc079f9b5c9697f3e3cbb3390341c4a6f3966130367
- Diagram SHA-256
- f2606a3952fc813ca811c9a4d1d9a30ff3c3fd48d3075c4d1e6c3f10bff48bab
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
RNA-FM is a language model for RNA: an encoder based on the BERT architecture and trained on 23 million non-coding RNA sequences with no labels. The paper starts from the observation that unannotated RNA sequences are plentiful while annotated data and 3D structures are limited, and proposes pretraining on the sequences alone.
The network is a stack of 12 transformer encoder blocks, each with a 20-head self-attention layer. An embedding layer maps each nucleotide token to a 640-dimensional vector, so a sequence of length L becomes an L × 640 matrix. A final softmax layer predicts tokens from a vocabulary of 16 nucleotide symbols and 4 functional identifiers. Pretraining follows BERT: around 15% of the nucleotide tokens are masked and the model is trained to predict the originals. The training set, named RNAcentral100, holds 23.7 million sequences collected from RNAcentral.
The authors apply the embeddings to secondary and 3D structure prediction, SARS-CoV-2 genome structure and evolution prediction, protein-RNA binding preference modeling and gene expression regulation modeling. Pretraining took one month on eight A100 GPUs.
Key idea. RNA-FM shows that a BERT-style encoder pretrained on 23 million unannotated non-coding RNA sequences yields representations that improve RNA structure and function prediction.
- rna-fm
- rna foundation model
- rnafm
- rna language model
- non-coding rna
- ncrna
- rna embeddings
- rna structure prediction
- masked language modeling
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2022interpretablernafoundationmodel,
title={Interpretable RNA Foundation Model from Unannotated Data for Highly Accurate RNA Structure and Function Predictions},
author={Jiayang Chen and Zhihang Hu and Siqi Sun and Qingxiong Tan and Yixuan Wang and Qinze Yu and Licheng Zong and Liang Hong and Jin Xiao and Tao Shen and Irwin King and Yu Li},
year={2022},
eprint={2204.00300},
archivePrefix={arXiv},
primaryClass={q-bio.QM},
url={https://arxiv.org/abs/2204.00300},
}