TL;DR
This paper introduces LC-PLM, a novel protein language model that leverages the BiMamba architecture to handle much longer protein sequences than previous Transformer-based models. By incorporating protein-protein interaction graphs, LC-PLM-G further enhances its ability to understand biological context, leading to significant improvements in downstream tasks like structure prediction and function prediction.
What Problem Does This Paper Address?
Current protein language models (pLMs), predominantly based on the Transformer architecture, struggle with long protein sequences and protein complexes. Their fixed context windows limit their ability to capture long-range dependencies crucial for understanding complex biological systems, such as interactions between proteins. Furthermore, these models often fail to account for the intricate web of molecular interactions that govern protein function. This paper aims to bridge this gap by developing pLMs with enhanced long-context capabilities and the ability to integrate biological interaction information.
Methods
The core innovation is the use of BiMamba-S, a bidirectional variant of the Mamba architecture, as the foundation for LC-PLM. Mamba, a selective structured state-space model (SSM), offers linear time and space complexity for long sequences, overcoming the quadratic bottleneck of Transformers. BiMamba-S enhances this by enabling bidirectional processing and introducing shared projection layers for increased efficiency and depth.
The training process involves two stages:
- Long-context Protein Language Modeling (LC-PLM): A standard masked language modeling (MLM) objective is applied to individual protein sequences using BiMamba-S to learn universal amino acid token-level representations.
- Graph-contextual Protein Language Modeling (LC-PLM-G): A novel second-stage training approach contextualizes protein-protein interaction (PPI) graphs. This is achieved by sampling random walks on the PPI graph, transforming them into multi-protein sequences, and then training LC-PLM-G with MLM. This stage explicitly teaches the model to capture relational information from protein interactions.
Datasets
- UniRef50 and UniRef90: Used for pre-training LC-PLM.
- CASP15-multimers, CASP14, and Benchmark2: Datasets for protein structure prediction.
- TAPE: A benchmark for evaluating protein embeddings on tasks like remote homology detection and secondary structure prediction.
- ProteinGym: Used for evaluating zero-shot mutation effect prediction.
- ogbn-proteins and ogbl-ppa: Datasets for protein function prediction and PPI link prediction, respectively, which are used for training LC-PLM-G.
Key Insights and Ideas
- SSMs (Mamba) are a viable and powerful alternative to Transformers for protein language modeling: The paper demonstrates that Mamba-based architectures can achieve superior performance and scaling properties compared to Transformers, especially for long sequences.
- Long-context capabilities are crucial for understanding protein biology: The ability to process longer sequences directly leads to better performance on tasks that inherently involve long-range dependencies, such as predicting the structure of protein complexes.
- Integrating graph information significantly enhances protein representations: By training on PPI graphs, LC-PLM-G learns to capture relational context, leading to improved performance on tasks that benefit from understanding protein interactions.
- BiMamba-S offers a parameter-efficient way to increase model depth: The shared projection layers allow for deeper models with similar parameter counts, leading to improved performance.
- Absence of massive activations in LC-PLM: Unlike Transformers, LC-PLM shows more stable activation magnitudes, suggesting better numerical stability and quantization-friendliness.
Key Results
- Improved Scaling Laws and Length Extrapolation: LC-PLM demonstrates more favorable neural scaling laws and significantly better length extrapolation capabilities compared to Transformer-based ESM-2.
- Downstream Task Performance: LC-PLM achieved up to 30% and 16% improvements on protein downstream tasks compared to ESM-2 when trained with 100B and 1T tokens, respectively.
- Protein Structure Prediction: LC-PLM outperformed ESM-2 on CASP15-multimers, CASP14, and Benchmark2, showing its strength in modeling longer proteins and complexes.
- Graph Contextualization: LC-PLM-G showed promising results on protein function and link prediction tasks, outperforming baselines and demonstrating the value of graph information. For instance, it achieved state-of-the-art accuracy on ogbn-proteins.
- Remote Homology Prediction: LC-PLM-G improved remote homology prediction by over 35% compared to ESM-2.
Limitations and Future Work
- Limitations: While LC-PLM-G shows promise, the paper notes that graph-contextual training can sometimes hurt fitness landscapes of ESM-2 models, suggesting that architectural choices play a role. The authors also mention that ProtMamba had limitations in extrapolating beyond 2048 tokens due to improper positional encodings.
- Future Work: The authors suggest exploring hybrid architectures combining attention with SSMs, investigating more advanced self-supervised training strategies for graph-contextual information, and developing more principled approaches for negative sampling in graph training. They also propose expanding LC-PLM's applications to viral protein sequences, co-regulation, and advanced protein design tasks like inpainting.
Summary updated