Regressor-guided Diffusion Model for De Novo Peptide Sequencing with Explicit Mass Control
Authors: Shaorong Chen, Jingbo Zhou, Jun Xia
Organizations: Zhejiang University, Hangzhou, China, 310058 · AI Lab, Westlake University, Hangzhou, China, 310030 · AIMS Lab, The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, China, 511453 · The Hong Kong University of Science and Technology, Hong Kong, China, 999077
The discovery of novel proteins relies on sensitive protein identification, for which de novo peptide sequencing (DNPS) from mass spectra is a crucial approach. While deep learning has advanced DNPS, existing models inadequately enforce the fundamental mass consistency constraint, that a predicted peptide's mass must match the experimental measured precursor mass. Previous DNPS methods often treat this critical information as a simple input feature or use it in post-processing, leading to numerous implausible predictions that do not adhere to this fundamental physical property. To address this limitation, we introduce DiffuNovo, a novel regressor-guided diffusion model for de novo peptide sequencing that provides explicit peptide-level mass control. Our approach integrates the mass constraint at two critical stages: during training, a novel peptide-level mass loss guides model optimization, while at inference, regressor-based guidance from gradient-based updates in the latent space steers the generation to compel the predicted peptide adheres to the mass constraint. Comprehensive evaluations on established benchmarks demonstrate that DiffuNovo surpasses state-of-the-art methods in DNPS accuracy. Additionally, as the first DNPS model to employ a diffusion model as its core backbone, DiffuNovo leverages the powerful controllability of diffusion architecture and achieves a significant reduction in mass error, thereby producing much more physically plausible peptides. These innovations represent a substantial advancement toward robust and broadly applicable DNPS. The source code is available in the supplementary material.
Figures & tables
Figure 1: Schematic of a typical bottom-up proteomics workflow ( Zhang et al. 2013 ) . Proteins are digested into peptides and analyzed by mass spectrometer to produce mass spectrum. DNPS is the process of inferring a peptide’s sequence directly from its spectrum. The resulting peptide sequences can then be used for protein sequence assembly.
Figure 2: Performance comparison of DiffuNovo with state-of-the-art methods on mass-related metrics. Plausible prediction rate is the percentage of predicted peptides whose mass satisfies the experimental mass (higher is better). Mass error is the mean absolute error between the predicted peptide mass and the experimental mass (lower is better).
Figure 3: The architecture of DiffuNovo. In the Forward Diffusion Process, a ground-truth peptide sequence is converted into an embedding z0 and then corrupted by adding noise over T timesteps to produce a noisy latent variable zT . DiffuNovo is trained to reverse this process. The Spectrum Encoder transforms the mass spectrum into embedding x . The core of DiffuNovo is Reverse Diffusion Process where the Peptide Decoder denoise the noisy latent zt into a cleaner latent zt−1 conditioned on x . Critically, the Peptide Mass Regressor provides guidance to the Peptide Decoder at each timestep t , compelling the prediction adheres to the mass constraint. Finally, the clean latent z^0 is passed to a prediction head to output the final predicted peptide.
z0∼qϕ(z0∣y)=N(z0;Embϕ(y),(1−α0)I)
(12)
Algorithm 1 Training Stage of DiffuNovo.
μθ(zti,ti,x)←λ1zti+λ2gθ(zti,ti,x)
(15)
Algorithm 2 Inference Process of DiffuNovo.
Figure 4: Performance comparison on mass-related metrics.
Method
HelixNovo
CasaNovo
DiffuNovo
MAE( ↓ )
21.388
8.583
2.251
Analysis of DiffuNovo’s Improvement
DiffuNovo vs.
HelixNovo
CasaNovo
DiffuNovo
X% Decrease
89.5%
73.8%
0%
Fold Decrease
9.50 ×
3.81 ×
1.00 ×
Table 1: Evaluation of mass error. We compares DiffuNovo with two baselines and reports the Mean Absolute Error (MAE), where lower is better. The upper section shows the mass errors. The lower section quantifies this improvement.
Peptide-level Performance
Amino Acid-level Performance
Models
9-species
HC-PT
7-species
9-species
HC-PT
7 species
Prec.
AUC
Prec.
AUC
Prec.
AUC
Prec.
Recall
Prec.
Recall
Prec.
Recall
DeepNovo
0.428
0.376
0.313
0.255
0.204
0.136
0.696
0.638
0.531
0.534
0.492
0.433
PointNovo
0.480
0.436
0.419
0.373
0.022
0.007
0.740
0.671
0.623
0.622
0.196
0.169
CasaNovo
0.481
0.439
0.211
0.177
0.119
0.084
0.697
0.696
0.442
0.453
0.322
0.327
AdaNovo
0.505
0.469
0.212
0.178
0.174
0.135
0.698
0.709
0.442
0.451
0.379
0.385
Table 2: The comparison of de novo peptide sequencing performance between our proposed model, DiffuNovo, and other state-of-the-art methods on the three benchmark datasets. We report precision and AUC at the peptide level, and precision and recall at the amino acid level. The best and the second best are highlighted with bold and underline , respectively.
PTM Precision
Models
Nine-Species
HC-PT
Seven-Species
DeepNovo
0.576
0.626
0.391
PointNovo
0.629
0.676
0.117
AdaNovo
0.652
0.552
0.448
CasaNovo
0.706
0.501
0.360
HelixNovo
0.680
0.568
0.473
Table 3: Empirical comparison of PTM identification. We evaluate the ability of DiffuNovo and other models to identify Post-Translational Modifications (PTMs) on the benchmark datasets. The best results and the second best are highlighted with bold and underline , respectively.
Figure 5: Mass error loss curves. The figure illustrates the mass error loss (MSE) as a function of the normalized diffusion timestep. We conducted experiment on 5 random batches (2560 samples), calculating and plotting the loss for each batch (dashed line) and the average loss (solid line).
Mass spectrometry measures ion mass-to-charge patterns to identify and quantify molecules, with AI linking spectra to structures, peptides, and biological signals.
Westlake University Hangzhou, Zhejiang, China · Hunan University Changsha, Hunan, China · Shanghai Artificial Intelligence Laboratory Shanghai, China +1
Science for Life Laboratory, KTH Royal Institute of Technology Stockholm, Sweden · Computational Mass Spectrometry, TUM School of Life Sciences Technical University of Munich, Freising, Germany · Biology Department, Brigham Young University Provo, Utah 84602, United States +1