Laser-Induced Breakdown Spectroscopy Quantitative Analysis Using a Bayesian Optimization-Based Tunable Softplus Backpropagation Neural Network

Xuesen Xu, Shijia Luo, Xuchen Zhang, Weiming Xu, Rong Shu, Jianyu Wang, Xiangfeng Liu, Ping Li, Chang-Heng Li, Luning LiRemote 2025

TL;DR

This paper introduces a novel machine learning approach, the Bayesian Optimization-based Tunable Softplus Backpropagation Neural Network (BOTS-BPNN), for more accurate quantitative analysis of Laser-Induced Breakdown Spectroscopy (LIBS) data. By optimizing a flexible activation function and using Bayesian optimization for hyperparameter tuning, the BOTS-BPNN significantly improves prediction accuracy for elemental concentrations, particularly for complex datasets like those encountered in Mars exploration.

What Problem Does This Paper Address?

Laser-Induced Breakdown Spectroscopy (LIBS) is a powerful technique for analyzing the elemental composition of materials, making it invaluable for planetary exploration missions like China's Zhurong rover on Mars. However, the complex and nonlinear nature of LIBS processes, coupled with factors like matrix effects and signal instability, often limits the accuracy of traditional chemometric methods. While Artificial Neural Networks (ANNs), particularly Backpropagation Neural Networks (BPNNs), excel at modeling these nonlinearities, their performance is heavily influenced by the choice of activation function in their hidden layers. Common activation functions like Sigmoid, Tanh, and ReLU suffer from issues such as vanishing gradients or "dying neurons," hindering optimal performance. This paper addresses the challenge of achieving high-accuracy quantitative analysis in LIBS by proposing a novel BPNN architecture with an improved activation function and an efficient optimization strategy.

Methods

The core innovation lies in the Tunable Softplus activation function and its integration into a Bayesian Optimization (BO) framework.

  • Tunable Softplus Activation Function: Unlike the standard Softplus function, this version introduces a tunable hyperparameter, $\beta$. This parameter allows the activation function's curvature to be adjusted, providing greater flexibility to better fit complex nonlinear relationships in LIBS data. When $\beta=1$, it reverts to the standard Softplus.
  • Bayesian Optimization (BO) for Hyperparameter Tuning: The optimal value of $\beta$ is crucial for the BOTS-BPNN's performance. Instead of computationally expensive grid search, the authors employ a Tree-structured Parzen Estimator (TPE)-based Bayesian optimization strategy. BO builds a probabilistic model of the objective function (prediction accuracy) and uses it to intelligently select the next hyperparameter value to test, leading to more efficient and faster convergence to the optimal $\beta$.
  • Backpropagation Neural Network (BPNN): The underlying neural network architecture is a standard BPNN with an input layer, a hidden layer (using the tunable Softplus activation), and an output layer. The entire LIBS spectrum (4506 data points) is used as input to capture all available spectral information.
  • Data Preprocessing: Standard LIBS data preprocessing steps were applied, including dark subtraction, wavelength calibration, drift correction, invalid pixel screening, and channel splicing, to improve data quality and spectral reproducibility.

Datasets

The study utilized a dataset comprising 1800 LIBS spectra collected from 30 certified reference materials (CRMs). These CRMs covered a range of geological samples (rocks, soils, sediments, ores) with varying MgO concentrations (0.069–6.76 wt.%). The dataset was collected using a laboratory duplicate of the MarSCoDe instrument, the same instrument used on the Zhurong Mars rover, under simulated Martian atmospheric conditions. The data was split into an 80% training set (1440 spectra from 24 samples) and a 20% test set (360 spectra from 6 samples).

Key Insights and Ideas

  • Flexibility is Key: The tunable Softplus activation function, by introducing the $\beta$ parameter, offers a significant advantage over fixed activation functions by allowing the model to adapt its non-linearity to the specific characteristics of the LIBS data.
  • BO for Efficiency: Bayesian Optimization is demonstrably more efficient and effective than traditional grid search for finding the optimal $\beta$ value, saving computational resources and time.
  • Full Spectrum Utilization: Using the entire LIBS spectrum as input, rather than relying on specific elemental lines, allows the model to leverage all available spectral information, including subtle features and noise patterns, for more robust quantification.
  • Robustness Matters: The BOTS-BPNN model shows good robustness against minor perturbations in hyperparameters, information loss in the training data, and the addition of random noise, which are crucial considerations for real-world applications.

Key Results

  • Improved Accuracy: The BOTS-BPNN model achieved significantly lower Root Mean Square Error (RMSE) and Relative Error (RE) compared to BPNN models using conventional activation functions (Tanh, Sigmoid, ReLU, and ordinary Softplus). For example, in Test Sample 2, RE was reduced from 64.18% (Tanh) to 16.67% (T-Softplus).
  • Superior to RF: The BOTS-BPNN model outperformed the Random Forest (RF) algorithm in both RMSE and RE across most test samples, particularly for samples with higher concentrations.
  • Efficient Optimization: The Bayesian Optimization method achieved better performance and efficiency compared to traditional grid search, with a mean RE of 15.35% for BO versus 25.79% for GS.
  • Model Robustness: The model maintained relatively stable performance even with minor variations in the $\beta$ parameter, partial loss of training data, and the introduction of Gaussian noise.

Limitations and Future Work

  • High-MgO Concentration: The model showed some deviations for Test Sample 4, which had a significantly higher MgO concentration than most training samples. This suggests that the model's accuracy and stability might be limited in extreme concentration regions due to a lack of sufficient training data in those ranges.
  • Generalization to Other Architectures: The authors suggest that the tunable Softplus activation function could be generalized to other ANN architectures like Convolutional Neural Networks (CNNs) and Physics-Informed Neural Networks (PINNs).
  • Multi-Distance Spectra: Future work should address the analysis of LIBS spectra collected at varying distances, which is a more realistic scenario for Mars exploration.
  • Environmental and Matrix Effects: The study acknowledges that Martian environments differ from Earth laboratories, and future research should focus on developing models that can handle varying environmental conditions, surface dust contamination, and complex chemical/physical matrix effects.
  • Broader Datasets: Expanding the training dataset with a wider variety of geological samples and physical properties is proposed to enhance model generalizability.
  • Integration of Physical Parameters: Incorporating other physical parameters (e.g., plasma temperature, laser ablation crater images) as input to the chemometric model is suggested to further improve feature extraction.

Summary updated

BibTeX
@inproceedings{xu2025laser,
  author = {Xuesen Xu and Shijia Luo and Xuchen Zhang and Weiming Xu and Rong Shu and Jianyu Wang and Xiangfeng Liu and Ping Li and Chang-Heng Li and Luning Li},
  title = {{Laser-Induced Breakdown Spectroscopy Quantitative Analysis Using a Bayesian Optimization-Based Tunable Softplus Backpropagation Neural Network}},
  booktitle = {Remote},
  year = {2025},
  doi = {10.3390/rs17142457},
}
Figure