Abstract
Predicting the biological function of proteins from their amino acid sequences is a cornerstone of computational biology. Traditional methods often struggle with proteins that exhibit low sequence similarity to known examples. We present Prot2Text-V2, a multimodal framework that aligns a protein language model (ESM-3B) with a large language model (LLaMA-3.1) to generate descriptive natural language functional annotations. By employing a novel Hybrid Sequence-level Contrastive Alignment Learning (H-SCALE) strategy, Prot2Text-V2 achieves state-of-the-art performance, particularly in the low-homology regime where traditional tools like BLAST are less effective.
Introduction
The "holy grail" of proteomics is the ability to determine a protein's function directly from its primary sequence. While DNA sequencing has become routine, millions of resulting proteins remain "uncharacterized." Traditional functional prediction has historically relied on homology—finding similar sequences with known functions—or rigid ontologies like Gene Ontology (GO) terms. However, these methods face two major bottlenecks: the "similarity trap," where low-homology proteins are mischaracterized, and the "expression gap," where rigid labels fail to capture the nuanced complexity of biological pathways.
Methodology
Prot2Text-V2 utilizes a decoder-only multimodal architecture designed to bridge the semantic gap between protein sequences and human language.
Architecture
The system consists of two primary components:
- Protein Encoder: An ESM-3B model that extracts high-dimensional embeddings from amino acid sequences ($S_p$).
- Text Decoder: A LLaMA-3.1-8B-Instruct model that generates natural language descriptions.
- Modality Projector: A lightweight nonlinear projector ($g_\delta$) that maps protein embeddings into the LLM’s latent space.
H-SCALE Alignment
The core innovation is Hybrid Sequence-level Contrastive Alignment Learning (H-SCALE). This two-stage process first aligns the distributions (mean and standard deviation) of protein features with the intermediate representations of the LLaMA decoder (specifically at the 16th block). This "distribution matching" ensures the LLM captures the inherent dispersion and biological nuance of the protein data. Subsequently, the model undergoes supervised fine-tuning using Low-Rank Adaptation (LoRA) to follow instructions and generate accurate captions.
Experimental Results
The model was trained and evaluated on a curated SwissProt dataset containing ~250,000 protein-description pairs. To test generalization, a strict 40% maximum sequence identity threshold was enforced between training and test sets using CD-HIT clustering.
Key Findings
- Lexical and Semantic Superiority: Prot2Text-V2 achieved a BLEU-4 score of 43.34, a significant improvement over the original Prot2Text (32.45).
- Robustness in the "Hard" Regime: In cases with low sequence similarity (BLAST bitscores 0–30), Prot2Text-V2 maintained high performance while traditional tools bottomed out.
- Expert Validation: Blind evaluations by biological experts ranked Prot2Text-V2’s descriptions as more biologically sound and detailed than those produced by general-purpose LLMs like GPT-4o.
Discussion and Conclusion
Prot2Text-V2 demonstrates the power of multimodal alignment in biological discovery. By moving beyond rigid labels to natural language, the model provides a more expressive and accurate tool for protein characterization. Future work will explore the integration of 3D structural data from AlphaFold and surface chemistry to further enhance the model's reasoning capabilities in complex multi-protein pathways.
Summary updated