Related Experiment Video
Updated: Jul 6, 2026

At-Risk Butterfly Captive Propagation Programs to Enhance Life History Knowledge and Effective Ex Situ Conservation Techniques
Published on: February 11, 2020
Artificial intelligence correctly classifies developmental stages of monarch caterpillars enabling better
Naresh Neupane1, Rhea Goswami2, Kyle Harrison2
1Georgetown University, Washington, DC, USA. nn343@georgetown.edu.
Abstract:
Rapid technological advances and growing participation from amateur naturalists have made countless images of insects in their natural habitats available on global web portals. Despite advances in automated species identification, traits like developmental stage or health remain underexplored or manually annotated, with limited focus on automating these features. As a proof-of-concept, we developed a computer vision model utilizing the YOLOv5 algorithm to accurately detect monarch butterfly caterpillars in photographs and classify them into their five developmental stages (instars). The training data were obtained from the iNaturalist portal, and the photographs were first classified and annotated by experts to allow supervised training of models. Our best trained model demonstrates excellent performance on object detection, achieving a mean average precision score of 95% across all five instars. In terms of classification, the YOLOv5l version yielded the best performance, reaching 87% instar classification accuracy for all classes in the test set. Our approach and model show promise in developing detection and classification models for developmental stages for insects, a resource that can be used for large-scale mechanistic studies. These photos hold valuable untapped information, and we've released our annotated collection as an open dataset to support replication and expansion of our methods.

