| Literature DB >> 35214457 |
Huasang Wang1, Othmane Atif1, Jirong Tian2, Jonguk Lee3, Daihee Park3, Yongwha Chung3.
Abstract
An increasing number of people own dogs due to the emotional benefits they bring to their owners. However, many owners are forced to leave their dogs at home alone, increasing the risk of developing psychological disorders such as separation anxiety, typically accompanied by complex behavioral symptoms including excessive vocalization and destructive behavior. Hence, this work proposes a multi-level hierarchical early detection system for psychological Separation Anxiety (SA) symptoms detection that automatically monitors home-alone dogs starting from the most fundamental postures, followed by atomic behaviors, and then detecting separation anxiety-related complex behaviors. Stacked Long Short-Term Memory (LSTM) is utilized at the lowest level to recognize postures using time-series data from wearable sensors. Then, the recognized postures are input into a Complex Event Processing (CEP) engine that relies on knowledge rules employing fuzzy logic (Fuzzy-CEP) for atomic behaviors level and higher complex behaviors level identification. The proposed method is evaluated utilizing data collected from eight dogs recruited based on clinical inclusion criteria. The experimental results show that our system achieves approximately an F1-score of 0.86, proving its efficiency in separation anxiety symptomatic complex behavior monitoring of a home-alone dog.Entities:
Keywords: animal–computer interaction (ACI); complex event processing (CEP); fuzzy logic; long short-term memory (LSTM); pattern recognition; sensor; separation anxiety
Mesh:
Year: 2022 PMID: 35214457 PMCID: PMC8879953 DOI: 10.3390/s22041556
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Dog monitoring system hierarchy and activity definitions. (Types: (M)—Motion; (P)—Pose).
| Level | Category | Name | Description | Related Lower-Level Activity | Observation Time |
|---|---|---|---|---|---|
| Level 1 | Head | 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 | 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 | 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 | Excessive | The dog is digging at a high frequency, possibly attempting to escape from exit points. | Escaping, | 15 s |
| Excessive | The dog is walking around in the house, sniffing at different objects, and nosing at and around the door, with a high frequency. | Walking, | |||
| Excessive | The dog is repetitively barking, howling, or whining for a long time. | Multiple |
Recent automatic recognition research of dog activities (published between 2009–2021). (Types: (D)—Disease-related behavior).
| Level | Sensors | Location | Technique | Target | Ref. |
|---|---|---|---|---|---|
| 1 | Accelerometer | Back | Pose Estimation algorithm | Body posture | [ |
| Camera | Ceiling | Semisupervised approach | Body posture | [ | |
| Accelerometer | Neck, back | Knowledge engineering approach | Body posture | [ | |
| Gyroscope | Neck | Rule-based approach | Head posture | [ | |
| 2 | Accelerometer | Neck | Neural Networks (NN), Instance-based learning (IBk), Random Forest (RF) | Atomic behavior | [ |
| Accelerometer, gyroscope | Body | Decision Tree (DT), Hidden Markov Model (HMM) | Atomic behavior | [ | |
| Accelerometer, gyroscope | Back | Support Vector Machine (SVM) | Atomic behavior | [ | |
| Accelerometer, | Neck | Not specified | Atomic behavior | [ | |
| Camera, accelerometer, angular velocity | Neck, back, thigh, waist | SVM | Atomic behavior | [ | |
| Accelerometer | Neck | Linear and quadratic discriminant analysis | Atomic behavior | [ | |
| Accelerometer | Neck | K-Nearest Neighbor (KNN) | Atomic behavior (D) | [ | |
| Accelerometer | Neck | Dynamic Time Warping (DTW) | Atomic behavior (D) | [ | |
| Accelerometer | Neck | Rule-based bio-inspired approach | Pruritic behavior (D) | [ | |
| Accelerometer, gyroscope | Neck, tail | Artificial Neural Network (ANN), Naïve Bayes (NB), RF, SVM, KNN | Atomic behavior and emotion | [ | |
| Microphone, camera | Not specified | Convolutional Neural Network (CNN) | Reducing separation anxiety (D) | [ | |
| Accelerometer | Neck | Machine learning (Not specified) | Atomic behavior (D) | [ |
Figure 1Proposed dog monitoring system architecture detects separation anxiety symptomatic complex behaviors and primarily focuses on ‘Excessive destructive behavior’, ‘Excessive exploratory behaviors’, and ‘Excessive vocalization’.
Figure 2Structure of two parallel stacked Long Short-Term Memory (LSTM) networks for dog head and body posture recognition.
Figure 3Abstraction hierarchy for dog separation anxiety-related complex behaviors detection.
Figure 4Complex Event Processing (CEP) hierarchy structure for dog behavior monitoring.
Event constructors for dog behavior detection.
| Constructor | Symbol | Expression | Meaning |
|---|---|---|---|
| And | ∧ | Conjunction of events | |
| Or | ∨ | Disjunction of events | |
| Repeat |
|
| Repeat of |
| Follow | → | ||
| Count |
|
| Calculation of the frequency of |
| Window |
|
| Observation time interval |
| Fuzzy |
|
| Fuzzy logic calculation of |
Event processing pattern rules expression for dog behavior detection.
| EPN | Rule Type | CEP Rules Definition | Example |
|---|---|---|---|
| Atomic Behavior EPN | C1 | In two-second observation time interval, the state maintains the same postures | Digging: |
| C2 | In two-second observation time interval, | Sniffing: | |
| Complex Behavior EPN | A | In 15-s observation time interval, count the total frequency of | Excessive Exploratory: |
Figure 5Fuzzy logic function structure of dog monitoring system.
Figure 6Membership Functions: (a) system input is complex behavior frequency (vocalization, exploratory and destructive) with fuzzy sets ; (b) output is diagnosis index with fuzzy sets .
Fuzzy matrix for dog psychological separation anxiety symptoms monitoring.
| Diagnosis Index | Seldom | Consistent | Most |
|---|---|---|---|
| Destructive Behavior | Normal | Abnormal | Abnormal |
| Exploratory Behavior | Normal | Abnormal | Abnormal |
| Vocalization | Normal | Abnormal | Abnormal |
Basic information of subject dogs.
| 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 |
Figure 7Examples of experimental areas for data collection. (a) Example of experiment conducted in laboratory; (b,c) examples of experiments conducted in owners’ apartments.
Figure 8Visualized examples of each time-series data type (50 Hz).
Total duration of each activity.
| 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 | Destructive behavior | 48.5 min |
| Exploratory behavior | 72.3 min | ||
| Vocalization | 25 min | ||
Figure 9Screenshot of OpenMAT software used to capture tri-axial accelerometer signals.
Overall precision, recall, and F1-score of Level-1 postures.
| Level | Two-Layer Stacked LSTM | ||||
|---|---|---|---|---|---|
| Category | Precision | Recall | F1-Score | ||
| Level 1 | Head | Bark | 0.944 | 0.904 | 0.922 |
| Head down | 0.996 | 0.998 | 0.997 | ||
| Head up | 0.914 | 0.946 | 0.929 | ||
| Body | 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 | ||
Comparison of Level-1 posture identification performance.
| Category | F1-Score | |||
|---|---|---|---|---|
| Proposed Method | SVM | NB | ||
| Head posture | Bark |
| 0.856 | 0.665 |
| Head down |
| 0.853 | 0.719 | |
| Head up | 0.929 |
| 0.978 | |
| Body posture | Dig | 0.889 |
| 0.935 |
| Jump | 0.876 |
| 0.919 | |
| Lie | 0.990 |
| 0.996 | |
| Sit |
| 0.678 | 0.644 | |
| Stand |
| 0.746 | 0.674 | |
| Walk | 0.954 |
| 0.970 | |
| Average |
| 0.890 | 0.833 | |
Overall precision, recall, and F1-score of Level-2 atomic behaviors.
| 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 | ||
Comparison of Level-2 atomic behaviors identification performance.
| Category | F1-Score | |||
|---|---|---|---|---|
| Proposed Method | SVM | DT | NB | |
| Sniffing |
| 0.794 | 0.869 | 0.757 |
| Escaping |
| 0.824 | 0.821 | 0.667 |
| Barking |
| 0.833 | 0.745 | 0.672 |
| Walking | 0.933 |
| 0.948 | 0.914 |
| Lying | 0.910 | 0.909 |
| 0.931 |
| Sitting |
| 0.672 | 0.931 | 0.657 |
| Standing | 0.874 | 0.721 |
| 0.564 |
| Digging | 0.902 | 0.907 | 0.917 |
|
| Average |
| 0.827 | 0.889 | 0.760 |
Overall precision, recall, and F1-score of Level-3 complex behaviors.
| 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 | |||
Comparison of Level-3 complex behaviors identification performance.
| Level | Category | F1-Score | ||||
|---|---|---|---|---|---|---|
| Proposed Method | SVM | DT | RF | |||
| Level-3 | Destructive Behavior | Abnormal | 0.878 | 0.859 | 0.878 |
|
| Normal |
| 0.736 | 0.748 | 0.760 | ||
| Exploratory Behavior | Abnormal |
| 0.706 | 0.630 | 0.561 | |
| Normal |
| 0.523 | 0.537 | 0.500 | ||
| Vocalization Behavior | Abnormal |
| 0.493 | 0.667 | 0.608 | |
| Normal |
| 0.611 | 0.690 | 0.652 | ||
| Average |
| 0.655 | 0.692 | 0.660 | ||
Figure 10Web application of proposed dog monitoring system.