Prot2Text-V2: Protein Function Prediction with Multimodal Contrastive Alignment

Xiao Fei, Michail Chatzianastasis, Sarah Almeida Carneiro, Hadi Abdine, Lawrence P. Petalidis +1 more
5/1/2025
15 citations

Official code: ColinFX/Prot2Text-V2 (50 stars).

Abstract

Predicting protein function from sequence is a central challenge in computational biology. While existing methods rely heavily on structured ontologies or similarity-based techniques, they often lack the flexibility to express structure-free functional descriptions and novel biological functions.

Show full abstract

In this work, we introduce Prot2Text-V2, a novel multimodal sequence-to-text model that generates free-form natural language descriptions of protein function directly from amino acid sequences. Our method combines a protein language model as a sequence encoder (ESM-3B) and a decoder-only language model (LLaMA-3.1-8B-Instruct) through a lightweight nonlinear modality projector. A key innovation is our Hybrid Sequence-level Contrastive Alignment Learning (H-SCALE), which improves cross-modal learning by matching mean- and std-pooled protein embeddings with text representations via contrastive loss. After the alignment phase, we apply instruction-based fine-tuning using LoRA on the decoder to teach the model how to generate accurate protein function descriptions conditioned on the protein sequence. We train Prot2Text-V2 on about 250K curated entries from SwissProt and evaluate it under low-homology conditions, where test sequences have low similarity with training samples. Prot2Text-V2 consistently outperforms traditional and LLM-based baselines across various metrics.

View on arXivView PDF

Code Implementations(1)

Prot2Text-V2: Protein Function Prediction with Multimodal Contrastive Alignment

505

Similar Papers

Cite this paper

@article{fei2025prottextv,
  title  = {Prot2Text-V2: Protein Function Prediction with Multimodal Contrastive Alignment},
  author = {Xiao Fei and Michail Chatzianastasis and Sarah Almeida Carneiro and Hadi Abdine and Lawrence P. Petalidis and M. Vazirgiannis},
  year   = {2025},
  eprint = {2505.11194},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.11194},
  url    = {https://doi.org/10.48550/arXiv.2505.11194},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11194.svg)](https://codeofpaper.com/paper/2505.11194)

Discussion