| Literature DB >> 32182668 |
Wing W Y Ng1, Shichao Xu1, Ting Wang1, Shuai Zhang2, Chris Nugent2.
Abstract
Over the past few years, the Internet of Things (IoT) has been greatly developed with one instance being smart home devices gradually entering into people's lives. To maximize the impact of such deployments, home-based activity recognition is required to initially recognize behaviors within smart home environments and to use this information to provide better health and social care services. Activity recognition has the ability to recognize people's activities from the information about their interaction with the environment collected by sensors embedded within the home. In this paper, binary data collected by anonymous binary sensors such as pressure sensors, contact sensors, passive infrared sensors etc. are used to recognize activities. A radial basis function neural network (RBFNN) with localized stochastic-sensitive autoencoder (LiSSA) method is proposed for the purposes of home-based activity recognition. An autoencoder (AE) is introduced to extract useful features from the binary sensor data by converting binary inputs into continuous inputs to extract increased levels of hidden information. The generalization capability of the proposed method is enhanced by minimizing both the training error and the stochastic sensitivity measure in an attempt to improve the ability of the classifier to tolerate uncertainties in the sensor data. Four binary home-based activity recognition datasets including OrdonezA, OrdonezB, Ulster, and activities of daily living data from van Kasteren (vanKasterenADL) are used to evaluate the effectiveness of the proposed method. Compared with well-known benchmarking approaches including support vector machine (SVM), multilayer perceptron neural network (MLPNN), random forest and an RBFNN-based method, the proposed method yielded the best performance with 98.35%, 86.26%, 96.31%, 92.31% accuracy on four datasets, respectively.Entities:
Keywords: activity recognition; autoencoder; localized generation error; radial basis function neural network; smart homes; stochastic sensitivity
Mesh:
Year: 2020 PMID: 32182668 PMCID: PMC7085686 DOI: 10.3390/s20051479
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The structure of an autoencoder (AE), including input layer, hidden layer and output layer.
Figure 2Localized stochastic-sensitive autoencoder-radial basis function (LiSSA-RBF) network structure, consist of the LiSSA part (input layer, encode layer and AE output layer) and the radial basis function neural network (RBFNN) part (Input layer, encode layer, RBF layer and one hot output layer).
Simple description of four datasets.
| Dataset | #Activity Instances | #Activity Types | #Sensors |
|---|---|---|---|
| OrdonezA [ | 242 | 9 | 12 |
| OrdonezB [ | 482 | 10 | 10 |
| UIster [ | 308 | 11 | 21 |
| vanKasterenADL [ | 242 | 7 | 14 |
Specific activity types in four datasets.
| Dataset | Specific Activity Types |
|---|---|
| OrdonezA | leaving, toileting, showering, sleeping, breakfast, lunch, dinner, snack, TV, grooming |
| OrdonezB | leaving, toileting, showering, sleeping, breakfast, lunch, snack, TV, grooming |
| UIster | leave house, use toilet, take shower, go to bed, prepare breakfast, prepare dinner, get drink |
| vanKasterenADL | go to bed, use toilet, watch TV, prepare breakfast, take shower, leave house, get cold drink, |
Multi-classes confusion matrix, the number 1, 2 and 3 denote three different activities.
| True | 1 | 2 | 3 | Sum | |
|---|---|---|---|---|---|
| Inferred | |||||
| 1 |
|
|
|
| |
| 2 |
|
|
|
| |
| 3 |
|
|
|
| |
| Sum |
|
|
|
| |
Accuracy of different methods on four datasets. Results are obtained from 10-fold cross validations conducted five times.
| Methods | OrdonezA [%] | OrdonezB [%] | Ulster [%] | vanKasterenADL [%] |
|---|---|---|---|---|
| Random Forest | 97.77 ± 0.56 | 85.94 ± 0.24 | 95.01 ± 0.34* | 89.40 ± 0.68* |
| MLPNN | 78.38 ± 0.99* | 84.48 ± 0.33* | 95.85 ± 0.13* | 78.95 ± 1.73* |
| RBF_LGEM | 97.52 ± 0.26* | 85.89 ± 0.25 | 95.26 ± 0.16* | 90.50 ± 1.16* |
| SVM | 97.02 ± 0.31* | 85.56 ± 0.38* | 95.40 ± 0.13* | 91.80 ± 0.38 |
| LiSSA-SVM | 97.36 ± 0.21* | 84.43 ± 0.30* | 96.11 ± 0.01 | 90.40 ± 0.72* |
| LiSSA-RBF | 98.35 ± 0.27 | 86.26 ± 0.42 | 96.31 ± 0.32 | 92.31 ± 0.85 |
The symbol ‘*’ indicates that the proposed method LiSSA-RBF is significantly better than this method with a significance level of 0.05.
F1_score of different methods on four datasets. Results are obtained from 10-fold cross validations conducted five times.
| Methods | OrdonezA [%] | OrdonezB [%] | Ulster [%] | vanKasterenADL [%] |
|---|---|---|---|---|
| Random Forest | 97.82 ± 0.50* | 84.80 ± 0.39 | 94.98 ± 0.42* | 89.45 ± 0.72* |
| MLPNN | 71.87 ± 1.18* | 82.30 ± 0.46* | 95.71 ± 0.32 | 72.96 ± 1.90* |
| RBF_LGEM | 97.57 ± 0.37* | 84.83 ± 0.32 | 95.25 ± 0.27* | 90.32 ± 1.18* |
| SVM | 97.03 ± 0.31* | 84.31 ± 0.56* | 95.37 ± 0.28* | 91.78 ± 0.50 |
| LiSSA-SVM | 97.37 ± 0.20* | 83.19 ± 0.27* | 96.06 ± 0.24 | 90.75 ± 0.59* |
| LiSSA-RBF | 98.41 ± 0.21 | 85.11 ± 0.47 | 96.19 ± 0.51 | 92.60 ± 0.66 |
The symbol ‘*’ indicates that the proposed method LiSSA-RBF is significantly better than this method with a significance level of 0.05.
Confusion matrix of LiSSA-RBF on dataset OrdonezB. The activity ID from 1 to 10 represents breakfast, dinner, grooming, leaving, lunch, showering, sleeping, snack, watching TV, toileting, respectively. Rows represent the inferred activity and columns represent the actual activity.
| Activity ID | 1 | 2 | 3 |
| 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
|
| 8 | 0 | 0 | 0 | 3 | 0 | 0 | 4 | 0 | 0 |
|
| 0 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 91 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
|
| 0 | 0 | 0 | 38 | 0 | 0 | 1 | 0 | 1 | 0 |
|
| 3 | 0 | 0 | 0 | 3 | 0 | 0 | 3 | 0 | 0 |
|
| 0 | 0 | 0 | 0 | 0 | 11 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 1 | 0 | 0 | 0 | 27 | 0 | 0 | 0 |
|
| 10 | 8 | 0 | 0 | 5 | 0 | 0 | 32 | 0 | 0 |
|
| 1 | 0 | 8 | 0 | 2 | 0 | 1 | 8 | 114 | 2 |
|
| 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 89 |
|
| 36% | 27% | 88% | 100% | 23% | 100% | 93% | 68% | 99% | 97% |
Confusion matrix of the localized generalization error-based RBF method (RBF_LGEM) on dataset OrdonezB. The activity ID from 1 to 10 represents breakfast, dinner, grooming, leaving, lunch, showering, sleeping, snack, watching TV, toileting, respectively. Rows represent the inferred activity and columns represent the actual activity.
| Activity ID | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
|
| 8 | 2 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 0 |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 91 | 0 | 0 | 0 | 0 | 0 | 2 | 1 |
|
| 0 | 0 | 0 | 38 | 0 | 0 | 1 | 0 | 1 | 0 |
|
| 3 | 1 | 0 | 0 | 4 | 0 | 0 | 3 | 0 | 0 |
|
| 0 | 0 | 0 | 0 | 0 | 11 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 1 | 0 | 0 | 0 | 27 | 0 | 0 | 0 |
|
| 10 | 8 | 0 | 0 | 7 | 0 | 0 | 30 | 0 | 0 |
|
| 1 | 0 | 8 | 0 | 2 | 0 | 1 | 8 | 112 | 2 |
|
| 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 89 |
|
| 36% | 0% | 88% | 100% | 31% | 100% | 93% | 64% | 97% | 97% |
Figure 3Accuracy of proposed method with different number of LiSSA hidden layer units on datasets (a) OrdonezA, (b) OrdonezB, (c) Ulster, and (d) vanKasterenADL.
Figure 4F1_score of proposed method with different number of LiSSA hidden layer units on datasets (a) OrdonezA, (b) OrdonezB, (c) Ulster, and (d) vanKasterenADL.