Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Apr 15;15(1):13014.
doi: 10.1038/s41598-025-97585-0.

Diagnosis of early nitrogen, phosphorus and potassium deficiency categories in rice based on multimodal integration and knowledge distillation

Affiliations

Diagnosis of early nitrogen, phosphorus and potassium deficiency categories in rice based on multimodal integration and knowledge distillation

Xuanying Liao et al. Sci Rep. .

Abstract

Rapid, non-destructive, lightweight and accurate diagnosis of early stage nutrient deficiency in rice is essential for both yield and quality. Traditional diagnostic methods often exhibit low efficiency, reduced accuracy, and a lack of timeliness. To address these issues, a diagnostic method for the early detection of nitrogen, phosphorus, and potassium deficiencies in rice, based on multimodal integration and knowledge distillation, is proposed. In this study, the late rice variety 'Huanghuazhan rice' was selected as the experimental subject for field trials. First, leave images of rice plant were captured using a scanner, and some data preprocessing techniques were utilized to extract image samples from the leaf tip areas of the top one leaf, the top two leaf and the top three leaf. Second, the teacher model was obtained through transfer learning, fine-tuning training and model fusion. The custom neural network model was heuristically customized based on the conventional model. The teacher model then performs knowledge distillation on the custom neural network model, resulting in a lightweight model with high accuracy and low memory consumption, which serves as a feature extractor. Finally, the multimodal features were input into LightGBM for training and the rice nutrient deficiency recognition model, S-RiceNet-D-LightGBM (SRDL), was constructed. The experimental results demonstrate that the SRDL model is an efficient, lightweight model characterized by high accuracy and low memory consumption. It achieved an accuracy score of 0.9501, a macro precision score of 0.9501, a macro recall score of 0.9499, and a macro F1 score of 0.9500, outperforming the VGG16, ResNet101, DenseNet169, InceptionNetV3, MobileNetV2, second only to the performance of the ensemble model. The memory footprint is 23.6 MB, which is slightly higher than that of the MobileNetV3S model. This study provides new insights and viable avenues for the practical implementation of a lightweight model designed for the intelligent diagnosis of crop nutrient deficiency.

Keywords: Ensemble learning; Knowledge distillation; Multimodal features; Rice deficiency diagnosis; Transfer learning.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Complete diagram of each leaf in rice.
Fig. 2
Fig. 2
Nitrogen-deficient leaf tips of the top one leaf (a). Nitrogen-deficient leaf tips of the top two leaf (b). Nitrogen-deficient leaf tips of the top three leaf (c). Potassium-deficient leaf tips of the top one leaf (d). Potassium-deficient leaf tips of the top two leaf (e). Potassium-deficient leaf tips of the top three leaf (f). Phosphorus-deficient leaf tips of the top one leaf (g). Phosphorus-deficient leaf tips of the top two leaf (h). Phosphorus-deficient leaf tips of the top three leaf (i). Leaf tip diagram of each leaf under different deficiency conditions in rice.
Fig. 3
Fig. 3
Structure of the model for transfer learning and fine-tuning training.
Fig. 4
Fig. 4
Structure of the DemoNet_1 model.
Fig. 5
Fig. 5
Structure of the DemoNet_2 model.
Fig. 6
Fig. 6
Structure of the DemoNet_2-D model.
Fig. 7
Fig. 7
Structure of the S-RiceNet-D model.
Fig. 8
Fig. 8
Structure of the SRDL model.
Fig. 9
Fig. 9
Flow chart of the complete experiment.
Fig. 10
Fig. 10
Illustrates the accuracy and loss graphs of the S-RiceNet-D model throughout the training process.
Fig. 11
Fig. 11
Depicts the confusion matrix plot of the SRDL model classification results.

References

    1. Fertilizer abuse is an important cause of agricultural surface pollution. Fujian Rice Wheat Sci. Technol.29(02), 39 (2011).
    1. Teng, Q. et al. Research progress on the effects of fertilizer application methods on the occurrence of rice pests and diseases. South. Agric.17 (17), 175–178. 10.19415/j.cnki.1673-890x.2023.17.042 (2023).
    1. Liang, Y. Effects of different fertilizers on greenhouse gas emissions from rice soils. Nanjing Univ. Inform. Eng.10.27248/d.cnki.gnjqc.2024.002040 (2024).
    1. Wu et al. Current situation of fertilizer utilization and development countermeasures in China. J. Jiangxi Agric. Univ.(05), 725–727 (2003).
    1. Ao, L. Common deficiency diseases in rice and their efficient prevention and control methods. Sci. Breed. (10), 30–32. 10.13270/j.cnki.kxzh.2015.10.017 (2015).