A Novel Deep Siamese Convolution Network for Detecting Fentanyl Analogs From Mass Spectra

Zhenchuang Wang, Ping Xu, Yang Zhao, Lingyun Xue, Yian Liu, Ming Yan, Anqi Chen, Shundi Hu, Luhong Wen

Abstract

Mortality rates have risen dramatically in recent years due to the misuse of fentanyl and its analogs. Due to the easy synthesis and rapid emergence of various fentanyl analogs, an accurate detection model is particularly desirable. The existing classifiers cannot meet the requirements for their accurate detection. For the small sample size detection problem of fentanyl analogs of electron impact (EI) or electrospray ionization (ESI) mass spectra, a novel mass spectra classification model based on deep Siamese convolutional network (DSCN) was proposed. First, the input mass spectra are augmented to be the input mass spectral pairs. Second, 1D CNN is involved in the Siamese network to extract the spectral features. Finally, the classification network based on FC layers and Softmax layer is used to detect the fentanyl analogs. Contrastive loss function and cross-entropy loss function are combined to train the network parameters of DSCN. Experimental results show that, compared with other machine learning and deep learning methods, the proposed DSCN can achieve better performance on the detection of fentanyl analogs.
BibTeX
@article{wang2025novel,
  author = {Zhenchuang Wang and Ping Xu and Yang Zhao and Lingyun Xue and Yian Liu and Ming Yan and Anqi Chen and Shundi Hu and Luhong Wen},
  title = {{A Novel Deep Siamese Convolution Network for Detecting Fentanyl Analogs From Mass Spectra}},
  journal = {Journal of Mass Spectrometry},
  year = {2025},
  doi = {10.1002/jms.5171},
}

Loading related content...

Figure