PestOOD: An AI-Enabled Solution for Advancing Grain Security via Out-of-Distribution Pest Detection
Detecting stored-grain pests on the surface of the grain pile plays an important role in integrated pest management (IPM), which is crucial for grain security. Recently, numerous deep learning-based pest detection methods have been proposed. However, a critical limitation of existing methods is their inability to detect out-of-distribution (OOD) categories that are unseen during training. When encountering such objects, these methods often misclassify them as in-distribution (ID) categories. To address this challenge, we propose a one-stage framework named PestOOD for out-of-distribution stored-grain pest detection via flow-based feature reconstruction. Specifically, we propose a novel Flow-Based OOD Feature Generation (FOFG) module that generates OOD features for detector training via feature reconstruction. This helps the detector learn to recognize OOD objects more effectively. Additionally, to prevent network overfitting that may lead to an excessive focus on ID feature extraction, we propose a Noisy DropBlock (NDB) module and integrate it into the backbone network. Finally, to ensure effective network convergence, a Stage-Wise Training Strategy (STS) is proposed. We conducted extensive experiments on our previously established multi-class stored-grain pest dataset. The results show that our proposed PestOOD demonstrates superior performance over state-of-the-art methods, providing an effective AI-enabled solution to ensure grain security.
Authors
- Jida Tian (ORCID: https://orcid.org/0000-0003-4272-3381)
- Jiangtao Li (ORCID: https://orcid.org/0000-0003-2005-472X)
- Chuanyang Ma
- Huiling Zhou (ORCID: https://orcid.org/0000-0002-1224-3339)
Institutions
- Beijing University of Posts and Telecommunications (CN)
Publication Details
- Journal
- Electronics
- Published
- 2025-07-18
- DOI
- https://doi.org/10.3390/electronics14142868
- Citations
- 1
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 1.75
Funders
- Beijing Municipal Science and Technology Commission