An artificial intelligence approach to predicting personality types in dogs

Mohammad Hossein Amirhosseini,Vinaykumar Yadav,James A. Serpell,Piya Pettigrew,Paris Kain
DOI: https://doi.org/10.1038/s41598-024-52920-9
IF: 4.6
2024-01-30
Scientific Reports
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.
multidisciplinary sciences
What problem does this paper attempt to address?
The problem that this paper attempts to solve is how to use artificial intelligence and machine - learning techniques to predict canine personality types. Specifically, the researchers applied machine - learning techniques to classify behavioral data from the C - BARQ project in order to identify different canine personality types. Before this, most studies on canine personality assessment collected behavioral patterns through questionnaires and analyzed them using traditional statistical analysis methods. This study, for the first time, attempts to apply artificial intelligence techniques to the prediction of canine personalities, aiming to improve the ability to select and train dogs to adapt to specific work or non - work roles. The main steps of the study include: 1. **Data Source**: The data used in the study was sourced from the C - BARQ database of the University of Pennsylvania School of Veterinary Medicine, which contains behavioral records of 70,122 dogs. 2. **Pre - processing and Data Cleaning**: Samples with missing values were deleted, and finally 7,807 complete samples were retained. 3. **Feature Selection**: 100 scored behavioral items in C - BARQ were selected for clustering. 4. **Cluster Analysis**: The K - Means algorithm was used for unsupervised learning, and the optimal number of clusters was determined to be 5. 5. **Feature Importance Analysis**: By analyzing the 20 most important behavioral features in each cluster, descriptive labels were generated for each cluster. 6. **Machine - Learning Models**: Four machine - learning models (Support Vector Machine, K - Nearest Neighbor, Naive Bayes, and Decision Tree) were implemented, and the performance of the models was evaluated using the five - fold cross - validation method. The research results show that the decision - tree model performs best in predicting canine personality types, with an accuracy rate of 99%. This indicates that artificial - intelligence - based methods may help improve the efficiency of dog selection and training in the future, especially in applications for specific work roles.