[Paper Review] Profile Prediction: An Alignment-Based Pre-Training Task for Protein Sequence Models
This paper introduces profile prediction, a novel pre-training task for protein sequence models that predicts profile hidden Markov model (HMM) emissions from multiple sequence alignments (MSAs) as labels. By leveraging biologically informed inductive biases from MSAs, the method outperforms masked language modeling on structure and homology prediction tasks, demonstrating that alignment-based pre-training can yield superior representations for evolutionary and structural prediction.
For protein sequence datasets, unlabeled data has greatly outpaced labeled data due to the high cost of wet-lab characterization. Recent deep-learning approaches to protein prediction have shown that pre-training on unlabeled data can yield useful representations for downstream tasks. However, the optimal pre-training strategy remains an open question. Instead of strictly borrowing from natural language processing (NLP) in the form of masked or autoregressive language modeling, we introduce a new pre-training task: directly predicting protein profiles derived from multiple sequence alignments. Using a set of five, standardized downstream tasks for protein models, we demonstrate that our pre-training task along with a multi-task objective outperforms masked language modeling alone on all five tasks. Our results suggest that protein sequence models may benefit from leveraging biologically-inspired inductive biases that go beyond existing language modeling techniques in NLP.
Motivation & Objective
- Address the imbalance between vast unlabeled protein sequence data and limited labeled data in protein science.
- Overcome the limitations of NLP-inspired pre-training tasks like masked language modeling, which show marginal gains on some protein prediction tasks.
- Develop a biologically grounded pre-training objective that leverages evolutionary information from multiple sequence alignments (MSAs).
- Improve downstream performance on diverse protein prediction tasks by incorporating alignment-based inductive biases into self-supervised pre-training.
- Demonstrate that profile prediction, as a pre-training task, yields better representations than masked language modeling for structure and homology-related tasks.
Proposed method
- Use HMM profiles derived from multiple sequence alignments (MSAs) as supervision targets during pre-training.
- For each input protein sequence, generate an MSA via database search (e.g., PSI-BLAST), then compute match and insertion state emission probabilities from the HMM.
- Predict the HMM emission probabilities for each amino acid position using a transformer-based model, with labels derived from the MSA profile.
- Apply KL divergence loss between predicted and true emission probabilities, averaged over the sequence length.
- Train models using a multi-task objective combining profile prediction and masked language modeling to jointly optimize for both tasks.
- Keep architecture, hyperparameters, and pre-training data constant across comparisons to isolate the effect of the pre-training objective.
Experimental results
Research questions
- RQ1Can a pre-training task based on predicting MSA-derived HMM profiles improve protein representation learning compared to standard NLP-inspired objectives?
- RQ2Does profile prediction lead to better performance on downstream tasks related to protein structure and evolutionary relationships?
- RQ3How does profile prediction compare to masked language modeling on engineering-focused tasks like fluorescence and stability prediction?
- RQ4Can combining profile prediction with masked language modeling yield superior performance across diverse downstream tasks?
- RQ5To what extent do biologically inspired pre-training objectives outperform generic NLP-based objectives in protein sequence modeling?
Key findings
- Profile prediction outperforms masked language modeling on all five downstream tasks, with the largest gains on secondary structure prediction (0.74 vs. 0.72) and remote homology detection (0.23 vs. 0.14).
- On the fluorescence task, profile prediction achieved an F1 score of 0.38, outperforming masked language modeling (0.25) and multi-task learning (0.28).
- On the stability task, masked language modeling and multi-task models outperformed profile prediction (0.63 vs. 0.55), indicating that masked modeling is better suited for fine-grained engineering tasks.
- Profile prediction surpassed all prior protein-specific pre-training tasks (e.g., Bepler & Berger, 2018; Lu et al., 2020) on secondary structure and remote homology tasks.
- The multi-task model combining profile prediction and masked language modeling achieved the best overall performance, suggesting complementary strengths of both objectives.
- Profile prediction models outperformed the TAPE benchmark’s Transformer and LSTM models on secondary structure and homology tasks, except for the alignment-based baseline (0.80 F1), which remains the strongest.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.