Abstract
Protein foundation models, particularly protein language models, have demonstrated strong success in learning meaningful representations of proteins using transformer architectures pretrained on large-scale protein datasets with self-supervised learning. These representations have been highly effective for downstream tasks such as predicting protein functions and properties. However, most current protein foundation models focus on pretraining with amino acid sequences, often neglecting additional modalities like protein structures and related literature, both of which provide valuable insights. To address this gap, we propose a multi-modal pretraining approach that integrates three key modalities - protein sequences, structures, and literature text. In our framework, the protein sequence modality serves as the anchor, with the other two modalities aligned to it, enhancing the model's capacity to capture more comprehensive protein information. ProteinAligner outperformed state-of-the-art protein foundation models in predicting protein functions and properties across diverse downstream tasks.
Introduction
In the field of computational biology, Protein Language Models (PLMs) like ESM have become the standard for learning protein representations. By training on massive datasets of amino acid sequences, these models learn the underlying "grammar" of proteins. However, proteins are not merely linear strings; they are complex three-dimensional machines whose biological roles and experimental behaviors are extensively documented in scientific literature.
Existing models typically focus on a single modality (sequence) or dual modalities (sequence and structure), creating a significant information gap. A sequence alone may not fully capture binding affinities or environmental responses that are better described in 3D coordinates or functional annotations. ProteinAligner addresses this by holistically integrating sequence, structure, and text into a unified foundation model.
Methodology: The Anchor-Based Multi-modal Framework
ProteinAligner utilizes a framework consisting of three specialized encoders designed to process distinct biological data types:
- Sequence Encoder: Based on ESM-2 (650M parameters), treating amino acids as linguistic tokens.
- Structure Encoder: Based on ESM-IF1 (124M parameters), employing Geometric Vector Perceptrons (GVP-GNN) to process 3D atomic coordinates.
- Text Encoder: A standard Transformer (78M parameters) optimized for functional descriptions and scientific literature.
The "Anchor" Strategy
The core innovation of ProteinAligner is its alignment strategy. Recognizing that sequence data is ubiquitous while structural and textual data are relatively scarce, the framework uses the protein sequence as a central anchor. During pretraining, a contrastive learning loss (InfoNCE) is used to project all three modalities into a shared latent space. This forces the representation of a protein's sequence to align with its corresponding structure and text description. This approach allows the model to transfer structural and functional knowledge to the sequence encoder, which can then be utilized even when evaluating proteins with unknown structures or missing literature.
Data Diversity and Experimental Setup
To train ProteinAligner, the authors curated a massive multi-modal dataset by merging UniProtKB/Swiss-Prot (providing ~290,000 sequence-text pairs) and the RCSB PDB (providing ~133,000 sequence-structure pairs). This dataset covers a vast range of biological diversity and functional categories.
Evaluation was conducted across several specialized benchmarks, including VariPred (pathogenicity of missense variants), HP-S2C5 (thermostability), Acr-CRISPR (anti-CRISPR activity), and UniDL4BioPep (bioactive peptide identification).
Key Results and Insights
ProteinAligner consistently outperformed single-modal (ESM) and dual-modal (ProtST) baselines across diverse tasks:
- Anti-CRISPR Detection: Achieved an AUC of 0.852, a significant improvement over ESM’s 0.732.
- Pathogenicity Prediction: Reached an F1 score of 0.71, surpassing both ESM (0.667) and ProtST (0.676).
- Thermostability: The structure encoder achieved an F1 of 0.608, outperforming the specialized ESM-IF1 (0.559).
- Bioactive Peptides: The model led performance across eight peptide classification tasks, demonstrating that multi-modal pretraining generalizes effectively even to short protein chains.
The results highlight a clear multi-modal synergy: text captures experimental insights like post-translational modifications, while structure captures spatial arrangements of active sites. By anchoring these to the sequence, the model develops an implicit structural and functional awareness that sequence-only models lack.
Conclusion and Future Work
ProteinAligner demonstrates the power of integrating diverse biological modalities into a single foundation model. While the model achieves state-of-the-art results, its performance remains dependent on the quality of input structural and textual data. Future research may focus on incorporating additional modalities, such as protein-protein interaction (PPI) networks and metabolic pathways, and improving the interpretability of the cross-modal associations learned by the model.
Summary updated