Automatic classification of dog barking using deep learning

Behav Processes. 2024 May:218:105028. doi: 10.1016/j.beproc.2024.105028. Epub 2024 Apr 20.

Abstract

Barking and other dog vocalizations have acoustic properties related to emotions, physiological reactions, attitudes, or some particular internal states. In the field of intelligent audio analysis, researchers use methods based on signal processing and machine learning to analyze the digitized acoustic signals' properties and obtain relevant information. The present work describes a method to classify the identity, breed, age, sex, and context associated with each bark. This information can support the decisions of people who regularly interact with animals, such as dog trainers, veterinarians, rescuers, police, people with visual impairment. Our approach uses deep neural networks to generate trained models for each classification task. We worked with 19,643 barks recorded from 113 dogs of different breeds, ages and sexes. Our methodology consists of three stages. First, the pre-processing stage prepares the data and transforms it into the appropriate format for each classification model. Second, the characterization stage evaluates different representation models to identify the most suitable for each task. Third, the classification stage trains each classification model and selects the best hyperparameters. After tuning and training each model, we evaluated its performance. We analyzed the most relevant features extracted from the audio and the most appropriate deep neural network architecture for that feature type. Even if the application of our method is not ready for being used in ethological practice, our evaluation showed an outstanding performance of the proposed method, surpassing previous research results on this topic, providing the basis for further technological development.

Keywords: Acoustic characterization; Audio analysis; Deep learning; Dog barks.

MeSH terms

  • Animals
  • Deep Learning*
  • Dogs / classification
  • Female
  • Male
  • Neural Networks, Computer
  • Vocalization, Animal* / classification
  • Vocalization, Animal* / physiology