Skip to main content
QUICK REVIEW

[Paper Review] Prot2Text: Multimodal Protein's Function Generation with GNNs and Transformers

Hadi Abdine, Michail Chatzianastasis|arXiv (Cornell University)|Jul 25, 2023
Machine Learning in BioinformaticsBiochemistry, Genetics and Molecular Biology45 references13 citations
TL;DR

Prot2Text generates free-text protein function descriptions by fusing graph-based structural representations with sequence models through an encoder-decoder GNN+LLM framework, evaluated on a SwissProt-derived multimodal dataset.

ABSTRACT

In recent years, significant progress has been made in the field of protein function prediction with the development of various machine-learning approaches. However, most existing methods formulate the task as a multi-classification problem, i.e. assigning predefined labels to proteins. In this work, we propose a novel approach, Prot2Text, which predicts a protein's function in a free text style, moving beyond the conventional binary or categorical classifications. By combining Graph Neural Networks(GNNs) and Large Language Models(LLMs), in an encoder-decoder framework, our model effectively integrates diverse data types including protein sequence, structure, and textual annotation and description. This multimodal approach allows for a holistic representation of proteins' functions, enabling the generation of detailed and accurate functional descriptions. To evaluate our model, we extracted a multimodal protein dataset from SwissProt, and demonstrate empirically the effectiveness of Prot2Text. These results highlight the transformative impact of multimodal models, specifically the fusion of GNNs and LLMs, empowering researchers with powerful tools for more accurate function prediction of existing as well as first-to-see proteins.

Motivation & Objective

  • Reformulate protein function prediction as free-text generation rather than fixed labels.
  • Integrate sequence, structure, and textual annotations in a unified multimodal encoder.
  • Demonstrate that fusing graph and sequence information improves function descriptions.
  • Provide a large, publicly available multimodal protein dataset for benchmarking.
  • Assess trade-offs between model size, performance, and inference cost.

Proposed method

  • Construct a heterogeneous protein graph from AlphaFold structures with sequential, spatial, and hydrogen-bond edge types.
  • Encode the graph with Relational Graph Convolutional Networks (RGCN) to produce h_G.
  • Encode the sequence with a pretrained ESM2-35M model and project to a common dimension.
  • Fuse sequence and graph representations via a fusion block that adds projected graph features to per-residue embeddings, followed by a projection and normalization.
  • Decode free-text protein descriptions using a GPT-2 based transformer decoder with cross-attention to the fused protein representation.
  • Train with causal language modeling (CLM) to generate up to 256-token descriptions; use GPT-2 tokenizer with two added tokens for sequence boundaries.

Experimental results

Research questions

  • RQ1Can multimodal fusion of protein structure and sequence enable generation of detailed free-text protein functions?
  • RQ2How does integrating GNN-based structural encoding with protein language models affect text generation quality?
  • RQ3What dataset and evaluation metrics best demonstrate improvements over unimodal baselines?
  • RQ4What is the impact of model size on generation quality and inference time in Prot2Text?
  • RQ5Is a dedicated fusion mechanism superior to simple concatenation of modalities for protein-to-text generation?

Key findings

  • Prot2Text BASE achieves the highest BLEU (35.11), Rouge-1 (50.59), Rouge-2 (42.71), Rouge-L (48.49), and BERT Score (84.30) among evaluated models.
  • Multimodal encoders combining RGCN with an ESM2-35M sequence encoder outperform unimodal baselines (vanilla-Transformer, ESM2-35M) and simple fusion approaches.
  • Larger Prot2Text variants improve most metrics, with Prot2Text MEDIUM (398M) offering a favorable accuracy-time trade-off.
  • RGCN alone improves over vanilla-Transformer, and RGCN+ESM2-35M significantly surpasses vanilla configurations, highlighting the value of structure-aware sequence integration.
  • Fusion block design is crucial; simple concatenation (RGCN + ESM2-25) underperforms the chosen fusion approach, suggesting benefits from the cross-modal interaction mechanism.
  • A publicly released multimodal dataset with 256,690 proteins (structures, sequences, descriptions) supports benchmarking and future research.

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.