Context-based Reasoning in Ambient Intelligence - CoReAmI -

Similar documents
An Empirical Study of Building Compact Ensembles

Calculating Land Values by Using Advanced Statistical Approaches in Pendik

Ensemble Methods. NLP ML Web! Fall 2013! Andrew Rosenberg! TA/Grader: David Guy Brizan

Ensembles. Léon Bottou COS 424 4/8/2010

Variance Reduction and Ensemble Methods

Bagging and Boosting for the Nearest Mean Classifier: Effects of Sample Size on Diversity and Accuracy

FEATURE SELECTION COMBINED WITH RANDOM SUBSPACE ENSEMBLE FOR GENE EXPRESSION BASED DIAGNOSIS OF MALIGNANCIES

VBM683 Machine Learning

ECE 5424: Introduction to Machine Learning

Ensemble Methods and Random Forests

Learning with multiple models. Boosting.

Robotics 2 AdaBoost for People and Place Detection

Empirical Risk Minimization, Model Selection, and Model Assessment

Multimodal context analysis and prediction

Probabilistic Graphical Models for Image Analysis - Lecture 1

Will it rain tomorrow?

Data Mining und Maschinelles Lernen

Anomaly Detection for the CERN Large Hadron Collider injection magnets

day month year documentname/initials 1

Ensembles of Classifiers.

Human Activity Recognition and Estimation of Calorie Expenditure - A Data Analytic Approach

Decision Trees: Overfitting

Real Estate Price Prediction with Regression and Classification CS 229 Autumn 2016 Project Final Report

Statistical Machine Learning from Data

Hierarchical Boosting and Filter Generation

Decision Trees. Tirgul 5

Ensemble Methods: Jay Hyer

Ensemble Methods. Charles Sutton Data Mining and Exploration Spring Friday, 27 January 12

Active Sonar Target Classification Using Classifier Ensembles

Machine Learning Recitation 8 Oct 21, Oznur Tastan

Molinas. June 15, 2018

Click Prediction and Preference Ranking of RSS Feeds

Inertial Navigation and Various Applications of Inertial Data. Yongcai Wang. 9 November 2016

Maarten Bieshaar, Günther Reitberger, Stefan Zernetsch, Prof. Dr. Bernhard Sick, Dr. Erich Fuchs, Prof. Dr.-Ing. Konrad Doll

TDT4173 Machine Learning

Algorithms for Classification: The Basic Methods

CS7267 MACHINE LEARNING

Applying Machine Learning for Gravitational-wave Burst Data Analysis

What makes good ensemble? CS789: Machine Learning and Neural Network. Introduction. More on diversity

Ensemble Methods for Machine Learning

Hypothesis Evaluation

Machine Learning and Deep Learning! Vincent Lepetit!

Random Forests. These notes rely heavily on Biau and Scornet (2016) as well as the other references at the end of the notes.

Introduction to Machine Learning Midterm Exam

Infinite Ensemble Learning with Support Vector Machinery

Big Data Analytics. Special Topics for Computer Science CSE CSE Feb 24

Exam Machine Learning for the Quantified Self with answers :00-14:45

UVA CS 4501: Machine Learning

A Support Vector Regression Model for Forecasting Rainfall

Hierarchical Signal Segmentation and Classification for Accurate Activity Recognition

TDT4173 Machine Learning

Data Mining Classification: Basic Concepts and Techniques. Lecture Notes for Chapter 3. Introduction to Data Mining, 2nd Edition

Reducing Multiclass to Binary: A Unifying Approach for Margin Classifiers

Hierarchical models for the rainfall forecast DATA MINING APPROACH

A Novel Activity Detection Method

Linear Classifiers: Expressiveness

Chapter 14 Combining Models

Analyzing dynamic ensemble selection techniques using dissimilarity analysis

Lecture 3: Decision Trees

Holdout and Cross-Validation Methods Overfitting Avoidance

Classification using stochastic ensembles

Explaining Results of Neural Networks by Contextual Importance and Utility

EECS 349:Machine Learning Bryan Pardo

Predicting New Search-Query Cluster Volume

Outline: Ensemble Learning. Ensemble Learning. The Wisdom of Crowds. The Wisdom of Crowds - Really? Crowd wiser than any individual

Machine Learning Ensemble Learning I Hamid R. Rabiee Jafar Muhammadi, Alireza Ghasemi Spring /

Machine Learning! in just a few minutes. Jan Peters Gerhard Neumann

On the Problem of Error Propagation in Classifier Chains for Multi-Label Classification

ABC random forest for parameter estimation. Jean-Michel Marin

From statistics to data science. BAE 815 (Fall 2017) Dr. Zifei Liu

Machine Learning. Ensemble Methods. Manfred Huber

Algorithm-Independent Learning Issues

B555 - Machine Learning - Homework 4. Enrique Areyan April 28, 2015

ECE 5984: Introduction to Machine Learning

Neural Networks and Ensemble Methods for Classification

Forecasting of Solar Photovoltaic System Power Generation using Wavelet Decomposition and Biascompensated

SVAN 2016 Mini Course: Stochastic Convex Optimization Methods in Machine Learning

The Deep Forest and its Modi cations

Linear and Logistic Regression. Dr. Xiaowei Huang

Machine Learning

Gradient Boosting, Continued

Boosting & Deep Learning

Recitation 9. Gradient Boosting. Brett Bernstein. March 30, CDS at NYU. Brett Bernstein (CDS at NYU) Recitation 9 March 30, / 14

Fuzzy Systems. Introduction

Evaluation of Two Level Classifier for Predicting Compressor Failures in Heavy Duty Vehicles. Slawomir Nowaczyk SAIS 2017 workshop, May

OVERLAPPING ANIMAL SOUND CLASSIFICATION USING SPARSE REPRESENTATION

Summary and discussion of: Dropout Training as Adaptive Regularization

A Comparison among various Classification Algorithms for Travel Mode Detection using Sensors data collected by Smartphones

Voting (Ensemble Methods)

Fuzzy Systems. Introduction

Math 6330: Statistical Consulting Class 5

Analysis of Data Mining Techniques for Weather Prediction

Chapter 18. Decision Trees and Ensemble Learning. Recall: Learning Decision Trees

CS 229 Final report A Study Of Ensemble Methods In Machine Learning

Speaker Representation and Verification Part II. by Vasileios Vasilakakis

Making Our Cities Safer: A Study In Neighbhorhood Crime Patterns

ECE521 Lecture 7/8. Logistic Regression

Predicting Individual Thermal Comfort using Machine Learning Algorithms

Machine Learning Approaches to Crop Yield Prediction and Climate Change Impact Assessment

Maximum Direction to Geometric Mean Spectral Response Ratios using the Relevance Vector Machine

Transcription:

Context-based in Ambient Intelligence - CoReAmI - Hristijan Gjoreski Department of Intelligent Systems, Jožef Stefan Institute Supervisor: Prof. Dr. Matjaž Gams Co-supervisor: Dr. Mitja Luštrek

Background What is Ambient Intelligence (AmI)? Refers environments with embedded technologies that are sensitive and responsive to the presence of people What is context? [A. Dey, 00] Context is any information that characterizes the circumstances in which an event occurs J. C. Augusto et al. (007) Context-based reasoning To reason about something using contextual information

Motivation () Context Numerous systems that provide services and reason about a user: health-care systems, elderly support systems, fitness applications, etc. The various sensors used in these systems provide rich contextual information: location, activity, etc. Illustrative example, which shows the importance of the context User sits and has high heart rate an alarming situation? Not always depends on the context, e.g., running as a previous activity Context-based reasoning approach CoReAmI

Motivation () Multi-view from multiple points of view (Multi-view reasoning) An intuitive example: sensing/reasoning about food Sight Smell Taste Complete picture of the food CoReAmI includes the idea of using multiple points of view Each view is created by using each source of information as a context individually In accordance with the: Principle of multiple knowledge Gams Ensemble learning (combining multiple ML models) Dietterich Gams M. Weak intelligence: through the principle and paradox of multiple knowledge. New York: Nova Science Publishers, 00. Dietterich TG. Ensemble methods in Machine Learning. In Proc. of the first International Workshop on Multiple Classifier Systems. 000. 4

Outline Background and Motivation Hypothesis CoReAmI Approach CoReAmI Case Studies Scientific Contributions Conclusions and Future Work 5

Hypothesis Extracting and combining multiple sources of information by using a context-based approach (that is, using each source of information as a context) can lead to better reasoning performance compared to conventional approaches in an AmI domain. To validate the hypothesis we developed the CoReAmI approach and tested it on three AmI problem domains: o Activity recognition o Energy expenditure estimation o Fall detection 6

Outline Introduction and Motivation Hypothesis CoReAmI Approach CoReAmI Case Studies Scientific Contributions Conclusions and Future Work 7

Outline Introduction and Motivation Hypothesis CoReAmI Approach Context Extraction Context Modeling Context Aggregation CoReAmI Case Studies Scientific Contributions Conclusions and Future Work 8

Outline Introduction and Motivation Hypothesis CoReAmI Approach Context Extraction Context Modeling Context Aggregation CoReAmI Case Studies Scientific Contributions Conclusions and Future Work 9

CoReAmI Approach s s s s m Sensor Data c c n A: Context Extraction v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation 0

CoReAmI Approach s s s s m Sensor Data c c n A: Context Extraction v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation

CoReAmI Approach s s s s m Sensor Data Accelerometer Heart rate sensor Location sensor c c n A: Context Extraction v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation

CoReAmI Approach A: Context Extraction s s s m Each context is a nominal variable (feature) For example: Activity (standing, sitting) Context Extraction segmentation, filtering, synchronization, classification, Heart rate (low, medium, ) Breath rate (low, medium, ) c c c c n

CoReAmI Approach s s s s m Sensor Data Accelerometer Heart rate sensor Location sensor c c n A: Context Extraction Location Activity Breath rate v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation 4

CoReAmI Approach s s s s m Breath rate Low c c n Sensor Data Accelerometer Heart rate sensor Location sensor A: Context Extraction Location Activity Breath rate v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c ML Expert rules v c Aggregation C: Context Aggregation Final decision 5

CoReAmI Approach B: Context Modeling Activity Heart rate Breath rate Decision Standing Low: 50 Low: 0 Yes Sitting Medium: 85 Low: No Sitting Low: 60 High: 9 No Standing Medium: 9 High: No Sitting Medium: 9 Low: No Running High: 5 Medium: No Sitting Medium: 0 Low: Yes Running High: 8 Medium: Yes Sitting Low: 59 Low: 6 Yes Standing High: 45 Medium: 9 Yes Running High: 44 High: 6 Yes The fundamental phase of CoReAmI Provides the multiple views Performs context-based partitioning Constructs an ensemble of models Breath rate Low Medium High Activity Heart rate Breath rate Decision Standing 50 0 Yes Sitting 85 No Sitting 9 No Sitting 99 Yes Sitting 59 6 Yes for the low breath rate Activity Heart rate Breath rate Decision Running 5 No Running 8 Yes Standing 45 9 Yes for the medium breath rate Activity Heart rate (min - ) Breath rate (min - ) Decision Sitting 60 9 No Standing 9 No Running 44 6 Yes for the high breath rate The same for: heart rate and activity 6 m breath rate = low m breath rate = medium m breath rate = high

CoReAmI Approach s s s s m Sensor Data Accelerometer Heart rate sensor Location sensor c c n A: Context Extraction Activity Heart rate Location v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation 7

CoReAmI Approach s s s s m Sensor Data Accelerometer Heart rate sensor Location sensor c c n A: Context Extraction Activity Heart rate Location v c v c v c Rv c Rv c Rv c R R R B: Context Modeling m c m c m c v c Aggregation Final decision C: Context Aggregation 8

CoReAmI Approach C: Context Aggregation Executed while evaluating a new instance Models that correspond to the instance s context values are invoked and their decisions are aggregated. m A=Standing m A=Sitting m A=Running m HR=Low m HR=Medium m HR=High Instance Activity (A) Standing Sitting Running Running Aggregation Heart rate (HR) Low Medium High Medium Decision Aggregation techniques: average, weighted average, median, voting, stacking Assumption: it is better to find a good aggregation function instead of choosing the best single model (Gams, Dietterich) Gams M. Weak intelligence: through the principle and paradox of multiple knowledge. New York: Nova Science Publishers, 00. Dietterich TG. Ensemble methods in Machine Learning. In Proc. of the first International Workshop on Multiple Classifier Systems. 000. 9 9

CoReAmI Summary CoReAmI General approach for context-based reasoning in Ambient Intelligence Contexts Multiple-views s s s s 4 s m c c c n c c c n Three phases: Context extraction Context modeling Context aggregation c c c c c cn v c v v x v v v y v v Rv c Rv c Rv c Rv c Rv c Rv c Rv c Rv c Rv c x y z m c m c m c m c m c m c v c v c cn v z cn Aggregation Final decision 0

Outline Introduction and Motivation Hypothesis CoReAmI Approach CoReAmI Case Studies Scientific Contributions Conclusions and Future Work

Outline Introduction and Motivation Hypothesis CoReAmI Approach CoReAmI Case Studies Energy Expenditure Estimation Activity Recognition Fall Detection Scientific Contributions Conclusions and Future Work

Case Study: EE Estimation Problem Description Human Energy Expenditure (EE) estimation Directly reflects the level of physical activity For sports training, weight control, management of metabolic disorders (e.g., diabetes), etc. True EE is difficult to measure by traditional means Solution: Automatic, unobtrusive and accurate EE estimation using various sensors (accelerometers, heart rate, temperature)

Case Study: EE Estimation Experimental Setup Sensor equipment Zephyr chest strap Shimmer accelerometers BodyMedia arm band Raw sensor used as input for CoReAmI EE estimation output used for comparison Cosmed ground truth (MET) Experimental scenario 90-minute Supervised by an expert Including 5 activities: lying, walking, running, cycling, shoveling snow, washing dishes, etc. Recorded by 0 volunteers 4

Case Study: EE Estimation CoReAmI for EE Estimation Context Extraction Activity Acceleration peaks count Heart rate Breath rate Chest skin temperature Galvanic skin response Arm skin temperature Near-body temperature Context modeling Discretization Decision Tree splitting criteria adapted for regression by Yong et al. 46 regression models 5 regression learning methods Context Aggregation Average Median 5

Case Study: EE Estimation Results RMSE Root Mean Square Error (RMSE) for CoReAmI's MET estimation compared to : single regression, Random Subspace and Bagging using 5 base learners: o Artificial Neural Network (ANN) o Support Vector machine for Regression (SVR) o Multiple Linear Regression (MLR) o Gaussian Processes for Regression (GPR) o Model tree (M5P) Base learner Single regression Random Subspace Bagging CoReAmI (average) CoReAmI (median) Improvement Improvement ANN.094.059.054 0.850 9.4% 0.840 0.% SVR 0.96.0 0.965 0.85.5% 0.85 4.% MLR 0.967.0 0.969 0.854.7% 0.80 4.% GPR 0.967.08 0.968 0.88 8.7% 0.87 9.8% M5P. 0.99 0.966 0.887 8.% 0.89 7.6% CoReAmI achieves the lowest RMSE regardless of the baseline learner Statistically significant, confirmed by T-Test p = (0.05) 6

RMSE Case Study: EE Estimation Results CoReAmI's MET estimation compared to each of the contexts used individually (only the context models learned for the particular context). Individual contexts CoReAmI...8.0.0 0.976 0.96 0.999.09 0.947 0.9 0.898 0.85 0.8 0.7 Activity Peak count Breath rate Heart rate Chest temp GSR Ambient temp Arm temp CoreAmI 7

Estimeted MET Case Study: EE Estimation Results Measured and estimated METs for different types of activities using: CoReAmI BodyMedia (SOTA commercial EE estimation device) ANN trained on chest-accelerometer only (ANN-Acc) 9 8 7 6 CoReAmI BodyMedia ANN-Acc Vigorous stationary cycling Light stationary cycling Running Method RMSE overall CoReAmI 0.85 5 4 Moderate to vigorous household activities BodyMedia.6 Walking Light household activities & exercise Sedentary ANN-Acc.76 0 0 4 5 6 7 8 9 True MET 8

Case Study: EE Estimation Summary EE Estimation A novel approach to EE estimation using CoReAmI Outperformed the competing approaches The main advantages of CoReAmI: Exploits the complementarity of multiple context-based regression models. Semantically split the set (by using contexts) and not by sampling it with replacement (Bagging) or randomly choosing features (Random Subspace). The results confirmed the hypothesis. 9

Case Study Activity Recognition The RaReFall system (Real-time Activity Recognition and Fall detection) Evaluated as the best performing at the EvAAL-AR competition* Uses two accelerometers Problem: distinguishing standing and sitting with single torso accelerometer CoReAmI significantly improved the recognition of the two activities, by using their context The results confirm the hypothesis 80% 70% F-measure 65% 68% 78% 60% 55% 50% Baseline J48 with context features RF with context features CoReAmI *Gjoreski H, Kozina S, Gams M, Luštrek M, Álvarez JA, Hong JH, Ramos J, Dey AK, Bocca M, Patwari N. Competitive Live Evaluation of Activity-recognition Systems. IEEE Pervasive Computing, accepted, (04). JCR:.0 0

Case Study Fall Detection Goal: Accurate fall detection with as few sensors as possible Combining contexts extracted from inertial and location sensors by using expert rules CoReAmI significantly improved the detection performance achieving 96.6% F-measure with minimal sensor configuration inertial and location sensor The results confirm the hypothesis F-measure in % AFP MLA CoReAmI 00 80 60 40 0 0 Falls Non-fall (fal-like) Non-fall Overall

Outline Introduction and Motivation Hypothesis CoReAmI Approach CoReAmI Case Studies Energy Expenditure Estimation Activity Recognition Fall Detection Scientific Contributions Conclusions and Future Work

Scientific Contributions. Development of a novel, general, context-based reasoning approach in AmI, called CoReAmI. The approach extracts multiple contexts from sensor and performs reasoning about the user using multiple models constructed for each of the contexts individually.. Application/Adaptation of CoReAmI to three AmI problem domains, which resulted in novel approach in each domain (outperforming the conventional approaches):. CoReAmI for activity recognition. CoReAmI for energy expenditure estimation. CoReAmI for fall detection. Development of a novel method for context-based partitioning of a set into multiple subsets and this way creating multiple views on the by using each feature as a context. Also applicable outside of CoReAmI.

Conclusions The thesis addressed the problem of combining multiple sources of information by using contextual information. The hypothesis was confirmed on all three AmI problem domains. The key idea is to partition the set (problem) using each source of information as a context individually. The CoReAmI approach can be adapted and applied to different problem domains, for which the available information can be presented by multiple contexts. 4

Future Work Optimizing the hyper-parameters. (Auto Weka) Context-based ensembles. Ensemble-learning algorithm for general purpose ML, (similar to Random forest). Part of WEKA. Directions of how to use CoReAmI on a new problem domain. Release the code, its documentation and appropriate sample applications. Dealing with missing context values. Dealing with redundant or similar context information. (Feature selection algorithms) Deep learning and CoReAmI 5