Abstract
The goal of protein representation learning is to extract knowledge from protein databases that can be applied to various protein-related downstream tasks. Although protein sequence, structure, and function are the three key modalities for a comprehensive understanding of proteins, existing methods for protein representation learning have utilized only one or two of these modalities due to the difficulty of capturing the asymmetric interrelationships between them. To account for this asymmetry, we introduce our novel asymmetric multi-modal masked autoencoder (AMMA). AMMA adopts (1) a unified multi-modal encoder to integrate all three modalities into a unified representation space and (2) asymmetric decoders to ensure that sequence latent features reflect structural and functional information. The experiments demonstrate that the proposed AMMA is highly effective in learning protein representations that exhibit well-aligned inter-modal relationships, which in turn makes it effective for various downstream protein-related tasks.
Introduction
Proteins are the fundamental workhorses of biology. Understanding their behavior requires a comprehensive view of three distinct but interconnected modalities: their amino acid sequence, their folded 3D structure, and their biological function. While sequence data is abundant, capturing the nuanced interplay between all three has proven difficult for traditional machine learning models.
A new framework presented at the ICLR 2024 Genomics workshop, AMMA (Asymmetric Multi-modal Masked Autoencoder), addresses these gaps by explicitly modeling the inherent "asymmetry" of protein data to bridge the divide between sequence, structure, and function.
The Challenge of Asymmetry
In the traditional "sequence-structure-function" paradigm, the relationships are not symmetric. For instance, convergent evolution allows proteins with vastly different sequences to fold into nearly identical structures to perform the same function. Conversely, a single point mutation might not alter a protein's overall shape but could completely deactivate its biological function.
Existing models often struggle with this complexity. Many focus on a single modality or use contrastive learning to align two modalities (e.g., sequence and structure). However, contrastive learning can result in "skewed" representations that favor one modality over others, often failing to capture the tight, complex bond between structure and function.
The AMMA Architecture
The core innovation of AMMA is its asymmetric architecture, designed to ensure that the learned latent space is deeply aware of inter-modal dependencies. The framework consists of three main stages:
- Uni-modal Encoding: The model utilizes frozen, pretrained experts to extract initial features: ESM-1b for sequences, GearNet for structures, and PubMedBERT for functional text descriptions.
- Unified Multi-modal Encoder: Features from all three modalities are masked—using a Dirichlet distribution to vary masking ratios—and processed by a single 8-layer Transformer. This forces the model to learn a shared representation for all data types.
- Asymmetric Decoders: This is the critical architectural response to biological asymmetry. Instead of decoding each modality in isolation, AMMA employs cross-modal guidance. While the Sequence Decoder reconstructs the sequence, the Structure Decoder utilizes sequence and function information, and the Function Decoder utilizes sequence and structure information.
Experimental Setup and Data
The researchers curated a high-quality dataset of 120,000 protein triplets (sequence, structure, and function) by cross-referencing AlphaFold v2 and ProtDescribe. To demonstrate flexibility, the model was also trained on 50,000 additional unpaired data points (sequence-structure or sequence-function), proving that AMMA can learn effectively even when the full "trinity" of data is unavailable for every protein.
Results and Discussion
AMMA was evaluated on major downstream benchmarks, including Enzyme Commission (EC) number prediction and Gene Ontology (GO) term prediction.
State-of-the-Art Performance
AMMA outperformed established baselines such as ESM-1b, GearNet, and SaProt across almost all metrics, including AUPR and $F_{max}$. Despite having fewer parameters (111M) than larger models like ProtST (675M), AMMA achieved superior results, suggesting that the method of fusing modalities is as critical as the scale of the data.
Inter-modal Alignment
t-SNE visualizations confirm that AMMA successfully clusters proteins by function and structure even when their sequences are divergent. This indicates a well-aligned latent space where the model prioritizes biological relevance over simple sequence similarity.
Biological Interpretability
Analysis of the model's attention maps revealed that AMMA naturally focuses on active sites and ligand-binding regions when processing functional tokens. This emergent property suggests the model captures fundamental biological principles without explicit supervision on binding site locations.
Conclusion
AMMA demonstrates that accounting for the asymmetric relationships between protein sequence, structure, and function leads to more robust and biologically meaningful representations. While the model currently benefits significantly from triplet data, future work may involve scaling to larger datasets and incorporating additional modalities, such as protein-protein interaction networks, to further enrich the representation space.
Summary updated