| Literature DB >> 29232937 |
Abstract
Recently, recognizing a user's daily activity using a smartphone and wearable sensors has become a popular issue. However, in contrast with the ideal definition of an experiment, there could be numerous complex activities in real life with respect to its various background and contexts: time, space, age, culture, and so on. Recognizing these complex activities with limited low-power sensors, considering the power and memory constraints of the wearable environment and the user's obtrusiveness at once is not an easy problem, although it is very crucial for the activity recognizer to be practically useful. In this paper, we recognize activity of eating, which is one of the most typical examples of a complex activity, using only daily low-power mobile and wearable sensors. To organize the related contexts systemically, we have constructed the context model based on activity theory and the "Five W's", and propose a Bayesian network with 88 nodes to predict uncertain contexts probabilistically. The structure of the proposed Bayesian network is designed by a modular and tree-structured approach to reduce the time complexity and increase the scalability. To evaluate the proposed method, we collected the data with 10 different activities from 25 volunteers of various ages, occupations, and jobs, and have obtained 79.71% accuracy, which outperforms other conventional classifiers by 7.54-14.4%. Analyses of the results showed that our probabilistic approach could also give approximate results even when one of contexts or sensor values has a very heterogeneous pattern or is missing.Entities:
Keywords: Bayesian network; context-awareness; human activity recognition; mobile application; wearable computing
Mesh:
Year: 2017 PMID: 29232937 PMCID: PMC5751632 DOI: 10.3390/s17122877
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Correlation scores of each attribute.
| Name 1 | Value | h_acc_x 2 | h_acc_y | h_acc_z | h_lux | h_temp | h_hum | acc_x | acc_y | acc_z |
|---|---|---|---|---|---|---|---|---|---|---|
| Correlation | Pearson correlation coefficient | 0.1068 | 0.2887 | 0.0819 | 0.0217 | 0.0101 | 0.1379 | 0.2351 | 0.2837 | 0.3997 |
| InfoGain |
| 0.0883 | 0.1866 | 0.0725 | 0.0685 | 0.1202 | 0.1556 | 0.4786 | 0.4604 | 0.336 |
| GainRatio |
| 0.0142 | 0.0304 | 0.0137 | 0.0133 | 0.0157 | 0.02 | 0.076 | 0.0678 | 0.0737 |
| SymUncert |
| 0.0245 | 0.0523 | 0.023 | 0.0222 | 0.0278 | 0.0354 | 0.1311 | 0.1181 | 0.1208 |
1 Correlation coefficient, information gain, information gain ratio, symmetric uncertainty; 2 h = hand, acc = accelerometer, lux = illuminometer, temp = temperature, hum = humidity.
Correlation matrix of attributes.
| h_acc_x | h_acc_y | h_acc_z | h_lux | h_temp | h_hum | acc_x | acc_y | acc_z | |
|---|---|---|---|---|---|---|---|---|---|
| h_acc_x | 1 | 0.32 | 0.07 | 0.04 | 0.08 | 0.03 | 0.09 | 0.08 | 0.15 |
| h_acc_y | 1 | 0.1 | 0.07 | 0.16 | 0.07 | 0.13 | 0.19 | 0.21 | |
| h_acc_z | 1 | 0.04 | 0.05 | 0.04 | 0.04 | 0.12 | 0.14 | ||
| h_lux | 1 | 0.06 | 0.07 | 0.17 | 0.04 | 0.05 | |||
| h_temp | 1 | 0.09 | 0.21 | 0.23 | 0.22 | ||||
| h_hum | 1 | 0.01 | 0.06 | 0.02 | |||||
| acc_x | 1 | 0.49 | 0.61 | ||||||
| acc_y | 1 | 0.77 | |||||||
| acc_z | 1 |
Figure 1A time-series variation of acceleration sensor data in various activities.
Figure 2Smartphone and wrist-wearable device for data collection.
Sensors, activities, and methods of daily activity recognition works.
| Author | Sensors | Activities | Feature Extraction | Classifier |
|---|---|---|---|---|
| Jatoba et al. [ | Accelerometer | Walking, jogging, climbing upstairs, etc. | Step count, mean value of local maxima, angle value, etc. | K-nearest neighbor, naïve Bayes, binary decision tree, etc. |
| Bao et al. [ | Accelerometer | 20 daily activities | Mean, energy, entropy, etc. | Decision tree, naïve Bayes, nearest neighbor, decision table |
| Cheng et al. [ | Electrodes | Looking to various sides, bread/water swallowing, etc. | Manual observation, | Linear discriminant analysis |
| Tapia et al. [ | Accelerometer (right-wrist, tight, ankle), heart rate monitor | Various exercise (walking, running, ascending/descending stairs, cycling, rowing, etc.) | Mean distance, entropy, correlation coefficient, FFT peaks and energy | Decision tree, naïve Bayes |
| Lee et al. [ | Accelerometer | 20 daily activities (dinner, lunch, office work, etc.) | Mean, standard deviation, mean crossing rate | Semi-Markov conditional random field |
Figure 3An overview of the proposed method.
Sensors attached to wrist-wearable devices for recognition.
| Sensor | Abbreviation | Units | Power Consumption | Collecting Frequency |
|---|---|---|---|---|
| Accelerometer | h_acc | m/s2 | 450 µA | 20 Hz |
| Illuminometer | h_lux | lux | 250 µA | 1 Hz |
| Thermometer | h_temp | °C | 1.0 µA | 1 Hz |
| Hygrometer | h_hum | g/m3 | 0.8 µA | 1 Hz |
OWL representation of the context model for eating activity recognition.
| Class: Eating activity | subClassOf: Subject property | subClassOf: Activity | subClassOf: Wrist | ObjectProperty: Position of hand |
| ObjectProperty: Dinnerware | ||||
| ObjectProperty: Movement of hand | ||||
| subClassOf: Body | ObjectProperty: Posture | |||
| ObjectProperty: Move/stop | ||||
| ObjectProperty: Movement of body | ||||
| subClassOf: Operation | ObjectProperty: Body temperature | |||
| ObjectProperty: Posture | ||||
| ObjectProperty: Humidity of hand | ||||
| subClassOf: Object property | ObjectProperty: Existance of food | |||
| subClassOf: Spatial property | ObjectProperty: Eating place | |||
| ObjectProperty: Indoor/outdoor | ||||
| ObjectProperty: Move/stop | ||||
| ObjectProperty: Illuminance of space | ||||
| subClassOf: Temporal property | ObjectProperty: Eating time | |||
Figure 4The proposed Bayesian network.
Data specification.
| Activity | Count | Job | Count | Gender | Count |
|---|---|---|---|---|---|
| 1 | 1 (4%) | 1 | 3 (12%) | M | 12 (48%) |
| 2 | 2 (8%) | 2 | 2 (8%) | F | 13 (52%) |
| 3 | 1 (4%) | 3 | 1 (4%) | Age | Count |
| 4 | 11 (44%) | 4 | 6 (24%) | 0~10 | 2 (8%) |
| 5 | 6 (24%) | 5 | 1 (4%) | 20~30 | 9 (36%) |
| 6 | 3 (12%) | 6 | 8 (32%) | 30~40 | 2 (8%) |
| 7 | 2 (8%) | 7 | 3 (12%) | 40~50 | 3 (12%) |
| 8 | 5 (20%) | 8 | 1 (4%) | 50~60 | 8 (32%) |
| 9 | 1 (4%) | 60~ | 1 (4%) | ||
| 10 | 1 (4%) | ||||
Index of activities and jobs.
| Index | Activity | Job |
|---|---|---|
| 1 | Washing | Undergraduate |
| 2 | Walking | Graduate |
| 3 | Housework | Student |
| 4 | Eating (dinnerware) | Houseworker |
| 5 | Eating (etc.) | No job |
| 6 | Conversation | Office worker |
| 7 | Driving | Businessman |
| 8 | Sedentary work | etc. |
| 9 | Subway | |
| 10 | Playing the piano |
Comparison of our dataset with another open dataset for HAR.
| Number of Subjects | Number of Instances | Length | Activities | Sensors | |
|---|---|---|---|---|---|
| Our dataset | 25 | 379,013 | 16 h | 10 daily activities | Three-axis accelerometers (2), hygrometer, illuminometer, thermometer |
| Opportunity | 4 | 96,667 | 6 h | 17 simple activities | Inertial measurement unit (7), |
| Skoda | 1 | 179,853 | 3 h | 10 gestures | Three-axis accelerometers (20) |
Confusion matrix of the proposed BN.
| Positive | Negative | |
|---|---|---|
| True | TP = 136,354 | FN = 42,937 |
| False | FP = 33,949 | TN = 165,773 |
Statistical indices of the results.
| Index | Value |
|---|---|
| Accuracy | |
| Precision | |
| Sensitivity |
|
| Specificity |
|
Figure 5ROC curve for the proposed BN.
Figure 6Ten-fold cross-validation for other typical classifiers (accuracy, sensitivity, specificity).
Figure 7Proportion of the error case.
Figure 8Error rate of each activity.
Figure 9Eating activity of a left-handed person.