Multi-level Hierarchical Complex Behavior Monitoring System for Dog Psychological Separation Anxiety Symptoms
Abstract
:1. Introduction
- Although some studies included potentially abnormal behaviors relevant to a dog’s well-being, they mainly focused on Level-1 postures or Level-2 abnormal atomic behaviors, e.g., ‘Barking’. Nevertheless, these techniques are insufficient to determine the specific disorder that dogs might suffer from. For instance, the atomic behavior of barking can be related to noise phobia and be triggered when the dog hears outside noise, and the behavior is only considered a separation anxiety-related abnormal behavior when its frequency is high. Hence, solely recognizing the potential abnormal atomic behavior cannot be directly used to provide an accurate diagnosis of separation anxiety symptoms.
- To the best of our knowledge, only one separation anxiety reduction system [34] includes Level-3 separation anxiety-related symptomatic complex behaviors. However, training this system requires the owner’s direct participation, e.g., the owner labels the complex behaviors, such as ‘Destructive behavior’, using a smartphone. Hence, this architecture is unable to monitor complex behavioral symptom scenarios automatically.
- The feasibility of implementing a dog automatic monitoring system related to psychological separation anxiety symptoms has not been reported yet. Thus, the current research gap increases the challenge of automatically inferring Level-3 complex behaviors from lower levels [35].
2. Proposed Method
2.1. System Structure
2.2. Data Collection Layer and Data Preprocessing Layer
2.3. Dog Posture Recognition Layer
2.4. Dog Behavior Monitoring Layer
2.4.1. Abstraction Hierarchy of Dog Separation Anxiety-Related Behaviors
2.4.2. Hierarchy Modeling for Dog Behavior Automatic Detection
2.4.3. Fuzzy Function of Dog Monitoring System
- 1.
- Fuzzification: the fuzzifier applies the relevant membership functions to transform the crisp variables to fuzzy linguistic variables, whose values are natural language words instead of numerical values. This work utilizes domain knowledge [4,8,18,65], and thus the input linguistic variable is the frequency () of each complex behavior (destructive behavior, exploratory behavior, and vocalization). Specifically, is the set of decompositions for the linguistic variable frequency, with each F(f) member covering a portion of the overall frequency values. For example, in Figure 6a, the frequency is 30% (0.3) of the observation time, classified as 50% ‘Seldom’ and 50% ‘Consistent’. The fuzzifier transforms the crisp frequency input using the trapezoidal and triangular membership functions illustrated in Figure 6a. Similarly, the output linguistic variables are the symptom diagnosis indices involving two linguistic variables, i.e., , with the trapezoidal membership function illustrated in Figure 6b.
- 2.
- 3.
- Defuzzification: this stage utilizes the center of gravity [66], one of the most common defuzzifiers, to obtain the shape’s centroid generated by superimposing the fuzzy rules shapes.
- 4.
- Threshold Decision: based on the defuzzification result, a heuristic decision threshold is employed depending on the domain knowledge [4,18,65], which ultimately produces a final binary classification (normal or abnormal behavior). If the result exceeds a threshold, the complex behavior is diagnosed as the abnormal status ‘Excessive’ [67]. Further details on the fuzzy logic description can be found in [66,67,68].
Algorithm 1. Complex Behavior Detection for SA. | |
1 | Input:L1 = {p1, p2, …, pi, …, pj, …, pn} |
2 | Output:L2 = {a1, a2, …, ai, …, aj, …, an}, L3 = {c1, c2,…, ci, …, cn} |
3 | Initialize: Pre-defined CEP rules, pre-defined linguistic variables, membership functions and fuzzy rules |
4 | Define Posture event type = P (id, s, posture, t) |
5 | Define Atomic behavior event type = A (id, atomic behavior, ts, te) |
6 | Define Complex behavior event type = C (id, complex behavior, d, ts, te) |
7 | //Fuzzy function |
8 | Function F(frequent) |
9 | Convert frequent to fuzzy values by membership functions |
10 | Evaluate the rules in the rule base |
11 | Combine the results of each rule |
12 | results = Center of gravity calculation |
13 | If results > Threshold |
14 | Then classification result = Abnormal |
15 | Else classification result = Normal |
16 | Return classification result |
17 | //Level 2 dog atomic behavior detection |
18 | If select * from L1 |
19 | where repeat pi. posture more than two times ∧ win (2 s) |
20 | Then create ai (id, related atomic behavior, tn, tn+1) |
21 | If select * from L1 |
22 | where pj−1. posture → pj. posture ∧ win (2 s) |
23 | Then create aj (id, related atomic behavior, tn, tn+1) |
24 | //Level 3 dog complex behavior detection |
25 | If select * from L2 |
26 | where F(C(L2m, L2k)) ∧ Win (15 s) = Normal or Abnormal |
27 | Then create ci (id, related complex behavior, classification result of symptoms, ts, te) |
28 | ReturnL2, L3 |
2.5. Dog Application Layer
3. Results
3.1. Data Collection and Datasets
3.2. Implementation
3.3. Evaluation
3.3.1. Metrics
3.3.2. Posture Monitoring Results (Level-1 Classification)
3.3.3. Atomic Behavior Monitoring Results (Level-2 Classification)
3.3.4. Complex Behavior Monitoring Results (Level-3 Classification)
3.3.5. Dog Monitoring System Web Application
4. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Boya, U.O.; Dotson, M.J.; Hyatt, E.M. Dimensions of the dog–human relationship: A segmentation approach. J. Target. Meas. Anal. Mark. 2012, 20, 133–143. [Google Scholar] [CrossRef]
- Dotson, M.J.; Hyatt, E.M. Understanding dog–human companionship. J. Bus. Res. 2008, 61, 457–466. [Google Scholar] [CrossRef] [Green Version]
- Archer, J. Why do people love their pets? Evol. Hum. Behav. 1997, 18, 237–259. [Google Scholar] [CrossRef]
- Rehn, T.; Keeling, L.J. The effect of time left alone at home on dog welfare. Appl. Anim. Behav. Sci. 2011, 129, 129–135. [Google Scholar] [CrossRef]
- Norling, A.-Y.; Keeling, L. Owning a dog and working: A telephone survey of dog owners and employers in Sweden. Anthrozoös 2010, 23, 157–171. [Google Scholar] [CrossRef]
- Konok, V.; Doka, A.; Miklosi, A. The behavior of the domestic dog (Canis familiaris) during separation from and reunion with the owner: A questionnaire and an experimental study. Appl. Anim. Behav. Sci. 2011, 135, 300–308. [Google Scholar] [CrossRef]
- Kobelt, A.; Hemsworth, P.; Barnett, J.; Coleman, G. A survey of dog ownership in suburban Australia—Conditions and behaviour problems. Appl. Anim. Behav. Sci. 2003, 82, 137–148. [Google Scholar] [CrossRef]
- Lund, J.D.; Jorgensen, M.C. Behaviour patterns and time course of activity in dogs with separation problems. Appl. Anim. Behav. Sci. 1999, 63, 219–236. [Google Scholar] [CrossRef]
- Salman, M.D.; Hutchison, J.; Ruch-Gallie, R.; Kogan, L.; New, J.C., Jr.; Kass, P.H.; Scarlett, J.M. Behavioral reasons for relinquishment of dogs and cats to 12 shelters. J. Appl. Anim. Welf. Sci. 2000, 3, 93–106. [Google Scholar] [CrossRef]
- Overall, K.L.; Dunham, A.E.; Frank, D. Frequency of nonspecific clinical signs in dogs with separation anxiety, thunderstorm phobia, and noise phobia, alone or in combination. J. Am. Vet. Med. Assoc. 2001, 219, 467–473. [Google Scholar] [CrossRef] [Green Version]
- Dinwoodie, I.R.; Dwyer, B.; Zottola, V.; Gleason, D.; Dodman, N.H. Demographics and comorbidity of behavior problems in dogs. J. Vet. Behav. 2019, 32, 62–71. [Google Scholar] [CrossRef]
- Ogata, N. Separation anxiety in dogs: What progress was made in our understanding of the most common behavioral problems in dogs? J. Vet. Behav. Clin. Appl. Res. 2016, 16, 28–35. [Google Scholar] [CrossRef]
- Storengen, L.M.; Boge, S.C.K.; Strom, S.J.; Loberg, G.; Lingaas, F. A descriptive study of 215 dogs diagnosed with separation anxiety. Appl. Anim. Behav. Sci. 2014, 159, 82–89. [Google Scholar] [CrossRef]
- Scaglia, E.; Cannas, S.; Minero, M.; Frank, D.; Bassi, A.; Palestrini, C. Video analysis of adult dogs when left home alone. J. Vet. Behav.-Clin. Appl. Res. 2013, 8, 412–417. [Google Scholar] [CrossRef]
- Parthasarathy, V.; Crowell-Davis, S.L. Relationship between attachment to owners and separation anxiety in pet dogs (Canis lupus familiaris). J. Vet. Behav.-Clin. Appl. Res. 2006, 1, 109–120. [Google Scholar] [CrossRef] [Green Version]
- Barnard, S.; Calderara, S.; Pistocchi, S.; Cucchiara, R.; Podaliri-Vulpiani, M.; Messori, S.; Ferri, N. Quick, accurate, smart: 3D computer vision technology helps assessing confined animals’ behaviour. PLoS ONE 2016, 11, e0158748. [Google Scholar] [CrossRef] [Green Version]
- Ladha, C.; Hammerla, N.; Hughes, E.; Olivier, P.; Ploetz, T. Dog’s life: Wearable activity recognition for dogs. In Proceedings of the 2013 ACM International Joint Conference on Pervasive and Ubiquitous Computing, Zurich, Switzerland, 8–12 September 2013; pp. 415–418. [Google Scholar]
- Protopopova, A.; Kisten, D.; Wynne, C. Evaluating a humane alternative to the bark collar: Automated differential reinforcement of not barking in a home-alone setting. J. Appl. Behav. Anal. 2016, 49, 735–744. [Google Scholar] [CrossRef]
- Ribeiro, C.; Ferworn, A.; Denko, M.; Tran, J. Canine pose estimation: A computing for public safety solution. In Proceedings of the 2009 Canadian Conference on Computer and Robot Vision, Kelowna, BC, Canada, 25–27 May 2009; pp. 37–44. [Google Scholar]
- Mealin, S.; Domínguez, I.X.; Roberts, D.L. Semi-supervised classification of static canine postures using the Microsoft Kinect. In Proceedings of the 3rd International Conference on Animal-Computer Interaction, Milton Keynes, UK, 15–17 November 2016; p. 16. [Google Scholar]
- Winters, M.; Brugarolas, R.; Majikes, J.; Mealin, S.; Yuschak, S.; Sherman, B.L.; Bozkurt, A.; Roberts, D. Knowledge engineering for unsupervised canine posture detection from IMU data. In Proceedings of the 12th International Conference on Advances in Computer Entertainment Technology, Iskandar, Malaysia, 16–19 November 2015; p. 60. [Google Scholar]
- Valentin, G.; Alcaidinho, J.; Howard, A.; Jackson, M.M.; Starner, T. Towards a canine-human communication system based on head gestures. In Proceedings of the 12th International Conference on Advances in Computer Entertainment Technology, Iskandar, Malaysia, 16–19 November 2015; p. 65. [Google Scholar]
- Weiss, G.M.; Nathan, A.; Kropp, J.; Lockhart, J.W. WagTag: A dog collar accessory for monitoring canine activity levels. In Proceedings of the 2013 ACM Conference on Pervasive and Ubiquitous Computing Adjunct Publication, Zurich, Switzerland, 8–12 September 2013; pp. 405–414. [Google Scholar]
- Brugarolas, R.; Loftin, R.T.; Yang, P.; Roberts, D.L.; Sherman, B.; Bozkurt, A. Behavior recognition based on machine learning algorithms for a wireless canine machine interface. In Proceedings of the 2013 IEEE International Conference on Body Sensor Networks, Cambridge, MA, USA, 6–9 May 2013; pp. 1–5. [Google Scholar]
- Gerencsér, L.; Vásárhelyi, G.; Nagy, M.; Vicsek, T.; Miklósi, A. Identification of behaviour in freely moving dogs (Canis familiaris) using inertial sensors. PLoS ONE 2013, 8, e77814. [Google Scholar] [CrossRef] [Green Version]
- Ahn, J.; Kwon, J.; Nam, H.; Jang, H.-K.; Kim, J.-I. Pet Buddy: A wearable device for canine behavior recognition using a single IMU. In Proceedings of the 2016 International Conference on Big Data and Smart Computing (BigComp), Hong Kong, China, 18–20 January 2016; pp. 419–422. [Google Scholar]
- Zhan, X.; Huang, Q.; Zhu, C.; Li, X.; Liu, G. A Real-Time Police Dog Action Recognition System Based on Vision and IMU Sensors. In Proceedings of the 2020 IEEE International Conference on Multimedia & Expo Workshops (ICMEW), London, UK, 6–10 July 2020; pp. 1–2. [Google Scholar]
- Kumpulainen, P.; Valldeoriola, A.; Somppi, S.; Törnqvist, H.; Väätäjä, H.; Majaranta, P.; Surakka, V.; Vainio, O.; Kujala, M.V.; Gizatdinova, Y. Dog activity classification with movement sensor placed on the collar. In Proceedings of the 5th International Conference on Animal-Computer Interaction, Atlanta, GA, USA, 4–6 December 2018; pp. 1–6. [Google Scholar]
- Kiyohara, T.; Orihara, R.; Sei, Y.; Tahara, Y.; Ohsuga, A. Activity recognition for dogs based on time-series data analysis. In Proceedings of the International Conference on Agents and Artificial Intelligence, Lisbon, Portugal, 10–12 January 2015; pp. 163–184. [Google Scholar]
- Griffies, J.D.; Zutty, J.; Sarzen, M.; Soorholtz, S. Wearable sensor shown to specifically quantify pruritic behaviors in dogs. BMC Vet. Res. 2018, 14, 124. [Google Scholar] [CrossRef]
- Aich, S.; Chakraborty, S.; Sim, J.-S.; Jang, D.-J.; Kim, H.-C. The Design of an Automated System for the Analysis of the Activity and Emotional Patterns of Dogs with Wearable Sensors Using Machine Learning. Appl. Sci. 2019, 9, 4938. [Google Scholar] [CrossRef] [Green Version]
- Mundell, P.; Liu, S.; Guérin, N.A.; Berger, J.M. An automated behavior shaping intervention reduces signs of separation anxiety-related distress in a mixed-breed dog. J. Vet. Behav. 2020, 37, 71–75. [Google Scholar] [CrossRef]
- Chambers, R.D.; Yoder, N.C.; Carson, A.B.; Junge, C.; Allen, D.E.; Prescott, L.M.; Bradley, S.; Wymore, G.; Lloyd, K.; Lyle, S. Deep learning classification of canine behavior using a single collar-mounted accelerometer: Real-world validation. Animals 2021, 11, 1549. [Google Scholar] [CrossRef]
- Arce-Lopera, C.; Diaz-Cely, J.; García, P.; Morales, M. Technology-Enhanced Training System for Reducing Separation Anxiety in Dogs. In Proceedings of the International Conference on Human-Computer Interaction, Orlando, FL, USA, 26–31 July 2019; pp. 434–439. [Google Scholar]
- Hirskyj-Douglas, I.; Pons, P.; Read, J.C.; Jaen, J. Seven Years after the Manifesto: Literature Review and Research Directions for Technologies in Animal Computer Interaction. Multimodal Technol. Interact. 2018, 2, 30. [Google Scholar] [CrossRef] [Green Version]
- Graves, A.; Mohamed, A.-R.; Hinton, G. Speech recognition with deep recurrent neural networks. In Proceedings of the 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, Vancouver, BC, Canada, 26–31 May 2013; pp. 6645–6649. [Google Scholar]
- Hermans, M.; Schrauwen, B. Training and analysing deep recurrent neural networks. In Proceedings of the Advances in Neural Information Processing Systems, Lake Tahoe, NV, USA, 5–10 December 2013; pp. 190–198. [Google Scholar]
- Cugola, G.; Margara, A. Processing Flows of Information: From Data Stream to Complex Event Processing. Acm Comput. Surv. 2012, 44, 15. [Google Scholar] [CrossRef]
- Akbar, A.; Chaudhry, S.S.; Khan, A.; Ali, A.; Rafiq, W. On Complex Event Processing for Internet of Things. In Proceedings of the 2019 IEEE 6th International Conference on Engineering Technologies and Applied Sciences (ICETAS), Kuala Lumpur, Malaysia, 20–21 December 2019; pp. 1–7. [Google Scholar]
- Medjahed, H.; Istrate, D.; Boudy, J.; Dorizzi, B. Human activities of daily living recognition using fuzzy logic for elderly home monitoring. In Proceedings of the 2009 IEEE International Conference on Fuzzy Systems, Jeju, Korea, 20–24 August 2009; pp. 2001–2006. [Google Scholar]
- Yao, W.; Chu, C.-H.; Li, Z. Leveraging complex event processing for smart hospitals using RFID. J. Netw. Comput. Appl. 2011, 34, 799–810. [Google Scholar] [CrossRef]
- Cannas, S.; Frank, D.; Minero, M.; Aspesi, A.; Benedetti, R.; Palestrini, C. Video analysis of dogs suffering from anxiety when left home alone and treated with clomipramine. J. Vet. Behav.-Clin. Appl. Res. 2014, 9, 50–57. [Google Scholar] [CrossRef]
- Liu, L.; Peng, Y.; Liu, M.; Huang, Z. Sensor-based human activity recognition system with a multilayered model using time series shapelets. Knowl.-Based Syst. 2015, 90, 138–152. [Google Scholar] [CrossRef]
- Brugarolas, R.; Roberts, D.; Sherman, B.; Bozkurt, A. Posture estimation for a canine machine interface based training system. In Proceedings of the 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, San Diego, CA, USA, 28 August–1 September 2012; pp. 4489–4492. [Google Scholar]
- Triboan, D.; Chen, L.; Chen, F.; Wang, Z. Semantic segmentation of real-time sensor data stream for complex activity recognition. Pers. Ubiquitous Comput. 2017, 21, 411–425. [Google Scholar] [CrossRef]
- Ullah, M.; Ullah, H.; Khan, S.D.; Cheikh, F.A. Stacked lstm network for human activity recognition using smartphone data. In Proceedings of the 2019 8th European Workshop on Visual Information Processing (EUVIP), Roma, Italy, 28–31 October 2019; pp. 175–180. [Google Scholar]
- Han, J.; Kamber, M.; Pei, J. Data mining concepts and techniques third edition. Morgan Kaufmann Ser. Data Manag. Syst. 2011, 5, 83–124. [Google Scholar]
- Lowe, D.G. Object recognition from local scale-invariant features. In Proceedings of the 7th IEEE International Conference on Computer Vision, Kerkyra, Greece, 20–27 September 1999; pp. 1150–1157. [Google Scholar]
- Chen, Y.; Zhong, K.; Zhang, J.; Sun, Q.; Zhao, X. LSTM networks for mobile human activity recognition. In Proceedings of the 2016 International Conference on Artificial Intelligence: Technologies and Applications, Bangkok, Thailand, 24–25 January 2016; pp. 50–53. [Google Scholar]
- Hong, M.; Ahn, H.; Atif, O.; Lee, J.; Park, D.; Chung, Y. Field-Applicable Pig Anomaly Detection System Using Vocalization for Embedded Board Implementations. Appl. Sci. 2020, 10, 6991. [Google Scholar] [CrossRef]
- Choi, Y.; Atif, O.; Lee, J.; Park, D.; Chung, Y. Noise-robust sound-event classification system with texture analysis. Symmetry 2018, 10, 402. [Google Scholar] [CrossRef] [Green Version]
- Kim, D.Y.; Lee, S.H.; Jeong, G.M. Stack LSTM-Based User Identification Using Smart Shoes with Accelerometer Data. Sensors 2021, 21, 8129. [Google Scholar] [CrossRef]
- Zhang, M.; Guo, J.; Li, X.; Jin, R. Data-driven anomaly detection approach for time-series streaming data. Sensors 2020, 20, 5646. [Google Scholar] [CrossRef]
- Smith, J.M.; Smith, D.C. Database abstractions: Aggregation and generalization. ACM Trans. Database Syst. 1977, 2, 105–133. [Google Scholar] [CrossRef]
- Nowak-Brzezińska, A.; Wakulicz-Deja, A. Exploration of rule-based knowledge bases: A knowledge engineer’s support. Inf. Sci. 2019, 485, 301–318. [Google Scholar] [CrossRef]
- Khanna, G.; Cheng, M.Y.; Varadharajan, P.; Bagchi, S.; Correia, M.P.; Veríssimo, P.J. Automated rule-based diagnosis through a distributed monitor system. IEEE Trans. Dependable Secur. Comput. 2007, 4, 266–279. [Google Scholar] [CrossRef]
- Liang, Y.; Lee, J.; Hong, B.; Kim, W. Rule-based Complex Event Processing on Tactical Moving Objects. In Proceedings of the 2018 IEEE 4th International Conference on Computer and Communications (ICCC), Chengdu, China, 7–10 December 2018; pp. 2585–2589. [Google Scholar]
- Etzion, O.; Niblett, P. Event Processing in Action; Manning Publications Co.: Shelter Island, NY, USA, 2010; pp. 5–10. [Google Scholar]
- Ku, T.; Zhu, Y.L.; Hu, K.Y.; Lv, C.X. A novel pattern for complex event processing in rfid applications. In Enterprise Interoperability III; Springer: Berlin/Heidelberg, Germany, 2008; pp. 595–607. [Google Scholar]
- Buchmann, A.; Koldehofe, B. Complex event processing. It-Inf. Technol. 2009, 51, 241. [Google Scholar] [CrossRef]
- Stoa, S.; Lindeberg, M.; Goebel, V. Online analysis of myocardial ischemia from medical sensor data streams with esper. In Proceedings of the 2008 First International Symposium on Applied Sciences on Biomedical and Communication Technologies, Aalborg, Denmark, 25–28 October 2008; pp. 1–5. [Google Scholar]
- McCrave, E.A. Diagnostic-Criteria for Separation Anxiety in the Dog. Vet. Clin. N. Am.-Small Anim. Pract. 1991, 21, 247–255. [Google Scholar] [CrossRef]
- Awotunde, J.B.; Matiluko, O.E.; Fatai, O.W. Medical diagnosis system using fuzzy logic. Afr. J. Comput. ICT 2014, 7, 99–106. [Google Scholar]
- Ahmadi, H.; Gholamzadeh, M.; Shahmoradi, L.; Nilashi, M.; Rashvand, P. Diseases diagnosis using fuzzy logic methods: A systematic and meta-analysis review. Comput. Methods Programs Biomed. 2018, 161, 145–172. [Google Scholar] [CrossRef]
- Flannigan, G.; Dodman, N.H. Risk factors and behaviors associated with separation anxiety in dogs. J. Am. Vet. Med. Assoc. 2001, 219, 460–466. [Google Scholar] [CrossRef] [Green Version]
- Dernoncourt, F. Introduction to fuzzy logic. Mass. Inst. Technol. 2013, 21, 14–15. [Google Scholar]
- Pena-Reyes, C.A.; Sipper, M. A fuzzy-genetic approach to breast cancer diagnosis. Artif. Intell. Med. 1999, 17, 131–155. [Google Scholar] [CrossRef]
- Mendel, J.M. Fuzzy logic systems for engineering: A tutorial. Proc. IEEE 1995, 83, 345–377. [Google Scholar] [CrossRef] [Green Version]
- LP-RESEARCH. Available online: https://lp-research.com (accessed on 6 January 2022).
- TensorFlow. Available online: https://www.tensorflow.org (accessed on 30 December 2021).
- Esper. Available online: https://www.espertech.com/esper (accessed on 30 December 2021).
- Plotly. Available online: https://plotly.com/dash (accessed on 30 December 2021).
- Powers, D.M. Evaluation: From precision, recall and F-measure to ROC, informedness, markedness and correlation. arXiv 2020, arXiv:2010.16061. [Google Scholar]
- Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Rashid, K.M.; Louis, J. Times-series data augmentation and deep learning for construction equipment activity recognition. Adv. Eng. Inform. 2019, 42, 100944. [Google Scholar] [CrossRef]
- Shrestha, A.; Dang, J. Deep learning-based real-time auto classification of smartphone measured bridge vibration data. Sensors 2020, 20, 2710. [Google Scholar] [CrossRef]
Level | Category | Name (Type) | Description | Related Lower-Level Activity | Observation Time |
---|---|---|---|---|---|
Level 1 | Head posture | Up (P) | Head is higher than the shoulders and body. | - | 1 s |
Down (P) | Head is lower than shoulders and body. | - | |||
Bark (M) | Bark movement. | - | |||
Body posture | Walk (M) | Gait motion. | - | ||
Lie (P) | Side of the dog is in contact with the ground. | - | |||
Sit (P) | Haunches are on the ground, and elbows are not in contact with the environment. | - | |||
Stand (P) | All feet are on the ground without moving. | - | |||
Dig (M) | Forelegs consecutively or concurrently move with each other. | - | |||
Jump (M) | Both of the dog’s forelegs or all legs leave the ground. | - | |||
Level 2 | Atomic behavior | Sniffing | Head downwards and close to the floor, while the dog is walking or standing. | Walk, Stand, Head down | 2 s |
Escaping | Repetitive jumps represent an attempt of escape. | Jump | |||
Barking | Repetitive barks. | Bark | |||
Walking | Walk for more than 1 s. | Walk | |||
Lying | Lie for more than 1 s. | Lie | |||
Sitting | Sit for more than 1 s. | Sit | |||
Standing | Stand for more than 1 s. | Stand | |||
Digging | Dig for more than 1 s. | Dig | |||
Level 3 | Symptomatic complex behavior | Excessive destructive behavior | The dog is digging at a high frequency, possibly attempting to escape from exit points. | Escaping, Digging | 15 s |
Excessive exploratory behavior | The dog is walking around in the house, sniffing at different objects, and nosing at and around the door, with a high frequency. | Walking, Sniffing | |||
Excessive vocalization | The dog is repetitively barking, howling, or whining for a long time. | Multiple barking |
Level | Sensors | Location | Technique | Target | Ref. |
---|---|---|---|---|---|
1 | Accelerometer | Back | Pose Estimation algorithm | Body posture | [19] |
Camera | Ceiling | Semisupervised approach | Body posture | [20] | |
Accelerometer | Neck, back | Knowledge engineering approach | Body posture | [21] | |
Gyroscope | Neck | Rule-based approach | Head posture | [22] | |
2 | Accelerometer | Neck | Neural Networks (NN), Instance-based learning (IBk), Random Forest (RF) | Atomic behavior | [23] |
Accelerometer, gyroscope | Body | Decision Tree (DT), Hidden Markov Model (HMM) | Atomic behavior | [24] | |
Accelerometer, gyroscope | Back | Support Vector Machine (SVM) | Atomic behavior | [25] | |
Accelerometer, gyroscope | Neck | Not specified | Atomic behavior | [26] | |
Camera, accelerometer, angular velocity | Neck, back, thigh, waist | SVM | Atomic behavior | [27] | |
Accelerometer | Neck | Linear and quadratic discriminant analysis | Atomic behavior | [28] | |
Accelerometer | Neck | K-Nearest Neighbor (KNN) | Atomic behavior (D) | [17] | |
Accelerometer | Neck | Dynamic Time Warping (DTW) | Atomic behavior (D) | [29] | |
Accelerometer | Neck | Rule-based bio-inspired approach | Pruritic behavior (D) | [30] | |
Accelerometer, gyroscope | Neck, tail | Artificial Neural Network (ANN), Naïve Bayes (NB), RF, SVM, KNN | Atomic behavior and emotion | [31] | |
Microphone, camera | Not specified | Convolutional Neural Network (CNN) | Reducing separation anxiety (D) | [32] | |
Accelerometer | Neck | Machine learning (Not specified) | Atomic behavior (D) | [33] |
Constructor | Symbol | Expression | Meaning |
---|---|---|---|
And | ∧ | E1 ∧ E2 | Conjunction of events E1 and E2 |
Or | ∨ | E1 ∨ E2 | Disjunction of events E1 and E2 |
Repeat | E1 | Repeat of E1 events | |
Follow | → | E1→E2 | E1 occurs followed by E2 |
Count | C( ) | C(E1) | Calculation of the frequency of E1 |
Window | Win() | Win(t) | Observation time interval t |
Fuzzy | F( ) | F(E1) | Fuzzy logic calculation of E1 |
EPN | Rule Type | CEP Rules Definition | Example |
---|---|---|---|
Atomic Behavior EPN | C1 | In two-second observation time interval, the state maintains the same postures P without any change. | Digging: Dig ∧ Win(2 s) |
C2 | In two-second observation time interval, P1 occurs followed by P2. | Sniffing: (Walk→Head down) ∧ Win (2 s) | |
Complex Behavior EPN | A | In 15-s observation time interval, count the total frequency of a1 and a2 occurrences and calculate the fuzzy function result. | Excessive Exploratory: F(C (Walking ∨ Sniffing) ∧ Win (15 s)) = Abnormal |
Diagnosis Index | Seldom | Consistent | Most |
---|---|---|---|
Destructive Behavior | Normal | Abnormal | Abnormal |
Exploratory Behavior | Normal | Abnormal | Abnormal |
Vocalization | Normal | Abnormal | Abnormal |
Serial | Size | Name | Breed | Age |
---|---|---|---|---|
1 | Small | Kimi | Maltese | 0.5 |
2 | Small | Prince | Papillon | 9 |
3 | Small | Doudou | Mix | 1 |
4 | Small | Tufei | Mix | 1.5 |
5 | Small | Lili | Papillon | 7 |
6 | Medium | Coco | Mix | 4 |
7 | Medium | Puding | Mix | 0.5 |
8 | Large | Coffee | Mix | 7 |
Level | Category | Total Duration | |
---|---|---|---|
Level 1 | Head posture | Bark | 10.7 min |
Head down | 18.4 min | ||
Head up | 33.8 min | ||
Body posture | Dig | 13.3 min | |
Jump | 11.5 min | ||
Lay | 12.0 min | ||
Sit | 11.0 min | ||
Stand | 18.9 min | ||
Walk | 20.4 min | ||
Level 2 | Atomic behavior | Sniffing | 10.0 min |
Escaping | 8.5 min | ||
Barking | 8.4 min | ||
Walking | 12.3 min | ||
Lying | 8 min | ||
Sitting | 6.8 min | ||
Standing | 12.3 min | ||
Digging | 9.3 min | ||
Level 3 | Symptomatic complex behavior | Destructive behavior | 48.5 min |
Exploratory behavior | 72.3 min | ||
Vocalization | 25 min |
Level | Two-Layer Stacked LSTM | ||||
---|---|---|---|---|---|
Category | Precision | Recall | F1-Score | ||
Level 1 | Head posture | Bark | 0.944 | 0.904 | 0.922 |
Head down | 0.996 | 0.998 | 0.997 | ||
Head up | 0.914 | 0.946 | 0.929 | ||
Body posture | Dig | 0.894 | 0.889 | 0.889 | |
Jump | 0.879 | 0.878 | 0.876 | ||
Lie | 0.990 | 0.991 | 0.990 | ||
Sit | 0.988 | 0.994 | 0.992 | ||
Stand | 0.963 | 0.967 | 0.975 | ||
Walk | 0.962 | 0.947 | 0.954 | ||
Average | 0.948 | 0.946 | 0.947 |
Category | F1-Score | |||
---|---|---|---|---|
Proposed Method | SVM | NB | ||
Head posture | Bark | 0.922 | 0.856 | 0.665 |
Head down | 0.997 | 0.853 | 0.719 | |
Head up | 0.929 | 0.990 | 0.978 | |
Body posture | Dig | 0.889 | 0.969 | 0.935 |
Jump | 0.876 | 0.950 | 0.919 | |
Lie | 0.990 | 0.996 | 0.996 | |
Sit | 0.992 | 0.678 | 0.644 | |
Stand | 0.975 | 0.746 | 0.674 | |
Walk | 0.954 | 0.976 | 0.970 | |
Average | 0.947 | 0.890 | 0.833 |
Level | Stacked LSTM + CEP | ||||
---|---|---|---|---|---|
Category | Num. | Precision | Recall | F1-Score | |
Level 2 | Sniffing | 152 | 0.909 | 0.921 | 0.915 |
Escaping | 105 | 0.920 | 0.981 | 0.949 | |
Barking | 101 | 0.876 | 0.842 | 0.859 | |
Walking | 220 | 0.980 | 0.891 | 0.933 | |
Lying | 90 | 0.987 | 0.844 | 0.910 | |
Sitting | 55 | 0.981 | 0.946 | 0.963 | |
Standing | 218 | 0.906 | 0.844 | 0.874 | |
Digging | 129 | 1.000 | 0.822 | 0.902 | |
Average | 0.945 | 0.886 | 0.915 |
Category | F1-Score | |||
---|---|---|---|---|
Proposed Method | SVM | DT | NB | |
Sniffing | 0.915 | 0.794 | 0.869 | 0.757 |
Escaping | 0.949 | 0.824 | 0.821 | 0.667 |
Barking | 0.859 | 0.833 | 0.745 | 0.672 |
Walking | 0.933 | 0.951 | 0.948 | 0.914 |
Lying | 0.910 | 0.909 | 0.953 | 0.931 |
Sitting | 0.963 | 0.672 | 0.931 | 0.657 |
Standing | 0.874 | 0.721 | 0.926 | 0.564 |
Digging | 0.902 | 0.907 | 0.917 | 0.919 |
Average | 0.915 | 0.827 | 0.889 | 0.760 |
Level | Stacked LSTM + Fuzzy-CEP | |||||
---|---|---|---|---|---|---|
Category | Num. | Precision | Recall | F1-Score | ||
Level 3 | Destructive Behavior | Abnormal | 91 | 0.888 | 0.868 | 0.878 |
Normal | 61 | 0.810 | 0.836 | 0.823 | ||
Exploratory Behavior | Abnormal | 168 | 0.940 | 0.929 | 0.934 | |
Normal | 63 | 0.815 | 0.841 | 0.828 | ||
Vocalization Behavior | Abnormal | 54 | 0.891 | 0.907 | 0.899 | |
Normal | 30 | 0.828 | 0.800 | 0.814 | ||
Average | 0.862 | 0.864 | 0.863 |
Level | Category | F1-Score | ||||
---|---|---|---|---|---|---|
Proposed Method | SVM | DT | RF | |||
Level-3 | Destructive Behavior | Abnormal | 0.878 | 0.859 | 0.878 | 0.882 |
Normal | 0.823 | 0.736 | 0.748 | 0.760 | ||
Exploratory Behavior | Abnormal | 0.934 | 0.706 | 0.630 | 0.561 | |
Normal | 0.828 | 0.523 | 0.537 | 0.500 | ||
Vocalization Behavior | Abnormal | 0.899 | 0.493 | 0.667 | 0.608 | |
Normal | 0.814 | 0.611 | 0.690 | 0.652 | ||
Average | 0.863 | 0.655 | 0.692 | 0.660 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, H.; Atif, O.; Tian, J.; Lee, J.; Park, D.; Chung, Y. Multi-level Hierarchical Complex Behavior Monitoring System for Dog Psychological Separation Anxiety Symptoms. Sensors 2022, 22, 1556. https://doi.org/10.3390/s22041556
Wang H, Atif O, Tian J, Lee J, Park D, Chung Y. Multi-level Hierarchical Complex Behavior Monitoring System for Dog Psychological Separation Anxiety Symptoms. Sensors. 2022; 22(4):1556. https://doi.org/10.3390/s22041556
Chicago/Turabian StyleWang, Huasang, Othmane Atif, Jirong Tian, Jonguk Lee, Daihee Park, and Yongwha Chung. 2022. "Multi-level Hierarchical Complex Behavior Monitoring System for Dog Psychological Separation Anxiety Symptoms" Sensors 22, no. 4: 1556. https://doi.org/10.3390/s22041556