基于改进MobileViT的分蘖期水稻单株冠层氮素胁迫诊断

    Diagnosis of nitrogen stress in individual rice plant canopies during the tillering stage using an improved MobileViT model

    • 摘要:
      目的 验证分蘖期水稻Oryza sativa L.单株冠层图像诊断氮素胁迫的可行性,并探究改进MobileViT模型在氮素胁迫等级识别中的性能优势。
      方法 以晚稻‘黄华占’为试验材料,设置6个施氮水平梯度,构建分蘖期单株冠层图像数据集。针对表型差异细微、背景易干扰及需轻量化部署的难题,提出一种基于改进MobileViT的分蘖期水稻单株冠层氮素胁迫诊断方法。该模型在继承MobileViT分层编码设计的基础上进行3项结构改进:将ReLU6替换为SiLU以增强非线性表达能力,在Stage 5采用重参数化MobileOne block替代原MobileViT模块以降低推理延迟,在Stage 4末端集成轻量ECA通道注意力模块以增强关键特征感知并抑制复杂背景干扰。训练阶段加载ImageNet预训练权重进行迁移学习,与上述结构改进协同提升模型的表达能力和效率。
      结果 改进后模型准确率、精确率和召回率分别达85.67%、85.93%和85.67%,其中准确率较基线模型提升3.17个百分点,模型体积压缩至2.31 MB。与ResNet18、MobileNet V2等5种主流模型相比,本模型在参数量最小的同时取得最高准确率。消融试验表明,集成ECA模块的模型性能优于集成SE、CA和CBAM的模型。Grad-CAM可视化结果表明,模型能够精准聚焦黄化叶片等关键表型。在正常、较暗和较强光照条件下,模型F1分数分别为85.80%、83.29%和80.76%,均高于原始模型,表明模型具有较强鲁棒性。
      结论 本研究提出的3项结构改进与ImageNet迁移学习相结合的协同优化策略,有效实现了模型在识别精度、轻量化部署和复杂光照鲁棒性上的协同提升。改进后的模型可高效、准确地诊断分蘖期水稻单株冠层氮素胁迫程度,为智慧农业中水稻精准营养诊断提供技术支撑。

       

      Abstract:
      Objective To verify the feasibility of diagnosing nitrogen stress from images of individual rice (Oryza sativa L.) plant canopies during the tillering stage, and explore the performance advantages of the improved MobileViT model in nitrogen stress level identification.
      Method Late rice ‘Huanghuazhan’ was used as experimental material, and six nitrogen application gradients were set to construct a single-plant canopy image dataset at the tillering stage. To address challenges such as subtle phenotypic differences, susceptibility to background interference, and the need for lightweight deployment, a individual plant canopy nitrogen stress diagnostic method based on improved MobileViT was proposed. Based on the hierarchical coding design inherited from MobileViT, the model underwent three structural improvements: Replacing ReLU6 with SiLU to enhance nonlinear expression capability; At Stage 5, a re-parameterized MobileOne block replaced the original MobileViT module to reduce inference latency; At the end of Stage 4, a lightweight ECA channel attention module was integrated to enhance key feature perception and suppress complex background interference. During training, ImageNet pre-trained weights were loaded for transfer learning, and the above structural improvements worked synergistically to enhance the model’s representative capability and efficiency.
      Result After improvement, the model’s accuracy, precision, and recall reached 85.67%, 85.93%, and 85.67%, respectively, with accuracy increasing by 3.17 percentage points compared to the baseline model and the model size compressed to 2.31 MB. Compared with five mainstream models including ResNet18 and MobileNet V2, this model achieved the highest accuracy with the smallest parameter count. Ablation experiments showed that the model integrating ECA modules outperformed models integrating SE, CA, and CBAM. Grad-CAM visualization results showed that the model could precisely focus on key phenotypes such as yellowing leaves. Under normal, dim, and intense lighting conditions, the model’s F1 scores were 85.80%, 83.29%, and 80.76%, respectively, all higher than those of the original model, indicating strong robustness.
      Conclusion The three structural improvements proposed in this study, combined with ImageNet transfer learning, effectively achieve synergistic enhancements in recognition accuracy, lightweight deployment, and complex light robustness. The improved model can efficiently and accurately diagnose the nitrogen stress level in the canopy of individual rice plant canopies during the tillering stage, providing technical support for precise nutrition diagnosis of rice in smart agriculture.

       

    /

    返回文章
    返回