In this paper, mass spectral substance detection methods are proposed, which employ long short-term memory (LSTM) recurrent neural networks to classify the mass spectrometry data and can accurately detect chemical substances. As the LSTM has the excellent understanding ability for the historical information and classification capability for the time series data, a high detection rate is obtained for the dataset which was collected by a time-of-flight proton-transfer mass spectrometer. In addition, the differential operation is used as the pre-processing method to determine the start time points of the detections which significantly improve the accuracy performance by 123%. The feature selection algorithm of Relief is also used in this paper to select the most significant channels for the mass spectrometer. It can reduce the computing resource cost, and the results show that the network size is reduced by 28% and the training speed is improved by 35%. By using these two pre-processing methods, the LSTM-based substance detection system can achieve the tradeoff between high detection rate and low computing resource consumption, which is beneficial to the devices with constraint computing resources such as low-cost embedded hardware systems.
- Mass spectral substance detections
- long short-term memory networks