NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Analysis of Protein Language Model Embeddings for Fold Prediction

Amelia Villegas-Morcillo, Ángel M. Gómez, Victoria SánchezbioRxiv 2022

Abstract

The identification of the protein fold class is a challenging problem in structural biology. Recent computational methods for fold prediction leverage deep learning techniques to extract protein fold-representative embeddings mainly using evolutionary information in the form of multiple sequence alignment (MSA) as input source. In contrast, protein language models (LM) have reshaped the field thanks to their ability to learn efficient protein representations (protein-LM embeddings) from purely sequential information in a self-supervised manner. In this paper, we analyze a framework for protein fold prediction using pre-trained protein-LM embeddings as input to several fine-tuning neural network models which are supervisedly trained with fold labels. In particular, we compare the performance of six protein-LM embeddings: the LSTM-based UniRep and SeqVec, and the transformer-based ESM-1b, ESM-MSA, ProtBERT, and ProtT5; as well as three neural networks: Multi-Layer Perceptron (MLP), ResCNN-BGRU (RBG), and Light-Attention (LAT). We separately evaluated the pairwise fold recognition (PFR) and direct fold classification (DFC) tasks on well-known benchmark datasets. The results indicate that the combination of transformer-based embeddings, particularly those obtained at amino acid-level, with the RBG and LAT fine-tuning models performs remarkably well in both tasks. To further increase prediction accuracy, we propose several ensemble strategies for PFR and DFC, which provide a significant performance boost over the current state-of-the-art results. All this suggests that moving from traditional protein representations to protein-LM embeddings is a very promising approach to protein fold-related tasks.

Introduction

In structural biology, the "structure determines function" paradigm underscores the importance of protein fold prediction. However, experimental determination of 3D structures is costly and time-consuming. Computational methods aim to bridge this gap by categorizing proteins into known structural folds—spatial arrangements of helices and sheets.

The difficulty of this task is hierarchical. While predicting relationships at the Family level (high sequence similarity) is relatively straightforward, the Fold level represents the "boss level" of structural biology. At this level, proteins share the same 3D layout despite having nearly undetectable sequence similarity. Traditionally, researchers relied on Multiple Sequence Alignments (MSAs) to extract evolutionary signals. This study investigates whether Protein Language Models (pLMs), which learn the "grammar" of proteins from massive unlabeled sequence databases, can outperform these traditional evolutionary profiles.

Methodology

The researchers evaluated a framework consisting of three distinct stages: embedding extraction, fine-tuning, and classification.

Overview of the protein fold prediction framework using pLM embeddings.

Embedding Extraction

Six pre-trained pLMs were analyzed, ranging from older LSTM-based models (UniRep, SeqVec) to modern Transformer-based architectures (ESM-1b, ESM-MSA, ProtBERT, ProtT5). These models provide high-dimensional representations of protein sequences, either at the whole-protein level (LMEmb-Prot) or the individual amino acid level (LMEmb-AA).

Fine-Tuning Architectures

The raw embeddings were processed through three types of supervised neural networks to map them to fold-specific spaces:

  • Multi-Layer Perceptron (MLP): A baseline model for protein-level embeddings.
  • ResCNN-BGRU (RBG): A complex architecture using convolutional layers for local patterns and Gated Recurrent Units for global context.
  • Light-Attention (LAT): A mechanism designed to identify the most structurally significant parts of a sequence.
Architectural details of the three fine-tuning models: MLP, RBG, and LAT.

The models were optimized using Large Margin Cosine Loss (LMCL), which encourages the network to group similar folds tightly while maximizing the distance between different fold classes.

Datasets

The models were trained on 16,133 protein domains from SCOPe v2.06. Evaluation was conducted on the LINDAHL dataset for Pairwise Fold Recognition (PFR) and SCOP_2.06 for Direct Fold Classification (DFC). To ensure rigorous testing, all evaluation sets were filtered to maintain less than 40% sequence identity with the training data.

Results and Discussion

The analysis yielded several critical insights into the efficacy of pLMs for structural tasks:

  1. Transformers Outperform LSTMs: Transformer-based models, particularly ProtT5 and ESM, significantly outperformed LSTM models. The attention mechanism appears better suited for capturing the long-range dependencies essential for 3D fold understanding.
  2. Granularity Matters: Using amino acid-level embeddings (LMEmb-AA) with RBG or LAT architectures was substantially more effective than using averaged protein-level vectors.
  3. The Necessity of Fine-Tuning: While raw pLM embeddings perform well at the Family level, they struggle at the Fold level. Supervised fine-tuning is essential to filter sequence noise and amplify structural signals.
  4. Ensemble Synergy: Combining different models (e.g., ProtT5, ESM-1b, and ESM-MSA) via a Random Forest ensemble provided a significant performance boost, suggesting that different pLMs capture complementary features of protein structure.

Performance Benchmarks

  • Pairwise Fold Recognition (PFR): The best individual model (ProtT5 + LAT) achieved 82.6% Top-1 accuracy at the fold level. The ensemble model reached 90.3%, surpassing previous state-of-the-art (SOTA) methods like DeepFR.
  • Direct Fold Classification (DFC): On the SCOP_2.06 benchmark, the ensemble reached 75.7% Top-1 accuracy, outperforming previous deep learning methods by over 15 percentage points.

Conclusion

This study demonstrates that pLM embeddings, when combined with specialized fine-tuning architectures and ensemble strategies, represent a new frontier for protein fold prediction. By leveraging single-sequence information, these models avoid the computational overhead of MSA generation while achieving superior accuracy. Future work will likely involve integrating these embeddings into end-to-end structure prediction pipelines like AlphaFold2 to further refine structural classification.

Summary updated

BibTeX
@misc{villegasmorcillo2022analysis,
  author = {Amelia Villegas-Morcillo and Ángel M. Gómez and Victoria Sánchez},
  title = {{An Analysis of Protein Language Model Embeddings for Fold Prediction}},
  year = {2022},
  doi = {10.1101/2022.02.07.479394},
  howpublished = {bioRxiv},
}
Figure