Abstract
Peptide sequencing via tandem mass spectrometry (MS/MS) is essential in proteomics. Unlike traditional database searches, deep learning excels at de novo peptide sequencing, even for peptides missing from existing databases. Current deep learning models often rely on autoregressive generation, which suffers from error accumulation and slow inference speeds. In this work, we introduce π-PrimeNovo, a non-autoregressive Transformer-based model for peptide sequencing. With our architecture design and a CUDA-enhanced decoding module for precise mass control, π-PrimeNovo achieves significantly higher accuracy and up to 89x faster inference than state-of-the-art methods, making it ideal for large-scale applications like metaproteomics. Additionally, it excels in phosphopeptide mining and detecting low-abundance post-translational modifications (PTMs), marking a substantial advance in peptide sequencing with broad potential in biological research.
Introduction
In proteomics, identifying the exact sequence of amino acids in a peptide is fundamental to understanding biological functions and disease mechanisms. While traditional methods rely on comparing mass spectrometry (MS/MS) data against known databases, this approach fails for "novel" peptides—those from unsequenced organisms (metaproteomics) or mutated proteins in cancer.
De novo sequencing addresses this by predicting the sequence directly from the spectrum. However, existing models are primarily autoregressive, predicting amino acids sequentially. This leads to two critical issues: error accumulation, where a single mistake corrupts the rest of the sequence, and computational inefficiency, which creates a bottleneck for large-scale datasets.
Methods: The Non-Autoregressive Paradigm
π-PrimeNovo shifts the paradigm to a non-autoregressive (NAR) framework, predicting all amino acids in a sequence simultaneously. This approach leverages bidirectional context, considering both preceding and succeeding amino acids to ensure biological plausibility.
Key components of the architecture include:
- NAR Transformer with CTC Loss: The model uses Connectionist Temporal Classification (CTC) loss to align predicted tokens with the input signal globally.
- Precise Mass Control (PMC): Formulated as a "knapsack-like" optimization problem, the PMC unit ensures the total mass of predicted amino acids matches the measured precursor mass with high precision.
- CUDA Acceleration: A custom CUDA-enhanced decoding module enables parallel processing on the GPU, maintaining high inference speeds despite the mathematical complexity of the PMC unit.
Key Results and Performance
The model was trained on the massive MassIVE-KB dataset (~30 million PSMs) and evaluated against standard benchmarks.
Accuracy and Speed
On the standard nine-species benchmark, π-PrimeNovo achieved a 64% peptide recall, a significant improvement over the previous state-of-the-art, Casanovo V2 (54%).
Furthermore, π-PrimeNovo is up to 89x faster than leading autoregressive models. This efficiency is transformative for large-scale applications; for instance, processing massive metaproteomics datasets can be reduced from months to days.
Metaproteomics and PTM Detection
In a mouse microbiome study, π-PrimeNovo identified 107% more PSMs and 124% more peptides than Casanovo V2. It also demonstrated high sensitivity in detecting low-abundance post-translational modifications (PTMs), such as phosphorylation, which are critical for cancer research.
Discussion and Insights
The success of π-PrimeNovo stems from its ability to capture full structural context through bidirectional modeling. Analysis shows that the model performs "layer-wise self-correction," refining its predictions as data passes through the Transformer layers. By treating precursor mass as a strict mathematical constraint rather than a suggestion, the PMC unit effectively filters out "hallucinated" sequences that do not match physical reality.
While the model shows exceptional zero-shot generalization, it is subject to "catastrophic forgetting" if fine-tuned on very narrow datasets without including general training data. Future work will explore extending this NAR architecture to complex tasks like cross-linked peptide sequencing and identifying unknown chemical modifications in "dark matter" proteomics.
Summary updated