1D Gradient-Weighted Class Activation Mapping, Visualizing Decision Process of Convolutional Neural Network-Based Models in Spectroscopy Analysis.

Being characterized by the self-adaption and high accuracy, the deep learning-based models have been widely applied in the 1D spectroscopy-related field. However, the "black-box" operation and "end-to-end" working style of the deep learning normally bring the low interpretability, where a reliable visualization is highly demanded. Although there are some well-developed visualization methods, such as Class Activation Mapping (CAM) and Gradient-weighted Class Activation Mapping (Grad-CAM), for the 2D image data, they cannot correctly reflect the weights of the model when being applied to the 1D spectral data, where the importance of position information is not considered. Here, aiming at the visualization of Convolutional Neural Network-based models toward the qualitative and quantitative analysis of 1D spectroscopy, we developed a novel visualization algorithm (1D Grad-CAM) to more accurately display the decision-making process of the CNN-based models. Different from the classical Grad-CAM, with the removal of the gradient averaging (GAP) and the ReLU operations, a significantly improved correlation between the gradient and the spectral location and a more comprehensive spectral feature capture were realized for 1D Grad-CAM. Furthermore, the introduction of difference (purity or linearity) and feature contribute in the CNN output in 1D Grad-CAM achieved a reliable evaluation of the qualitative accuracy and quantitative precision of CNN-based models. Facing the qualitative and adulteration quantitative analysis of vegetable oils by the combination of Raman spectroscopy and ResNet, the visualization by 1D Grad-CAM well reflected the origin of the high accuracy and precision brought by ResNet. In general, 1D Grad-CAM provides a clear vision about the judgment criterion of CNN and paves the way for CNN to a broad application in the field of 1D spectroscopy.

[1]  Linbing Wang,et al.  Asphalt pavement fatigue crack severity classification by infrared thermography and deep learning , 2022, Automation in Construction.

[2]  Andrew Y. Ng,et al.  Benchmarking saliency methods for chest X-ray interpretation , 2022, Nature Machine Intelligence.

[3]  Guangle Yao,et al.  A Novel Weakly Supervised Remote Sensing Landslide Semantic Segmentation Method: Combining CAM and cycleGAN Algorithms , 2022, Remote. Sens..

[4]  B. Ren,et al.  Visualization of a Machine Learning Framework toward Highly Sensitive Qualitative Analysis by SERS. , 2022, Analytical chemistry.

[5]  Chu Zhang,et al.  Detection of Pesticide Residue Level in Grape Using Hyperspectral Imaging with Machine Learning , 2022, Foods.

[6]  Jiulin Shi,et al.  NI-Raman spectroscopy combined with BP-Adaboost neural network for adulteration detection of soybean oil in camellia oil , 2022, Journal of Food Measurement and Characterization.

[7]  Xijun Wu,et al.  Quantitative analysis of blended corn-olive oil based on Raman spectroscopy and one-dimensional convolutional neural network. , 2022, Food chemistry.

[8]  S. W. Han,et al.  Arrhythmia detection model using modified DenseNet for comprehensible Grad-CAM visualization , 2022, Biomed. Signal Process. Control..

[9]  Zhimei Wei,et al.  High-Throughput Recognition of Tumor Cells Using Label-Free Elemental Characteristics Based on Interpretable Deep Learning. , 2022, Analytical chemistry.

[10]  D. Boudreau,et al.  Pushing the Limits of Surface-Enhanced Raman Spectroscopy (SERS) with Deep Learning: Identification of Multiple Species with Closely Related Molecular Structures , 2022, Applied spectroscopy.

[11]  Xijun Wu,et al.  Identification of olive oil in vegetable blend oil by one-dimensional convolutional neural network combined with Raman spectroscopy , 2022, Journal of Food Composition and Analysis.

[12]  Xi Guo,et al.  Soil properties: their prediction and feature extraction from the LUCAS spectral library using deep convolutional neural networks , 2021 .

[13]  H. Shi,et al.  Rapid identification of ore minerals using multi-scale dilated convolutional attention network associated with portable Raman spectroscopy , 2021, Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy.

[14]  Shengjun Xiong,et al.  One-Dimensional Deep Convolutional Neural Network for Mineral Classification from Raman Spectroscopy , 2021, Neural Process. Lett..

[15]  Cheng‐Che Hsu,et al.  Interpreting convolutional neural network for real-time volatile organic compounds detection and classification using optical emission spectroscopy of plasma. , 2021, Analytica chimica acta.

[16]  Sharon X. Huang,et al.  Accurate virus identification with interpretable Raman signatures by machine learning , 2021, bioRxiv.

[17]  Sharon X. Huang,et al.  Rapid Biomarker Screening of Alzheimer’s Disease by Interpretable Machine Learning and Graphene-Assisted Raman Spectroscopy , 2021, bioRxiv.

[18]  Chunbao Li,et al.  Application of Raman spectroscopy in the rapid detection of waste cooking oil. , 2021, Food chemistry.

[19]  Shih-Fang Chen,et al.  Prediction of Specialty Coffee Flavors Based on Near-Infrared Spectra Using Machine and Deep Learning Methods. , 2021, Journal of the science of food and agriculture.

[20]  M. Musso,et al.  Using Raman spectroscopy and an exponential equation approach to detect adulteration of olive oil with rapeseed and corn oil. , 2020, Food chemistry.

[21]  J. Kong,et al.  Deep‐Learning‐Enabled Fast Optical Identification and Characterization of 2D Materials , 2020, Advanced materials.

[22]  Y. Fu,et al.  The combination of an artificial intelligence approach and laser tweezers Raman spectroscopy for microbial identification. , 2020, Analytical chemistry.

[23]  Jean-Francois Masson,et al.  Deep learning and artificial intelligence methods for Raman and surface-enhanced Raman scattering , 2020, TrAC Trends in Analytical Chemistry.

[24]  Qingzhe Jin,et al.  Camellia oil authentication: A comparative analysis and recent analytical techniques developed for its assessment. A review , 2020 .

[25]  M. Akiba,et al.  Optical Coherence Tomography-Based Deep-Learning Models for Classifying Normal and Age-Related Macular Degeneration and Exudative and Non-Exudative Age-Related Macular Degeneration Changes , 2019, Ophthalmology and Therapy.

[26]  Wen-Chang Shen,et al.  Deep Learning-Assisted Three-Dimensional Fluorescence Difference Spectroscopy for Identification and Semiquantification of Illicit Drugs in Biofluids. , 2019, Analytical chemistry.

[27]  Stefano Ermon,et al.  Rapid identification of pathogenic bacteria using Raman spectroscopy and deep learning , 2019, Nature Communications.

[28]  Daniel S. Kermany,et al.  Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning , 2018, Cell.

[29]  Aaron Y. Lee,et al.  Deep learning is effective for the classification of OCT images of normal versus Age-related Macular Degeneration , 2016, bioRxiv.