Protein Language Model–Aligned Spectra Embeddings for De Novo Peptide Sequencing

Navid NaderiAlizadeh, Christian Dallago, Erik J. Soderblom, Scott H Soderling · Submission to ICLR 2026 · Withdrawn

TL;DR

PLMNovo introduces a constrained learning framework that uses pre-trained protein language models (PLMs) to guide the training of deep learning models for de novo peptide sequencing from tandem mass spectrometry. By enforcing per-sample alignment between mass spectrum embeddings and PLM peptide representations via a Lagrangian primal-dual formulation, PLMNovo improves sequencing precision without adding any computational overhead during inference.

What Problem Does This Paper Address?

In bottom-up proteomics, tandem mass spectrometry (MS/MS) breaks down proteins into peptides and measures the mass-to-charge ($m/z$) ratios and intensities of their fragments. Traditionally, identifying peptides relies on database search methods, which match observed spectra against theoretical spectra from known reference proteomes. However, database searches struggle with unsequenced organisms, novel mutations, and extensive post-translational modifications (PTMs), where combinatorial search spaces become intractable.

De novo peptide sequencing avoids databases altogether by directly translating raw mass spectra into amino acid sequences under strict precursor mass constraints. While modern transformer-based models (such as Casanovo) show strong performance, their spectrum encoders are typically trained purely from scratch using cross-entropy prediction loss. They fail to tap into the massive, pre-existing evolutionary and biological priors captured by modern biological foundation models.

Methods

PLMNovo bridges MS/MS spectra and biological sequence representations using a constrained optimization framework:

[ Observed Spectrum ]  --> [ Spectrum Encoder ] --> [ Pooling ] -------+ (Distance ≤ ε)
                                                                       |
[ Target Sequence   ]  --> [ Pre-trained PLM  ] --> [ Pooling/Proj ] --+
                                    |
                            (LoRA Fine-tuning)
  1. Spectrum-Peptide Co-Embedding:
  2. A spectrum encoder maps peak data to peak-level embeddings, aggregated into a fixed-dimensional vector $e_{\theta_s}(g_{\theta_{enc}}(s))$.
  3. A pre-trained PLM (ESM-2, evaluated at 8M and 650M parameter scales) generates residue-level embeddings of the ground-truth sequence, aggregated and projected into the same space as the spectrum embedding, $e_{\theta_p}(m_{\theta_{PLM}}(p))$.
  4. Constrained Formulation: Rather than a heuristic loss penalty, the authors formulate training as minimizing autoregressive cross-entropy loss subject to an individual Euclidean distance constraint ($\le \epsilon$) between the spectrum and peptide embeddings for every single peptide-spectrum match (PSM).
  5. Primal-Dual Optimization: Solved via Lagrangian duality, where dual multipliers $\lambda_i$ adaptively scale based on individual constraint violations. Difficult or misaligned spectra automatically receive higher weight in the objective.
  6. Zero-Overhead Inference: The PLM and projection heads are only active during training. At test time, they are discarded; only the spectrum encoder and peptide decoder run. The PLM's weights can optionally be fine-tuned via Low-Rank Adaptation (LoRA).

Datasets

The authors evaluate PLMNovo across three benchmark suites:

  • MSKB Dataset: 2 million tryptic PSMs from the MassIVE Knowledge Base used for training, evaluated on an in-distribution test set of 200,000 tryptic spectra.
  • Multi-Enzyme Test Set: A held-out, non-tryptic dataset used to assess out-of-distribution (OOD) generalization across different digestion enzymes.
  • Nine-Species Benchmark: A classic cross-species evaluation set (spanning Bacillus, yeast, tomato, mouse, human, etc.) originally curated by Tran et al. (2017).

Key Insights and Ideas

  • Foundation Models as "Ghost" Supervisors: PLMs do not need to be deployed at inference time to provide value. Enforcing embedding alignment during training effectively transfers evolutionary priors into the spectral encoder, regularizing the representation space.
  • Dynamic Sample Re-weighting via Dual Multipliers: In the primal-dual framework, dual variables accumulate constraint violations over training. This naturally upweights difficult spectra that struggle to align with sequence priors, functioning as an adaptive, principled curriculum.
  • Scale Matters for Out-of-Distribution Generalization: While the lightweight ESM-2 8M model slightly edged out ESM-2 650M on in-distribution tryptic peptides, the 650M model substantially outperformed the 8M model on non-tryptic, out-of-distribution data, indicating that larger PLMs prevent overfitting to standard cleavage patterns.
  • The PTM Gap in Current PLMs: Embedding distances between spectra and peptides systematically widen as the number of PTMs increases. Because mainstream PLMs are trained only on canonical amino acids (stripping PTMs before tokenization), the alignment constraint is inherently noisier for modified peptides.

Key Results

  • In-Distribution (MSKB): PLMNovo (ESM-2 8M) improves amino acid (AA) precision to 89.73% (vs. 89.19% for baseline Casanovo v4.2) and peptide precision to 74.11% (vs. 73.81%), while reducing classification loss from 0.1983 to 0.1919.
  • Out-of-Distribution (Multi-Enzyme): PLMNovo (ESM-2 650M) achieves 53.56% AA precision and 53.23% AA recall compared to 52.00% and 52.11% for Casanovo v4.2, alongside improved peptide-level precision (0.2483 vs. 0.2467).
  • Nine-Species Benchmark: PLMNovo achieved state-of-the-art average amino acid precision of 74.6% (ESM-2 650M) and 74.2% (ESM-2 8M), surpassing Casanovo v2 (73.9%) and Casanovo v4.2 (73.3%), while maintaining competitive peptide recall (52.3%).

Limitations and Future Work

  • PTM Blindness: Standard PLMs lack vocabularies for post-translational modifications. Incorporating modification-aware architectures (e.g., PTM-Mamba) is an essential next step to close the performance gap on modified peptides.
  • Simple Pooling: The current implementation aggregates peak and residue sequences with simple average pooling, potentially losing order-dependent or residue-specific alignment signals that advanced optimal transport or attention pooling could capture.
  • DDA vs. DIA: The framework was tested solely on Data-Dependent Acquisition (DDA) data; extending PLM-guided alignment to multiplexed, highly multiplexed Data-Independent Acquisition (DIA) mass spectrometry remains an open challenge.

Summary updated

Abstract

We consider the problem of *de novo* peptide sequencing in tandem mass spectrometry, where the goal is to predict the underlying peptide sequence given a spectrum's fragment peaks and precursor information. We present PLMNovo, a constrained learning framework that leverages pre-trained protein language models (PLMs) to guide the training process. In particular, we cast peptide-spectrum matching as a constrained optimization problem that enforces alignment between spectrum and peptide embeddings produced by a spectrum encoder and a PLM, respectively. We use a Lagrangian primal-dual algorithm to train the spectrum encoder and the peptide decoder by solving the proposed constrained learning problem, while optionally fine-tuning the pre-trained PLM. Through numerical experiments on established benchmarks, we demonstrate that PLMNovo outperforms several state-of-the-art deep learning-based *de novo* sequencing algorithms.
BibTeX
@misc{naderializadeh2026protein,
  author = {Navid NaderiAlizadeh and Christian Dallago and Erik J. Soderblom and Scott H Soderling},
  title = {{Protein Language Model–Aligned Spectra Embeddings for De Novo Peptide Sequencing}},
  year = {2026},
  url = {https://openreview.net/forum?id=EKjt05WxMI},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure