ProtST: Multi-Modality Learning of Protein Sequences and Biomedical Texts

Minghao Xu, Xinyu Yuan, Santiago Miret, Jian Tang

TL;DR

ProtST is a multi-modal framework that enhances Protein Language Models (PLMs) by co-training them with biomedical text descriptions. By aligning protein sequences with natural language functional descriptions, the authors achieve state-of-the-art performance on supervised benchmarks and enable powerful zero-shot capabilities, such as retrieving functional proteins using simple text prompts.

What Problem Does This Paper Address?

Most existing Protein Language Models (PLMs), like ESM or ProtBert, are trained solely on protein sequences. While they are excellent at capturing "co-evolutionary" information—patterns of amino acids that change together over evolutionary time—they don't explicitly "understand" a protein's function or subcellular location.

The end goal of protein representation learning is to predict these functional properties. While some models try to incorporate structured data from biological knowledge graphs, these are often "closed sets" that struggle to generalize to new, unseen properties. ProtST addresses this by leveraging the vast, flexible information stored in biomedical text descriptions (e.g., "This protein binds to heme and is located in the cytoplasm"), allowing models to learn a richer, semantically grounded representation of proteins.

Methods

The authors propose the ProtST framework, which utilizes a dual-encoder architecture: a Protein Language Model (PLM) for sequences and a Biomedical Language Model (BLM, specifically PubMedBERT) for text.

Graphical illustration of the ProtST framework, showing multimodal pre-training and downstream applications.

The model is trained using three simultaneous tasks:

  1. Unimodal Mask Prediction (MPM): Standard masked modeling on the protein sequence to preserve the PLM's original ability to capture evolutionary patterns.
  2. Multimodal Representation Alignment: A global contrastive learning task (similar to CLIP) that pulls the embeddings of a protein sequence and its corresponding text description closer together in a shared vector space.
  3. Multimodal Mask Prediction (MMP): A fine-grained task using a specialized fusion module. It masks both amino acids and words in the text, forcing the model to use information from one modality to predict the missing parts of the other.

Datasets

  • ProtDescribe (New): The authors curated this dataset by pulling 553,052 high-quality protein-text pairs from the Swiss-Prot database. Each entry includes the protein name, function, subcellular location, and family similarity.
  • Downstream Benchmarks: The model was evaluated on 11 standard tasks, including DeepLoc (subcellular localization), PEER/FLIP/TAPE (fitness landscape prediction), and DeepFRI (function annotation).
  • ProteinGym: Used for evaluating the model's ability to predict the effects of single-site mutations (substitutions).

Key Insights and Ideas

  • Text as a Flexible Bridge: Unlike fixed knowledge graphs, natural language allows the model to generalize. If a model understands the word "binding," it can potentially generalize that concept to a new ligand it hasn't seen explicitly in a training pair, based on semantic similarity.
  • Quality Over Quantity: The authors compared pre-training on the high-quality, human-curated Swiss-Prot dataset (~500k samples) versus the massive but noisier TrEMBL dataset (>200M samples). Surprisingly, the smaller, cleaner dataset led to better downstream performance, highlighting the importance of data quality in multimodal biological learning.
  • Synergy of Granularities: The combination of global alignment (matching a whole sequence to a whole paragraph) and local mask prediction (matching specific residues to specific functional words) was essential for maximizing performance.

Key Results

  • New State-of-the-Art: ProtST-enhanced versions of ESM-1b and ESM-2 outperformed their vanilla counterparts across nearly all 24 benchmark metrics.
  • Zero-Shot Prowess: The aligned representation space allows for zero-shot protein classification. For example, a zero-shot ProtST model matched the performance of a 3-shot or 5-shot supervised model on localization tasks.
Zero-shot performance of ProtST-ESM-1b compared to few-shot classifiers.
  • Functional Retrieval: The model can perform "text-to-protein retrieval." By inputting a functional description like "Binding to a heme," the model successfully ranked known heme-binders at the top of a large database, even identifying candidates that lacked explicit annotations but showed high docking affinity in simulations.

Limitations and Future Work

The authors acknowledge that the current ProtDescribe dataset is limited in scope. They plan to expand their text sources to include full-text articles from PubMed rather than just short database descriptions. Additionally, they aim to incorporate protein structure as a third modality and move toward text-guided controllable protein design, where a researcher could describe a desired function in English and have the model generate a corresponding sequence.

Summary updated

BibTeX
@inproceedings{xu2023protst,
  author = {Minghao Xu and Xinyu Yuan and Santiago Miret and Jian Tang},
  title = {{ProtST: Multi-Modality Learning of Protein Sequences and Biomedical Texts}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=ZOOwHgxfR4},
}
Figure