Protriever: End-to-End Differentiable Protein Homology Search for Fitness Prediction

Ruben Weitzman, Peter Mørch Groth, Lood Van Niekerk, Aoi Otani, Yarin Gal, Debora Susan Marks, Pascal Notin

Introduction

Predicting protein fitness—the functional impact of mutations—is a cornerstone of modern bioinformatics, with applications ranging from disease variant interpretation to protein engineering. Traditional methods rely heavily on Multiple Sequence Alignments (MSAs) to identify evolutionary constraints. However, MSA-based pipelines suffer from significant computational bottlenecks, rigid heuristic-based similarity metrics, and a fundamental decoupling between the search process and the downstream prediction task.

Protriever addresses these challenges by introducing an end-to-end differentiable framework that replaces traditional alignment tools with a high-speed neural retrieval system. By treating homology search as a Retrieval-Augmented Generation (RAG) problem, Protriever learns to identify the most informative evolutionary relatives for a specific task, achieving state-of-the-art performance with unprecedented efficiency.

Methods: Neural Retrieval-Augmented Generation

Protriever consists of two primary components: a Retriever and a Reader. The Retriever, based on an ESM-2 Transformer encoder, maps protein sequences into a dense vector space. This allows for efficient similarity searches against a massive index of ~62 million sequences from UniRef50 using the Faiss library.

The Reader is a generative model (PoET) that conditions its predictions on the query sequence and the set of retrieved homologs. Crucially, the system is trained end-to-end using a hybrid loss function that combines retriever and reader losses. This differentiability allows the Reader to provide feedback to the Retriever, optimizing the embedding space for functional utility rather than just raw sequence similarity.

Key Results

Protriever was evaluated on the ProteinGym benchmark, which includes 217 Deep Mutational Scanning (DMS) experiments across various species.

State-of-the-Art Accuracy

Protriever achieved a Spearman correlation of 0.479, surpassing existing sequence-based models like PoET (0.470) and EVE (0.439). The model shows particular strength in "low-depth" scenarios where few homologs are known, suggesting it can identify distant evolutionary signals that traditional alignment methods often discard as noise.

Unprecedented Efficiency

The most striking result is the speedup in retrieval. Protriever performs searches in approximately 0.0046 seconds per query, representing a ~500,000x speedup over the gold-standard JackHMMER and a ~130x speedup over the fastest GPU-based search tools like MMseqs2-GPU. Furthermore, the compressed index (12.6 GB) allows the entire system to run on a single consumer-grade GPU.

Comparison of retrieval speed and sequence identity distribution across different homology search methods.

Utility over Similarity

Analysis of the retrieved sequences reveals that Protriever prioritizes "useful" sequences over those with high raw identity. While traditional tools like JackHMMER find sequences with higher sequence identity, Protriever's learned retrieval leads to superior fitness predictions by capturing more relevant functional information.

Discussion and Limitations

While Protriever sets a new standard for efficiency and accuracy, some limitations remain. The retrieval index was updated only ten times during training due to the computational cost of re-encoding 62 million sequences, leading to occasional "index staleness." Future work aims to scale the index to even larger databases like BFD or MGnify and adapt the framework for other tasks such as structure prediction and protein-protein interaction modeling.

Summary updated

BibTeX
@inproceedings{weitzman2025protriever,
  author = {Ruben Weitzman and Peter Mørch Groth and Lood Van Niekerk and Aoi Otani and Yarin Gal and Debora Susan Marks and Pascal Notin},
  title = {{Protriever: End-to-End Differentiable Protein Homology Search for Fitness Prediction}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=GZ7gwOZ6Or},
}
Figure