Interpreting and Steering Protein Language Models Through Sparse Autoencoders

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 toward 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.

Cite

Text

Garcia and Ansuini. "Interpreting and Steering Protein Language Models Through Sparse Autoencoders." ICLR 2025 Workshops: GEM, 2025.

Markdown

[Garcia and Ansuini. "Interpreting and Steering Protein Language Models Through Sparse Autoencoders." ICLR 2025 Workshops: GEM, 2025.](https://mlanthology.org/iclrw/2025/garcia2025iclrw-interpreting/)

BibTeX

@inproceedings{garcia2025iclrw-interpreting,
  title     = {{Interpreting and Steering Protein Language Models Through Sparse Autoencoders}},
  author    = {Garcia, Edith Natalia Villegas and Ansuini, Alessio},
  booktitle = {ICLR 2025 Workshops: GEM},
  year      = {2025},
  url       = {https://mlanthology.org/iclrw/2025/garcia2025iclrw-interpreting/}
}