Weakly Supervised Leaf Disease Segmentation via Reinforcement Learning-Based Prompt Optimization for SAM

Accurate segmentation of leaf lesions is essential for crop disease monitoring and precision agriculture. However, most existing methods rely on pixel-level annotations, which are costly and difficult to obtain in real agricultural scenarios. Weakly supervised approaches alleviate this requirement but often suffer from incomplete lesion localization and background interference. In addition, recent foundation segmentation models demonstrate strong generalization ability, yet their performance heavily depends on prompt quality, which is difficult to design automatically. To address these challenges, this paper proposes a weakly supervised lesion segmentation framework that integrates probabilistic feature disentanglement and reinforcement learning-based prompt optimization. First, a probabilistic class activation mapping (CAM) is introduced to model lesion confidence and guide feature disentanglement, effectively suppressing background noise. Second, a dual-loss constraint is designed to improve pseudo-mask quality by enforcing both region consistency and structural regularity. Finally, a prompt optimization strategy is developed to automatically select informative prompts, enabling a foundation segmentation model to refine lesion boundaries without human interaction. Experimental results on multiple agricultural datasets demonstrate that the proposed method achieves superior performance compared with existing weakly supervised baselines. Specifically, the method achieves an mIoU of 45.6% and Dice score of 57.1% on apple leaf disease datasets. The results indicate that the proposed framework can effectively reduce annotation cost while providing reliable segmentation performance, indicating potential for practical agricultural applications.

Authors

Institutions

Publication Details

Journal
AgriEngineering
Published
2026-10-15
DOI
https://doi.org/10.3390/agriengineering8100440
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Weakly Supervised Leaf Disease Segmentation via Reinforcement Learning-Based Prompt Optimization for SAM

Yong Chen, Junfan Jin, Wentao Huang, Shengxiong Huang et al.
AgriEngineering
Smart Agriculture and AI
article

Weakly Supervised Leaf Disease Segmentation via Reinforcement Learning-Based Prompt Optimization for SAM

Yong Chen, Junfan Jin, Wentao Huang, Shengxiong Huang, Xiangxing Zhou, Jian Zheng
article en

Abstract

Accurate segmentation of leaf lesions is essential for crop disease monitoring and precision agriculture. However, most existing methods rely on pixel-level annotations, which are costly and difficult to obtain in real agricultural scenarios. Weakly supervised approaches alleviate this requirement but often suffer from incomplete lesion localization and background interference. In addition, recent foundation segmentation models demonstrate strong generalization ability, yet their performance heavily depends on prompt quality, which is difficult to design automatically. To address these challenges, this paper proposes a weakly supervised lesion segmentation framework that integrates probabilistic feature disentanglement and reinforcement learning-based prompt optimization. First, a probabilistic class activation mapping (CAM) is introduced to model lesion confidence and guide feature disentanglement, effectively suppressing background noise. Second, a dual-loss constraint is designed to improve pseudo-mask quality by enforcing both region consistency and structural regularity. Finally, a prompt optimization strategy is developed to automatically select informative prompts, enabling a foundation segmentation model to refine lesion boundaries without human interaction. Experimental results on multiple agricultural datasets demonstrate that the proposed method achieves superior performance compared with existing weakly supervised baselines. Specifically, the method achieves an mIoU of 45.6% and Dice score of 57.1% on apple leaf disease datasets. The results indicate that the proposed framework can effectively reduce annotation cost while providing reliable segmentation performance, indicating potential for practical agricultural applications.

AgriEngineeringVol. 8(10)
Yichun University (CN), Jiangxi University of Science and Technology (CN)
Natural Science Foundation of Jiangxi Province
Zero hunger
Openalex Percentile: Top 15%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.