Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Sustainable and Intelligent Phytoprotection

This article is part of the Research TopicAdvanced Imaging and Phenotyping for Sustainable Plant Science and Precision Agriculture 4.0View all 3 articles

Gradient-Guided Boundary-Aware Selective Scanning with Multi-Scale Context Aggregation for Plant Lesion Segmentation

Provisionally accepted
Guanqun  SunGuanqun Sun1*Tianshuo  LiTianshuo Li2Yizhi  PanYizhi Pan1Zidan  ZhuZidan Zhu2Tianhua  YangTianhua Yang2Feihe  ShaoFeihe Shao2Jia  GuoJia Guo3*Junyi  XinJunyi Xin2*
  • 1Japan Advanced Institute of Science and Technology, Nomi, Japan
  • 2Hangzhou Medical College, Hangzhou, China
  • 3Hosei University, Tokyo, Japan

The final, formatted version of the article will be published soon.

Plant lesion segmentation aims to delineate disease regions at the pixel level to support early diagnosis, severity assessment, and targeted intervention in precision agriculture. The task remains challenging due to (i) large variation in lesion scale—from minute incipient spots to coalesced regions—and (ii) ambiguous, low-contrast boundaries that blend into healthy tissue. We present GARDEN, a Gradient-guided boundary-Aware Region-Driven Edge-refiNement network that unifies multi-scale context modeling with selective long-range boundary refinement. A Multi-Scale Context Aggregation (MSCA) module harvests contextual cues across diverse receptive fields to form scale-consistent lesion priors, improving sensitivity to tiny lesions while preserving large structures. A Boundary-aware Selective Scanning (BASS) module, conditioned on a Gradient-Guided Boundary Predictor (GGBP), produces an explicit boundary prior and uses it to steer a Mamba-based 2D selective scan—allocating long-range reasoning to boundary-uncertain pixels while relying on local evidence in confident interiors. Across two public plant disease datasets, GARDEN achieves state-of-the-art results on both overlap and boundary metrics, with pronounced gains on small lesions and boundary-ambiguous cases. Qualitative results further show sharper contours and reduced spurious responses to illumination and viewpoint changes. By coupling scale robustness with boundary precision in a single architecture, GARDEN delivers accurate and reliable plant lesion segmentation across challenging real-world conditions.

Keywords: Gradient-guided, Mamba, Multi-scale context aggregation, plant lesion segmentation, selective scanning, State space models

Received: 17 Oct 2025; Accepted: 28 Nov 2025.

Copyright: © 2025 Sun, Li, Pan, Zhu, Yang, Shao, Guo and Xin. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence:
Guanqun Sun
Jia Guo
Junyi Xin

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.