A PLMs based protein retrieval framework

Yuxuan Wu, Xiao Yi, Yang Tan, Huiqun Yu, Guisheng FanarXiv 2024 · DOI

Abstract

Traditional protein retrieval methods like BLAST rely on sequence identity, often failing to identify functionally related proteins with divergent sequences. This paper introduces a novel framework that leverages pre-trained Protein Language Models (PLMs) to map proteins into a high-dimensional semantic space. By combining dense vector embeddings with an accelerated retrieval engine, the system identifies functional homologs even in the "twilight zone" of low sequence similarity (<20%), significantly outperforming traditional alignment-based tools in recall and functional relevance.

Introduction

For decades, sequence alignment tools like BLAST have been the standard for finding similar proteins. These tools operate on the premise that sequence similarity implies functional similarity. However, evolutionary divergence often results in proteins that share functions but possess highly dissimilar sequences. This creates a "local optimal trap" where researchers miss critical biological connections. Furthermore, as biological databases grow exponentially, the computational cost of traditional alignment (an NP-complete problem) becomes a bottleneck for large-scale retrieval.

Methodology

The proposed framework addresses these challenges through a two-stage process: Protein Vectorization and Vector Retrieval.

Overview of the proposed protein retrieval framework, illustrating the offline database indexing and the online query retrieval pipeline.

Protein Vectorization

Instead of treating proteins as simple strings, the framework utilizes the encoders of pre-trained Protein Language Models (such as ESM-1b, ESM-2, or ProtT5). These models capture the latent "grammar" of protein sequences. The vectorization pipeline processes sequences through these encoders and a 1D-CNN to generate dense, high-dimensional embeddings that represent the protein's functional essence.

The sequence encoding process, detailing the transformation from raw alphabet to labeled 1-hot encodings, self-attention mechanisms, and final 1D-CNN embedding.

Vector Retrieval Engine

To enable rapid search across millions of high-dimensional vectors, the authors implemented a multi-layer acceleration structure. The system employs Locality Sensitive Hashing (LSH) for initial clustering, followed by FAISS (Facebook AI Similarity Search) and VPTree (Vantage Point Tree) indexing. This architecture allows for approximate nearest neighbor searches, making retrieval nearly instantaneous even in massive datasets.

Experimental Evaluation

The framework was benchmarked using the UniProtKB/SwissProt database, specifically a curated subset of approximately 236,306 proteins. To evaluate functional retrieval accuracy, the authors utilized Enzyme Commission (EC) numbers as a ground truth. A rigorous 4-level matching schema was introduced to grade how effectively the system identifies enzymes catalyzing the same chemical reactions, regardless of sequence identity.

Key Results and Insights

  • Breaking the Twilight Zone: The PLM-based framework successfully identifies functional matches where sequence identity is as low as 18-20%, a range where BLAST typically fails.
  • Superior Recall: In head-to-head comparisons, PLM models (particularly ESM-2) consistently retrieved more functionally related proteins than BLAST. In real-world validation, the framework successfully identified functional targets for imine reductases (pRed-14 and pRed-15) that traditional methods missed due to low sequence identity (<30%).
  • Metric Efficacy: The study found that L2 distance and Cosine similarity are significantly more effective for protein retrieval than simple Inner Product (IP) calculations.
  • Sequence vs. Structure: Interestingly, sequence-based PLMs often outperformed structure-based models (like ESM-IF1). This suggests that the raw, high-fidelity information in massive sequence pre-training currently outweighs the noise introduced by predicted structures from tools like AlphaFold2.

Conclusion and Future Work

While the PLM framework excels at finding niche proteins with few relatives, BLAST remains highly effective for proteins with extensive Multiple Sequence Alignments (MSAs). Future work will focus on fine-tuning these PLMs on specific protein families to further bridge this gap. Although the initial vectorization of large databases requires significant GPU resources, the resulting retrieval speed and functional sensitivity represent a major step forward in "semantic" biological search.

Summary updated

BibTeX
@misc{wu2024plms,
  author = {Yuxuan Wu and Xiao Yi and Yang Tan and Huiqun Yu and Guisheng Fan},
  title = {{A PLMs based protein retrieval framework}},
  year = {2024},
  eprint = {2407.11548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.11548},
}
Figure