Unsustainable trade in wildlife is one of the major threats affecting the global biodiversity crisis. An important part of the trade now occurs on the internet, especially on digital marketplaces and social media. Automated methods to identify trade posts are needed as resources for conservation are limited. Here, we developed machine vision models based on Deep Neural Networks with the aim to automatically identify images of exotic pet animals for sale. A new training dataset representing exotic pet animals advertised for sale on the web was generated for this purpose. We trained 24 neural-net models spanning a combination of five different architectures, three methods of training and two types of datasets. Specifically, model generalisation improved after setting a portion of the training images to represent negative features. Models were evaluated on both within and out of distribution data to test wider model applicability. The top performing models achieved an f-score of over 0.95 on within distribution evaluation and between 0.75 to 0.87 on the two out of distribution datasets. Notably, feature visualisation indicated that models performed well in detecting the surrounding context (e.g. a cage) in which an animal was located, therefore helping to automatically detect images of animals in non-natural environments. The proposed methods can help investigate the online wildlife trade, but can also be adapted to study other types of people-nature interactions from digital platforms. Future studies can use these findings to build robust machine learning models and new data collection pipelines for more taxonomic groups.
翻译:野生生物的不可持续贸易是影响全球生物多样性危机的主要威胁之一。目前,在互联网上,特别是在数字市场和社交媒体上,这一贸易的一个重要部分正在发生。需要自动确定贸易职位的方法,因为保护资源有限。在这里,我们开发了基于深神经网络的机器愿景模型,目的是自动识别供销售的外来宠物图像。为此产生了一个新的培训数据集,代表了在网络上广告出售的外来宠物。我们培训了24个神经网模型,这些模型涵盖五种不同的结构、三种培训方法和两种数据集的组合。具体地说,在设定部分培训图像以体现负面特征之后,模型的概括化得到了改进。对模型进行了内部和外部分配数据的评估,以测试更广泛的模型适用性。最先进的模型在分销评价中实现了超过0.95的峰值,在两种分销数据集中实现了0.75到0.87到0.87到0.87之间。特别的可视觉可视化显示模型在探测周围环境(例如笼子)方面表现良好。动物所在的机械化模型,因此有助于自动检测非自然环境中的动物贸易图象,因此也可以进行在线研究。