归纳遇见生物学:蛋白质语言模型中重复检测的机制
Induction Meets Biology: Mechanisms of Repeat Detection in Protein Language Models
AI总结:
通过分析蛋白质语言模型在掩码预测中的行为,揭示了其检测精确和近似重复序列的两阶段机制:先构建特征表示,再利用归纳头关注重复片段中的对齐标记。
摘要:
蛋白质序列中存在大量重复片段,既有精确拷贝,也有带有突变的近似片段。这些重复对蛋白质结构和功能至关重要,推动了数十年来关于重复识别的算法研究。最近的研究表明,蛋白质语言模型(PLMs)通过掩码标记预测中的行为能够识别重复。为了阐明其内部机制,我们研究了PLMs如何检测精确和近似重复。我们发现,近似重复的机制在功能上包含了精确重复的机制。然后,我们描述了这一机制,揭示了两个主要阶段:首先,PLMs使用通用位置注意力头和生物学特化组件(如编码氨基酸相似性的神经元)构建特征表示;然后,归纳头关注重复片段中的对齐标记,促进正确答案的产生。我们的结果揭示了PLMs如何通过将基于语言的模式匹配与特化的生物学知识相结合来解决这一生物学任务,从而为研究PLMs中更复杂的进化过程奠定了基础。
英文摘要:
Protein sequences are abundant in repeating segments, both as exact copies and as approximate segments with mutations. These repeats are important for protein structure and function, motivating decades of algorithmic work on repeat identification. Recent work has shown that protein language models (PLMs) identify repeats, by examining their behavior in masked-token prediction. To elucidate their internal mechanisms, we investigate how PLMs detect both exact and approximate repeats. We find that the mechanism for approximate repeats functionally subsumes that of exact repeats. We then characterize this mechanism, revealing two main stages: PLMs first build feature representations using both general positional attention heads and biologically specialized components, such as neurons that encode amino-acid similarity. Then, induction heads attend to aligned tokens across repeated segments, promoting the correct answer. Our results reveal how PLMs solve this biological task by combining language-based pattern matching with specialized biological knowledge, thereby establishing a basis for studying more complex evolutionary processes in PLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。