学习潜在蛋白质语言用于自回归生成

·

研究论文 · 2026/10/07

自回归Transformer在蛋白质序列和结构生成方面相对较弱。我们研究了目标表示的作用:氨基酸token编码残基身份但缺乏显式上下文语义,而主链坐标在我们的框架中需要离散表示。我们引入了两种学习到的潜在蛋白质语言。蛋白质潜在语言(PLL)将序列映射到基于冻结ESM-2编码器构建的4,096状态上下文字母表,每个残基一个token。结构潜在语言(SLL)采用GCP-VQVAE Lite并辅以序列和置信度监督,同时保留对主链坐标的解码。我们分别使用下一token预测在PLL和SLL token上预训练自回归Transformer模型,得到PLLM和SLLM。在匹配的下游序列训练下,PLLM的计算缩放指数拟合值为0.038,而氨基酸自回归模型为0.020。在无条件序列生成中,PLLM将低于启发式1.5比特残基组成熵阈值的样本比例相对于氨基酸模型降低了54%(跨采样温度)。对于序列到结构预测,在匹配训练下,用SLL替换原始GCP-VQVAE Lite tokenizer将最佳验证困惑度降低了34%。对于长蛋白质,在我们的测量中,潜在token采样比基于MSA的AlphaFold2快约1,000倍。在主链生成中,SLLM在多样性和新颖性方面与其他生成模型相比具有优势。我们还观察到早期迹象,表明使用SLLM的内部token置信度进行推理时采样可以超越单个解码样本,提高序列到结构预测质量。这些结果将学习到的潜在蛋白质语言定位为蛋白质生成中自回归Transformer缩放和推理时采样的有前景的基础。

该研究通过引入学习到的潜在蛋白质语言,显著提升了自回归Transformer在蛋白质生成中的性能,包括更优的缩放行为、更快的采样速度以及更好的生成质量,为蛋白质生成领域提供了有前景的新方向。

Autoregressive transformers remain comparatively weak for protein sequence and structure generation. We study the role of target representation: amino acid tokens encode residue identities without explicit contextual semantics, while backbone coordinates require a discrete representation in our framework. We introduce two learned latent protein languages. Protein Latent Language (PLL) maps sequences to a 4,096-state contextual alphabet built on a frozen ESM-2 encoder, with one token per residue. Structure Latent Language (SLL) adapts GCP-VQVAE Lite with auxiliary sequence and confidence supervision while retaining decoding to backbone coordinates. We separately pretrain autoregressive transformer models on PLL and SLL tokens using next-token prediction, yielding PLLM and SLLM. Under matched downstream sequence training, PLLM has a fitted compute-scaling exponent of 0.038 versus 0.020 for the amino acid autoregressive model. In unconditional sequence generation, PLLM reduces the fraction of samples below a heuristic 1.5-bit residue-composition entropy threshold by 54% relative to the amino acid model across sampling temperatures. For sequence-to-structure prediction, replacing the original GCP-VQVAE Lite tokenizer with SLL reduces best validation perplexity by 34% under matched training. For long proteins, latent-token sampling is approximately 1,000 times faster than MSA-based AlphaFold2 in our measurements. In backbone generation, SLLM compares favorably with other generative models on diversity and novelty. We also observe early signs that using SLLM's internal token confidence for inference-time sampling can improve sequence-to-structure prediction quality beyond a single decoded sample. These results position learned latent protein languages as a promising substrate for autoregressive transformer scaling and inference-time sampling in protein generation.

阅读原文

参与讨论