Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning

Mohammad Sadegh Norouzzadeh, Anh Nguyen, Margaret Kosmala, Alexandra Swanson, Meredith S. Palmer, Craig Packer, Jeff CluneProc. Natl. Acad. Sci. USA 2018

TL;DR

This paper introduces a deep learning system capable of automatically identifying, counting, and describing the behaviors of 48 wild animal species from camera trap images. By achieving near-human accuracy and significantly reducing manual labeling effort, this work promises to revolutionize wildlife ecology and conservation by making vast datasets of animal behavior readily accessible.

What Problem Does This Paper Address?

Understanding the intricate dynamics of natural ecosystems and effectively managing wildlife populations hinges on having detailed, large-scale information about animal presence, numbers, and behaviors. Camera traps have become an invaluable tool for collecting this data, capturing millions of images unobtrusively. However, the manual process of analyzing these images is incredibly time-consuming and costly, leading to a significant portion of this valuable data remaining untapped. This bottleneck hinders scientific research, conservation efforts, and ecological management. The paper addresses this by proposing an automated solution to extract this crucial information from camera trap imagery.

Methods

The core of this research lies in applying deep convolutional neural networks (CNNs) to automate the analysis of camera trap images. The authors trained CNNs on a massive dataset to perform several tasks:

  • Detection: Identifying whether an image contains an animal or is empty.
  • Identification: Classifying the species of the animal present.
  • Counting: Estimating the number of individuals of a species.
  • Description: Recognizing animal behaviors (e.g., standing, resting, eating) and the presence of young.

They employed a two-stage pipeline: first, a network filters out empty images, and then a second stage extracts detailed information from images containing animals. To improve robustness and accuracy, they utilized an ensemble of multiple trained CNN models. They also explored techniques to handle class imbalance, a common issue in ecological datasets where some species are far more prevalent than others.

Datasets

The primary dataset used in this research is the Snapshot Serengeti (SS) dataset. This dataset comprises:

  • 3.2 million images from 225 camera traps deployed in Serengeti National Park, Tanzania.
  • Images cover 48 different species.
  • Labels were provided by a large community of citizen scientists (approximately 28,000 registered and 40,000 unregistered volunteers) and a smaller set of expert-provided labels for a subset of the data.

The authors also mention using the ImageNet dataset for transfer learning experiments, though they found it did not significantly improve performance for this specific task.

Key Insights and Ideas

  • Deep Learning's Power for Ecology: The study demonstrates that deep learning, a cutting-edge AI technique, can effectively automate complex tasks in ecological data analysis, previously requiring extensive human effort.
  • Efficiency Gains are Monumental: The automated system can save an estimated 8.4 years of human labeling effort (over 17,000 hours) for the analyzed dataset, freeing up researchers for higher-level scientific tasks.
  • Confidence Thresholding is Key: By only processing images where the model is highly confident, the system can achieve near-human accuracy on a vast majority of the data (99.3%), while still flagging challenging images for human review.
  • Class Imbalance is a Major Hurdle: The significant imbalance in species representation within the dataset poses a challenge, leading to poor performance on rare species. The authors explored methods like weighted loss, oversampling, and emphasis sampling to mitigate this.
  • Ensemble Models Outperform Single Models: Combining predictions from multiple trained CNNs consistently yielded better results across all tasks.

Key Results

  • Animal Identification Accuracy: The system achieves over 93.8% accuracy in identifying animals. When confidence thresholds are applied, the system can automate animal identification for 99.3% of the data at 96.6% accuracy, matching human volunteer performance.
  • Counting Accuracy: The ensemble model achieved 63.1% top-1 accuracy and 84.7% of predictions within +/- 1 bin for counting animals.
  • Behavior Description Accuracy: For additional attributes (behaviors, presence of young), the ensemble model achieved 76.2% accuracy, 86.1% precision, and 81.1% recall.
  • Time Savings: The system is estimated to save over 17,000 hours of human labor for the 3.2 million image dataset.
  • Handling Rare Classes: While baseline performance on rare classes was very low (near 0%), methods like weighted loss and emphasis sampling showed improvements, boosting accuracy for species like rhinoceros and zorilla.

Limitations and Future Work

  • Performance on Rare Classes: Despite efforts, performance on extremely rare species remains a challenge.
  • Transfer Learning Effectiveness: Transfer learning from ImageNet did not yield significant improvements, suggesting the need for more domain-specific pre-training or different transfer learning strategies.
  • Multi-Species Images: The current work primarily focuses on images with a single species. Extending the system to handle images with multiple animals is a promising area for future research.
  • Hybrid Systems: Further investigation is needed to quantify the exact time savings and accuracy impacts of hybrid systems that combine deep learning with human volunteers.
  • Transfer Learning for Scarce Data: Developing effective transfer learning methods for camera trap projects with limited labeled data is a crucial next step.

Summary updated

BibTeX
@inproceedings{norouzzadeh2018automatically,
  author = {Mohammad Sadegh Norouzzadeh and Anh Nguyen and Margaret Kosmala and Alexandra Swanson and Meredith S. Palmer and Craig Packer and Jeff Clune},
  title = {{Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning}},
  booktitle = {Proc. Natl. Acad. Sci. USA},
  year = {2018},
  url = {https://openreview.net/forum?id=gcODeFoVDw},
}
Figure