bioRxivBioinformaticsPreprint
Sparse Autoencoders Reveal Structural and Family-level Features in BiRNA-BERT
Mohammad Sadat HossainiD, MD Roqunuzzaman SojibiD, Md Toki TahmidiD, Mohammad Saifur RahmaniD
Abstract
RNA language models learn useful representations for structure and function, but the biological concepts encoded by their hidden states remain difficult to interpret. BiRNA-BERT is an RNA language model with adaptive byte-pair tokenization, making it an attractive target for mechanistic analysis. We present SPIRAL (Sparse autoencoders for Interpretable RNA Analysis), a layer-wise sparse-autoencoder (SAE) analysis of BiRNA-BERT that extracts interpretable sparse features while preserving the behaviour of the underlying language model. We train independent sparse autoencoders at layers 0, 5, and 11, each expanding the 768-dimensional hidden state into 6,144 dictionary features. Analysis of the learned features reveals biologically meaningful structure and family selectivity. Sparse features align with bpRNA nucleotide-level secondary-structure annotations and RNAcentral type labels: at layer 5, 44.3% of tested features show statistically significant structure association (mean enrichment of 1.61 x), and all 1,237 eligible features show significant RNA-type association. RNA-type-selective sparse profiles modestly improve k-nearest-neighbour balanced accuracy over dense BiRNA-BERT embeddings at layer 5. Together, these results show that sparse autoencoders can recover faithful, nucleotide-aware, and biologically interpretable feature decompositions from BiRNA-BERT.
- assay: bulk RNA-seq
- research focus: gene regulatory network inference
- research focus: differential expression
- research focus: benchmarking
- research focus: dimensionality reduction
- approach: statistical model
- approach: machine learning (classical)
- 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
- ERNIE-RNA: An RNA Language Model with Structure-enhanced Representations
Weijie Yin, Zhaoyu Zhang, … Zhen Xie·Nature CommunicationsPeer-reviewed·Nov 18, 2025
- Prediction of RNA-protein interactions using a nucleotide language model
Keisuke Yamada, Michiaki Hamada·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2022
- NucleicBERT: Deciphering the language of nucleic acids
Utkarsh Upadhyay, Julian M. Herold, … Alexander H. Schug·bioRxiv·Sep 2, 2025
- InterPLM: Discovering Interpretable Features in Protein Language Models via Sparse Autoencoders
Elana P. Simon, James Zou·Nature MethodsPeer-reviewed·Sep 29, 2025
- What Do Biological Foundation Models Compute? Sparse Autoencoders from Feature Recovery to Mechanistic Interpretability
Alexey V. Orlov, Yulia V. Makus, … Petr Ivanovich Nikitin·bioRxiv·Mar 6, 2026
- From Mechanistic Interpretability to Mechanistic Biology: Training, Evaluating, and Interpreting Sparse Autoencoders on Protein Language Models
Etowah Adams, Liam Bai, … Mohammed AlQuraishi·bioRxiv·Feb 6, 2025