Silk-based biomaterials and applicationsSilkworms and Sericulture ResearchNeurobiology and Insect Physiology Research

B.H. Gowramma, Dr.B. Poornima, Swetha Parvatha Reddy Chandrasekhara, Dr.M.S. Mrutyunjaya, Dr.Kusuma Lingaiah

2026.3.31Journal of Wireless Mobile Networks, Ubiquitous Computing, and Dependable Applications

DOI: 10.58346/jowua.2026.i1.053

Abstract

This research introduces AMF-ViT-CocoonNet, an Enhanced Vision Transformer with Attention-Based Multi-Scale Feature Fusion that achieves high-accuracy, non-invasive gender classification in silkworm cocoon datasets. Currently implemented hand-crafted and traditional machine learning methods are susceptible to luminance fluctuations and background distortions, resulting in low resilience in real-world conditions. While CNN-based models are effective at feature learning, they primarily focus on local receptive fields and often fail to capture the long-range spatial dependencies necessary for fine-grained gender discrimination. Vision Transformers model global context well and are less sensitive to low-level textures but often carry increased computational requirements. To overcome these shortcomings, the proposed architecture integrates hierarchical self-attention with an Improved Feed-Forward Network (IFFN), employing depth-wise separable convolutions and channel attention to retain local texture details. Moreover, the adaptive attention-guided multi-scale feature fusion mechanism combines discriminatory features at hierarchical levels while removing redundant information. The integration of token reduction ensures computational efficiency and reduces model complexity without sacrificing performance. The proposed model was evaluated on an updated dataset of 5,900 high-resolution images comprising CSR2 and CSR26 bivoltine breeds. Experimental results, validated through a 5-fold cross-validation framework, demonstrate that AMF-ViT-CocoonNet achieves a peak classification accuracy of 97.48%, with a precision of 97.20% and a recall of 97.30%. These results represent a significant improvement over baseline CNN architectures and traditional vision transformers, establishing a robust framework for automated, non-invasive cocoon sorting in the sericulture industry.

Citation format

GOWRAMMA, B.H., et al. Enhanced vision transformer and attention-based multi-scale feature fusion for high precision non-invasive gender classification in silkworm cocoon datasets. Journal of Wireless Mobile Networks, Ubiquitous Computing, and Dependable Applications, 2026, 17(1): 970–988.