arXiv:2503.08764q-bio.BMcs.AI2025-03被引 18

用稀疏自编码器解析大模型如何预测蛋白质结构

Towards Interpretable Protein Structure Prediction with Sparse Autoencoders

  • 将稀疏自编码器扩展至ESM2-3B,实现结构预测机制可解释
  • 马特罗什卡架构使特征分层组织,性能优于传统结构
  • 可定向调控预测结果,适合蛋白设计与机理研究者

蛋白质语言模型已彻底改变结构预测,但其非线性特性使得序列表征如何影响结构预测难以理解。稀疏自编码器(SAEs)可通过在高维空间学习线性表示提供可解释性路径,但此前仅限于小型模型,无法支持结构预测。本文实现两大突破:(1)将SAEs扩展至ESM2-3B——ESMFold的基础模型,首次实现蛋白质结构预测的机制可解释性;(2)引入马特罗什卡自编码器,通过强制嵌套潜变量组独立重构输入,学习分层特征。实验表明,该方法性能与标准架构相当甚至更优。综合评估显示,基于ESM2-3B训练的SAEs在生物概念发现和接触图预测上显著优于小模型。此外,案例研究展示可通过该方法定向调控预测结果,在固定输入序列下提升结构溶剂可及性。为促进社区研究,代码、数据集、预训练模型已开源(https://github.com/johnyang101/reticular-sae),可视化工具可访问(https://sae.reticular.ai)。

原文摘要 · Abstract (English)

Protein language models have revolutionized structure prediction, but their nonlinear nature obscures how sequence representations inform structure prediction. While sparse autoencoders (SAEs) offer a path to interpretability here by learning linear representations in high-dimensional space, their application has been limited to smaller protein language models unable to perform structure prediction. In this work, we make two key advances: (1) we scale SAEs to ESM2-3B, the base model for ESMFold, enabling mechanistic interpretability of protein structure prediction for the first time, and (2) we adapt Matryoshka SAEs for protein language models, which learn hierarchically organized features by forcing nested groups of latents to reconstruct inputs independently. We demonstrate that our Matryoshka SAEs achieve comparable or better performance than standard architectures. Through comprehensive evaluations, we show that SAEs trained on ESM2-3B significantly outperform those trained on smaller models for both biological concept discovery and contact map prediction. Finally, we present an initial case study demonstrating how our approach enables targeted steering of ESMFold predictions, increasing structure solvent accessibility while fixing the input sequence. To facilitate further investigation by the broader community, we open-source our code, dataset, pretrained models https://github.com/johnyang101/reticular-sae , and visualizer https://sae.reticular.ai .

蛋白质结构可解释性稀疏编码大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。