AnimalWeb: A Large-Scale Hierarchical Dataset of Annotated Animal Faces

Muhammad Haris Khan, John McDonagh, Salman H. Khan, Muhammad Shahabuddin, Aditya Arora, Fahad Shahbaz Khan, Ling Shao, Georgios Tzimiropoulos

TL;DR

This paper introduces AnimalWeb, the first large-scale, hierarchical dataset of annotated animal faces, featuring 22.4K images from 350 species. By providing a diverse, in-the-wild dataset, AnimalWeb aims to bridge the significant gap in automatic animal facial understanding, paving the way for improved animal welfare and novel computer vision algorithms.

What Problem Does This Paper Address?

While human face analysis has seen tremendous progress, the automatic understanding of animal facial expressions and features remains largely unexplored. This gap hinders our ability to interpret animal needs, which are often communicated through their faces, impacting animal welfare in various settings like labs, farms, and homes. Existing research on animal faces is limited by a lack of comprehensive, annotated datasets that capture the diversity of species and real-world conditions. This makes it difficult to develop robust algorithms for tasks like facial landmark detection, expression recognition, and species identification in animals.

Methods

The creation of AnimalWeb involved a four-stage process:

  • Image Collection: A taxonomic framework was developed to guide the structured collection of images. The team focused on vertebrates, specifically mammals, and curated images from Flickr, aiming for 200-250 images per genus-species to ensure biodiversity. A team of volunteers collected approximately 25K candidate images, followed by a visual filtering step to remove duplicates.
  • Workflow Development: To manage the annotation process, the researchers leveraged the Zooniverse citizen science platform. A user-friendly interface (workflow) was designed for annotating 9 key facial landmarks. This workflow included clear instructions, an action plan for ambiguities, and was rigorously tested by experts.
  • Facial Point Annotation: The Zooniverse platform was used to gather annotations from a large pool of volunteers. Each face was annotated by at least five different volunteers to improve accuracy, with the median value of these annotations being taken. This stage involved a significant effort of approximately 5408 man-hours.
  • Refining Annotations: A small team of trained volunteers, supervised by an expert, refined the initial annotations. This involved two passes: first, correcting major errors like point ordering and ensuring consistency across species, and second, achieving pixel-perfect annotations through cross-annotator review. This refinement process took around 986 man-hours.

Datasets

  • AnimalWeb: The primary contribution is the introduction of the AnimalWeb dataset itself. It contains 22.4K annotated animal faces from 350 diverse species across 21 animal orders. The faces are captured in "in-the-wild" conditions and annotated with 9 facial landmarks.
  • For Benchmarking: The paper uses existing human face alignment datasets for comparison, including:
  • 300W (common, full, challenging, private)
    • AFLW2000-3D
    • COFW
    • WIDER Face (for face detection)
    • CUB-200-2011 and Stanford Dogs (for fine-grained recognition)

Key Insights and Ideas

  • The "Animal Face Gap": The paper clearly articulates the significant disparity in research and dataset availability between human and animal face analysis.
  • Hierarchical Structure: The dataset's hierarchical organization, mirroring biological taxonomy, is a novel approach that allows for more structured analysis and potential for transfer learning across related species.
  • "In-the-Wild" Diversity: Emphasizing the collection of faces under real-world conditions (varying poses, scales, lighting, and expressions) is crucial for developing robust, generalizable algorithms.
  • Two Novel Evaluation Settings: The introduction of "Known Species Evaluation" (few-shot) and "Unknown Species Evaluation" (zero-shot) for face alignment provides more realistic and challenging benchmarks for assessing algorithm adaptability.
  • Multi-Task Potential: The dataset is designed to support not only face alignment but also face detection and fine-grained species recognition, highlighting its versatility.

Key Results

  • Face Alignment: State-of-the-art human face alignment methods, when tested on AnimalWeb, show a significant performance drop compared to their performance on human datasets. For instance, the NME difference between COFW and AnimalWeb (known species) is about 1 unit. This underscores the challenging nature of AnimalWeb and the need for specialized algorithms.
  • Face Detection: Using a Faster R-CNN baseline, the performance on AnimalWeb's face detection task is comparable to the "medium" protocol of the challenging WIDER Face dataset, indicating room for improvement.
  • Fine-Grained Recognition: ResNet models achieve competitive top-1 accuracies on AnimalWeb, comparable to or even exceeding performance on datasets like CUB-200-2011 and Stanford Dogs, suggesting the dataset is well-suited for fine-grained classification tasks.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while AnimalWeb is large-scale, the number of faces per species varies significantly, leading to class imbalance.
  • Current SOTA methods for human face alignment underperform on AnimalWeb, especially in "unknown species" evaluation settings, highlighting the difficulty of generalizing to unseen species.
  • The dataset is primarily sourced from the internet, which might introduce certain biases.
  • Future Work:
    • The authors suggest that AnimalWeb provides a strong experimental base for developing novel, adaptive, and generalized face-oriented CV algorithms.
  • The "zero-shot face alignment" setting specifically points towards the need for algorithms that can robustly handle unseen facial appearances.
  • Further exploration of multi-task applications beyond the demonstrated ones is encouraged.
  • The dataset's potential for studying animal expressions and emotions is highlighted as a significant avenue for future research.

Summary updated

BibTeX
@inproceedings{khan2019animalweb,
  author = {Muhammad Haris Khan and John McDonagh and Salman H. Khan and Muhammad Shahabuddin and Aditya Arora and Fahad Shahbaz Khan and Ling Shao and Georgios Tzimiropoulos},
  title = {{AnimalWeb: A Large-Scale Hierarchical Dataset of Annotated Animal Faces}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr42600.2020.00697},
}
Figure