Faculty of Graduate Studies and Research, University of Regina
Coping with the distribution change in soil classification with LIBS
Abstract
dc:description.abstractAccurate classification of soil types is crucial for crop productivity. Among the soil analysis techniques, laser-induced breakdown spectroscopy (LIBS) has become a prominent technology for real-time characterization of soil properties. The recent rise in the use of machine learning (ML) techniques for processing LIBS spectra has made LIBS more attractive. However, due to variations in the physical properties and/or chemical composition of the soil samples, the distribution of spectral emission lines can be highly variable, which may lead to different distributions of LIBS spectra and make the training and test spectra not representative of each other. Hence the test performance of an ML model trained with only samples from the training distribution may degrade when applied to the test distribution. We propose multiple ML algorithms to handle the spectra distribution problem in this work. We first propose using the test data calibration with training distribution as a reference. The median of principal components (PCs) is suggested to be calibrated in the process. The median of the training’s and test’s PCs are independently calculated, and then the test’s median is adjusted based on its differences with the training’s. With the calibrated PCs, the test spectra are reconstructed accordingly. The performance of the proposed calibration algorithm is tested with the challenging Euro-Mediterranean symposium on laser-induced breakdown spectroscopy (EMSLIBS) dataset, and it is found that it can efficiently improve the test performance by 3% compared with the contest winners. However, some information is lost after data reconstruction with calibration. To keep all the test data information but improve the test performance, we propose a novel class-balanced self-paced learning, a type of self-learning, to avoid the gradual dominance of large classes in a pseudo-label generation. Instead of using universal class selection proportions for all classes, the proposed class-balanced self-paced learning method customizes the class selection proportions to avoid model bias in the self-training process. The proposed method is tested with the challenging LIBS dataset, which shows the proposed method can effectively handle the spectra distribution change and achieves comparable test accuracy with the EMSLIBS contest winners. The proposed class-balanced self-paced learning method effectively handles the distribution change. However, it takes 20 iterations of co-training, and the test accuracy cannot be improved any further. To address the distribution issue more efficiently, we propose pseudo-labelling the misclassified test samples based on similarity confidence using pseudo-shot learning with Siamese networks instead of conducting pseudo-labelling by prediction confidence. Considering the domain transfer differences among classes, we categorize the classes as hard, normal, and easy to reflect the class transfer difficulties in domain adaptation (DA). We mainly focus on the hard classes as samples from these classes are not representative of the source domain and can easily be misclassified in the prediction phase. Few-shot learning is used to find the spectra from hard classes but misclassified into their similar classes. These spectra are included to co-train the model with source samples to improve the test performance of hard classes. Our framework is tested with the EMSLIBS dataset, which shows that it can effectively overcome the spectra distribution shift and achieves 94.12% test accuracy. To validate the effectiveness of the proposed algorithms, a case study is conducted with our experimental data. We simulate the data streaming in real-time, where the spectra are collected with different experimental setups. To conquer the data size limitation and changes in the sample preparations and apparatus in the data streaming, we propose a framework based on transfer learning to use limited experimental data and adapt to the emission line variation in the LIBS streaming. The collected spectra from different experiments are fed into our model in chunks. These chunks of experimental data are then fed into the pre-trained model, and data evolution is dynamically learned by self-balanced learning to self-adapt to the domain shift. Self-balanced learning is undertaken for each chunk by repeatedly predicting the current chunk using the model trained by recent chunks and then taking the confident predictions as pseudo-labels for co-training the model. In this way, the model can adapt to changes in LIBS measurements due to experimental variation and matrix effects and improve the model’s generalization.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy (PhD)
- Discipline thesis:degree_discipline
- Engineering - Electronic Systems
- Department thesis:degree_department
- Faculty of Engineering and Applied Science
- Grantor dc:publisher
- Faculty of Graduate Studies and Research, University of Regina
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Huang, Yingchao
- Advisors dc:contributor.advisor
-
- Bais, Abdul
- Hussein, Amina E.
- Committee members dc:contributor.committeemember
-
- Laforge, Paul
- Tang, Yili
- Zilles, Sandra
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/10294/16408