An artificial intelligence approach to predicting personality types in dogs

Sci Rep. 2024 Jan 29;14(1):2404. doi: 10.1038/s41598-024-52920-9.

Abstract

Canine personality and behavioural characteristics have a significant influence on relationships between domestic dogs and humans as well as determining the suitability of dogs for specific working roles. As a result, many researchers have attempted to develop reliable personality assessment tools for dogs. Most previous work has analysed dogs' behavioural patterns collected via questionnaires using traditional statistical analytic approaches. Artificial Intelligence has been widely and successfully used for predicting human personality types. However, similar approaches have not been applied to data on canine personality. In this research, machine learning techniques were applied to the classification of canine personality types using behavioural data derived from the C-BARQ project. As the dataset was not labelled, in the first step, an unsupervised learning approach was adopted and K-Means algorithm was used to perform clustering and labelling of the data. Five distinct categories of dogs emerged from the K-Means clustering analysis of behavioural data, corresponding to five different personality types. Feature importance analysis was then conducted to identify the relative importance of each behavioural variable's contribution to each cluster and descriptive labels were generated for each of the personality traits based on these associations. The five personality types identified in this paper were labelled: "Excitable/Hyperattached", "Anxious/Fearful", "Aloof/Predatory", "Reactive/Assertive", and "Calm/Agreeable". Four machine learning models including Support Vector Machine (SVM), K-Nearest Neighbour (KNN), Naïve Bayes, and Decision Tree were implemented to predict the personality traits of dogs based on the labelled data. The performance of the models was evaluated using fivefold cross validation method and the results demonstrated that the Decision Tree model provided the best performance with a substantial accuracy of 99%. The novel AI-based methodology in this research may be useful in the future to enhance the selection and training of dogs for specific working and non-working roles.

MeSH terms

  • Algorithms*
  • Animals
  • Artificial Intelligence*
  • Bayes Theorem
  • Dogs
  • Humans
  • Machine Learning
  • Personality