| 注册
首页|期刊导航|智慧农业(中英文)|植物病害识别微调模型低秩适配方法

植物病害识别微调模型低秩适配方法

黄锦清 叶进 胡慧琳 阳继辉 兰伟 张艳青

智慧农业(中英文)2026,Vol.8Issue(1):40-51,12.
智慧农业(中英文)2026,Vol.8Issue(1):40-51,12.

植物病害识别微调模型低秩适配方法

Low-rank Adaptation Method for Fine-tuning Plant Disease Recognition Models

黄锦清 1叶进 1胡慧琳 1阳继辉 2兰伟 1张艳青1

作者信息

  • 1. 广西大学 计算机与电子信息学院,广西 南宁 530000,中国||亚热带农业保护与利用国家重点实验室,广西 南宁 530000,中国
  • 2. 捷佳润科技集团股份有限公司,广西 南宁 530000,中国
  • 折叠

摘要

Abstract

[Objective]When deep learning is applied to plant disease recognition tasks,model fine-tuning faces significant challenges,including limited computational resources and high parameter update overhead.Although traditional low-rank adaptation(LoRA)methods effectively reduce parameter overhead,their strategy of assigning a uniform,fixed rank to all layers often overlooks the vary-ing importance of different layers.This approach may still lead to constrained optimization in critical layers or resource waste in less significant ones.To address this limitation,a dynamic rank allocation(DRA)algorithm is proposed in this research.The DRA algo-rithm is designed to evaluate and adjust the required parameter resources for each layer during training,enhance the accuracy of plant disease classification models while more efficiently balancing computational resources.[Methods]Public datasets of the Wheat Plant Diseases Dataset and the Plants Disease Dataset were utilized in the experiments.The Wheat Plant Diseases Dataset comprised 13 104 images covering 15 types of wheat diseases such as black rust and fusarium head blight,while the Plants Disease Dataset included 37 505 images of 26 types of plant diseases such as algal leaf spot,corn rust,and bacterial spot of tomato.These datasets were cap-tured under varied lighting,different backgrounds,diverse angles,and at various stages of plant growth.A cross-layer feature similari-ty metric based on centred kernel alignment(CKA)was introduced to quantify the representational correlation between different lay-ers.Concurrently,a correction factor was constructed based on gradient information and activation intensity to measure the direct im-pact of each layer on the loss function.These two metrics were then fused using a weighted harmonic mean to generate a comprehen-sive importance score,which was subsequently used for the initial rank allocation.Furthermore,considering the effect of feature repre-sentation changes during training,a stability-triggered adaptive rank update strategy rank re-allocation(RRA)was proposed.This strategy monitored the average parameter change of the low-rank adapters during the training process to determine the convergence state.When this change fell below a specific threshold,the low-rank matrices were merged into the original weights,and the rank allo-cation table was then re-calculated and updated.This process ensured that more resources were allocated to critical layers,thereby achieving an optimized allocation of parameter resources across different layers.[Results and Discussions]Tests on four models(AlexNet,MobileNetV2,RegNetY,and ConvNeXt)indicated that,compared to full-parameter fine-tuning,the proposed method re-duced resource consumption to 0.42%,2.46%,3.56%,and 1.25%,respectively,while maintaining a comparable average accuracy.The RRA strategy demonstrated continuous parameter optimization throughout the model's training.On the ConvNeXt model,the trainable parameters on the plants disease dataset were progressively reduced from 18.34 to 9.26 M,a reduction of nearly 50%.In comparison with the standard LoRA method(R=16),the method reduced the accuracy by 0.38,0.40 and 0.05 percentage points on the wheat plant diseases dataset for AlexNet,MobileNetV2,and RegNetY,respectively,while resource consumption was reduced by 59.3%,87.4%and 50.5%.Robustness was tested by applying perturbations to the test set,including Gaussian noise,random cropping,color jitter,and random rotation.The results showed that the model was most affected by color jitter and random rotation on the Plants Disease Dataset,with accuracy decreasing by 6.02 and 5.11 percentage points,respectively.On the wheat plant diseases dataset,the model was more sensitive to random cropping and random rotation,with accuracy decreasing by 4.33 and 4.40 percentage points,re-spectively;the overall performance degradation remained within an acceptable range.When compared to other advanced low-rank methods such as AdaLoRA and DyLoRA under the same parameter budget,the DRA method exhibited higher accuracy.On the Reg-NetY model,the DRA method achieved an accuracy of 90.96%on the Plants Disease Dataset,which was 0.55 percentage points high-er than AdaLoRA and 0.94 percentage points higher than DyLoRA.In terms of training efficiency on the Plants Disease Dataset,the DRA method required 43.5 minutes to reach its peak validation accuracy of 89.84%,whereas AdaLoRA required 52.3 minutes,repre-senting a training time increase of approximately 20.23%.Regarding inference flexibility,the DyLoRA method was designed to gener-ate a universal model capable of adapting to multiple rank configurations after a single training run,allowing for dynamic rank switch-ing during inference based on hardware or latency requirements.The DRA method,however,did not possess this inference-time flexi-bility.It was focused on converging to a single,high-performance rank configuration for a specific task during the training phase.[Conclusions]The low-rank adaptive fine-tuning method proposed in this research significantly reduced the number of model training parameters while ensuring plant disease recognition accuracy.Compared to traditional fixed-rank LoRA and other advanced low-rank optimization methods,it demonstrated distinct advantages,providing an effective pathway for efficient model deployment on resource-constrained devices.

关键词

低秩自适应微调/特征相似性/秩分配算法/秩分配更新策略

Key words

low-rank adaptive fine-tuning/feature similarity/dynamic rank allocation algorithm/rank allocation update strategy

分类

农业科技

引用本文复制引用

黄锦清,叶进,胡慧琳,阳继辉,兰伟,张艳青..植物病害识别微调模型低秩适配方法[J].智慧农业(中英文),2026,8(1):40-51,12.

基金项目

国家自然科学基金(32402495) (32402495)

2024年自治区级大学生创新训练计划(202410593001S) National Natural Science Foundation of China(32402495) (202410593001S)

2024 Autonomous Region-Level Student Innovation Training Program Project(202410593001S) (202410593001S)

智慧农业(中英文)

2096-8094

访问量0
|
下载量0
段落导航相关论文