Skip to main content
QUICK REVIEW

[Paper Review] Towards Zero-Shot Camera Trap Image Categorization

J Vyskočil, Lukáš Picek|arXiv (Cornell University)|Oct 16, 2024
Digital Media Forensic DetectionComputer Science3 citations
TL;DR

This paper proposes a hybrid zero-shot approach for camera trap image categorization using MegaDetector for object detection and two specialized classifiers (one for cropped animals, one for full images), achieving up to 75% relative error reduction on unseen locations. It further introduces a DINOv2-based retrieval method that matches supervised models with no fine-tuning, enabling robust, scalable deployment across new species and regions.

ABSTRACT

This paper describes the search for an alternative approach to the automatic categorization of camera trap images. First, we benchmark state-of-the-art classifiers using a single model for all images. Next, we evaluate methods combining MegaDetector with one or more classifiers and Segment Anything to assess their impact on reducing location-specific overfitting. Last, we propose and test two approaches using large language and foundational models, such as DINOv2, BioCLIP, BLIP, and ChatGPT, in a zero-shot scenario. Evaluation carried out on two publicly available datasets (WCT from New Zealand, CCT20 from the Southwestern US) and a private dataset (CEF from Central Europe) revealed that combining MegaDetector with two separate classifiers achieves the highest accuracy. This approach reduced the relative error of a single BEiTV2 classifier by approximately 42\% on CCT20, 48\% on CEF, and 75\% on WCT. Besides, as the background is removed, the error in terms of accuracy in new locations is reduced to half. The proposed zero-shot pipeline based on DINOv2 and FAISS achieved competitive results (1.0\% and 4.7\% smaller on CCT20, and CEF, respectively), which highlights the potential of zero-shot approaches for camera trap image categorization.

Motivation & Objective

  • To address the challenge of model overfitting to specific locations in camera trap image classification, especially when deploying models in new geographic regions.
  • To evaluate the feasibility of zero-shot approaches using foundational models like DINOv2, BioCLIP, BLIP, and ChatGPT for automatic categorization without fine-tuning.
  • To reduce reliance on supervised fine-tuning by leveraging object detection and segmentation to minimize background-related overfitting.
  • To compare the performance of traditional supervised classifiers with emerging zero-shot retrieval and multi-modal methods in cross-location and cross-species scenarios.

Proposed method

  • Uses MegaDetector to detect and crop animals from raw camera trap images, reducing background-related overfitting.
  • Employs two separate fine-tuned BEiTV2 classifiers: one for cropped animal regions and one for full images, with classification decisions based on MegaDetector output.
  • Applies Segment Anything Model (SAM) for instance segmentation to further isolate animals and reduce background interference.
  • Tests a zero-shot retrieval pipeline using DINOv2 features and FAISS for approximate nearest neighbor search, leveraging class centroids for inference.
  • Evaluates multi-modal models (BLIP, ChatGPT) for zero-shot image classification by prompting with text descriptions of species.
  • Uses cosine similarity and L2 norm with k-NN for retrieval-based classification, with ablation studies on k and similarity metrics.
Figure 1 : Four baseline approaches illustration. (a) Standard image classification approach where images are resized and fed to a trained image classifier. (b) A more recent two-stage approach with object detection before the classification. This approach can suffer from missing reject options for
Figure 1 : Four baseline approaches illustration. (a) Standard image classification approach where images are resized and fed to a trained image classifier. (b) A more recent two-stage approach with object detection before the classification. This approach can suffer from missing reject options for

Experimental results

Research questions

  • RQ1Can combining MegaDetector with dual classifiers (cropped and full-image) significantly reduce location-specific overfitting compared to single-model approaches?
  • RQ2How effective are zero-shot methods based on DINOv2 and FAISS retrieval for camera trap image categorization across unseen locations and species?
  • RQ3Why do multi-modal models like BLIP and ChatGPT underperform on camera trap images despite strong performance in other vision-language tasks?
  • RQ4To what extent does background removal via detection and segmentation improve generalization to new geographic regions?
  • RQ5Can retrieval-based classification using DINOv2 features match or exceed the performance of fine-tuned models while eliminating the need for fine-tuning?

Key findings

  • The combination of MegaDetector with two fine-tuned BEiTV2 classifiers reduced relative error by 42% on CCT20, 48% on CEF22, and 75% on WCT, significantly outperforming single-model baselines.
  • The DINOv2-based retrieval method achieved Top-1 accuracy of 83.2% on CCT20 and 87.5% on CEF22, trailing the best supervised method by only 1.0 and 4.7 percentage points, respectively.
  • Background removal via MegaDetector and SAM reduced location-specific error by approximately half, demonstrating the importance of minimizing background interference.
  • Multi-modal models like BLIP and ChatGPT performed poorly on camera trap data, likely due to their design focus on natural language and captioning rather than visual recognition.
  • The DINOv2 retrieval pipeline enabled zero-shot deployment with no fine-tuning, allowing new species or locations to be added by simply adding a few samples to the database.
  • The ablation study showed that 3-NN with cosine similarity on DINOv2 features yielded the best performance, with 87.7% accuracy on CEF22, while k=10 performed best on KGA (83.4%)
Figure 2 : Zero-shot segmentation with Segment Anything . Random samples from CCT20 datasets are processed by MegaDetector, and resulting detections are fed into SAM. Even with the poor quality of the data, the zero-shot segmentation performs relatively well across a wide range of species. However,
Figure 2 : Zero-shot segmentation with Segment Anything . Random samples from CCT20 datasets are processed by MegaDetector, and resulting detections are fed into SAM. Even with the poor quality of the data, the zero-shot segmentation performs relatively well across a wide range of species. However,

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.