[论文解读] Metalic: Meta-Learning In-Context with Protein Language Models
Metalic 提出了一种新颖的元学习框架,通过将上下文学习与蛋白质语言模型(PLM)嵌入的微调相结合,以在低数据环境下提升蛋白质适应度预测性能。通过从一系列相关适应度任务中进行元学习,并将微调推迟到测试阶段,Metalic 在 ProteinGym 上实现了最先进性能,参数量仅为先前模型的 18 分之一。
Predicting the biophysical and functional properties of proteins is essential for in silico protein design. Machine learning has emerged as a promising technique for such prediction tasks. However, the relative scarcity of in vitro annotations means that these models often have little, or no, specific data on the desired fitness prediction task. As a result of limited data, protein language models (PLMs) are typically trained on general protein sequence modeling tasks, and then fine-tuned, or applied zero-shot, to protein fitness prediction. When no task data is available, the models make strong assumptions about the correlation between the protein sequence likelihood and fitness scores. In contrast, we propose meta-learning over a distribution of standard fitness prediction tasks, and demonstrate positive transfer to unseen fitness prediction tasks. Our method, called Metalic (Meta-Learning In-Context), uses in-context learning and fine-tuning, when data is available, to adapt to new tasks. Crucially, fine-tuning enables considerable generalization, even though it is not accounted for during meta-training. Our fine-tuned models achieve strong results with 18 times fewer parameters than state-of-the-art models. Moreover, our method sets a new state-of-the-art in low-data settings on ProteinGym, an established fitness-prediction benchmark. Due to data scarcity, we believe meta-learning will play a pivotal role in advancing protein engineering.
研究动机与目标
- 为解决蛋白质适应度预测中标签数据有限的挑战,特别是在零样本和少样本设置下。
- 通过在多样化适应度预测任务间进行元学习,提升蛋白质工程中的泛化能力。
- 开发一种计算高效的元学习方法,结合上下文学习与后元训练微调,用于蛋白质语言模型。
- 证明即使在没有元学习期间使用任务特定微调的情况下,上下文学习在零样本场景下依然有效。
- 通过极少量模型参数,建立低数据蛋白质适应度预测的新 SOTA 基准。
提出的方法
- Metalic 以蛋白质语言模型(PLM)嵌入作为适应度预测的基础。
- 它在一系列现有适应度预测任务的分布上进行元学习,以学习适用于新任务的可泛化初始化。
- 该方法在推理阶段采用上下文学习,模型通过关注并推理上下文中的样本蛋白质来预测适应度。
- 微调仅在测试阶段应用,而非在元训练期间,从而实现在极低计算成本下对新任务的高效适应。
- 该模型利用轴向注意力机制,捕捉上下文集中蛋白质之间的依赖关系。
- 它采用 Reptile 风格的元学习进行优化,但将微调推迟到测试时间,避免了高阶梯度的高成本计算。

实验结果
研究问题
- RQ1上下文元学习能否在零样本和少样本设置下提升蛋白质适应度预测性能?
- RQ2将微调推迟到测试时间是否能在保持计算效率的同时实现更好的泛化?
- RQ3在无任务特定数据可用的情况下,对多样化适应度任务进行元学习是否能提升对未见任务的性能?
- RQ4Metalic 的上下文学习能力与标准微调或其他元学习基线相比如何?
- RQ5在缺乏标签数据的情况下,仅从查询集本身能否实现无监督的上下文学习?
主要发现
- Metalic 在 ProteinGym 基准测试中,无论在零样本还是少样本设置下,均实现了最先进性能,优于先前方法。
- 仅使用最先进模型 18 分之一的参数量,Metalic 在低数据环境下实现了相当或更优的性能。
- 在 128-shot 设置下,当计算资源受控时,Metalic(45,000 次训练步骤)优于 Reptile-3-100 和联合的 Metalic-Reptile 方法。
- 注意力图显示,上下文集中的蛋白质不仅关注自身,也关注彼此,表明即使在零样本设置下,上下文推理也有效。
- 消融研究证实,上下文学习至关重要,移除该机制会导致性能显著下降。
- 该方法展示了无监督的上下文学习,即模型仅从查询集本身学习到有用的表示,而无需任何标签数据。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。