| Literature DB >> 34209389 |
Tazar Hussain1, Chris Nugent1, Adrian Moore1, Jun Liu1, Alfie Beard2.
Abstract
The Internet of Things (IoT) is a key and growing technology for many critical real-life applications, where it can be used to improve decision making. The existence of several sources of uncertainty in the IoT infrastructure, however, can lead decision makers into taking inappropriate actions. The present work focuses on proposing a risk-based IoT decision-making framework in order to effectively manage uncertainties in addition to integrating domain knowledge in the decision-making process. A structured literature review of the risks and sources of uncertainty in IoT decision-making systems is the basis for the development of the framework and Human Activity Recognition (HAR) case studies. More specifically, as one of the main targeted challenges, the potential sources of uncertainties in an IoT framework, at different levels of abstraction, are firstly reviewed and then summarized. The modules included in the framework are detailed, with the main focus given to a novel risk-based analytics module, where an ensemble-based data analytic approach, called Calibrated Random Forest (CRF), is proposed to extract useful information while quantifying and managing the uncertainty associated with predictions, by using confidence scores. Its output is subsequently integrated with domain knowledge-based action rules to perform decision making in a cost-sensitive and rational manner. The proposed CRF method is firstly evaluated and demonstrated on a HAR scenario in a Smart Home environment in case study I and is further evaluated and illustrated with a remote health monitoring scenario for a diabetes use case in case study II. The experimental results indicate that using the framework's raw sensor data can be converted into meaningful actions despite several sources of uncertainty. The comparison of the proposed framework to existing approaches highlights the key metrics that make decision making more rational and transparent.Entities:
Keywords: Domain Knowledge; IoT framework; Machine Learning; human activity recognition; uncertainty
Mesh:
Year: 2021 PMID: 34209389 PMCID: PMC8271623 DOI: 10.3390/s21134504
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The proposed IoT-DM framework.
Figure 2ITU–T IoT Reference Model [39].
Mapping of the IoT-DM Framework components to ITU–T reference architecture layers.
| IoT-DM Framework Layers | ITU–T Layers |
|---|---|
| Action and Decision Alternative application and interface for human operator. | Application Layer |
| Generic Capabilities: Modules such as User Profile, Domain knowledge and Data Processing and submodule Model Selection. | Service Support and Application support Layer(Generic Capabilities and Gateway Capabilities ) |
| Communication management for Data Acquisition Data Processing and Risk-Based Analytics Module | Network Layer |
| Data Acquisition (Environmental and wearable sensors) and Actuator(Reminder) | Device Layer (Device Capabilities and Gateway Capabilities ) |
| No Direct mapping | Management Capabilities |
| No Direct mapping | Security Capabilities |
Figure 3Location of the binary and proximity sensors in the UJAml smart lab.
Activities and number of instances for each activity recorded in the UCAmI Cup dataset.
| ID | Name | Instances | ID | Name | Instances |
|---|---|---|---|---|---|
| Act01 | Take Medication | 240 | Act13 | Leave smart lab | 80 |
| Act02 | Prepare Breakfast | 390 | Act14 | Visitor to smart lab | 14 |
| Act03 | Prepare lunch | 984 | Act15 | Put waste in the bin | 298 |
| Act04 | Prepare dinner | 402 | Act16 | Wash hands | 144 |
| Act05 | Breakfast | 588 | Act17 | Brush teeth | 540 |
| Act06 | Lunch | 738 | Act18 | Use the toilet | 144 |
| Act07 | Dinner | 582 | Act19 | Wash dishes | 96 |
| Act08 | Eat a snack | 78 | Act20 | Put washing in machine | 96 |
| Act09 | Watch TV | 642 | Act21 | Work at the table | 379 |
| Act10 | Enter smart lab | 97 | Act22 | Dressing | 432 |
| Act11 | Play a videogame | 180 | Act23 | Go to bed | 92 |
| Act12 | Relax on the sofa | 859 | Act24 | Wake up | 222 |
Figure 4An example of sensor events and activities from the UCAmI dataset morning section of day 1, red and green colors indicate the status of the sensors as OFF and ON respectively.
List of selected features using the SFS.
| Garbage-CAN (GC) | Laundry Basket (LB) | Medicine Box (MB) | Toothbrush (TB) | Bathroom Tap (BT) | SM1 | SM3 | SM4 |
|---|---|---|---|---|---|---|---|
| TV-Controller (TC) | Fridge | Wardrobe Door (WD) | Water Bottle (WB) | Entrance Door (ED) | Bed | Time |
Figure 5Comparison of the calibration scores and accuracy of the uncalibrated RF, LR and CRF.
Selected activities from the UCAmI dataset for a diabetes use case.
| Symptoms and Treatment of Diabetes | UCAmI Activities |
|---|---|
| Medication | Act01 (take medication) |
| Frequent eating | Act08 (eat a snack) |
| Increased hunger | Act05 (breakfast), Act06 (lunch) and Act07 (dinner) |
| Fatigue (frequent sleeping) | Act23 (waking up) and Act24 (sleeping) |
| Increased urination (frequent toileting) | Act18 (use the toilet) |
Examples of instances predicted to be medication activity with their confidence scores.
| Actual | Predicted | Act01 | Act06 | Act07 | Act17 | Act19 | Confidence Status |
|---|---|---|---|---|---|---|---|
| Act01 | Act01 | 0.88 | 0 | 0.07 | 0 | 0.01 | Above Threshold |
| Act01 | Act01 | 2.51 | 0 | 0 | 0.1 | 0.38 | Above Threshold |
| Act01 | Act01 | 0.98 | 0 | 0 | 0 | 0 | Above Threshold |
| Act01 | Act01 | 0.99 | 0 | 0 | 0 | 0 | Above Threshold |
| Act01 | Act01 | 0.5 | 0 | 0.39 | 0.07 | 0 | Above Threshold |
| Act01 | Act01 | 0.61 | 0 | 0.38 | 0 | 0 | Above Threshold |
| Act01 | Act01 | 0.99 | 0 | 0 | 0 | 0 | Above Threshold |
| Act01 | Act06 | 0.3 | 0.69 | 0 | 0 | 0 | Above Threshold |
Examples of instances predicted to be medication activity with their associated costs.
| Actual | Predicted | Act01 | Act06 | Act07 | Act17 | Act19 | Cost |
|---|---|---|---|---|---|---|---|
| Act01 | Act01 | 0.88 | 0 | 0.07 | 0 | 0.01 | 0.8 |
| Act01 | Act01 | 2.51 | 0 | 0 | 0.1 | 0.38 | −0.29 |
| Act01 | Act01 | 0.98 | 0 | 0 | 0 | 0 | 0.12 |
| Act01 | Act01 | 0.99 | 0 | 0 | 0 | 0 | 0.13 |
| Act01 | Act01 | 0.5 | 0 | 0.39 | 0.07 | 0 | 0.3 |
| Act01 | Act01 | 0.61 | 0 | 0.38 | 0 | 0 | −0.19 |
| Act01 | Act01 | 0.99 | 0 | 0 | 0 | 0 | 0.13 |
| Act01 | Act06 | 0.3 | 0.69 | 0 | 0 | 0 | −0.5 |
Examples of instances predicted to be medication activity with their interpretations.
| Actual | Predicted | Act01 | Act06 | Act07 | Act17 | Act19 | Interpretations |
|---|---|---|---|---|---|---|---|
| Act01 | Act01 | 0.88 | 0 | 0.07 | 0 | 0.01 | Probability of medication activity is 0.88, while probability of dinner activity is 0.07 |
| Act01 | Act01 | 0.51 | 0 | 0 | 0 | 0.10 | Probability of medication activity is 0.51, while probability of washing dishes activity is 0.10 |
| Act01 | Act01 | 0.50 | 0 | 0.39 | 0.07 | 0 | Probability of medication activity is 0.50, while probability of dinner activity is 0.39 |
| Act01 | Act06 | 0.30 | 0.69 | 0 | 0 | 0 | Probability of medication activity is 0.30, while probability of lunch activity is 0.69. |
An example list of activities and their status based on the domain knowledge.
| No | Actual | Predicted | Act01 | Act02 | Act05 | Act06 | Act07 | Act08 | Act17 | Act18 | Act19 | Act20 | Act22 | Act24 | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Act01 | Act01 | 0.97 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Reliable |
| 2 | Act01 | Act19 | 0.39 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | Transitional |
| 3 | Act01 | Act06 | 0.01 | 0 | 0 | 0.98 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Noise |
| 4 | Act01 | Act01 | 0.99 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Reliable |
| 5 | Act01 | Act01 | 0.88 | 0 | 0 | 0 | 0.07 | 0 | 0 | 0 | 0.01 | 0 | 0 | 0 | Reliable |
| 6 | Act01 | Act01 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0.38 | 0 | 0 | 0 | Transitional |
| 7 | Act05 | Act02 | 0 | 0.52 | 0.47 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Transitional |
| 8 | Act05 | Act05 | 0 | 0.08 | 0.83 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | Reliable |
| 9 | Act018 | Act18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.52 | 0 | 0.47 | Transitional | ||
| 10 | Act018 | Act17 | 0 | 0 | 0 | 0 | 0 | 0 | 0.95 | 0.95 | 0 | 0 | 0.02 | 0 | Noise |
| 11 | Act018 | Act20 | 0 | 0 | 0 | 0 | 0 | 0.21 | 0.07 | 0 | 0.71 | 0 | 0 | Transitional |
Figure 6Distribution of reliable, transitional and noisy instances for a diabetes use case.
List of recommended actions for diabetes use case and their descriptions.
| Actions | Description |
|---|---|
|
| Automate actions predicted equal or greater than the high threshold (no human intervention). |
|
| If required enable the reminder service for the user. |
|
| If an activity is not predicted with required confidence, then ask the user to confirm if an activity has been taken place or not. |
|
| This action involves “wait and see” and abstain from an action. |
|
| This involves human intervention and the situation will be assessed using human judgment. |
|
| If an emergency situation arises, e.g., the user does not take medication continuously for few days. |
Comparison of the proposed risk-based IoT framework with the traditional framework.
| Accuracy | Ability to Make Decision Making Cost Sensitive | Interpretability | Misclassification Reason | Confidence of Output | Human Investigation | Automation | |
|---|---|---|---|---|---|---|---|
| Proposed Framework | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Traditional Framework | Yes | No | No | No | No | No | Yes |