Abstract
Rice seed vigor plays a significant role in determining the quality and quantity of rice production. Thus, the quick and non-destructive identification of seed vigor is not only beneficial to fully obtain the state of rice seeds but also the intelligent development of agriculture by instant monitoring. Thus, herein, near-infrared hyperspectral imaging technology, as an information acquisition tool, was introduced combined with a deep learning algorithm to identify the rice seed vigor. Both the spectral images and average spectra of the rice seeds were sent to discriminant models including deep learning models and traditional machine learning models, and the highest accuracy of vigor identification reached 99.5018% using the self-built model. The parameters of the established deep learning models were frozen to be feature extractor for transfer learning. The identification results whose highest number also reached almost 98% indicated the possibility of applying transfer learning to improve the universality of the models. Moreover, by visualizing the output of convolutional layers, the progress and mechanism of spectral image feature extraction in the established deep learning model was explored. Overall, the self-built deep learning models combined with near-infrared hyperspectral images in the determination of rice seed vigor have potential to efficiently perform this task.
Introduction
In global agriculture, rice seed vigor—the potential for rapid, uniform germination and robust plant growth—is a primary determinant of crop yield. However, identifying high-quality seeds is notoriously difficult. Old or deteriorated seeds often appear identical to fresh ones, leading to potential economic losses and reduced agricultural efficiency.
The traditional "gold standard" for testing vigor is the artificial germination test, which is slow (taking up to 10 days), labor-intensive, and inherently destructive. While chemical tests exist, they require complex processing and professional expertise. There is a critical need for a rapid, non-destructive, and intelligent method to monitor seed quality in real-time. This study explores the integration of Near-Infrared Hyperspectral Imaging (NIR-HSI) with deep learning to address this challenge.
Materials and Methods
The research utilized two distinct rice cultivars provided by Nanjing Agricultural University: RBQ (3,960 seeds harvested between 2011 and 2018) and KN4 (2,671 seeds harvested between 2015 and 2018). Ground truth for vigor was established via standard 10-day germination tests, revealing significant deterioration in older batches.
The experimental pipeline involved capturing "3D data cubes" using NIR-HSI, which provide both spatial and spectral information. From these cubes, 32x32 pixel images were extracted for individual seeds across 200 spectral channels (924–1595 nm). The data was then processed through various discrimination models, including traditional machine learning (SVM, PLS-DA) and advanced deep learning architectures.
Model Architecture
The study compared a self-built convolutional neural network (CNN) against the more complex ResNet18 architecture. The self-built CNN was designed to be relatively simple, featuring two main convolutional blocks followed by max-pooling and dropout layers to prevent overfitting.
Interestingly, this simpler architecture outperformed the deeper ResNet18. The researchers suggest that for the specific resolution and size of seed images, overly complex models may struggle to generalize. By visualizing the output of these convolutional layers, the study explored the mechanism of feature extraction, revealing how the model identifies the chemical and spatial markers of seed aging.
Results and Discussion
Performance Metrics
The self-built CNN achieved a peak identification accuracy of 99.50% for the KN4 variety and 95.88% for the RBQ variety. While traditional models like SVM performed well on average spectral data (up to 99.25%), the CNN approach was deemed more robust as it utilizes the full spatial-spectral dataset without requiring manual feature selection.
Transfer Learning and Universality
A key highlight of the study was the success of transfer learning. By "freezing" the feature-extraction layers of a model trained on RBQ seeds and applying it to KN4 seeds, the researchers achieved an accuracy of 98.75%. This suggests that the fundamental markers of seed deterioration are consistent across different cultivars, allowing for the development of more universal agricultural monitoring tools.
Chemical Insights
Principal Component Analysis (PCA) indicated that the models focused on specific wavelengths (around 970nm, 1200nm, and 1450nm). These wavelengths correspond to the vibrations of hydrogen-containing groups (O–H, C–H, N–H) found in starch, proteins, and lipids—substances that naturally degrade as a seed loses vigor.
Conclusion
This research demonstrates that NIR-HSI combined with deep learning offers a highly accurate, non-destructive method for assessing rice seed vigor. The success of the self-built CNN and transfer learning protocols paves the way for intelligent, real-time monitoring in agricultural supply chains. Future work will focus on expanding the dataset to include more varieties and environmental conditions, as well as overcoming the hardware costs associated with hyperspectral imaging to bring this technology to industrial conveyor belts and field devices.
Summary updated