Applying machine learning to investigate long-term insect-plant interactions preserved on digitized herbarium specimens.

Journal Article (Journal Article)


Despite the economic significance of insect damage to plants (i.e., herbivory), long-term data documenting changes in herbivory are limited. Millions of pressed plant specimens are now available online and can be used to collect big data on plant-insect interactions during the Anthropocene.


We initiated development of machine learning methods to automate extraction of herbivory data from herbarium specimens by training an insect damage detector and a damage type classifier on two distantly related plant species (Quercus bicolor and Onoclea sensibilis ). We experimented with (1) classifying six types of herbivory and two control categories of undamaged leaf, and (2) detecting two of the damage categories for which several hundred annotations were available.


Damage detection results were mixed, with a mean average precision of 45% in the simultaneous detection and classification of two types of damage. However, damage classification on hand-drawn boxes identified the correct type of herbivory 81.5% of the time in eight categories. The damage classifier was accurate for categories with 100 or more test samples.


These tools are a promising first step for the automation of herbivory data collection. We describe ongoing efforts to increase the accuracy of these models, allowing researchers to extract similar data and apply them to biological hypotheses.

Full Text

Duke Authors

Cited Authors

  • Meineke, EK; Tomasi, C; Yuan, S; Pryer, KM

Published Date

  • June 2020

Published In

Volume / Issue

  • 8 / 6

Start / End Page

  • e11369 -

PubMed ID

  • 32626611

Pubmed Central ID

  • PMC7328658

Electronic International Standard Serial Number (EISSN)

  • 2168-0450

International Standard Serial Number (ISSN)

  • 2168-0450

Digital Object Identifier (DOI)

  • 10.1002/aps3.11369


  • eng