TemPL: A Novel Deep Learning Model for Zero-Shot Prediction of Protein Stability and Activity Based on Temperature-Guided Language Modeling

Pan Tan, Mingchen Li, Liang Zhang, Zhiqiang Hu, Hong LiangarXiv 2023 · DOI

TL;DR

This paper introduces TemPL, a novel deep learning model that predicts protein stability and activity using temperature-guided language modeling. By integrating optimal growth temperature (OGT) data with protein sequence information, TemPL achieves state-of-the-art performance in zero-shot prediction of protein stability, offering a powerful new tool for protein engineering.

What Problem Does This Paper Address?

Proteins are fundamental to life, performing a vast array of functions. Enhancing protein stability is crucial for applications ranging from therapeutics (ensuring long-term efficacy) to industrial processes (increasing operational lifespan and productivity). While traditional methods like Rosetta exist, they often struggle to predict protein activity alongside stability, and their reliance on structural information can be a bottleneck. Recent advances in deep learning, particularly protein language models (PLMs), have shown promise in predicting protein functions from sequences alone, even in "zero-shot" scenarios (predicting on unseen data). However, existing PLMs often don't explicitly incorporate environmental factors that significantly influence protein behavior, such as temperature. This paper aims to bridge this gap by developing a model that leverages both sequence semantics and temperature-related information to predict protein stability and activity more effectively.

Methods

TemPL is built upon the Transformer architecture, a standard for sequence modeling. It comprises three key components:

  1. Feature Extraction Module: A Transformer model that extracts latent representations from protein sequences. This is a standard approach in modern PLMs.
  2. Masked Language Modeling (MLM) Module: This module trains the model to predict masked amino acids in a protein sequence based on their surrounding context. This is a common pre-training objective for PLMs, enabling them to learn the "grammar" and semantics of protein sequences. A key insight here is that the probability distribution generated by this module for a given amino acid substitution correlates with the "mutant score" (how likely a mutation is to change function), suggesting it captures functional information.
  3. OGT Prediction Module: This novel component uses a Multi-Layer Perceptron (MLP) to predict the optimal growth temperature (OGT) of the host organism for a given protein sequence. This module is trained to leverage the latent representations from the Transformer.

TemPL is trained using a multi-task learning approach with three objectives: MLM loss (L1), Mean Squared Error (MSE) for OGT prediction (L2), and a correlation loss (L3) to ensure that sequences with high language model scores correspond to high OGTs. This combined approach aims to capture both the intrinsic properties of protein sequences and their environmental adaptations.

Datasets

The authors assembled a comprehensive dataset by integrating public data from UniProt, metagenomic projects, and industrial partners, creating a repository called ProteomeAtlas. After redundancy reduction (30% sequence identity threshold), they annotated approximately 96 million protein sequences with their corresponding host bacterial strain's optimal growth temperatures (OGTs).

For evaluation, they used a dataset derived from ProThermDB, containing point mutations in proteins with $\Delta T_m$ (change in melting temperature, a measure of stability) data. This dataset ensured a minimum of 10 data points per protein and was collected under consistent experimental conditions.

Key Insights and Ideas

  • Temperature as a Predictive Signal: The core idea is that a protein's optimal growth temperature (OGT) of its host organism is a strong indicator of its thermal stability and activity. By explicitly training a model to predict OGT, TemPL can learn temperature-related properties of proteins.
  • Synergistic Effect of MLM and OGT: The paper demonstrates that combining the standard MLM task (learning sequence semantics) with the OGT prediction task is crucial for optimal performance. Neither module alone achieves the same level of accuracy as the integrated TemPL model.
  • Zero-Shot Prediction Power: TemPL excels at predicting protein stability in a zero-shot setting, meaning it can make accurate predictions for mutations or proteins it hasn't explicitly seen during training, highlighting its generalization capabilities.
  • Capturing Functional Information: The correlation between the MLM module's probability distribution and mutant scores suggests that language modeling, even without explicit functional labels, can implicitly learn about protein function and the impact of mutations.

Key Results

  • TemPL achieved superior performance compared to state-of-the-art models (including deep learning models like esm-1v and MSA-Transformer, and the traditional method Rosetta) in predicting protein stability ($\Delta T_m$) using Spearman's correlation coefficient.
  • The averaged Spearman correlation for TemPL on the $\Delta T_m$ dataset was 0.467, significantly outperforming ESM-1v (0.35), Rosetta (0.194), and MSA-Transformer (0.322).
  • An ablation study showed that TemPL with both MLM and OGT modules achieved the highest correlation (0.467). Removing either the MLM module (TemPL/-MLM, 0.414) or the OGT module (TemPL/-OGT, 0.272) resulted in decreased performance.
  • The average error for the OGT prediction task during pre-training was 6.7, and the perplexity for masked language modeling was 7.38.

Limitations and Future Work

  • Data Scale: While 96 million sequences is a large dataset, the authors acknowledge that even larger datasets could further improve performance.
  • Zero-Shot Activity Prediction: The paper primarily focuses on stability prediction ($\Delta T_m$). While the abstract mentions predicting "activity," the experimental results and figures predominantly showcase stability. Future work could explicitly validate and expand on zero-shot activity prediction.
  • Experimental Validation: The study relies on existing experimental data. Future work could involve designing and conducting new experiments to validate TemPL's predictions for novel mutations.
  • Broader Environmental Factors: The model currently focuses on temperature. Incorporating other environmental factors (pH, salt concentration, etc.) could lead to even more robust predictions.

The authors suggest that TemPL offers considerable promise for protein engineering applications, facilitating the design of mutation sequences with enhanced stability and activity, thereby advancing bioengineering and related fields.

Summary updated

Abstract

We introduce TemPL, a novel deep learning approach for zero-shot prediction of protein stability and activity, harnessing temperature-guided language modeling. By assembling an extensive dataset of 96 million sequence-host bacterial strain optimal growth temperatures (OGTs) and ΔTm data for point mutations under consistent experimental conditions, we effectively compared TemPL with state-of-the-art models. Notably, TemPL demonstrated superior performance in predicting protein stability. An ablation study was conducted to elucidate the influence of OGT prediction and language modeling modules on TemPL's performance, revealing the importance of integrating both components. Consequently, TemPL offers considerable promise for protein engineering applications, facilitating the design of mutation sequences with enhanced stability and activity.
BibTeX
@misc{tan2023templ,
  author = {Pan Tan and Mingchen Li and Liang Zhang and Zhiqiang Hu and Hong Liang},
  title = {{TemPL: A Novel Deep Learning Model for Zero-Shot Prediction of Protein Stability and Activity Based on Temperature-Guided Language Modeling}},
  year = {2023},
  eprint = {2304.03780},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.03780},
}
Figure