Domain-aligned feature extraction with Mobilenetv2-GRL and KNN for wheat leaf disease detection

• Introduces a novel pipeline combining MobileNetV2 with Gradient Reversal Layer (GRL) for robust domain-invariant feature extraction, followed by K-Nearest Neighbors (KNN) for interpretable classification of 12 wheat leaf disease classes. • Achieves 98.0% accuracy on clean images and 94.0% on domain-shifted (augmented) data—outperforming the baseline MobileNetV2 model by 10% under real-world simulation conditions. • Implements the model in a lightweight, browser-based Streamlit interface for real-time wheat disease detection, enabling practical use by farmers and agricultural field workers in resource-constrained settings. Leaf diseases of wheat can significantly impact the global food supply, making it critical to detect them as soon as they occur and provide accurate estimates for monitoring their spread and evolution. The commonly used manual detection approaches are prone to errors, expensive, and inefficient, spurring a growing interest in automated alternatives. While CNN-based solutions have demonstrated promising results, they often fall short in terms of generalization and interpretability. We present a novel, hybrid, domain adaptive pipeline for wheat leaf disease identification that combines semantic segmentation and classification. Our approach employs a pretrained MobileNetV2 model augmented with a Gradient Reversal Layer (GRL) for extracting domain invariant feature embeddings. These embeddings, in turn, are passed through a K-Nearest Neighbors (KNN) classifier for final prediction to boost interpretability and domain invariance. The system design separates feature extraction from the classification, resulting in improved generalization performance. The feature extractor is fine-tuned using a multi-task loss, enabling it to learn domain agnostic embeddings. The GRL enforces feature consistency between clean and augmented images by reversing the gradient direction during backpropagation. Finally, the model outputs a 256-D feature embedding to be classified using KNN. The approach achieves 98.0% and 94.0% accuracy on the clean test set and the combined clean-augmented dataset, respectively, outperforming standard MobileNetV2 baselines. We also provide a lightweight, browser-based, Streamlit app for fast and easy disease diagnosis by simply uploading an image of the leaf to enable low-resource field-level solutions for real-world monitoring of these plant diseases.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-11-08
DOI
https://doi.org/10.1016/j.rineng.2025.108118
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
article

Domain-aligned feature extraction with Mobilenetv2-GRL and KNN for wheat leaf disease detection

Prabira Kumar Sethy, Santi Kumari Behera, Aziz Nanthaamornphong, M. Chilakarao et al.
Results in Engineering
Smart Agriculture and AI
article

Domain-aligned feature extraction with Mobilenetv2-GRL and KNN for wheat leaf disease detection

Prabira Kumar Sethy, Santi Kumari Behera, Aziz Nanthaamornphong, M. Chilakarao, Kavitha Raju, Pragyan P. Dash
article en

Abstract

• Introduces a novel pipeline combining MobileNetV2 with Gradient Reversal Layer (GRL) for robust domain-invariant feature extraction, followed by K-Nearest Neighbors (KNN) for interpretable classification of 12 wheat leaf disease classes. • Achieves 98.0% accuracy on clean images and 94.0% on domain-shifted (augmented) data—outperforming the baseline MobileNetV2 model by 10% under real-world simulation conditions. • Implements the model in a lightweight, browser-based Streamlit interface for real-time wheat disease detection, enabling practical use by farmers and agricultural field workers in resource-constrained settings. Leaf diseases of wheat can significantly impact the global food supply, making it critical to detect them as soon as they occur and provide accurate estimates for monitoring their spread and evolution. The commonly used manual detection approaches are prone to errors, expensive, and inefficient, spurring a growing interest in automated alternatives. While CNN-based solutions have demonstrated promising results, they often fall short in terms of generalization and interpretability. We present a novel, hybrid, domain adaptive pipeline for wheat leaf disease identification that combines semantic segmentation and classification. Our approach employs a pretrained MobileNetV2 model augmented with a Gradient Reversal Layer (GRL) for extracting domain invariant feature embeddings. These embeddings, in turn, are passed through a K-Nearest Neighbors (KNN) classifier for final prediction to boost interpretability and domain invariance. The system design separates feature extraction from the classification, resulting in improved generalization performance. The feature extractor is fine-tuned using a multi-task loss, enabling it to learn domain agnostic embeddings. The GRL enforces feature consistency between clean and augmented images by reversing the gradient direction during backpropagation. Finally, the model outputs a 256-D feature embedding to be classified using KNN. The approach achieves 98.0% and 94.0% accuracy on the clean test set and the combined clean-augmented dataset, respectively, outperforming standard MobileNetV2 baselines. We also provide a lightweight, browser-based, Streamlit app for fast and easy disease diagnosis by simply uploading an image of the leaf to enable low-resource field-level solutions for real-world monitoring of these plant diseases.

Results in EngineeringVol. 28
Sambalpur University (IN), Prince of Songkla University (TH), OSRAM (United States) (US), Veer Surendra Sai University of Technology (IN)
Openalex Percentile: Top 76%
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.