Machine Learning Interpretation of Optical Spectroscopy Using Peak-Sensitive Logistic Regression.

Journal: ACS nano
PMID:

Abstract

Optical spectroscopy, a noninvasive molecular sensing technique, offers valuable insights into material characterization, molecule identification, and biosample analysis. Despite the informativeness of high-dimensional optical spectra, their interpretation remains a challenge. Machine learning methods have gained prominence in spectral analyses, efficiently unveiling analyte compositions. However, these methods still face challenges in interpretability, particularly in generating clear feature importance maps that highlight the spectral features specific to each class of data. These limitations arise from feature noise, model complexity, and the lack of optimization for spectroscopy. In this work, we introduce a machine learning algorithm─logistic regression with peak-sensitive elastic-net regularization (PSE-LR)─tailored for spectral analysis. PSE-LR enables classification and interpretability by producing a peak-sensitive feature importance map, achieving an F1-score of 0.93 and a feature sensitivity of 1.0. Its performance is compared with other methods, including k-nearest neighbors (KNN), elastic-net logistic regression (E-LR), support vector machine (SVM), principal component analysis followed by linear discriminant analysis (PCA-LDA), XGBoost, and neural network (NN). Applying PSE-LR to Raman and photoluminescence (PL) spectra, we detected the receptor-binding domain (RBD) of SARS-CoV-2 spike protein in ultralow concentrations, identified neuroprotective solution (NPS) in brain samples, recognized WS monolayer and WSe/WS heterobilayer, analyzed Alzheimer's disease (AD) brains, and suggested potential disease biomarkers. Our findings demonstrate PSE-LR's utility in detecting subtle spectral features and generating interpretable feature importance maps. It is beneficial for the spectral characterization of materials, molecules, and biosamples and applicable to other spectroscopic methods. This work also facilitates the development of nanodevices such as nanosensors and miniaturized spectrometers based on nanomaterials.

Authors

  • Ziyang Wang
  • Jeewan C Ranasinghe
    Department of Electrical and Computer Engineering, Rice University, Houston, Texas 77005, United States.
  • Wenjing Wu
    Department of Clinical Laboratory, The First Affiliated Hospital of Xi'an Jiaotong University, Xi'an, 710061, China.
  • Dennis C Y Chan
    Department of Biomedical Engineering, The Pennsylvania State University, University Park, Pennsylvania 16802, United States.
  • Ashley Gomm
    Genetics and Aging Research Unit, McCance Center for Brain Health, MassGeneral Institute for Neurodegenerative Disease Department of Neurology, Massachusetts General Hospital, Harvard Medical School, Charlestown, Massachusetts 02129, United States.
  • Rudolph E Tanzi
    Genetics and Aging Research Unit, Department of Neurology, Massachusetts General Hospital and Harvard Medical School, Boston, Massachusetts.
  • Can Zhang
  • Nanyin Zhang
    Department of Biomedical Engineering, The Pennsylvania State University, University Park, Pennsylvania 16802, United States.
  • Genevera I Allen
    Department of Electrical and Computer Engineering, Rice University, Houston, Texas 77005, United States.
  • Shengxi Huang
    Department of Electrical Engineering, The Pennsylvania State University, University Park, PA 16802.