Meta-Learning for Cross-Task Generalization in Protein Mutation Property Prediction
Srivathsan Badrinarayanan, Yue Su, Janghoon Ock, Alan Pham, Sanya Ahuja, Amir Barati Farimani
TL;DR
This work introduces a systematic meta-learning framework for cross-task generalization in protein mutation property prediction by applying Model-Agnostic Meta-Learning (MAML) to transformer-based sequence models. It couples MAML with an Enhanced Mutation Encoding that integrates mutation information directly into sequence context, addressing the limitation of mutations being treated as unknown tokens. Using a multi-source dataset comprising ProteinGym, FireProtDB, and SoluProtMutDB, the approach demonstrates superior cross-task and pooled performance across functional fitness, stability, and solubility prediction tasks, with substantial training-time savings. The results indicate notable improvements in accuracy (e.g., up to 94% NMSE improvement for solubility) and efficiency (up to ~65% faster training) over traditional fine-tuning, supporting the method’s practical value for industrial protein design where data are scarce. Overall, the combination of MAML and Enhanced Encoding provides a principled pathway to generalizable mutation-effect prediction across diverse experimental conditions and protein families.
Abstract
Protein mutations can have profound effects on biological function, making accurate prediction of property changes critical for drug discovery, protein engineering, and precision medicine. Current approaches rely on fine-tuning protein-specific transformers for individual datasets, but struggle with cross-dataset generalization due to heterogeneous experimental conditions and limited target domain data. We introduce two key innovations: (1) the first application of Model-Agnostic Meta-Learning (MAML) to protein mutation property prediction, and (2) a novel mutation encoding strategy using separator tokens to directly incorporate mutations into sequence context. We build upon transformer architectures integrating them with MAML to enable rapid adaptation to new tasks through minimal gradient steps rather than learning dataset-specific patterns. Our mutation encoding addresses the critical limitation where standard transformers treat mutation positions as unknown tokens, significantly degrading performance. Evaluation across three diverse protein mutation datasets (functional fitness, thermal stability, and solubility) demonstrates significant advantages over traditional fine-tuning. In cross-task evaluation, our meta-learning approach achieves 29% better accuracy for functional fitness with 65% less training time, and 94% better accuracy for solubility with 55% faster training. The framework maintains consistent training efficiency regardless of dataset size, making it particularly valuable for industrial applications and early-stage protein design where experimental data is limited. This work establishes a systematic application of meta-learning to protein mutation analysis and introduces an effective mutation encoding strategy, offering transformative methodology for cross-domain generalization in protein engineering.
