Skip to main content
QUICK REVIEW

[Paper Review] Pre-training Protein Language Models with Label-Agnostic Binding Pairs Enhances Performance in Downstream Tasks

Modestas Filipavicius, Matteo Manica|arXiv (Cornell University)|Dec 5, 2020
Machine Learning in BioinformaticsBiochemistry, Genetics and Molecular Biology11 citations
TL;DR

This paper proposes pre-training a RoBERTa-based protein language model on a mixture of labeled binding and unlabeled non-binding protein pairs using only masked language modeling (MLM), without explicit binding labels during pre-training. The method achieves state-of-the-art performance on downstream tasks like protein-protein binding prediction, TCR-epitope binding, subcellular localization, and remote homology classification, demonstrating that attention mechanisms learn binding-relevant patterns implicitly from sequence pairs.

ABSTRACT

Less than 1% of protein sequences are structurally and functionally annotated. Natural Language Processing (NLP) community has recently embraced self-supervised learning as a powerful approach to learn representations from unlabeled text, in large part due to the attention-based context-aware Transformer models. In this work we present a modification to the RoBERTa model by inputting during pre-training a mixture of binding and non-binding protein sequences (from STRING database). However, the sequence pairs have no label to indicate their binding status, as the model relies solely on Masked Language Modeling (MLM) objective during pre-training. After fine-tuning, such approach surpasses models trained on single protein sequences for protein-protein binding prediction, TCR-epitope binding prediction, cellular-localization and remote homology classification tasks. We suggest that the Transformer's attention mechanism contributes to protein binding site discovery. Furthermore, we compress protein sequences by 64% with the Byte Pair Encoding (BPE) vocabulary consisting of 10K subwords, each around 3-4 amino acids long. Finally, to expand the model input space to even larger proteins and multi-protein assemblies, we pre-train Longformer models that support 2,048 tokens. Further work in token-level classification for secondary structure prediction is needed. Code available at: https://github.com/PaccMann/paccmann_proteomics

Motivation & Objective

  • To improve protein language model performance on downstream tasks by pre-training on a mixture of binding and non-binding protein pairs without explicit labels.
  • To explore whether self-supervised learning with sequence pairs enhances the discovery of biologically relevant patterns, such as protein binding sites.
  • To enable long-sequence modeling by pre-training a Longformer variant supporting up to 2,048 tokens for large proteins and multi-protein assemblies.
  • To reduce sequence representation space by 64% using Byte Pair Encoding (BPE) with a 10K subword vocabulary.
  • To investigate the role of attention mechanisms in detecting structural motifs like alpha helices through self-supervised pre-training.

Proposed method

  • Pre-train a RoBERTa model using only the masked language modeling (MLM) objective on a mixture of protein sequence pairs from the STRING database, where one sequence is a known binder and the other is a random sequence.
  • Use a BPE subword tokenization scheme with a 10K vocabulary to compress the protein sequence space by 64%, representing 3–4 amino acid segments as single tokens.
  • Fine-tune the pre-trained model on downstream tasks including protein-protein binding prediction, TCR-epitope binding, subcellular localization, and remote homology classification.
  • Train a Longformer variant with a 2,048-token context window to support long protein sequences and multi-protein complexes.
  • Analyze attention patterns across layers to identify motifs such as periodic 4-amino acid patterns associated with alpha helices.
  • Compare attention patterns before and after fine-tuning to assess changes in focus, such as reduced over-reliance on BOS/EOS tokens and increased attention on functionally relevant residues like Q, K, and C.

Experimental results

Research questions

  • RQ1Can pre-training a protein language model on unlabeled protein pairs—without binding status labels—improve downstream classification performance?
  • RQ2Do attention mechanisms in self-supervised models implicitly learn to detect protein binding sites and structural motifs like alpha helices?
  • RQ3Does using a larger, deeper model trained on a bigger dataset for fewer epochs outperform smaller, shallower models trained on smaller datasets for longer?
  • RQ4Can BPE-based subword tokenization significantly reduce sequence representation space while preserving biological information?
  • RQ5How does fine-tuning alter the attention patterns of a pre-trained model, particularly in terms of focusing on biologically relevant residues and reducing over-reliance on special tokens?

Key findings

  • The model outperforms single-sequence pre-trained models on protein-protein binding prediction, TCR-epitope binding, subcellular localization, and remote homology classification tasks.
  • Pre-training on sequence pairs leads to attention patterns that detect periodic 4-amino acid patterns associated with alpha helices, suggesting implicit learning of secondary structure.
  • Fine-tuning reduces over-reliance on BOS and EOS tokens and increases attention on functionally relevant residues such as Q, K, and C in binding regions.
  • The model achieves superior performance despite not using explicit binding labels during pre-training, indicating that the MLM objective on paired sequences captures binding-relevant representations.
  • The Longformer variant successfully supports sequences up to 2,048 tokens, enabling modeling of long proteins and multi-protein assemblies.
  • The study demonstrates that larger, deeper models pre-trained on larger datasets for fewer epochs yield better downstream results than smaller models trained on smaller datasets for many epochs.

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.