Hybrid <scp>AI</scp> Model With <scp>CNNs</scp> and Vision Transformers for Precision Pest Classification in Crops

Crop pests pose a significant threat to agricultural productivity, making it essential to develop effective pest management techniques. Prompt and accurate identification of pests is necessary for effective pest management and preventing significant damage. This paper proposes HyPest-Net, a hybrid deep learning architecture that integrates convolutional neural networks (CNNs) for local feature extraction, channel and spatial attention mechanisms for refining salient features, and a vision transformer (ViT-B/16) module for modeling long-range dependencies. This integrated hybrid architecture enables accurate pest classification by resolving challenges posed by visually similar species, background clutter, and varied illumination issues that standalone CNNs or ViTs inadequately address. Preprocessing and augmentation have been used to enhance the generalizability of the proposed model over the dataset. The proposed model was evaluated on two benchmark datasets: a rice pest dataset (5 classes) and the dangerous farm insects dataset (15 classes). Experimental results demonstrate that HyPest-Net achieved an accuracy of 0.95 on the rice pest dataset. The proposed model achieved a precision of 0.95, a sensitivity of 0.95, a specificity of 0.94, and an F1 score of 0.94. The proposed model achieved an accuracy of 0.93 on the dangerous farm insects dataset. The proposed HyPest-Net model offers a lightweight yet powerful solution for real-time, explainable pest classification, supporting practical applications in precision agriculture.

Authors

Institutions

Publication Details

Journal
Food Science & Nutrition
Published
2025-11-01
DOI
https://doi.org/10.1002/fsn3.71174
Citations
2
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
3.50

Funders

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

Hybrid AI Model With CNNs and Vision Transformers for Precision Pest Classification in Crops

Ateeq Ur Rehman, Salil Bharany, Fuad A. M. Al‐Yarimi, Neha Sharma et al.
2 citations
Food Science & Nutrition
Smart Agriculture and AI
3.50
article

Hybrid AI Model With CNNs and Vision Transformers for Precision Pest Classification in Crops

Ateeq Ur Rehman, Salil Bharany, Fuad A. M. Al‐Yarimi, Neha Sharma, Belayneh Matebie Taye
article en
2 citations

Abstract

Crop pests pose a significant threat to agricultural productivity, making it essential to develop effective pest management techniques. Prompt and accurate identification of pests is necessary for effective pest management and preventing significant damage. This paper proposes HyPest-Net, a hybrid deep learning architecture that integrates convolutional neural networks (CNNs) for local feature extraction, channel and spatial attention mechanisms for refining salient features, and a vision transformer (ViT-B/16) module for modeling long-range dependencies. This integrated hybrid architecture enables accurate pest classification by resolving challenges posed by visually similar species, background clutter, and varied illumination issues that standalone CNNs or ViTs inadequately address. Preprocessing and augmentation have been used to enhance the generalizability of the proposed model over the dataset. The proposed model was evaluated on two benchmark datasets: a rice pest dataset (5 classes) and the dangerous farm insects dataset (15 classes). Experimental results demonstrate that HyPest-Net achieved an accuracy of 0.95 on the rice pest dataset. The proposed model achieved a precision of 0.95, a sensitivity of 0.95, a specificity of 0.94, and an F1 score of 0.94. The proposed model achieved an accuracy of 0.93 on the dangerous farm insects dataset. The proposed HyPest-Net model offers a lightweight yet powerful solution for real-time, explainable pest classification, supporting practical applications in precision agriculture.

Food Science & NutritionVol. 13(11)
Gachon University (KR), Chitkara University (IN), King Khalid University (SA), University of Gondar (ET)
King Khalid University
Openalex Percentile: Top 7%
Smart Agriculture and AI
3.50
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.