Mechanistic Interpretability of Fine-Tuned Protein Language Models for Nanobody Thermostability Prediction.
Taihei Murakami, Yuki Hashidate, Yasuhiro Matsunaga
Graduate School of Science and Engineering, Saitama University, Saitama 338-8570, Japan.
Key points
From the paper's conclusion- Fine-tuned the ESM-2 model on the nanobody thermostability dataset, achieving superior performance compared to significantly larger state-of-the-art models.
- Used Sparse Autoencoders (SAEs) to extract mechanistic knowledge from the fine-tuned PLM, identifying specific residue-level patterns including known determinants and candidate stabilizing residues.
- Showed that SAE-based interpretation can generate testable, structurally grounded hypotheses for rational protein engineering.
Abstract
MOTIVATION: While Protein Language Models (PLMs) fine-tuned on biophysical data achieve high predictive accuracy, the physical principles underlying their predictions remain obscure. Deciphering these representations offers a unique opportunity to not only interpret model decisions but also to discover novel biophysical insights governing protein properties. Here, we present a framework using Sparse Autoencoders (SAEs) to extract mechanistic knowledge from PLMs fine-tuned for nanobody thermostability. RESULTS: We fine-tuned the ESM-2 model on the nanobody thermostability dataset, achieving superior performance compared to significantly larger state-of-the-art models. SAE analysis successfully decomposed the model's dense embeddings into sparse, interpretable features without loss of predictive accuracy. We characterized these features through both global and local analyses. Global analysis provided an aggregate map of position-dependent feature contributions, whereas local analysis identified specific residue-level patterns, including known determinants such as the VHH-tetrad and critical disulfide bonds, as well as candidate stabilizing residues. Free Energy Perturbation calculations supported the structural plausibility of selected residue-level hypotheses. These results show that SAE-based interpretation can generate testable, structurally grounded hypotheses for rational protein engineering. AVAILABILITY: The data and source code of the proposed method are available at GitHub (https://github.com/matsunagalab/paper_nanobody-thermostability-sae) and Zenodo (DOI: 10.5281/zenodo.18012027). SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Fine-tuned the ESM-2 model on the nanobody thermostability dataset, achieving superior performance compared to significantly larger state-of-the-art models.
- Used Sparse Autoencoders (SAEs) to extract mechanistic knowledge from the fine-tuned PLM, identifying specific residue-level patterns including known determinants and candidate stabilizing residues.
- Showed that SAE-based interpretation can generate testable, structurally grounded hypotheses for rational protein engineering.
Readers' thoughts
No reader thoughts yet.
Related papers
- Uncovering Features of ProteinMPNN with Sparse AutoencodersbioRxiv · 2026
- SA-MPNN: A Sequence-Aware ThermoMPNN for Accurate Prediction of Mutational Effects on Protein Thermodynamic Stability.Journal of chemical information and modeling · 2026
- StabilityArc: Decoding Protein Sequence Embeddings into Generalizable Stability LandscapesarXiv · 2026
- Unsupervised discovery of functional sequence patterns from protein language model with MotifAE.Nature communications · 2026
- Generalizable and scalable protein stability prediction with rewired protein generative modelsNature Communications · 2025
- Structure, Not Sequence: Tracking and Validating Folding Mechanisms in ESMFold's Trunk with Sparse AutoencodersarXiv · 2026