| Literature DB >> 31905991 |
Naomi Irvine1, Chris Nugent1, Shuai Zhang1, Hui Wang1, Wing W Y Ng2.
Abstract
In this paper, we focus on data-driven approaches to human activity recognition (HAR). Data-driven approaches rely on good quality data during training, however, a shortage of high quality, large-scale, and accurately annotated HAR datasets exists for recognizing activities of daily living (ADLs) within smart environments. The contributions of this paper involve improving the quality of an openly available HAR dataset for the purpose of data-driven HAR and proposing a new ensemble of neural networks as a data-driven HAR classifier. Specifically, we propose a homogeneous ensemble neural network approach for the purpose of recognizing activities of daily living within a smart home setting. Four base models were generated and integrated using a support function fusion method which involved computing an output decision score for each base classifier. The contribution of this work also involved exploring several approaches to resolving conflicts between the base models. Experimental results demonstrated that distributing data at a class level greatly reduces the number of conflicts that occur between the base models, leading to an increased performance prior to the application of conflict resolution techniques. Overall, the best HAR performance of 80.39% was achieved through distributing data at a class level in conjunction with a conflict resolution approach, which involved calculating the difference between the highest and second highest predictions per conflicting model and awarding the final decision to the model with the highest differential value.Entities:
Keywords: ensemble neural networks; human activity recognition; model conflict resolution; neural networks; smart environments
Mesh:
Year: 2019 PMID: 31905991 PMCID: PMC6982871 DOI: 10.3390/s20010216
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Location of Binary Sensors in the UJAmI Smart Lab [72].
Activity Classes in the UCAmI Cup Dataset [72], where M, A, and E indicate the Morning, Afternoon, and Evening routines, respectively.
| ID | Name | Instances | Routine | ID | Name | Instances | Routine |
|---|---|---|---|---|---|---|---|
| Act01 | Take Medication | 52 | A, E | Act13 | Leave Smart Lab | 33 | M, A |
| Act02 | Prepare Breakfast | 63 | M | Act14 | Visitor to Smart Lab | 7 | M, A |
| Act03 | Prepare lunch | 118 | A | Act15 | Put waste in the bin | 75 | A, E |
| Act04 | Prepare Dinner | 76 | E | Act16 | Wash hands | 22 | M |
| Act05 | Breakfast | 78 | M | Act17 | Brush teeth | 132 | M, A, E |
| Act06 | Lunch | 101 | A | Act18 | Use the toilet | 44 | M, A, E |
| Act07 | Dinner | 86 | E | Act19 | Wash dishes | 13 | A, E |
| Act08 | Eat a snack | 12 | A | Act20 | Put washing in machine | 20 | M, A |
| Act09 | Watch TV | 70 | A, E | Act21 | Work at the table | 20 | M |
| Act10 | Enter Smart Lab | 21 | A, E | Act22 | Dressing | 86 | M, A, E |
| Act11 | Play a videogame | 28 | M, E | Act23 | Go to bed | 30 | E |
| Act12 | Relax on the sofa | 85 | M, A, E | Act24 | Wake up | 32 | M |
Description of binary sensors [72].
| ID | Object | Type | States |
|---|---|---|---|
| SM1 | Kitchen area | Motion | Movement/No movement |
| SM3 | Bathroom area | Motion | Movement/No movement |
| SM4 | Bedroom area | Motion | Movement/No movement |
| SM5 | Sofa area | Motion | Movement/No movement |
| M01 | Door | Contact | Open/Close |
| TV0 | TV | Contact | Open/Close |
| D01 | Refrigerator | Contact | Open/Close |
| D02 | Microwave | Contact | Open/Close |
| D03 | Wardrobe | Contact | Open/Close |
| D04 | Cups cupboard | Contact | Open/Close |
| D05 | Dishwasher | Contact | Open/Close |
| D07 | WC | Contact | Open/Close |
| D08 | Closet | Contact | Open/Close |
| D09 | Washing machine | Contact | Open/Close |
| D10 | Pantry | Contact | Open/Close |
| C01 | Medication box | Contact | Open/Close |
| C02 | Fruit platter | Contact | Open/Close |
| C03 | Cutlery | Contact | Open/Close |
| C04 | Pots | Contact | Open/Close |
| C05 | Water bottle | Contact | Open/Close |
| C07 | XBOX Remote | Contact | Present/Not present |
| C08 | Trash | Contact | Open/Close |
| C09 | Tap | Contact | Open/Close |
| C10 | Tank | Contact | Open/Close |
| C12 | Laundry basket | Contact | Present/Not present |
| C13 | Pyjamas drawer | Contact | Open/Close |
| C14 | Bed | Pressure | Pressure/No pressure |
| C15 | Kitchen faucet | Contact | Open/Close |
| H01 | Kettle | Contact | Open/Close |
| S09 | Sofa | Pressure | Pressure/No pressure |
Activities producing similar sensor characteristics within the UCAmI Cup data.
| Activity Group | Activity Name | Common Sensors |
|---|---|---|
| Act10, Act13, Act14 | Enter Smart Lab, Leave Smart Lab, and Visitor to Smart Lab | M01 Door |
| Act23, Act24 | Go to Bed and Wake Up | C14 Bed |
| Act09, Act12 | Watch TV and Relax on Sofa | S09 Pressure Sofa |
| Act02, Act03, Act04, Act08 | Prepare Breakfast, Prepare Lunch, Prepare Dinner, Prepare Snack | SM1 Kitchen Motion |
Figure 2Distribution of the 24 UCAmI Cup activity classes with threshold shown.
Activity classes in the restructured dataset.
| ID | Name | Instances | Routine | ID | Name | Instances | Routine |
|---|---|---|---|---|---|---|---|
| Act01 | Take Medication | 52 | A, E | Act24 | Wake up | 32 | M |
| Act15 | Put waste in the bin | 75 | A, E | ActN1 | Door | 61 | M, A, E |
| Act17 | Brush teeth | 132 | M, A, E | ActN2 | Watch TV on sofa | 155 | M, A, E |
| Act18 | Use the toilet | 44 | M, A, E | ActN3 | Breakfast | 141 | M |
| Act22 | Dressing | 86 | M, A, E | ActN4 | Lunch | 219 | A |
| Act23 | Go to bed | 30 | E | ActN5 | Dinner | 162 | E |
Figure 3Excerpt from a raw binary data file.
Figure 4Four base classifiers presented per time routine, where n indicates the number of classes per model. M, A, and E represent the Morning, Afternoon, and Evening models, respectively, and finally MI represents the Mixed model.
Activity class outputs per model.
| #output | Model ID | Name | Activity Classes |
|---|---|---|---|
| m1 = 3 |
| Morning | |
| m2 = 2 |
| Afternoon | |
| m3 = 3 |
| Evening | |
| m4 = 8 |
| Mixed |
Figure 5Framework for the homogeneous ensemble approach. M1, M2, and M3 represent the Morning, Afternoon, and Evening models, respectively, and M4 represents the Mixed model.
Model level-distribution of instances for complement class compositions.
| Complement | Model Distribution | Class Distribution | |
|---|---|---|---|
| complement class | Afternoon (24) | ActN4 (24) | Act17 (03) |
| complement class | Morning (62) | Act24 (31) | Act15 (09) |
| complement class | Morning (27) | Act24 (13) | Act15 (04) |
| complement class | Morning (24) | Act24 (12) | Act23 (12) |
Class level-distribution of instances for complement class compositions.
| Complement | Model Distribution | Class Distribution | |
|---|---|---|---|
| complement class | Afternoon (15) | ActN4 (15) | Act17 (15) |
| complement class | Morning (68) | Act24 (34) | Act15 (34) |
| complement class | Morning (32) | Act24 (16) | Act15 (16) |
| complement class | Morning (58) | Act24 (29) | Act23 (29) |
Number of conflicts.
|
| |||||||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Avg. | |
| Complement Class – Model Level Approach | 76 | 57 | 69 | 52 | 49 | 35 | 60 | 45 | 62 | 56 | 56.1 |
| Complement Class – Class Level Approach | 21 | 37 | 11 | 13 | 13 | 42 | 29 | 39 | 11 | 17 | 23.3 |
Figure 6Human Activity Recognition (HAR) performance per conflict resolution approach.
Ensemble approach 1—analysis of incorrect instances.
|
| ||||||||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Avg. | ||
| Algorithm 2 | Incorrect | 22 | 22 | 21 | 29 | 29 | 20 | 30 | 22 | 20 | 22 | 23.7 |
| Right but Incorrect | 17 | 18 | 21 | 12 | 17 | 16 | 9 | 14 | 20 | 20 | 16.4 | |
| Algorithm 3 | Incorrect | 23 | 22 | 21 | 29 | 29 | 22 | 29 | 22 | 20 | 24 | 24.1 |
| Right but Incorrect | 10 | 14 | 10 | 9 | 12 | 12 | 9 | 12 | 14 | 11 | 11.3 | |
| Algorithm 4 | Incorrect | 22 | 23 | 21 | 29 | 29 | 22 | 29 | 22 | 20 | 22 | 23.9 |
| Right but Incorrect | 31 | 22 | 13 | 23 | 11 | 15 | 23 | 18 | 10 | 21 | 18.7 | |
| Algorithm 5 | Incorrect | 22 | 22 | 21 | 29 | 29 | 22 | 29 | 22 | 20 | 22 | 23.8 |
| Right but Incorrect | 14 | 10 | 13 | 7 | 13 | 15 | 9 | 17 | 14 | 11 | 12.3 | |
Ensemble approach 2—analysis of incorrect instances.
|
| ||||||||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Avg. | ||
| Algorithm 2 | Incorrect | 33 | 26 | 35 | 33 | 25 | 32 | 27 | 28 | 40 | 26 | 30.5 |
| Right but Incorrect | 6 | 9 | 2 | 6 | 4 | 11 | 8 | 10 | 2 | 8 | 6.6 | |
| Algorithm 3 | Incorrect | 33 | 26 | 35 | 33 | 25 | 31 | 27 | 28 | 40 | 26 | 30.4 |
| Right but Incorrect | 5 | 7 | 3 | 2 | 6 | 7 | 6 | 5 | 0 | 6 | 4.7 | |
| Algorithm 4 | Incorrect | 33 | 26 | 35 | 33 | 25 | 31 | 27 | 28 | 40 | 25 | 30.3 |
| Right but Incorrect | 8 | 21 | 4 | 3 | 6 | 6 | 11 | 7 | 1 | 5 | 7.2 | |
| Algorithm 5 | Incorrect | 33 | 26 | 34 | 33 | 25 | 31 | 27 | 28 | 40 | 25 | 30.2 |
| Right but Incorrect | 8 | 8 | 5 | 2 | 6 | 5 | 6 | 7 | 1 | 5 | 5.3 | |
Figure 7HAR performance of the proposed ensemble Neural Network (NN) approach compared to Nearest Neighbour (kNN) and Support Vector Machine (SVM) classifiers.