Abstract
Computational biology has long relied on evolutionary information from multiple sequence alignments (MSAs) to predict protein structure and function. However, the exponential growth of sequence databases makes MSA generation computationally expensive and inapplicable to "dark proteome" proteins without known relatives. We present SeqVec (Sequence-to-Vector), a method that adapts the ELMo natural language processing architecture to learn biophysical features from 33 million unlabeled protein sequences. SeqVec offers a 4,000-fold speedup over traditional evolutionary-based methods while providing competitive performance in predicting secondary structure, intrinsic disorder, and subcellular localization using only single sequences.
Introduction
For decades, the "gold standard" for protein analysis has involved searching massive databases for evolutionary relatives to construct MSAs. While accurate, this approach faces two major challenges: extreme computational cost and the existence of proteins with no known homologs. As metagenomics expands, the need for fast, single-sequence-based prediction tools becomes critical. SeqVec addresses this by treating protein sequences as a "language," where amino acids function as words and proteins as sentences, allowing the model to learn the underlying "grammar" of life directly from raw data.
Methods
SeqVec utilizes the Embeddings from Language Models (ELMo) architecture, consisting of a character-level CNN followed by two layers of bidirectional Long Short-Term Memory (LSTM) networks. The model was pre-trained on the UniRef50 dataset, encompassing 33 million protein sequences (~9.5 billion amino acids), using a self-supervised task: predicting the next amino acid in a sequence. This process enables the model to capture contextual information; for instance, the representation of an Alanine residue depends on its local environment (e.g., whether it is in a hydrophobic core or on a flexible loop).
Results
SeqVec demonstrates a significant efficiency advantage, generating embeddings in approximately 0.03 seconds per protein—a 4,000x speedup compared to the 120 seconds typically required for HHblits-based evolutionary profiles.
In terms of predictive performance, SeqVec achieved ~79% accuracy (Q3) for secondary structure. While slightly below the ~85% achieved by state-of-the-art MSA-based methods, it significantly outperformed existing single-sequence alternatives. For intrinsic disorder prediction, SeqVec (MCC = 0.59) occasionally outperformed evolutionary-based methods, indicating a high sensitivity to flexible protein regions.
In subcellular localization tasks (Q10), SeqVec reached 68% accuracy, matching several popular evolutionary-based tools and dramatically improving upon previous non-contextual embedding methods (42%). The model's internal representations naturally clustered amino acids by chemical properties and proteins by structural classes without ever being explicitly shown a 3D structure.
Discussion and Conclusion
SeqVec represents a paradigm shift in protein sequence modeling by demonstrating that deep biophysical features can be extracted without explicit evolutionary information. While MSAs still provide superior precision for some structural tasks, the speed and versatility of SeqVec make it an ideal tool for large-scale proteomic and metagenomic analyses. Although LSTMs face challenges with very long sequences and memory, this work helped kickstart the "Protein Language Model" revolution, paving the way for subsequent Transformer-based architectures like ESM and ProtTrans.
Summary updated