Optimizing Token Fusion Mechanisms in Swin Transformer for Improved Feature Representation and Fine-Grained Insect Classification

Effective pest monitoring is critical for ensuring global food security, as insect pests pose significant threats to crop yields and agricultural sustainability. Traditional pest identification methods rely on manual inspection, which is time-consuming, labor-intensive, and susceptible to human error. Deep learning, particularly Convolutional Neural Networks (CNNs), has been widely applied to automate insect classification; however, these models exhibit limitations in capturing long-range dependencies and hierarchical feature representations. Transformer-based architectures, such as Swin Transformer, have demonstrated improved performance in vision tasks, yet their effectiveness in fine-grained insect classification remains constrained by cross-window communication inefficiencies and suboptimal hierarchical feature aggregation. This study proposes an enhanced Swin Transformer model incorporating a Token Fusion mechanism to address these limitations. The proposed Cross-Window Token Fusion (CWTF) facilitates feature propagation across non-overlapping windows, while Hierarchical Token Fusion (HTF) enhances multi-scale representation learning. Experimental evaluations on the IP102 dataset, a large-scale benchmark for insect classification, demonstrate that the proposed model outperforms CNN-based and standard Transformer-based models in classification accuracy while maintaining computational efficiency. The findings highlight Token Fusions effectiveness in strengthening feature interactions, thereby advancing the development of highly accurate and computationally efficient automated pest monitoring systems. This research contributes to the broader adoption of Transformer-based architectures in precision agriculture, enhancing real-time pest surveillance and sustainable crop management.

Authors

Institutions

Publication Details

Journal
Applied and Computational Engineering
Published
2025-04-24
DOI
https://doi.org/10.54254/2755-2721/2025.kl22294
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Token Fusion Mechanisms in Swin Transformer for Improved Feature Representation and Fine-Grained Insect Classification

Qiming Li
Applied and Computational Engineering
Industrial Vision Systems and Defect Detection
article

Optimizing Token Fusion Mechanisms in Swin Transformer for Improved Feature Representation and Fine-Grained Insect Classification

Qiming Li
article en

Abstract

Effective pest monitoring is critical for ensuring global food security, as insect pests pose significant threats to crop yields and agricultural sustainability. Traditional pest identification methods rely on manual inspection, which is time-consuming, labor-intensive, and susceptible to human error. Deep learning, particularly Convolutional Neural Networks (CNNs), has been widely applied to automate insect classification; however, these models exhibit limitations in capturing long-range dependencies and hierarchical feature representations. Transformer-based architectures, such as Swin Transformer, have demonstrated improved performance in vision tasks, yet their effectiveness in fine-grained insect classification remains constrained by cross-window communication inefficiencies and suboptimal hierarchical feature aggregation. This study proposes an enhanced Swin Transformer model incorporating a Token Fusion mechanism to address these limitations. The proposed Cross-Window Token Fusion (CWTF) facilitates feature propagation across non-overlapping windows, while Hierarchical Token Fusion (HTF) enhances multi-scale representation learning. Experimental evaluations on the IP102 dataset, a large-scale benchmark for insect classification, demonstrate that the proposed model outperforms CNN-based and standard Transformer-based models in classification accuracy while maintaining computational efficiency. The findings highlight Token Fusions effectiveness in strengthening feature interactions, thereby advancing the development of highly accurate and computationally efficient automated pest monitoring systems. This research contributes to the broader adoption of Transformer-based architectures in precision agriculture, enhancing real-time pest surveillance and sustainable crop management.

Applied and Computational EngineeringVol. 142(1)
UNSW Sydney (AU)
Openalex Percentile: Top 89%
Industrial Vision Systems and Defect Detection
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.

Optimizing Token Fusion Mechanisms in Swin Transformer for Improved Feature Representation and Fine-Grained Insect Classification — Qiming Li · Applied and Computational Engineering (2025) | TGRS Research Map | TGRS