arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.24895cs.LG
收藏

理解蛋白质语言模型中表示的形状

Towards Understanding the Shape of Representations in Protein Language Models

Department of Physics(物理系);University of Oslo(奥斯陆大学)

Kosio Beshkov, Anders Malthe-Sørenssen

AI总结:

本研究通过平方根速度表示和图过滤分析蛋白质语言模型(PLM)的表示空间,发现ESM2模型中Karcher均值和有效维度随层数非线性变化,且PLM优先编码残基的局部关系,最忠实于结构的表示出现在模型倒数第二层附近。

摘要:

虽然蛋白质语言模型(PLM)是未来从头蛋白质设计最有前途的研究途径之一,但它们将序列转换为隐藏表示的方式以及这些表示中编码的信息尚未完全理解。一些工作试图提出PLM的可解释性工具,但侧重于理解单个序列如何被这些模型转换。因此,PLM如何转换整个序列空间及其关系仍然未知。在这项工作中,我们尝试通过将蛋白质结构和表示与平方根速度(SRV)表示和图过滤联系起来,来理解这个转换后的序列空间。这两种方法自然地导出一个度量空间,在该空间中,可以比较成对的蛋白质或蛋白质表示。我们分析了来自SCOP数据集的不同类型蛋白质,并表明Karcher均值和SRV形状空间的有效维度作为不同大小ESM2模型中层数的函数遵循非线性模式。此外,我们使用图过滤作为工具来研究模型编码蛋白质结构特征的上下文长度。我们发现PLM优先编码残基之间的直接和局部关系,但对于较大的上下文长度开始退化。最忠实于结构的编码往往出现在模型最后一层附近但之前,表明在这些层之上训练折叠模型可能会提高折叠性能。

英文摘要:

While protein language models (PLMs) are one of the most promising avenues of research for future de novo protein design, the way in which they transform sequences to hidden representations, as well as the information encoded in such representations is yet to be fully understood. Several works have attempted to propose interpretability tools for PLMs, but they have focused on understanding how individual sequences are transformed by such models. Therefore, the way in which PLMs transform the whole space of sequences along with their relations is still unknown. In this work we attempt to understand this transformed space of sequences by identifying protein structure and representation with square-root velocity (SRV) representations and graph filtrations. Both approaches naturally lead to a metric space in which pairs of proteins or protein representations can be compared with each other. We analyze different types of proteins from the SCOP dataset and show that the Karcher mean and effective dimension of the SRV shape space follow a non-linear pattern as a function of the layers in ESM2 models of different sizes. Furthermore, we use graph filtrations as a tool to study the context lengths at which models encode the structural features of proteins. We find that PLMs preferentially encode immediate as well as local relations between residues, but start to degrade for larger context lengths. The most structurally faithful encoding tends to occur close to, but before the last layer of the models, indicating that training a folding model ontop of these layers might lead to improved folding performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑