English

Interpreting and Steering Protein Language Models through Sparse Autoencoders

Machine Learning 2025-02-14 v1 Biomolecules

Abstract

The rapid advancements in transformer-based language models have revolutionized natural language processing, yet understanding the internal mechanisms of these models remains a significant challenge. This paper explores the application of sparse autoencoders (SAE) to interpret the internal representations of protein language models, specifically focusing on the ESM-2 8M parameter model. By performing a statistical analysis on each latent component's relevance to distinct protein annotations, we identify potential interpretations linked to various protein characteristics, including transmembrane regions, binding sites, and specialized motifs. We then leverage these insights to guide sequence generation, shortlisting the relevant latent components that can steer the model towards desired targets such as zinc finger domains. This work contributes to the emerging field of mechanistic interpretability in biological sequence models, offering new perspectives on model steering for sequence design.

Keywords

Cite

@article{arxiv.2502.09135,
  title  = {Interpreting and Steering Protein Language Models through Sparse Autoencoders},
  author = {Edith Natalia Villegas Garcia and Alessio Ansuini},
  journal= {arXiv preprint arXiv:2502.09135},
  year   = {2025}
}

Comments

11 pages, 6 figures

R2 v1 2026-06-28T21:42:50.745Z