Pest detection in dynamic environments: an adaptive continual test-time domain adaptation strategy

Pest management is essential for agricultural production and food security, as pests can cause significant crop losses and economic impact. Early pest detection is key to timely intervention. While object detection models perform well on various datasets, they assume i.i.d. data, which is often not the case in diverse real-world environments, leading to decreased accuracy. To solve the problem, we propose the CrossDomain-PestDetect (CDPD) method, which is based on the YOLOv9 model and incorporates a test-time adaptation (TTA) framework. CDPD includes Dynamic Data Augmentation (DynamicDA), a Dynamic Adaptive Gate (DAG), and a Multi-Task Dynamic Adaptation Model (MT-DAM). Our DynamicDA enhances images for each batch by combining strong and weak augmentations. The MT-DAM integrates an object detection model with an image segmentation model, exchanging information through feature fusion at the feature extraction layer. During testing, test-time adaptation updates both models, continuing feature fusion during forward propagation. DAG adaptively controls the degree of feature fusion to improve detection capabilities. Self-supervised learning enables the model to adapt during testing to changing environments. Experiments show that without test-time adaptation, our method achieved a 7.6% increase in mAP50 over the baseline in the original environment and a 16.1% increase in the target environment. Finally, with test-time adaptation, the mAP50 score in the unseen target environment reaches 73.8%, which is a significant improvement over the baseline.

Authors

Institutions

Publication Details

Journal
Plant Methods
Published
2025-04-23
DOI
https://doi.org/10.1186/s13007-025-01371-y
Citations
5
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
8.75

Funders

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

Pest detection in dynamic environments: an adaptive continual test-time domain adaptation strategy

Mohammed Abdulhakim Al-Absi, Rui Fu, Mingqing Dong, Ling Xiao et al.
5 citations
Plant Methods
Smart Agriculture and AI
8.75
article

Pest detection in dynamic environments: an adaptive continual test-time domain adaptation strategy

Mohammed Abdulhakim Al-Absi, Rui Fu, Mingqing Dong, Ling Xiao, Hao Sun, Cheng Qian, Xuewei Wang, Kaijie Zhang, Ye Li, Shiyu Wang
article en
5 citations

Abstract

Pest management is essential for agricultural production and food security, as pests can cause significant crop losses and economic impact. Early pest detection is key to timely intervention. While object detection models perform well on various datasets, they assume i.i.d. data, which is often not the case in diverse real-world environments, leading to decreased accuracy. To solve the problem, we propose the CrossDomain-PestDetect (CDPD) method, which is based on the YOLOv9 model and incorporates a test-time adaptation (TTA) framework. CDPD includes Dynamic Data Augmentation (DynamicDA), a Dynamic Adaptive Gate (DAG), and a Multi-Task Dynamic Adaptation Model (MT-DAM). Our DynamicDA enhances images for each batch by combining strong and weak augmentations. The MT-DAM integrates an object detection model with an image segmentation model, exchanging information through feature fusion at the feature extraction layer. During testing, test-time adaptation updates both models, continuing feature fusion during forward propagation. DAG adaptively controls the degree of feature fusion to improve detection capabilities. Self-supervised learning enables the model to adapt during testing to changing environments. Experiments show that without test-time adaptation, our method achieved a 7.6% increase in mAP50 over the baseline in the original environment and a 16.1% increase in the target environment. Finally, with test-time adaptation, the mAP50 score in the unseen target environment reaches 73.8%, which is a significant improvement over the baseline.

Plant MethodsVol. 21(1)
Beijing Institute of Technology (CN), Sichuan University (CN), Sichuan International Studies University (CN), Kyungdong University (KR), Weifang University of Science and Technology (CN), Science and Technology Department of Sichuan Province (CN), Southwest Jiaotong University (CN), Weifang University (CN)
Natural Science Foundation of Shandong Province, Weifang University of Science and Technology, Key Technology Research and Development Program of Shandong
Zero hunger
Openalex Percentile: Top 3%
Smart Agriculture and AI
8.75
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.