Transforming de novo peptide sequencing by explainable AI

Yu Wang, Zhendong Liang, Tianze Ling, Cheng Chang, Tingpeng Yang, Linhai Xie, Yonghong HeResearch Square 2024 · DOI

TL;DR

Researchers have developed π-xNovo, a transformer-based model that brings explainability to de novo peptide sequencing. By using an "interpretable matrix" to verify that AI predictions align with physical fragmentation patterns, the team created a robust quality control system that increased peptide identification by 137% over traditional methods, uncovering the "dark matter" of the human proteome.

What Problem Does This Paper Address?

In proteomics, identifying proteins usually relies on database search methods. Think of this like a spell-checker: the system compares experimental data against a known "dictionary" of protein sequences. While highly accurate, this method is blind to anything not in the dictionary—such as novel proteins, mutations, or rare splicing events.

De novo sequencing is the alternative: it attempts to "read" the amino acid sequence directly from the mass spectrometry (MS/MS) data without a reference. However, de novo methods have historically lacked a reliable Quality Control (QC) system. Because deep learning models are often "black boxes," researchers couldn't easily tell if a predicted sequence was a brilliant discovery or a hallucination. This lack of trust has limited the adoption of de novo sequencing in large-scale studies.

Methods

The authors introduced π-xNovo, a transformer-based architecture designed for both high accuracy and interpretability. Key technical innovations include:

  • MS/MS Data Enrichment: The model integrates precursor mass and carboxyl-terminal (C-terminal) information directly into the initial spectral representation, which significantly improves accuracy at the ends of the peptide chains.
  • Joint Masking Mechanism: During training, the model uses a dual-masking strategy on both the spectra and the peptide sequences. This forces the model to learn more robust features rather than over-relying on specific peaks.
  • The Interpretable Matrix: This is the core "explainable AI" component. By aggregating the cross-correlation matrices from the transformer’s attention heads, the researchers can visualize exactly which spectral peaks the model is "looking at" to predict a specific amino acid.
  • π-xNovo-QC: Leveraging the interpretable matrix, they built a QC system that checks if a predicted amino acid is supported by expected "backbone ions" (the physical fragments of a peptide). If the AI's "attention" doesn't align with these chemical signatures, the prediction is flagged.

Datasets

The study utilized several massive datasets to train and benchmark the model:

  • Nine-species dataset: A standard benchmark containing ~1.52 million peptide-spectrum matches (PSMs).
  • GraphNovo dataset: Used for cross-species evaluation (including A. thaliana, C. elegans, and E. coli).
  • MassIVE-KB: A gargantuan dataset of 30 million high-quality PSMs, used to demonstrate how the model scales with data.
  • Deep Human Proteome (DHP): A real-world application dataset consisting of ~161 million spectra from six human cell lines, used to find novel biological variations.

Key Insights and Ideas

  • AI Aligns with Chemistry: The most striking finding was that the model’s self-attention naturally gravitated toward "backbone ions" (y and b ions). This means the AI independently "learned" the fundamental principles of peptide fragmentation that human chemists have used for decades.
  • Bridging the Gap: By visualizing this attention, the authors bridged the gap between "black box" deep learning and traditional database search logic. This allowed them to create a QC system based on physical evidence rather than just a probability score.
  • Data Quality vs. Quantity: The researchers found that while training on more data is good, training on high-quality data (high PSM scores) is better for model stability, especially when the training set is small.
  • The "Dark Matter" is Reachable: A huge portion of mass spectrometry data (the "dark matter") usually goes unidentified. This paper shows that with explainable QC, we can finally trust de novo results enough to explore this unknown space.

Key Results

  • Massive Discovery Boost: Applying π-xNovo-QC to the Deep Human Proteome dataset identified 1,931,761 additional peptides—a 137% increase over traditional database searches.
  • Biological Insights: The system led to a 17.9% increase in identified proteins, a 23.59% increase in detecting single amino acid polymorphisms (SAPs), and a 20.02% increase in exon-skipping splicing events.
  • High Reliability: The QC system achieved an identification accuracy exceeding 80% and a sensitivity above 90%, making it one of the most robust filters for de novo sequencing to date.
  • Superior Performance: π-xNovo consistently outperformed state-of-the-art models like Casanovo and GraphNovo, particularly in predicting the N-terminal ends of peptides.

Limitations and Future Work

Despite the breakthrough, the authors acknowledge several hurdles:

  • Unexplained "Dark Matter": While the model identifies many new peaks, some spectral features remain unexplained, suggesting there is still more chemistry to be learned.
  • Post-Translational Modifications (PTMs): Current de novo models struggle to identify amino acids or modifications that weren't explicitly included in the training set.
  • Computational Demand: While efficient, the model still requires significant GPU resources for training on the 30-million-PSM scale.

The authors suggest that future iterations could use the interpretable matrix to "infer" unknown modifications, potentially allowing the AI to discover entirely new types of protein signaling.

Summary updated

Abstract

<title>Abstract</title> De novo peptide sequencing is crucial for identifying novel proteins, yet its broader application is constrained by the lack of a robust quality control system. In response, we developed a transformer-based model, π-xNovo, that accurately predicts peptides. By analyzing the model's attention matrix, we elucidated the contribution of spectral peaks to amino acid predictions, thus making de novo sequencing results explainable. Leveraging these insights, we designed a quality control system, π-xNovo-QC, which distinguishes peptide predictions with an accuracy exceeding 80% and a sensitivity above 90%. Applying this system to a large-scale deep human proteome dataset resulted in the identification of 1,931,761 additional peptides, marking a 137% increase over traditional database search results. These newly identified peptides with high confidence facilitated a 17.9% increase in protein identification, a 23.59% increase in the detection of single amino acid polymorphism events, and a 20.02% increase in exon-skipping splicing events. The deployment of this explainable AI system holds significant potential for expanding the application of de novo peptide sequencing, particularly in exploring the darker matter of the entire proteome universe.
BibTeX
@inproceedings{wang2024transforming,
  author = {Yu Wang and Zhendong Liang and Tianze Ling and Cheng Chang and Tingpeng Yang and Linhai Xie and Yonghong He},
  title = {{Transforming de novo peptide sequencing by explainable AI}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-4716013/v1},
}
Figure