Organizations: Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences · University of Science and Technology of China · South China University of Technology · Zhongke Hefei Institute of Technology Innovation Engineering
Agricultural pests threaten crop yield and quality, making accurate pest recognition essential for targeted management and sustainable agriculture. Their diverse appearances complicate recognition and motivate multimodal approaches incorporating complementary species knowledge from text. However, complex backgrounds can obscure discriminative visual cues, while textual descriptions may contain information unsupported by the current image, limiting effective cross-modal fusion. To address these challenges, we propose PestWeave, a multimodal framework connecting content-adaptive visual organization with text fusion through visual prototypes. Its visual pathway augments a Receptance Weighted Key Value (RWKV) architecture with semantic token grouping and three types of auxiliary tokens, enabling content-adaptive scanning and contextual modeling while preserving spatial structure. Feature-similar tokens are reordered into adjacent scanning positions, while cluster prototype, global, and register tokens provide group-level summaries, global context, and additional interaction capacity, respectively. These prototypes also guide text modulation by assessing visual support for semantic components and regulating their relative contributions and overall fusion strength, reducing interference from unsupported descriptions. Extensive experiments on multiple pest recognition datasets demonstrate the effectiveness of PestWeave and its potential for practical pest management.
Figures & tables
Figure 1: (a) Fixed spatial scanning may separate visually similar regions. (b) Saliency-guided adaptive scanning is susceptible to interference from salient background regions. (c) Our semantic scanning brings feature-similar regions into neighboring sequence positions while preserving the original spatial layout.
Figure 2: Overview of the proposed PestWeave framework. The visual branch integrates spatial modeling with semantic scanning and tri-token augmentation. Visual prototypes further guide evidence-aware text modulation, enabling adaptive vision-language fusion for fine-grained pest recognition.
Figure 3: Overview of the proposed evidence-guided text modulation module. Visual prototypes estimate the support for textual semantics, guiding evidence-weighted cross-attention and spatially gated text injection for adaptive vision-language fusion.
Li dataset
QianFSD
AgriInsect
Method
Acc.
Prec.
F1
GM
Acc.
Prec.
F1
GM
Acc.
Prec.
F1
GM
AlexNet [ 9 ]
60.80
59.50
59.42
60.57
54.87
55.95
54.87
46.64
64.14
65.16
64.33
62.31
VGG16 [ 29 ]
48.37
45.61
46.08
44.74
43.46
43.01
42.93
28.90
43.72
44.13
43.86
33.14
GoogLeNet [ 30 ]
54.89
53.87
54.26
54.44
48.76
50.21
49.15
46.91
52.19
53.72
52.74
52.92
ResNet-18 [ 5 ]
77.98
78.73
77.91
77.33
69.03
70.73
69.44
68.50
80.29
81.95
80.90
82.00
ResNet-50 [ 5 ]
71.48
71.74
71.15
69.58
68.09
69.74
68.68
67.12
80.34
81.68
80.74
82.91
Table 1: Quantitative comparison on three pest datasets. All metrics are percentages, with higher values indicating better performance.
Variant
Acc.
Prec.
F1
GM
(I) w/o Text Fusion
81.11
82.51
81.49
83.88
(II) Unit Text Weights
83.78
85.28
84.11
84.19
(III) w/o Semantic Correction
82.78
84.64
83.24
85.23
(IV) w/o Spherical Refinement
84.18
85.42
84.31
86.25
(V) w/o Tri-token Augmentation
84.85
86.36
85.18
87.62
(VI) w/o Null Option
85.11
86.28
85.33
87.75
Table 2: Ablation study of PestWeave on QianFSD. All metrics are reported as percentages.
Figure 4: Visualization of semantic clustering and content-adaptive token scanning order.
Figure 5: Visualization of prototype-supported textual evidence. (a) Learned semantic slots exhibit distinct support distributions over visual clusters. (b) Null-aware gating reduces the contribution of weakly supported semantic slots.
Effective pest recognition and management are crucial for sustainable agricultural development. However, collecting pest data in real scenarios is often challenging. Compared to other domains, pests exhibit a wide variety of species with complex and diverse morphological characteristics. Existing techniques struggle to effectively model the key visual and high-level semantic features of pests in a fine-grained manner. These limitations hinder the practical application of such methods in real agricultural scenarios. To address these critical challenges, we present a synergistic approach that integrates PestVL-Net, a novel vision-language framework, with two multi-species pest datasets to facilitate fine-grained pest learning. The visual pathway of PestVL-Net utilizes the Recurrent Weighted Key Value (RWKV) architecture, incorporating a saliency-guided adaptive window partitioning scheme to effectively model the fine-grained visual characteristics of pests. Concurrently, the linguistic component generates precise pest semantic descriptions by leveraging Multimodal Large Language Models (MLLMs) priors, critically informed by agricultural expert knowledge and structured via multimodal Chain-of-Thought (CoT) reasoning. The deep fusion of these complementary visual and textual representations enables fine-grained multimodal pest learning. Extensive experimental evaluations on multiple pest datasets validate the superior performance of PestVL-Net, highlighting its potential for effective real-world pest management.
Xueheng Li, Tao Hu, Ke Cao +5
Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences · University of Science and Technology of China · 3Zhongke Hefei Institute of Technology Innovation Engineering
Pest-induced crop losses pose a major threat to global food security and sustainable agricultural development. While recent advances in Multimodal Large Language Models (MLLMs) have shown strong potential for visual understanding and smart agriculture, their direct application to pest recognition remains limited due to the domain's unique challenges such as high inter-species complexity, intra-species variability, and the scarcity of expert-annotated data. In this work, we introduce Pest-Thinker, a knowledge-driven reinforcement learning (RL) framework that enables MLLMs to reason over fine-grained pest morphology. We first construct two high-definition pest benchmarks, QFSD and AgriInsect, comprising diverse species and expert-annotated morphological traits. Leveraging these datasets, we synthesize Chain-of-Thought (CoT) reasoning trajectories to facilitate structured learning of pest-specific visual cues through Supervised Fine-Tuning (SFT). Subsequently, we employ Group Relative Policy Optimization (GRPO) with a novel feature reward that guides the model to focus on observable morphological evidence, assessed by an LLM-as-a-Judge strategy. Extensive experiments demonstrate that Pest-Thinker substantially improves both in-domain and out-of-domain morphological understanding, marking a step toward expert-level visual reasoning for intelligent agricultural pest analysis. The datasets and source code are available upon acceptance.
Xueheng Li, Yu Wang, Tao Hu +6
Institute of Intelligent Machines, Hefei Institute of Physical Science, Chinese Academy of Sciences · University of Science and Technology of China · 4Hefei University of Technology +1
Automated animal identification is a practical task for reuniting lost pets with their owners, yet current systems often struggle due to limited dataset scale and reliance on unimodal visual cues. This study introduces a multimodal verification framework that enhances visual features with semantic identity priors derived from synthetic textual descriptions. We constructed a massive training corpus of 1.9 million photographs covering 695,091~unique animals to support this investigation. Through systematic ablation studies, we identified SigLIP2-Giant and E5-Small-v2 as the optimal vision and text backbones. We further evaluated fusion strategies ranging from simple concatenation to adaptive gating to determine the best method for integrating these modalities. Our proposed approach utilizes a gated fusion mechanism and achieved a Top-1 accuracy of 84.28% and an Equal Error Rate of 0.0422 on a comprehensive test protocol. These results represent an 11% improvement over leading unimodal baselines and demonstrate that integrating synthesized semantic descriptions significantly refines decision boundaries in large-scale pet re-identification.\\ Conference update. This work was accepted to the FGVC13 Workshop at CVPR 2026. We thank Vadim Ezhov and Nikolai Shcheglov for their help with the poster presentation and demonstration at the conference.
Vasiliy Kudryavtsev, Kirill Borodin, German Berezin +3
Faculty of IT, Technical University of Communication and Informatics, Moscow, Russia, 111024 · AI lab, Avito, Moscow, Russia, 125196