MotRNA: Encoding RNA Motifs via Explicit N-gram Memory

RNA motifs and Low-Complexity Repeats (LCRs)—recurrent, conserved sequences of nucleotides—serve as the fundamental vocabulary of RNA structure and biological function. While current RNA foundation models have revolutionized sequence modeling through Transformer architectures, they predominantly prioritize modeling global dependencies within the raw sequence. To address this limitation, we propose MotRNA, a motif-aware RNA language model integrating an Explicit N-gram Memory mechanism. Unlike standard implicit neural modeling, MotRNA employs a conditional memory module to explicitly retrieve and fuse motif embeddings based on input k-mers. This mechanism provides direct access to strictly defined local patterns, complementing the global context modeled by self-attention. We validate MotRNA on large-scale RNA datasets. The model achieves a 9.6% absolute improvement in Masked Language Modeling (MLM) accuracy at a 30% masking ratio compared to state-of-the-art baselines. Notably, MotRNA maintains high robustness under extreme masking ratios, indicating effective biological signal reconstruction from sparse context. Crucially, our analysis reveals that the backbone encoder becomes self-contained post-training: the memory module facilitates the internalization of motif semantics into the model parameters, allowing the backbone to retain performance advantages even when the memory is detached during inference.

Link
https://www.semanticscholar.org/paper/1aab8c03fd59ea5ee91bb690923697024db5e12d
Found by
Semantic Scholar
Authors
Xiangyu Ji, Xin Wang, Yang Zhang, Yongxin Li, Penglin Ge, Zirui Chen, Shengming Zhang
Categories
dataset
Published
2026-08-08
Last seen by the radar
2026-08-08
Citations
0
Influential citations
0
Radar score
38.54 / 100 (how it is scored)
Why it scored so
Matched: dataset; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3770855.3818974
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar