Evaluation of protein sequence retrieval via protein language model embeddings and FAISS.
Can Wu, Haoran Zhang, Liqiong Chen
Shanghai Institute of Technology, Shanghai, China. Electronic address: Y30261138@mail.ecust.edu.cn. · Shanghai Institute of Technology, Shanghai, China. Electronic address: 256092479@mail.sit.edu.cn.
Key points
From the paper's conclusion- These results support the feasibility of PLM-based retrieval for large-scale protein search; however, generalisability is constrained by the single-domain benchmark.
Abstract
Protein sequence similarity search underpins function annotation, evolutionary analysis, and metagenomic mining, yet conventional alignment-based methods face two persistent difficulties. First, their computational cost grows linearly with database size, making them impractical for billion-scale repositories. Second, their sensitivity declines below 30% sequence identity (the "twilight zone"), limiting remote homolog detection. Protein language models (PLMs) produce evolutionarily informative embeddings through self-supervised learning; however, the systematic integration of PLM embeddings with vector search into online retrieval services, together with experimental characterisation across model variants and index types, has received limited attention. We present ProtFaiss, combining ESM2 embeddings with FAISS approximate nearest neighbour search. On SCOPe40, we evaluate classification accuracy, ranking quality, remote homology sensitivity, retrieval speed, and storage footprint. Ablations spanning index type, model capacity, database scale, pooling strategy, and layer selection characterise the design space. ProtFaiss vector search completes in ∼0.02ms per query - roughly 3×105-fold faster than a BLASTp database scan - and, including ESM2 encoding, the end-to-end latency is ∼30ms, approximately 200-fold faster than BLASTp. ProtFaiss achieves remote homology sensitivity of 7.7% (BLASTp: 6.7%), concentrated in the 15%-25% identity range. A notable finding is that intermediate Transformer layers substantially outperform the final layer: ESM2-650M layer 22 achieves Recall@10 of 0.780, compared with 0.431 for the final layer, suggesting later layers trade global semantic signal for local structural detail. A learned attention-pooling analysis and a preliminary Flat-index evaluation on multi-domain Swiss-Prot proteins further qualify this interpretation: learned pooling partially recovers final-layer performance, whereas intermediate layers remain advantageous in both evaluations. These results support the feasibility of PLM-based retrieval for large-scale protein search; however, generalisability is constrained by the single-domain benchmark.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Know Thy Neighbour: Benchmarking Protein Language Model Embedding-Based Annotation Reveals Anisotropy Substantially Impacts RetrievalbioRxiv · 2026
- S-PLM-TM enables fast and accurate sequence-based search for remote homologs.bioRxiv : the preprint server for biology · 2026
- Evaluating Protein Language Model Embeddings for Structural Similarity in the Protein-Sequence Twilight ZonebioRxiv (Cold Spring Harbor Laboratory) · 2026
- Evaluating Pretrained Protein Language Model Embeddings as Proxies for Functional SimilarityJournal of Molecular Evolution · 2025
- Retrieval of binding sites across the AlphaFold human proteome using protein language model representationsbioRxiv · 2026
- FuncSeek: Multi-PLM contrastive learning for protein functional similarity searchbioRxiv · 2026