Deep learning-based hierarchical insect classification using camera trap imagery

Zaki Mahfoud, Juan A. Chiavassa, Simon Walther, Florian Haselbeck, Ehsan Yaghoubi
7/30/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Declining insect populations make reliable biodiversity monitoring increasingly urgent, yet monitoring of insect biodiversity is hampered by a lack of standardised data and by costly and time-consuming manual identification by expert entomologists. Deep learning-based image classifiers, processing data from automated non-lethal camera traps, have the potential to transform and scale insect biodiversity monitoring. However, challenges remain in acquiring expert-annotated datasets, developing model architectures that generalise well across diverse taxonomic levels and training models on highly imbalanced data. Hierarchical data also benefits from designing models that default to higher-confidence, coarser-level predictions, when uncertain about finer taxonomic levels. In this paper we address these challenges with a deep learning-based hierarchical classification model. First, we present a manually curated, long-tailed dataset of around one million images of insects, extracted from 1,801 camera-trap video recordings and annotated with a five-level, 34-class hierarchy. Further, we adapt a hierarchical classification model architecture to a five-level variable-depth hierarchy, with class-balanced weighting. Our model improves on non-hierarchical classifiers by leveraging biological taxonomy to extract granularity-specific visual features and makes hierarchy-consistent predictions to the deepest taxonomic level that meets a confidence threshold (T = 0.6). Our model achieved a per-level accuracy of 80-99% on test data, across five levels of hierarchy. Furthermore ...

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mahfoud2026deep,
  title  = {Deep learning-based hierarchical insect classification using camera trap imagery},
  author = {Zaki Mahfoud and Juan A. Chiavassa and Simon Walther and Florian Haselbeck and Ehsan Yaghoubi},
  year   = {2026},
  eprint = {2607.28005},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.28005v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.28005.svg)](https://codeofpaper.com/paper/2607.28005)

Discussion