IP102: A Large-Scale Benchmark Dataset for Insect Pest Recognition

Xiaoping Wu, Chi Zhan, Yu-Kun Lai, Ming-Ming Cheng, Jufeng Yang

Abstract

Automated insect pest recognition is critical for global food security, yet progress has been hindered by the lack of large-scale, diverse, and professionally annotated datasets. This paper introduces IP102, a benchmark dataset containing over 75,000 images across 102 categories. IP102 bridges the gap between laboratory-controlled computer vision and real-world agricultural environments by providing a hierarchical taxonomy, object detection annotations, and images capturing the full life cycle of pests.

Introduction

Insect pests pose a significant threat to agriculture, leading to substantial economic losses and food instability. While deep learning has transformed general image recognition, its application to agricultural pest management remains challenging. Existing datasets are often small, collected in controlled settings, or limited in species diversity.

Real-world pest identification is a "fine-grained" classification problem characterized by low inter-class variance (different species looking similar) and high intra-class variance (a single species appearing differently across life stages). The IP102 dataset addresses these issues by offering a massive, "in-the-wild" benchmark for the research community.

Dataset and Methodology

The construction of IP102 involved a rigorous four-stage pipeline: establishing a taxonomic system with agricultural experts, scraping over 300,000 candidate images, preliminary filtering by volunteers, and final professional annotation. An image was only included if at least five out of eight experts agreed on its classification.

Hierarchical taxonomy of the IP102 dataset, organized by crop types and pest species.

The resulting dataset features 75,222 images, roughly 14 times larger than previous efforts. It is organized into a hierarchical structure: Field/Economic Crops $\rightarrow$ Super-classes (e.g., Rice, Corn, Citrus) $\rightarrow$ 102 Sub-classes (species). Furthermore, 18,983 images include bounding box annotations for object detection tasks. The dataset also reflects a natural "long-tailed" distribution, mirroring the ecological reality where certain pests are more prevalent than others.

Key Insights: The Life Cycle Challenge

A unique feature of IP102 is the inclusion of pests at various life stages—eggs, larvae, pupae, and adults. This introduces significant intra-class variance, as a model must recognize that a caterpillar and its corresponding moth belong to the same category.

Examples of insect pests at different life stages and the resulting crop damage.

Baseline evaluations revealed that texture-based features often outperform color-based ones, likely because pests evolve to camouflage with their host plants. Additionally, the cluttered backgrounds found in "wild" images make localization a critical step before classification.

Experimental Results

The authors established baselines using both handcrafted features (SIFT, SURF, Gabor) and deep learning models (AlexNet, VGGNet, ResNet). Deep learning significantly outperformed traditional methods, with ResNet-50 achieving the highest classification accuracy of 49.48%.

While 49.48% is lower than standard ImageNet benchmarks, it underscores the extreme difficulty of fine-grained recognition in agricultural settings. For object detection, the Feature Pyramid Network (FPN) achieved an Average Precision (AP) of 28.10. Results also showed that models perform better at the "super-class" level (identifying the affected crop) than at the specific species level.

Conclusion

IP102 provides a much-needed foundation for automated pest recognition. The relatively low baseline accuracies suggest that standard CNN architectures require adaptation for the high variance and hierarchical nature of agricultural data. Future research may focus on imbalanced learning for rare species and the integration of temporal or environmental metadata to improve disambiguation.

Summary updated

BibTeX
@inproceedings{wu2019ip,
  author = {Xiaoping Wu and Chi Zhan and Yu-Kun Lai and Ming-Ming Cheng and Jufeng Yang},
  title = {{IP102: A Large-Scale Benchmark Dataset for Insect Pest Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00899},
}
Figure