An Efficient Insect Pest Classification Using Multiple Convolutional Neural Network Based Models

Hieu Trung Ung, Quang Huy Ung, Trung T. Nguyen, Binh T. NguyenSoMeT 2021

TL;DR

This paper tackles the challenging task of automatically identifying insect pests from images, a crucial step for crop protection and reducing agricultural losses. The authors propose an ensemble of advanced Convolutional Neural Network (CNN) models, including attention, feature pyramid, and fine-grained classification techniques, to achieve state-of-the-art accuracy on challenging public datasets.

What Problem Does This Paper Address?

Accurate and timely identification of insect pests is vital for protecting crops and preventing economic losses in agriculture. Manual identification is slow, labor-intensive, and expensive. While traditional computer vision methods struggle with the inherent complexities of insect imagery—such as variations in scale, shape, intricate backgrounds, and high visual similarity between species—deep learning, particularly CNNs, offers a promising avenue. This paper aims to develop a robust and efficient CNN-based system for insect pest classification that overcomes these challenges.

Methods

The authors propose a multi-pronged approach leveraging several advanced CNN architectures:

  • Attention Mechanism (RAN): To help the network focus on the relevant insect regions within complex backgrounds (leaves, soil, etc.), they employ Residual Attention Networks (RAN). This allows the model to learn attention-aware features.
  • Feature Pyramid Networks (FPN): To address the issue of varying insect scales within images, they integrate Feature Pyramid Networks (FPN). FPN efficiently constructs a pyramid of features at different resolutions, enabling better detection of both small and large objects.
  • Fine-Grained Classification (MMAL-Net): To tackle the high inter-species similarity, they utilize Multi-Branch and Multi-Scale Attention Networks (MMAL-Net). This approach is designed to capture subtle, discriminative details within an object, similar to how fine-grained classification works for visually similar categories like bird breeds or car models.
  • Ensemble Method: Finally, to further boost performance and robustness, they combine the predictions of the individual models (RAN, FPN, MMAL-Net, and a baseline ResNet-50) using a soft-voting ensemble technique. This approach leverages the strengths of multiple models to achieve a more accurate and generalized prediction.

Datasets

The proposed models were evaluated on two public datasets:

  • IP102: A large-scale benchmark dataset containing over 75,000 images across 102 insect pest species. This dataset presents significant challenges due to high intra-class variance, images of damaged crops, small insects on noisy backgrounds, and class imbalance.
  • D0: A smaller dataset with 4,508 images of 40 insect pest species, captured in natural environments.

Key Insights and Ideas

  • Ensembling is Key: The paper strongly suggests that combining multiple specialized CNN architectures (attention, FPN, fine-grained) through ensembling is crucial for achieving superior performance on complex insect pest classification tasks.
  • Addressing Specific Challenges: Each proposed method (RAN, FPN, MMAL-Net) directly targets a known difficulty in insect pest recognition: RAN for background clutter, FPN for scale variation, and MMAL-Net for fine-grained discrimination of similar species.
  • Fine-Grained Techniques Transfer: The successful application of MMAL-Net, originally designed for fine-grained classification, highlights its potential for tasks with high inter-class visual similarity, like distinguishing between closely related insect species.
  • Code Release for Community: The authors' decision to publish their code aims to foster further research and development in this important area.

Key Results

The ensemble model achieved state-of-the-art results on both datasets:

  • IP102: The highest accuracy achieved was 74.13%, surpassing the previous state-of-the-art of 67.1%.
  • D0: The highest accuracy achieved was 99.78%, significantly outperforming the previous state-of-the-art of 98.8%.

Individually, MMAL-Net demonstrated strong performance, often outperforming the baseline ResNet-50 and other individual models. The ensemble model consistently yielded the best results across various metrics (MPre, MRec, MF1, Acc, GM).

Limitations and Future Work

  • RAN Initialization: The paper notes that RAN performed worse on the D0 dataset, potentially due to its weights not being initialized with a pre-trained ResNet-50, unlike FPN and MMAL-Net. This suggests that leveraging pre-trained models is beneficial for RAN as well.
  • Minor Class Performance: While MMAL-Net achieved high overall accuracy, its Geometric Mean (GM) score on IP102 was slightly lower than FPN and ResNet-50, indicating that its predictions for minor classes might be less accurate.
  • Future Directions: The authors express interest in exploring other CNN variants and applying more advanced data augmentation techniques to further improve insect pest classification.

Summary updated

BibTeX
@misc{ung2021efficient,
  author = {Hieu Trung Ung and Quang Huy Ung and Trung T. Nguyen and Binh T. Nguyen},
  title = {{An Efficient Insect Pest Classification Using Multiple Convolutional Neural Network Based Models}},
  year = {2021},
  eprint = {2107.12189},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.12189},
}
Figure