ReNovo: Retrieval-Based \emph{De Novo} Mass Spectrometry Peptide Sequencing

Shaorong Chen, Jun Xia, Jingbo Zhou, Lecheng Zhang, Zhangyang Gao, Bozhen Hu, Cheng Tan, Wenjie Du, Stan Z. Li

TL;DR

ReNovo is a novel retrieval-based framework for de novo peptide sequencing that combines the high accuracy of database search methods with the flexibility of de novo prediction. By querying a datastore of "memorized" training examples during inference, ReNovo achieves state-of-the-art performance across multiple proteomics benchmarks with minimal computational overhead.

What Problem Does This Paper Address?

In proteomics, identifying the amino acid sequence of a peptide from its mass spectrum (MS2) is a fundamental challenge. Currently, researchers use two main approaches:

  1. Database Search: Matches spectra against a known library. It is highly accurate but fails when the peptide is missing from the database (e.g., novel mutations or antibodies).
  2. De Novo Sequencing: Predicts the sequence directly from the spectrum. While it can find "novel" peptides, its accuracy has historically lagged behind database methods.

ReNovo aims to bridge this gap. The authors ask: Can we use the "memory" of a database to improve de novo sequencing without being restricted by that database's contents?

Comparison of Database Search, De Novo Sequencing, and ReNovo.

Methods

ReNovo introduces a three-stage pipeline inspired by Retrieval-Augmented Generation (RAG):

  1. Model Training: A Transformer-based model (comprising an MS2 Encoder and a Peptide Decoder) is trained on peptide-spectrum matches.
  2. Datastore Building: After training, the model processes the training set one last time. It saves the "context features" (high-dimensional vectors from the decoder) and the corresponding "target amino acids" into a searchable datastore.
  3. Retrieval-Based Inference: During sequencing, for every amino acid predicted, the model generates a context feature and queries the datastore for the $K$-nearest neighbors. The final prediction is a weighted combination of the model's internal logic and the retrieved information from the datastore.

This approach allows the model to "look up" how similar spectral patterns were resolved in the training data, effectively giving it a form of external memory.

The ReNovo architecture and retrieval process.

Datasets and Evaluation

The authors evaluated ReNovo on three widely-used proteomics datasets:

  • Seven-species Dataset: Low-resolution mass spectra from seven distinct species.
  • Nine-species Dataset: High-resolution spectra including common post-translational modifications.
  • HC-PT Dataset: High-resolution spectra of synthetic human peptides.

To ensure a fair de novo test, they used a leave-one-out strategy: the model was tested on a species it had never seen during training, ensuring the test peptides were entirely distinct from the training data.

Key Insights and Ideas

  • Memorization as a Feature, Not a Bug: Traditional models try to bake all knowledge into their weights. ReNovo acknowledges that "memorizing" specific fragments is useful and moves that memory into an external, searchable datastore.
  • Global Coherence from Local Retrieval: Interestingly, while the retrieval happens at the individual amino acid level, the biggest performance gains were seen at the peptide level (the whole sequence). This suggests that retrieval helps the model stay "on track" throughout the entire sequencing process.
  • Plug-and-Play Scaling: You can improve ReNovo's performance simply by adding more data to the datastore without retraining the neural network weights. The authors showed that doubling the datastore size led to significant precision jumps.
  • Robustness: Sensitivity analysis showed that the model is relatively stable across different values of $K$ (number of neighbors) and $T$ (softmax temperature), making it practical for real-world use.

Key Results

ReNovo consistently outperformed state-of-the-art (SOTA) models like HelixNovo and Casanovo:

  • Peptide-level Precision: Improved by an average of 13.31% across the three datasets.
  • Peptide-level AUC: Surpassed top baselines by an average of 20.42%.
  • Efficiency: Despite the extra retrieval step, the overhead is low. Datastore building takes only ~2% of the total pipeline time, and inference is only 1.5x to 2x slower than non-retrieval models—a small price to pay for the massive accuracy boost.

Limitations and Future Work

While the overhead is manageable, the $K$-nearest neighbor search does make ReNovo slightly slower than the fastest de novo baselines. Additionally, large datastores can require significant disk space (up to 16GB for the Nine-species dataset).

Looking forward, the authors suggest that scaling to even larger, multi-million-entry datastores could further push the boundaries of peptide identification, particularly in complex fields like immunopeptidomics.

Summary updated

BibTeX
@inproceedings{chen2025renovo,
  author = {Shaorong Chen and Jun Xia and Jingbo Zhou and Lecheng Zhang and Zhangyang Gao and Bozhen Hu and Cheng Tan and Wenjie Du and Stan Z. Li},
  title = {{ReNovo: Retrieval-Based \textbackslash\{\}emph\{De Novo\} Mass Spectrometry Peptide Sequencing}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=uQnvYP7yX9},
}
Figure