Skip to main content
QUICK REVIEW

[Paper Review] Pre-training Co-evolutionary Protein Representation via A Pairwise Masked Language Model

Liang He, Shizhuo Zhang|arXiv (Cornell University)|Oct 29, 2021
Machine Learning in BioinformaticsBiochemistry, Genetics and Molecular Biology53 references11 citations
TL;DR

This paper proposes a Pairwise Masked Language Model (PMLM) that captures inter-residue co-evolutionary dependencies in protein sequences during pre-training, improving representation learning by modeling joint probabilities of masked residue pairs rather than independent predictions. The method achieves up to 9% relative improvement in contact prediction over standard MLM and surpasses MSA-based baselines by over 7% on the TAPE benchmark, demonstrating the potential of sequence-only pre-training to outperform traditional MSA-dependent methods.

ABSTRACT

Understanding protein sequences is vital and urgent for biology, healthcare, and medicine. Labeling approaches are expensive yet time-consuming, while the amount of unlabeled data is increasing quite faster than that of the labeled data due to low-cost, high-throughput sequencing methods. In order to extract knowledge from these unlabeled data, representation learning is of significant value for protein-related tasks and has great potential for helping us learn more about protein functions and structures. The key problem in the protein sequence representation learning is to capture the co-evolutionary information reflected by the inter-residue co-variation in the sequences. Instead of leveraging multiple sequence alignment as is usually done, we propose a novel method to capture this information directly by pre-training via a dedicated language model, i.e., Pairwise Masked Language Model (PMLM). In a conventional masked language model, the masked tokens are modeled by conditioning on the unmasked tokens only, but processed independently to each other. However, our proposed PMLM takes the dependency among masked tokens into consideration, i.e., the probability of a token pair is not equal to the product of the probability of the two tokens. By applying this model, the pre-trained encoder is able to generate a better representation for protein sequences. Our result shows that the proposed method can effectively capture the inter-residue correlations and improves the performance of contact prediction by up to 9% compared to the MLM baseline under the same setting. The proposed model also significantly outperforms the MSA baseline by more than 7% on the TAPE contact prediction benchmark when pre-trained on a subset of the sequence database which the MSA is generated from, revealing the potential of the sequence pre-training method to surpass MSA based methods in general.

Motivation & Objective

  • To address the challenge of learning effective protein sequence representations from vast unlabeled data without relying on computationally intensive multiple sequence alignments (MSAs).
  • To capture inter-residue co-evolutionary information directly from sequences using a novel pre-training objective that models dependencies between masked residue pairs.
  • To improve downstream protein structure and function prediction tasks by learning richer, more contextually aware representations through joint modeling of residue pairs.
  • To evaluate whether sequence-only pre-training can surpass MSA-based methods in representation quality for protein modeling.

Proposed method

  • Proposes a Pairwise Masked Language Model (PMLM) that extends standard masked language modeling by modeling the joint probability of two masked residues rather than their independent probabilities.
  • The PMLM objective explicitly captures co-evolutionary signals by learning that the probability of a residue pair is not equal to the product of their individual probabilities, reflecting inter-residue dependencies.
  • The model is pre-trained on large-scale protein sequence databases (e.g., Pfam, UR50) using both standard MLM and the novel PMLM objective in a multi-task setup.
  • The pre-trained encoder is fine-tuned with downstream heads for tasks such as contact prediction, secondary structure prediction, and remote homology detection.
  • A residual network (ResNet) head is used to enhance representation learning in downstream tasks, improving performance over simple linear heads.
  • The method is evaluated on the TAPE benchmark and compared against strong baselines, including MSA-based models and standard transformers.

Experimental results

Research questions

  • RQ1Can co-evolutionary information be effectively captured from raw protein sequences without relying on multiple sequence alignments (MSAs)?
  • RQ2Does modeling joint probabilities of masked residue pairs lead to better protein representation learning than independent masking in standard MLM?
  • RQ3Can a sequence-only pre-training approach surpass MSA-based methods in downstream protein structure prediction tasks?
  • RQ4How does model size and downstream architecture affect the performance of the proposed PMLM method?

Key findings

  • The PMLM model improves contact prediction performance by up to 9% relative to the standard MLM baseline under identical training settings.
  • On the TAPE contact prediction benchmark, PMLM outperforms the MSA-based baseline by more than 7%, demonstrating the superiority of sequence-only pre-training.
  • Increasing model size from base to large and finally to XL (715M parameters) leads to a 14% performance gain in contact prediction, from 57.7% to 71.7% F1-score.
  • The use of a ResNet head instead of a linear head improves precision from 39.2 to 41.6 on the UR50 dataset, showing the benefit of more expressive downstream modules.
  • For secondary structure prediction, PMLM-base performs comparably to the TAPE Transformer baseline, with scores of 0.728 vs. 0.730 on CB513.
  • On remote homology prediction, PMLM-base outperforms the TAPE Transformer by up to 10% on family-level and 10.6% on superfamily-level benchmarks, indicating strong capture of evolutionary signals.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.