Figure 7: The curve of the value of the precision (Original). 
In the early stages of training, the initial state of 
the model is poor, with relatively low accuracy, 
precision, and AUC. With the training of the model, 
the model gradually learns the characteristics and 
patterns of the data, and because the model adjusts the 
parameters through the optimization algorithm during 
the training process to adapt to the features of the data, 
the value of the model is continuously reduced. Loss 
function. This leads to a continuous upward trend in 
the individual performance of the training. Some of 
the fluctuations in validation values may be due to 
differences in data distribution or a small number of 
samples in the validation set. 
As described in Tab. 1, respectively, the accuracy, 
precision, recall, and AUC of the model for the test are 
0.78, 0.60, 0.37, and 0.77. Although the accuracy and 
precision are relatively high, the recall rate is low, 
indicating that the model's ability to identify true 
positive samples needs to be improved. At the same 
time, the value of AUC can also indicate that the 
model has good classification ability. Although, there 
is an overfitting phenomenon, the gradual 
improvement of various data during the training 
process of the model shows that the model has a 
certain learning ability, can adapt to the data, and 
extract pertinent features, while also enabling 
visualization of the training progress. 
Table 1: The Results of Rest. 
Test Loss  1.1416 
Test Accuracy  0.7817 
Test Precision  0.6032 
Test Recall  0.3693 
Test AUC  0.7683 
 
4 CONCLUSION 
This study aims to explore EfficientNet for dogs' 
emotion recognition, through a large amount of 
picture data. First, the database is preprocessed using 
partitioning, traversal, and storage operations to 
advance the generalization ability of the EfficientNet 
model. Then, the input image data is scaled, cut, and 
offset to enhance the training data. Second, the 
EfficientNet-B0 model is introduced to build the 
recognition model while using Adam optimizer and 
classification cross-entropy loss function to compile 
the model. The result demonstrates that EfficientNet 
can effectively capture important features related to 
emotions in dog images. The model exhibits robust 
performance across different dog breeds and varying 
emotional expressions. The findings of this study 
highlight the potential of EfficientNet as a reliable tool 
for emotion recognition in the domain of animal 
behavior analysis. This technology can help people 
better understand the expression of animal emotional 
information, so as to provide a more scientific and 
rational decision basis for animal health management 
and behavior intervention. In addition, this study 
provides useful ideas and methods for further 
exploring the application of EfficientNet model 
parameters and transfer learning strategies in emotion 
recognition. Further research could focus on 
expanding the dataset to include more diverse dog 
images, investigating transfer learning strategies, and 
exploring the generalization of the proposed approach 
to other animals. 
REFERENCES 
F. Valentina, M. Alfredo, B. Giulio, M. Francesco, “A 
Preliminary Work on Dog Emotion Recognition,” 
IEEE/WIC/ACM International Conference on Web 
Intelligence, vol. 19, 2019, pp. 91–96  
N. Albuquerque, K. Guo, A. Wilkinson, C. Savalli, E. Otta, 
D. Mills, “Dogs recognize dog and human emotions,” 
Biol Lett, vol. 12, 2016, p. 20150883 
H. Y. Chen, C. H. Lin, J. W. Lai, Y. K. Chan, 
“Convolutional Neural Network-Based Automated 
System for Dog Tracking and Emotion Recognition in 
Video Surveillance,” Applied Sciences, vol. 13, 2023, 
p. 4596 
L. A. Corujo, E.  Kieson, T. Schloesser, P. A. Gloor, 
“Emotion Recognition in Horses with Convolutional 
Neural Networks,” Future Internet, vol. 13, 2021, p.250  
B. Tali, A. Shir, B. Annika, S. M. Daniel, R. Stefanie, F. 
Dror, Z. Anna, “A deep learning model for automatic 
classification of dog emotional states based on facial 
expressions,” arXiv, 2022, unpublished