Distilling Non-Autoregressive Model Knowledge for Autoregressive De Novo Peptide Sequencing

Xiang Zhang, Jiaqi Wei, Zijie Qiu, Sheng Xu, Zhi Jin, ZhiQiang Gao, Nanqing Dong, Siqi SunOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Autoregressive (next-token-prediction) models excel in various language generation tasks compared to non-autoregressive (parallel prediction) models. However, their advantage diminishes in certain biology-related tasks like protein modeling and de novo peptide sequencing. Notably, previous studies show that Non-Autoregressive Transformers (NAT) can largely outperform Autoregressive Transformers (AT) in amino acid sequence prediction due to their bidirectional information flow. Despite their advantages, NATs struggle with generalizing to longer sequences, scaling to larger models, and facing extreme optimization difficulties compared to AT models. Motivated by this, we propose a novel framework for directly distilling knowledge from NATs, known for encoding superior protein representations, to enhance autoregressive generation. Our approach employs joint training with a shared encoder and a specially designed cross-decoder attention module. Additionally, we introduce a new training pipeline that uses importance annealing and cross-decoder gradient blocking to facilitate effective knowledge transfer. Evaluations on a widely used 9-species benchmark show that our proposed design achieves state-of-the-art performance. Specifically, AT and NAT baseline models each excel in different types of data prediction due to their unique inductive biases. Our model combines these advantages, achieving strong performance across all data types and outperforming baselines across all evaluation metrics. This work not only advances de novo peptide sequencing but also provides valuable insights into how autoregressive generation can benefit from non-autoregressive knowledge and how next-token prediction (GPT-style) can be enhanced through bidirectional learning (BERT-style). We release our code for reproduction in the anonymous repository here: https://anonymous.4open.science/r/CrossNovo-E263.
BibTeX
@misc{zhang2025distilling,
  author = {Xiang Zhang and Jiaqi Wei and Zijie Qiu and Sheng Xu and Zhi Jin and ZhiQiang Gao and Nanqing Dong and Siqi Sun},
  title = {{Distilling Non-Autoregressive Model Knowledge for Autoregressive De Novo Peptide Sequencing}},
  year = {2025},
  url = {https://openreview.net/forum?id=I2ZYngkRW6},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure