Skip to main content
QUICK REVIEW

[Paper Review] Convolutional neural networks for classification and regression analysis of one-dimensional spectral data

Ine L. Jernelv, Dag Roar Hjelme|arXiv (Cornell University)|May 15, 2020
Spectroscopy and Chemometric AnalysesChemistry13 citations
TL;DR

This study evaluates convolutional neural networks (CNNs) for classification and regression of one-dimensional spectral data from NIR, MIR, and Raman spectroscopy. CNNs outperform traditional chemometric methods like SVM and PLSR on raw data, especially in classification, but the performance gap narrows significantly when optimal pre-processing and feature selection are applied.

ABSTRACT

Convolutional neural networks (CNNs) are widely used for image recognition and text analysis, and have been suggested for application on one-dimensional data as a way to reduce the need for pre-processing steps. Pre-processing is an integral part of multivariate analysis, but determination of the optimal pre-processing methods can be time-consuming due to the large number of available methods. In this work, the performance of a CNN was investigated for classification and regression analysis of spectral data. The CNN was compared with various other chemometric methods, including support vector machines (SVMs) for classification and partial least squares regression (PLSR) for regression analysis. The comparisons were made both on raw data, and on data that had gone through pre-processing and/or feature selection methods. The models were used on spectral data acquired with methods based on near-infrared, mid-infrared, and Raman spectroscopy. For the classification datasets the models were evaluated based on the percentage of correctly classified observations, while for regression analysis the models were assessed based on the coefficient of determination (R$^2$). Our results show that CNNs can outperform standard chemometric methods, especially for classification tasks where no pre-processing is used. However, both CNN and the standard chemometric methods see improved performance when proper pre-processing and feature selection methods are used. These results demonstrate some of the capabilities and limitations of CNNs used on one-dimensional data.

Motivation & Objective

  • To evaluate the performance of convolutional neural networks (CNNs) on raw and pre-processed one-dimensional spectral data for classification and regression tasks.
  • To compare CNNs against standard chemometric methods—such as SVM for classification and PLSR for regression—across multiple spectral datasets.
  • To investigate whether CNNs reduce reliance on time-consuming pre-processing and feature selection steps commonly required in chemometric analysis.
  • To assess the impact of pre-processing and feature selection on model accuracy across different spectroscopic techniques (NIR, MIR, Raman).

Proposed method

  • Trained a 1D-CNN architecture with multiple convolutional and pooling layers to extract hierarchical spectral features directly from raw spectral data.
  • Compared CNN performance against standard chemometric models: SVM for classification and PLSR for regression on the same datasets.
  • Applied various pre-processing techniques including noise filtering, scaling, spectral differentiation, and binning to improve data quality.
  • Used wrapper-based feature selection methods (genetic algorithm, sequential forward selection, moving window) and embedded methods (elastic net) to identify relevant spectral regions.
  • Employed stability feature selection to identify consistent, important spectral regions across multiple CNN training runs.
  • Evaluated models using classification accuracy (percentage correctly classified) and regression performance (coefficient of determination, R²).

Experimental results

Research questions

  • RQ1Can 1D-CNNs achieve superior classification and regression performance on raw spectral data compared to standard chemometric methods?
  • RQ2To what extent does pre-processing improve the performance of both CNNs and traditional chemometric models?
  • RQ3Does CNN reduce the need for extensive pre-processing and feature selection compared to conventional methods?
  • RQ4How do different feature selection strategies affect model accuracy in spectral analysis?
  • RQ5Are there specific spectral regions consistently identified as important by the CNN across multiple runs?

Key findings

  • CNNs outperformed standard chemometric methods—especially SVM and PLSR—on raw spectral data, particularly in classification tasks.
  • The performance gap between CNNs and traditional models diminished significantly when optimal pre-processing and feature selection were applied.
  • Pre-processing methods such as noise filtering, scaling, spectral differentiation, and binning (factor 2–4) consistently improved model accuracy across all models.
  • Feature selection, especially using genetic algorithms, enhanced prediction accuracy for both regression and classification, with results aligning well with stability-based CNN feature selection.
  • CNNs identified meaningful spectral regions (e.g., 1800–900 cm⁻¹ in glucose solutions) that corresponded to chemically relevant absorptions.
  • Despite CNNs' ability to learn directly from raw data, they still required hyperparameter tuning (kernel size, stride, etc.), limiting their advantage in computational efficiency over simpler models with fewer parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.