LAViT: Class-Aware Vision Transformer with Learnable Attention for Pest Recognition in Agricultural Fields

MakaleAçık ErişimScopus SJRQ3
  • SDG 2 · Açlığa Son

Özet

Insect pests pose a significant threat to agricultural productivity, making early and accurate identification essential for effective pest management. This study proposes a novel deep learning-based classification framework for multi-class pest recognition from field images. The proposed approach enhances discriminative region representation by integrating a patch embedding module, a Vision Transformer backbone, and a learnable spatial attention mask. This hybrid design enables the model to focus on critical visual cues without requiring segmentation-based preprocessing. The attention mask, learned via convolutional layers, is pooled and directly applied to Transformer-encoded patch tokens to refine spatial feature emphasis. Positional embeddings are further employed to preserve spatial context within the tokenized image representation. Experimental evaluations conducted on publicly available pest datasets with 5, 9, and 12 classes demonstrate the effectiveness and robustness of the proposed framework. The model achieves accuracies of 99.67%, 99.52%, and 97.00% on the Pest5, Pest9, and Pest12 datasets, respectively, indicating strong generalization across varying classification complexities. To enhance model transparency and reliability, visual interpretability is provided through Grad-CAM and attention heatmap visualizations that reveal the model’s focus regions. Additionally, t-SNE-based feature visualization illustrates clear separability in the learned embedding space. The proposed framework shows strong potential for practical deployment in smart agriculture and precision pest monitoring systems.

Anahtar Kelimeler

RDL Kalıcı Bağlantı (PID)
https://rdlopen.rawdatalibrary.net/r/ebyu/10523Resmi atıflarda kullanılan kalıcı adres
DOI
https://doi.org/10.15832/ankutbd.1739676Yayıncı resmi DOI adresi
İndeks kayıtları
Kaydın indeks veri tabanlarındaki sayfası (aktarımda alınan kayıt numarasıyla). Erişim, indeksin kendi koşullarına bağlıdır.
Atıflar
Scopus
0
WoS
0
OpenAlex
0
TR Dizin
0
Her kaynağın kendi saydığı toplam atıf; aktarım ve zenginleştirme sırasında alındı.
Tam Kayıt
AlanDeğerDil
dc.contributor.authorTastimur, Canan
dc.contributor.authorKaya, Volkan
dc.date.accessioned2026-10-20T10:32:25.689752499Z
dc.date.available2026-10-20T10:32:25.689752499Z
dc.date.issued2026
dc.description.abstractInsect pests pose a significant threat to agricultural productivity, making early and accurate identification essential for effective pest management. This study proposes a novel deep learning-based classification framework for multi-class pest recognition from field images. The proposed approach enhances discriminative region representation by integrating a patch embedding module, a Vision Transformer backbone, and a learnable spatial attention mask. This hybrid design enables the model to focus on critical visual cues without requiring segmentation-based preprocessing. The attention mask, learned via convolutional layers, is pooled and directly applied to Transformer-encoded patch tokens to refine spatial feature emphasis. Positional embeddings are further employed to preserve spatial context within the tokenized image representation. Experimental evaluations conducted on publicly available pest datasets with 5, 9, and 12 classes demonstrate the effectiveness and robustness of the proposed framework. The model achieves accuracies of 99.67%, 99.52%, and 97.00% on the Pest5, Pest9, and Pest12 datasets, respectively, indicating strong generalization across varying classification complexities. To enhance model transparency and reliability, visual interpretability is provided through Grad-CAM and attention heatmap visualizations that reveal the model’s focus regions. Additionally, t-SNE-based feature visualization illustrates clear separability in the learned embedding space. The proposed framework shows strong potential for practical deployment in smart agriculture and precision pest monitoring systems.
dc.identifier.doi10.15832/ankutbd.1739676
dc.identifier.eissn2148-9297
dc.identifier.endpage497
dc.identifier.issn1300-7580
dc.identifier.issue2
dc.identifier.scopus2-s2.0-105034279248
dc.identifier.startpage474
dc.identifier.urihttps://rdlopen.rawdatalibrary.net/r/ebyu/10523
dc.identifier.volume32
dc.identifier.wosWOS:001735058800009
dc.language.isoen
dc.publisherAnkara University
dc.relation.ispartofTarim Bilimleri Dergisi
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectClass-Aware Feature Learning
dc.subjectExplainable AI
dc.subjectLearnable Attention
dc.subjectPest Recognition
dc.subjectSmart Agriculture
dc.subjectVision Transformer
dc.subject.classificationAgriculture, Multidisciplinary
dc.subject.classificationAgriculture
dc.titleLAViT: Class-Aware Vision Transformer with Learnable Attention for Pest Recognition in Agricultural Fields
dc.typeArticle
rdl.citation.openalex0
rdl.citation.scopus0
rdl.citation.trdizin0
rdl.citation.wos0
rdl.oa.statusgold
rdl.scopus.quartileQ3
rdl.sdgSDG02
rdl.source.indexSCOPUS
rdl.source.indexWOS
rdl.source.indexTRDIZIN
rdl.wos.indexScience Citation Index Expanded (SCI-EXPANDED)