Robust plant disease detection in uncontrolled environments using adaptive-SAM segmentation and self-attention-enhanced CNN classification

Introduction Accurate plant disease detection in real-world agricultural environments remains challenging due to uncontrolled conditions, including complex backgrounds, variable illumination, and overlapping foliage. Consequently, models trained on controlled datasets often exhibit limited generalization to field conditions. This study aims to develop a robust deep learning framework for potato leaf disease detection under challenging real-world scenarios. Methods The proposed framework adopts a segmentation-first strategy that integrates the Segment Anything Model (SAM) for dynamic leaf extraction from cluttered agricultural scenes, followed by a ResNet50 backbone enhanced with Multi-Head Self-Attention (MHSA) for disease classification. Leaf extraction operates in a zero-shot manner, requiring neither additional training data nor manually annotated leaf masks. The attention mechanism enhances feature discrimination by capturing spatially distributed disease-related patterns while reducing the influence of irrelevant background information. Results Comprehensive experiments on a potato leaf disease dataset collected under uncontrolled field conditions demonstrate that the proposed framework achieves a test accuracy of 91.81 %. This represents a 1.13 percentage-point improvement over the current state-of-the-art methods and an 18.18 percentage-point improvement over the original dataset benchmark. Discussion These findings highlight the effectiveness of combining zero-shot SAM-based leaf extraction with attention-enhanced feature learning to improve disease classification in complex agricultural environments. By addressing both background interference and fine-grained pathological feature discrimination, the proposed framework offers a promising approach to robust plant disease monitoring and precision agriculture applications.

Authors

Institutions

Publication Details

Journal
Frontiers in Artificial Intelligence
Published
2026-12-02
DOI
https://doi.org/10.3389/frai.2026.1971903
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Robust plant disease detection in uncontrolled environments using adaptive-SAM segmentation and self-attention-enhanced CNN classification

Khouloud Boukadi, Emna Ben Abdallah, Mohamed El‐Attar, Rima Grati
Frontiers in Artificial Intelligence
Smart Agriculture and AI
article

Robust plant disease detection in uncontrolled environments using adaptive-SAM segmentation and self-attention-enhanced CNN classification

Khouloud Boukadi, Emna Ben Abdallah, Mohamed El‐Attar, Rima Grati
article en

Abstract

Introduction Accurate plant disease detection in real-world agricultural environments remains challenging due to uncontrolled conditions, including complex backgrounds, variable illumination, and overlapping foliage. Consequently, models trained on controlled datasets often exhibit limited generalization to field conditions. This study aims to develop a robust deep learning framework for potato leaf disease detection under challenging real-world scenarios. Methods The proposed framework adopts a segmentation-first strategy that integrates the Segment Anything Model (SAM) for dynamic leaf extraction from cluttered agricultural scenes, followed by a ResNet50 backbone enhanced with Multi-Head Self-Attention (MHSA) for disease classification. Leaf extraction operates in a zero-shot manner, requiring neither additional training data nor manually annotated leaf masks. The attention mechanism enhances feature discrimination by capturing spatially distributed disease-related patterns while reducing the influence of irrelevant background information. Results Comprehensive experiments on a potato leaf disease dataset collected under uncontrolled field conditions demonstrate that the proposed framework achieves a test accuracy of 91.81 %. This represents a 1.13 percentage-point improvement over the current state-of-the-art methods and an 18.18 percentage-point improvement over the original dataset benchmark. Discussion These findings highlight the effectiveness of combining zero-shot SAM-based leaf extraction with attention-enhanced feature learning to improve disease classification in complex agricultural environments. By addressing both background interference and fine-grained pathological feature discrimination, the proposed framework offers a promising approach to robust plant disease monitoring and precision agriculture applications.

Frontiers in Artificial IntelligenceVol. 9
University of Sfax (TN), University of Gabès (TN), Zayed University (AE)
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.

Laika access coming soon