The researchers used a modified convolutional neural network (CNN) framework to build PeaNet. The goal of this study was for the researchers to train PeaNet to perform two specific functions. First, to predict the protein content of pea samples, and second, to classify the samples into discrete protein content categories (1). This multifunctional approach addresses a critical gap in current research, where models often specialize in either prediction or classification, but rarely both (1).
How did PeaNet perform in performance testing?
The researchers ran their model through a series of performance tests to evaluate whether it can effectively perform the two specific functions mentioned above. During performance testing, PeaNet achieved a coefficient of determination (R²) of 0.84 and a root mean square error (RMSE) of 0.87 on the primary test set (1). When tested for its classification accuracy for protein content levels, the model reached 85.33% (1). When tested on an independent validation set composed of different pea varieties not used in training, the model maintained its robustness, securing an R² above 0.80, an RMSE of 0.94, and a classification accuracy of 83.33% (1).
Other important results from the performance test include comparing PeaNet to other ML or deep learning models. The researchers found that when compared against partial least squares regression (PLSR), support vector regression (SVR), multilayer perceptron (MLP), and the AlexNet architecture, their model performed better. They theorized that this was because PeaNet was able to automatically interpret multidimensional spectral inputs without additional processing (1).
The study highlights several critical wavelengths, specifically at 550, 650, 950, 1200, 2000, and 2300 nm, that contributed significantly to the model’s predictive power (1). These wavelengths correlate with the physical and chemical characteristics of pea proteins, making them particularly valuable in spectral analysis.
What are the key takeaways from this study?
This study is important because it highlights the growing use of deep learning models for spectral analysis. The PeaNet model presented in this study shows that it can serve as a template for the exploration of future models, including ones that can analyze other crops (1). The authors advocate for the development of desktop or handheld vis–NIR devices tailored to specific operational environments, enabling on-site and real-time protein monitoring in breeding stations, food factories, and supply chains (1).
References
- Xiao, T.; Xie, C.; Yang, L.; et al. A General Deep Learning Model for Predicting and Classifying Pea Protein Content via Visible and Near-infrared Spectroscopy. Food Chem. 2025, 478, 143617. DOI: 10.1016/j.foodchem.2025.143617
- Cleveland Clinic, Everything You Should Know About Pea Protein. Cleveland Clinic. Available at: https://health.clevelandclinic.org/pea-protein (accessed 2025-07-15).