Sparse Autoencoders for Low-N Protein Function Prediction and Design

Darin Tsui, Kunal Talreja, Amirali Aghazadeh
8/25/2025
cs.LGq-bio.QM

No official code found. Best implementation: amirgroup-codes/LowNSAE (7 stars, last commit 2025-09-26).

Abstract

Predicting protein function from amino acid sequence remains a central challenge in data-scarce (low-$N$) regimes, limiting machine learning-guided protein design when only small amounts of assay-labeled sequence-function data are available. Protein language models (pLMs) have advanced the field by providing evolutionary-informed embeddings and sparse autoencoders (SAEs) have enabled decomposition of these embeddings into interpretable latent variables that capture structural and functional features. However, the effectiveness of SAEs for low-$N$ function prediction and protein design has not been systematically studied. Herein, we evaluate SAEs trained on fine-tuned ESM2 embeddings across diverse fitness extrapolation and protein engineering tasks. We show that SAEs, with as few as 24 sequences, consistently outperform or compete with their ESM2 baselines in fitness prediction, indicating that their sparse latent space encodes compact and biologically meaningful representations that generalize more effectively from limited data. Moreover, steering predictive latents exploits biological motifs in pLM representations, yielding top-fitness variants in 83% of cases compared to designing with ESM2 alone.

View on arXivView PDF

Code Implementations(1)

Official code repository for Sparse Autoencoders for Low-N Protein Function Prediction and Design

70Shell, PythonAug 25, 20251 years ago

Similar Papers

Cite this paper

@article{tsui2025sparse,
  title  = {Sparse Autoencoders for Low-N Protein Function Prediction and Design},
  author = {Darin Tsui and Kunal Talreja and Amirali Aghazadeh},
  year   = {2025},
  eprint = {2508.18567},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.18567v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.18567.svg)](https://codeofpaper.com/paper/2508.18567)

Discussion