| Literature DB >> 25436652 |
Enrique Garcia-Ceja1, Ramon F Brena2, Jose C Carrasco-Jimenez3, Leonardo Garrido4.
Abstract
With the development of wearable devices that have several embedded sensors, it is possible to collect data that can be analyzed in order to understand the user's needs and provide personalized services. Examples of these types of devices are smartphones, fitness-bracelets, smartwatches, just to mention a few. In the last years, several works have used these devices to recognize simple activities like running, walking, sleeping, and other physical activities. There has also been research on recognizing complex activities like cooking, sporting, and taking medication, but these generally require the installation of external sensors that may become obtrusive to the user. In this work we used acceleration data from a wristwatch in order to identify long-term activities. We compare the use of Hidden Markov Models and Conditional Random Fields for the segmentation task. We also added prior knowledge into the models regarding the duration of the activities by coding them as constraints and sequence patterns were added in the form of feature functions. We also performed subclassing in order to deal with the problem of intra-class fragmentation, which arises when the same label is applied to activities that are conceptually the same but very different from the acceleration point of view.Entities:
Mesh:
Year: 2014 PMID: 25436652 PMCID: PMC4299024 DOI: 10.3390/s141222500
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Related complex activity recognition works.
| Martínez-Pérez | 4: taking blood pressure, feeding, hygiene, medication | RFID, accelerometers, video cameras | 91.35% accuracy, 1 patient during 10 days. 81 instances. |
| Gu | 26: making coffee, ironing, using phone, washing clothes, | accelerometers, temperature, humidity, light, RFID, | Overall accuracy 88.11%, 4 subjects over a 4 weeks period. Collected instances 532. |
| Cook | 11: bathing, cooking, sleeping, eating, relaxing, taking medicine, hygiene, | infrared motion detectors and magnetic door sensors | Accuracies of 71.08%, 59.76% and 84.89% for each of the 3 apartments during a period of 6 months. |
| Huynh | 3: housework, morning tasks and shopping. | 2D accelerometers and tilt switches | Accuracy of 91.8% for 1 user and period of about 10 h. |
| Kasteren | bathing, dressing, toileting, | reed switches, pressure mats, mercury contacts, passive infrared, float sensors and temperature sensors | 4 different datasets |
| Tolstikov | 7: leaving, toileting, showering, sleeping, breakfast, | 14 binary sensors | Maximum accuracy of 95.7% for 1 subject during 27 days. |
| Vinh | 4: dinner, commuting, lunch and office work | 2 triaxial accelerometers | Precision of 88.47% for data collected during 7 days. |
| Sung | 12: cooking, talking on the phone, working on computer, | Microsoft Kinect | Average precision 86.5%, data collected by 4 subjects |
| Gordon | 7: drinking, gesticulating, put mug on table, meeting, presentation, coffee break, | accelerometers attached to mugs | Average accuracy of 95% for single-user and maximum 96% for group activities. 3 subjects. In total over 45 mins. of collected data. |
Figure 1.A visual comparison between a first order HMM and a linear chain CRF. The HMM defines a joint probability P(O, Q) whereas the CRF defines a conditional probability P(Q | O). Note that an HMM only has access to the current observation o but the CRF has access to the entire observation sequence O at any given time.
Figure 2.Device used to collect the data.
Figure 3.Raw accelerometer data and tagged activities during one specific day.
Number of instances and duration of each self-reported activity (subject 1).
| 23 | 23 | 31 | 20 | 109 | 3 | 10 | |
| 2.9 | 9.4 | 32.4 | 5.0 | 50.1 | 1.0 | 3.5 |
Number of instances and duration of each self-reported activity (subject 2).
| 54 | 17 | 21 | 3 | 95 | |
| 14.6 | 6.4 | 38.3 | 1.0 | 51.7 |
Figure 4.The acceleration signals are transformed into sequences of primitives using vector quantization.
Figure 5.Overall process for performing the subclassing.
Figure 6.Resulting dendrogram of hierarchical clustering for subject 1.
Figure 7.Accuracy as number of primitives increase.
Overall accuracies for the five experiments for the two subjects.
| 60.7% | 68.8% | 75.1% | |
| 64.7% | 71.9% | 77.1% | |
| 64.1% | 71.0% | 76.3% | |
| 63.9% | 70.8% | 76.2% | |
| 64.1% | 71.0% | 76.3% |
Figure 8.Confusion matrices for experiment 1 (subject 1): no subclassing.
Percent of states of each class (subject 1).
| 2.8 | 9.0 | 30.9 | 4.8 | 47.9 | 1.0 | 3.4 |
Percent of states of each class (subject 2).
| 13.1 | 0.9 | 5.8 | 46.1 | 33.8 |
Figure 9.Paired box plots showing the accuracies for the 21 days.
Resulting p-values of the statistical tests (μ0: mean accuracy with no subclassing, μ: mean accuracy with silhouette subclassing).
| −3.5 | ||||
| −2.2 | ||||
| −1.1 |
Figure 10.Confusion matrices for experiment 2 (subject 1): fixed subclassing.
Figure 11.Confusion matrices for experiment 3 (subject 1): silhouette subclassing.
Figure 12.Confusion matrices for experiment 4 (subject 1): PBM subclassing.
Figure 13.Confusion matrices for experiment 5 (subject 1): GDI33 subclassing.