Skip to content
Open access

Sparse Autoencoders Reveal Structural and Family-level Features in BiRNA-BERT

Aug 2026 · bioRxiv · 0 citations · 24 references
Biology

TL;DR

SPIRAL is presented, a layer-wise SAE analysis of BiRNA-BERT, a layer-wise SAE analysis of RNA language models where byte-pair tokenization breaks the one-token-one-nucleotide correspondence that nucleotide-level attribution assumes.

Abstract

Motivation RNA language models learn representations that support structure and function prediction, but which biological concepts their hidden states encode remains unclear. Sparse autoencoders (SAEs) decompose hidden states into interpretable features, yet have not been applied to RNA language models, where byte-pair tokenization breaks the one-token-one-nucleotide correspondence that nucleotide-level attribution assumes. Results We present SPIRAL, a layer-wise SAE analysis of BiRNA-BERT. Independent SAEs at layers 0, 5, and 11 expand each 768-dimensional hidden state into 6,144 features while preserving model behaviour (explained variance above 0.99997; masked-language-model sequence recovery near 99.7%). Tokenizer-aware offset propagation aligns features to nucleotides: at layer 5, 44.3% of tested features are significantly associated with bpRNA secondary-structure classes (mean enrichment 1.61 ×), and all 1,237 eligible features with RNAcentral RNA types. Sparse profiles raise k-nearest-neighbour balanced accuracy from 0.328 to 0.359 over dense embeddings at layer 5. Availability and Implementation Source code is available at https://github.com/SadatHossain01/SPIRAL; the code, evaluation data, and trained SAE checkpoints are archived at https://doi.org/10.5281/zenodo.21891845. Contact mrahman@cse.buet.ac.bd Supplementary information Supplementary data are presented alongside the manuscript.

Read PDF

Similar papers

Preprint Aug 2026

Interpreting Latent Protein Language Model Features with Geometric Annotations

This work introduces an automated and scalable method for interpreting SAE features in ESM-2 by using geometrically inspired features of the protein $\text{C}_\alpha$ backbone, providing a robust method of annotating proteins activated within SAE neurons at a residue level, providing a bridge between mechanistic interp...

S. Setlur, Djordje Mihajlovic, Darrick Lee · 0 citations
Book Open access Aug 2026

MotRNA: Encoding RNA Motifs via Explicit N-gram Memory

Crucially, the 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.

Xiang-Yu Ji, Xin Wang, Yang Zhang et al. · 0 citations
Open access Sep 2026

Towards Sparse Causal Features for Zero-shot Mutation Effect Prediction in a Protein Language Model

This work provides the first causal, feature-level account of zero-shot mutation effect prediction in a pLM, and introduces a sparse feature circuit framework that combines sparse autoencoders, integrated-gradients attribution, and activation patching to identify the latent features that causally mediate zero-shot muta...

Saishradha Mohanty, Manya Phutela, A. G. Green · 0 citations
Open access Sep 2026

NucleicBERT interprets RNA sequence space through self-supervised language modelling

NucleicBERT is developed, a self-supervised masked-language model that learns contextual representations from single sequences without evolutionary information that advances RNA structure prediction and informs how large language models encode biological information.

Utkarsh Upadhyay, Julian Herold, Markus Götz et al. · 1 citation
Preprint Oct 2026

RipplePLM: Structural and Property Decoupling for Protein Mutation Effect Generation

Protein mutation effect generation asks a model to describe the functional consequence of a point mutation in natural language. Existing protein-to-text systems typically encode mutation information into undifferentiated representations, overlooking the organization of mutation-induced evidence across structural and bi...

Liuzhenghao Lv, Yu-Yang Liu, Yu-Yang Gao et al. · 0 citations
#machine learning Preprint Oct 2026

Generative modeling of intrinsically disordered protein regions by reinforcing sparse autoencoder features

Intrinsically disordered protein regions (IDRs) play central roles in cellular processes such as transcriptional regulation, signal transduction, and subcellular localization, yet their functional design remains challenging. Structure-based design methods do not readily apply to IDRs, and existing protein language mode...

J. Liu, Sebastian Ibarraran, Frank Hu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.