Pairwise Attention: Leveraging Mass Differences to Enhance De Novo Sequencing of Mass Spectra
Joel LapiniD, Alfred Nilsson, Mathias WilhelmiD, Lukas KälliD
Abstract
A fundamental challenge in mass spectrometry-based proteomics is determining which peptide generated a given MS2 spectrum. Peptide sequencing typically relies on matching spectra against a known sequence database, which in some applications is not available. Deep learning-based de novo sequencing can address this limitation by directly predicting peptide sequences from MS2 data. We have seen the application of the transformer architecture to de novo sequencing produce state-of-the-art results on the so-called nine-species benchmark. In this study, we propose an improved transformer encoder inspired by the heuristics used in the manual interpretation of spectra. We modify the attention mechanism with a learned bias based on pairwise mass differences, termed Pairwise Attention (PA). Adding PA improves average peptide precision at 100% coverage by 12.7% (5.9 percentage points) over our base transformer on the original nine-species benchmark. We have also achieved a 7.4% increase over the previously published model Casanovo. Our MS2 encoding strategy is largely orthogonal to other transformer-based models encoding MS2 spectra, enabling straightforward integration into existing deep-learning approaches. Our results show that integrating domain-specific knowledge into transformers boosts de novo sequencing performance.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 1.01
- Field percentile
- top 30%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- De novo mass spectrometry peptide sequencing with a transformer model
Melih Yilmaz, William E. Fondrie, … William Stafford Noble·bioRxiv·Feb 7, 2022
- Sequence-to-sequence translation from mass spectra to peptides with a transformer model
Melih Yilmaz, William E. Fondrie, … William Stafford Noble·Nature CommunicationsPeer-reviewed·Jul 30, 2024
- PepGo: a deep learning and tree search-based model for de novo peptide sequencing
Yuqi Chang, Siqi Liu, Karsten Kristiansen·bioRxiv·Feb 24, 2025
- De novo peptide sequencing with InstaNovo: Accurate, database-free peptide identification for large scale proteomics experiments
Kevin Eloff, Konstantinos Kalogeropoulos, … Timothy P. Jenkins·Nature Machine IntelligencePeer-reviewed·Mar 31, 2025
- π-PrimeNovo: An Accurate and Efficient Non-Autoregressive Deep Learning Model for De Novo Peptide Sequencing
Xiang Zhang, Tianze Ling, … Siqi Sun·bioRxiv·May 17, 2024
- BiATNovo: An Attention-based Bidirectional De Novo Sequencing Framework for Data-Independent-Acquisition Mass Spectrometry
Shu Yang, Siyu Wu, … Zhongzhi Luan·bioRxiv·May 11, 2023