PetFace: A Large-Scale Dataset and Benchmark for Animal Identification

*These authors contributed equally to this work.

1Kyoto University, 2The University of Tokyo
ECCV 2024 Oral, Strong Accept×3
PetFace dataset examples: face images of cat, chimpanzee, chinchilla, degu, dog, ferret, guinea pig, hamster, hedgehog, parakeet, Java sparrow, pig, and rabbit, with four images per individual


We introduce a large-scale animal face re-identification dataset PetFace that include 257,484 unique individuals across 13 families and 319 breeds. From the left, the images represent Cat, Chimpanzee, Chinchilla, Degus, Dog, Ferret, Guinea pig, Hamster, Hedgehog, Parakeet, Java sparrow, Pig, and Rabbit. The four images enclosed within the white square's grid lines represent the same identity.

Abstract

Automated animal face identification plays a crucial role in the monitoring of behaviors, conducting of surveys, and finding of lost animals. Despite the advancements in human face identification, the lack of datasets and benchmarks in the animal domain has impeded progress. In this paper, we introduce the PetFace dataset, a comprehensive resource for animal face identification encompassing 257,484 unique individuals across 13 animal families and 319 breed categories, including both experimental and pet animals. This large-scale collection of individuals facilitates the investigation of unseen animal face verification, an area that has not been sufficiently explored in existing datasets due to the limited number of individuals. Moreover, PetFace also has fine-grained annotations such as sex, breed, color, and pattern. The models trained on our dataset outperform those trained on prior datasets, even for detailed breed variations and unseen animal families. Our result also indicates that there is some room to improve the performance of integrated identification on multiple animal families. We hope the PetFace dataset will facilitate animal face identification and encourage the development of non-invasive animal automatic identification methods.

Video

Dataset distribution

Each figure represents (a) the number of individuals in each animal family. (b) the sex distribution percentage by animal family. (c) examples of breed annotations. (d) examples of color annotations.

PetFace dataset statistics: number of individuals and sex distribution per animal family, with breed and color annotation examples

Benchmarks on PetFace

Result on animal re-identification

ArcFace outperforms the other loss functions. The jointly trained model on our PetFace shows the best average top-1 accuracy.

Table of animal face re-identification top-1 accuracy on PetFace for 13 animal families with Softmax, Center, and ArcFace losses

Result on animal verification

Jointly trained on our PetFace shows the best performance. We also compared to the trained models on other dataset.

Table of animal face verification AUC on PetFace for 13 animal families, compared with ImageNet, CLIP, and MegaDescriptor models

Similarity distributions of (a) CLIP, (b) MegaDescriptor, and (c) our joint-trained model on cats. The horizontal axis represents similarity and the vertical axis represents frequency. The model trained on PetFace shows the most distinct separation between positive and negative samples.

Similarity distributions of positive and negative cat face pairs for CLIP, MegaDescriptor, and the model jointly trained on PetFace

Dataset Link

This dataset is for research purposes only. Please fill in the Google Form to confirm that the usage is for research purposes. We will send the dataset link as soon as we confirm the Google Form.

BibTeX

@inproceedings{shinoda2025petface,
  title={PetFace: A large-scale dataset and benchmark for animal identification},
  author={Shinoda, Risa and Shiohara, Kaede},
  booktitle={European Conference on Computer Vision},
  pages={19--36},
  year={2025},
  organization={Springer}
}