Modeling Protein Using Large-scale Pretrain Language Model

Yijia Xiao, Jiezhong Qiu, Ziang Li, Chang-Yu Hsieh, Jie TangarXiv 2021

Introduction

Proteins are the fundamental building blocks of life, yet deciphering their complex three-dimensional structures and specific biological functions remains a significant challenge. Traditional experimental methods, such as X-ray crystallography, are time-consuming and costly. Meanwhile, classical computational approaches often struggle with the massive scale of modern genomic data.

To address this, researchers developed ProteinLM, a large-scale protein language model with up to 3 billion parameters. By treating protein sequences as a "language of life"—where amino acids function as words and sequences as sentences—the model leverages unsupervised pretraining on evolutionary-scale datasets to learn the underlying rules of biology.

Methods

The architecture of ProteinLM is based on BERT, utilizing the Megatron-LM framework to scale to billions of parameters. The model was trained using a cluster of 480 Tesla V100 GPUs.

Key technical innovations include:

  • Masked Language Modeling (MLM): Similar to natural language processing, the model learns by predicting masked amino acids (15% of the sequence) based on context.
  • Simplified Training Objective: The "Next Sentence Prediction" task was removed, as protein sequences are typically independent.
  • Structural Optimization: Layer normalization was moved to the front of the input layer to ensure stability during large-scale training.
  • Depth-Focused Scaling: Ablation studies revealed that model depth (number of layers) is more critical than width (hidden dimension size) for convergence in protein modeling.

Datasets and Evaluation

ProteinLM was pretrained on the PFAM database, which contains over 32 million protein sequences. Evaluation was conducted using the TAPE (Tasks Assessing Protein Embeddings) benchmark, covering tasks such as secondary structure prediction, contact prediction, remote homology, fluorescence, and stability.

Figure 1: Mapping amino acid sequences to secondary structure elements like helices and strands.

Key Insights

The research highlighted the power of scale, showing that the 3B parameter model achieved superior performance and lower loss compared to smaller versions, even with fewer training iterations. This suggests that larger models are more sample-efficient. Furthermore, the model develops an "evolutionary memory," recognizing that co-preserved amino acids across species are likely physically adjacent in 3D space, even if they are distant in the primary sequence.

Results

ProteinLM established new state-of-the-art results across several benchmarks:

  • Contact Prediction: Precision reached 0.75 (P@L/5), nearly doubling the TAPE baseline of 0.36.
  • Secondary Structure: Accuracy improved to 0.79.
  • Stability: The model achieved a Spearman’s rho of 0.79, indicating a strong correlation with experimental stability data.
Figure 6: Contact map visualization for protein TBM#T0889 showing the model's ability to capture long-range dependencies.

Qualitative analysis of contact maps demonstrates that the 3B model successfully captures "anti-diagonal" hits—long-range dependencies that previous models failed to identify.

Conclusion and Future Work

While ProteinLM represents a significant leap forward, it is resource-intensive, requiring substantial computational power. Future research will focus on optimizing hyperparameters and integrating Multiple Sequence Alignment (MSA) data directly into the pretraining phase to further enhance 3D structure prediction accuracy.

Summary updated

BibTeX
@misc{xiao2021modeling,
  author = {Yijia Xiao and Jiezhong Qiu and Ziang Li and Chang-Yu Hsieh and Jie Tang},
  title = {{Modeling Protein Using Large-scale Pretrain Language Model}},
  year = {2021},
  eprint = {2108.07435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.07435},
}
Figure