SlideShare a Scribd company logo
Towards Reliable, Stable and
Fast Learning for Smart
Home Activity Recognition
Rebeen Ali Hamad Supervisors: Thorsteinn Rögnvaldsson
Eric Jarpe
Mohamed-Rafik Bouguelia
Jens Lundstrom
February-24-2022
Licentiate Thesis
Layout
• Introduction
• Motivation
• Challenges of human activity recognition
• Research question
• Addressing activity recognition challenges
• Conclusion and future work
Activity Recognition (AR)
Human Activity Recognition (HAR) is a challenging and highly dynamic research
field aiming at recognizing human activities based on sensor observation data.
HAR, as one of the significant applications of intelligent environment and
wearable sensor technologies, can be used to monitor the activity of daily living
(ADL) to support and assist senior people, disabled and cognitive impaired
Motivation
• The aging and dependent population have been recognized as a major social
and economic challenge for the coming decades.
• One of the promising solutions to this challenge is ambient assisted living (AAL)
systems. Such systems aim to reduce the costs of healthcare and would enable
elders to live independently in their home.
• One of the most important roles and components of the AAL system is HAR
• HAR could be used to perform recognition of dangerous situations and detects
deviations of behavior to improve elderly-care alert systems
• Challenges of human activity recognition
• Labeling sensor readings
• Real-time constraints
• Diversity and frequency of human activity
• Types of activities
• Sensor challenges
• Number of activities and types of activities
Research question
• Considering the above challenges of human AR within smart home
environments, this thesis addresses the following research questions
i. How stable are low-dimensional maps of human activities in a smart home?
ii. How AR could be improved at the expense of real-time recognition?
iii. How to handle imbalanced class problems in the context of AR?
These research questions were investigated and relevant contributions were
made in the following sections and papers :
Addressing activity recognition challenges
• The long-term goal of the project is to process and share information across
multiple smart homes to reduce the learning time and data collection as well as
increase accuracy for HAR. One solution through machine learning development
is to use transfer learning to enhance systems ability.
• In our work, it is hypothesized that learned manifolds from disparate data sets
could be used for transfer learning. Therefore, it is crucial to investigate the
stability of t-SNE maps in order to properly align manifolds for the purpose of
transfer learning. Therefore, the first contribution of this thesis is investigating
stability of t-SNE maps.
Addressing activity recognition challenges
Stability analysis of the t-SNE algorithm for human activity pattern data
• Hypothesize: even if these smart homes are unique their data share a common
latent manifold which resides in a lower-dimensional subspace
• Manifold Alignment : by learning projections from each original space to the
shared manifold, correspondences of observations are recovered and knowledge
from one home can be transferred to another.
• t-SNE algorithm was used to be able to map human activity patterns from smart
home environments to a low-dimension manifold.
Stability analysis of the t-SNE algorithm
Despite the non-deterministic setup of the t-SNE algorithm, the visual
interpretation of different runs is easily compared by humans
How to analyze the stability of the t-SNE algorithm output. The proposed
approach utilizes comparisons of several output maps as a whole and partially by
clustered low-dimensional data points.
t-SNE map1 t-SNE map2 (same dataset)
Stability analysis of the t-SNE algorithm
Contribution: development of methods and
tools for studying t-SNE output stability on
smart home data used for modeling human
activity patterns
Linearly and non-linearly aligning low-
dimensional manifolds in order to compute
disparity and correct correspondence
observation within the five nearest
neighbors
Stability analysis of the t-SNE algorithm
Results of Procrustes analysis
Stability analysis of the t-SNE algorithm
LPA was introduced to non-linearly align manifolds by using locally linear mappings.
• It follows a divisive approach to cluster datasets. The algorithm starts by considering
a cluster of all data points and keeps on splitting into two sub-clusters recursively and
terminates if the diversity of a cluster is below a predetermined threshold.
• At each stage, PA is applied to all clusters in the first data set and the corresponding
cluster in the second dataset to compute disparity. If the disparity falls short of the
threshold, the clustering process stops for these clusters at this stage.
Stability analysis of the t-SNE algorithm
• Normalized Local Procrustes analysis: we propose an extension of the Local
Procrustes Analysis (LPA) technique to non-linearly align manifolds by using locally linear
mappings.
• The changes of the proposed method NLPA compared to the LPA procedure can be
summarized
• 1) Modification: Firstly the clustering algorithm is modified from k-means to
agglomerative clustering.
• 2) Improvement: Secondly the creating clustering criteria is improved to have two distinct
data points in each cluster and the threshold is minimized to render better alignment.
• 3) Extension: Finally, the NLPA is extended on LPA to normalize the transformed clusters in
order to the combined clusters with NLPA and the whole dataset with PA have a same space
Normalized Local Procrustes analysis(NLPA)
Results of PA
Results of NLPA
Results of Normalized local Procrustes Analysis
Stability analysis of the t-SNE algorithm
• Results of the experiments indicate that t-SNE low-dimensional manifolds are
locally stable which is part of the achievements of this research project.
• t-SNE is preserving the local geometry of the original high-dimensional data
• The long term goal of this research is to achieve automatic knowledge transfer
between related data sets from different smart homes
Contribution: Efficient AR in smart home data
using delayed fuzzy temporal windows
• We propose a data-driven approach that aims to delay the recognition process
and includes representations of binary sensor activations that occur before and
after the time where the prediction is made.
• For this, the proposed method uses multiple incremental fuzzy temporal
windows (FTWs) to extract features from both preceding and partial oncoming
sensor activations. To avoid the human configuration of FTWs we have modelled
their shapes with the Fibonacci sequence, which has been defined to model
incremental sequences in a harmonic way under the fields of mathematics,
science, and engineering
Efficient activity recognition in smart homes using
delayed fuzzy temporal windows on binary sensors
• Often HAR tasks are designed as sequential temporal learning
(LSTM, 1D ConvNet)
• The proposed method is evaluated with three temporal deep learning models
(CNN and LSTM Network as well as hybrid models combining CNN and LSTM), on
a binary sensor dataset of real daily living activities. The experimental evaluation
shows that the proposed method achieves significantly better results than the
real-time approach
Contribution: the second paper
• The proposed temporal models based on the FTWs achieves encouraging
performance particularly in the activities that real-time models have difficulties
recognizing accurately, such as Leaving, Snack, Grooming, and Toileting
Efficacy of Imbalanced Data Handling Methods on Deep
Learning for Smart Homes Environments.
• Human activities are highly diverse not only in the form of different sensor
activations but the frequency of activities themselves are inherently imbalanced
and hence accurate AR is challenging from a machine learning perspective.
• The main contribution of this paper is the study of well-known class imbalance
approaches (synthetic minority over-sampling technique, cost-sensitive learning
and ensemble learning) applied to activity recognition data with various
temporal data preprocessing for the deep learning models LSTM and 1D CNN
Contribution: Efficacy of Imbalanced Data
Handling Methods on Deep Learning
• The experimental results indicate that handling imbalanced data is more
important than selecting machine learning algorithms and improves
classification performance.
Potential questions for future research
• How to transfer knowledge between smart homes with a different layout,
sensor setting, and resident ? The aim of this research question is to exploit
what has been learned in one smart home to improve generalization in
different but related smart homes to reduce the need for labeling data.
• Often HAR tasks are designed as sequential temporal learning, (LSTM,
1D ConvNet)
• Considerable amounts of well-curated human activity data are needed, which
is a notably challenging task, hindered by privacy issues and labelling time and
cost.
• Hence it is a crucial research challenge to design a deep learning model that
can successfully learn to recognize human activities by leveraging only a small
number of annotated samples.
Conclusion
This thesis could answer the following questions
• i. How stable are low-dimensional maps of human activities in a smart home?
• ii. How AR could be improved at the expense of real-time recognition?
• iii. How to handle imbalanced class problems in the context of AR?
Thank you
• Questions !
Multiple incremental fuzzy temporal windows(FTWs)
• Ordonez datasets
These datasets comprise information regarding the ADLs performed by two users on a daily basis in their own
homes. These datasets are composed of two instances of data, each one corresponding to a different user
and summing up to 35 days of fully labelled data. Each instance of the dataset is described by three text files,
namely: description, sensors events (features), activities of daily living (labels). Sensor events were recorded
using a wireless sensor network and data were labelled manually.
• The first dataset is recorded from 28-11-2011 to 12-12-2011 called ‘OrdonezA’ ( 9 activities)
• The second dataset is recorded from 11-11-2012 to 2-12-2012 called OrdonezB ( 10 activities)
• An example of the data
Multiple incremental fuzzy temporal windows(FTWs)
• Generating datasets based on the sensor type + sensor location + sensor
place using fuzzy temporal windows.
• An example of all the time intervals of a sensor
FTWs
• Febon=[0, 0, 1,1,2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987]
• curent_tme = the_start_time
• L1=curent_tme + 60 * Febon[i]
• U1=curent_tme + 60 *Febon[i+1]
• U2=curent_tme + 60 *Febon[i+2]
• L3=curent_tme + 60 * Febon[i+3]
• curent_tme +60
FTWs
• In total we have 15 FTW, so if we have only one sensor time interval
then the dataset will have 15 dimension
in every minute from the started time(2011-11-28 02:27:59') we slide 15 fuzzy temporal winodws (FTWs) on the sensors
time interval. for example if we have one sensor with N time interval, then we slide the first FTW on all the time intervals and
then we select the maximum number to be the first feature of the sensor then we apply the second FTW on all the sensors
again and we select the maximum number to be second feature and we will continue untill we apply 15 FTW and we will
have 15 dimension for every minute
2011-11-28 02:27:59
2011-11-28 02:28:59
2011-11-28 02:29:59

More Related Content

Similar to Presentation-Licentiate degree.pptx

Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
Fahroo - Optimization and Discrete Mathematics - Spring Review 2013Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
The Air Force Office of Scientific Research
 
Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0
Joe Xing
 
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
gabrielesisinna
 
Seminar nov2017
Seminar nov2017Seminar nov2017
Seminar nov2017
Ahmed Youssef Ali Amer
 
Survey on classification algorithms for data mining (comparison and evaluation)
Survey on classification algorithms for data mining (comparison and evaluation)Survey on classification algorithms for data mining (comparison and evaluation)
Survey on classification algorithms for data mining (comparison and evaluation)
Alexander Decker
 
Adapt-Resona-Theory, adaptive resonnance theorey
Adapt-Resona-Theory, adaptive resonnance theoreyAdapt-Resona-Theory, adaptive resonnance theorey
Adapt-Resona-Theory, adaptive resonnance theorey
NaveenKumar5162
 
NS-CUK Seminar: H.B.Kim, Review on "metapath2vec: Scalable representation le...
NS-CUK Seminar: H.B.Kim,  Review on "metapath2vec: Scalable representation le...NS-CUK Seminar: H.B.Kim,  Review on "metapath2vec: Scalable representation le...
NS-CUK Seminar: H.B.Kim, Review on "metapath2vec: Scalable representation le...
ssuser4b1f48
 
Graph Attention Networks.pptx
Graph Attention Networks.pptxGraph Attention Networks.pptx
Graph Attention Networks.pptx
ssuser2624f71
 
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
IJERDJOURNAL
 
AIISC Projects via Posters at 2022 Retreat.pptx
AIISC Projects via Posters at 2022 Retreat.pptxAIISC Projects via Posters at 2022 Retreat.pptx
AIISC Projects via Posters at 2022 Retreat.pptx
Artificial Intelligence Institute at UofSC
 
Human Activity Recognition System
Human Activity Recognition SystemHuman Activity Recognition System
Human Activity Recognition System
IRJET Journal
 
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
Editor IJCATR
 
A Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural Networks
Rimzim Thube
 
Paper id 25201431
Paper id 25201431Paper id 25201431
Paper id 25201431
IJRAT
 
Application of soft computing techniques in electrical engineering
Application of soft computing techniques in electrical engineeringApplication of soft computing techniques in electrical engineering
Application of soft computing techniques in electrical engineering
Souvik Dutta
 
SC1.pptx
SC1.pptxSC1.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
thanhdowork
 
Discover How Scientific Data is Used for the Public Good with Natural Languag...
Discover How Scientific Data is Used for the Public Good with Natural Languag...Discover How Scientific Data is Used for the Public Good with Natural Languag...
Discover How Scientific Data is Used for the Public Good with Natural Languag...
BaoTramDuong2
 
Text classification based on gated recurrent unit combines with support vecto...
Text classification based on gated recurrent unit combines with support vecto...Text classification based on gated recurrent unit combines with support vecto...
Text classification based on gated recurrent unit combines with support vecto...
IJECEIAES
 
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Impetus Technologies
 

Similar to Presentation-Licentiate degree.pptx (20)

Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
Fahroo - Optimization and Discrete Mathematics - Spring Review 2013Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
Fahroo - Optimization and Discrete Mathematics - Spring Review 2013
 
Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0
 
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
 
Seminar nov2017
Seminar nov2017Seminar nov2017
Seminar nov2017
 
Survey on classification algorithms for data mining (comparison and evaluation)
Survey on classification algorithms for data mining (comparison and evaluation)Survey on classification algorithms for data mining (comparison and evaluation)
Survey on classification algorithms for data mining (comparison and evaluation)
 
Adapt-Resona-Theory, adaptive resonnance theorey
Adapt-Resona-Theory, adaptive resonnance theoreyAdapt-Resona-Theory, adaptive resonnance theorey
Adapt-Resona-Theory, adaptive resonnance theorey
 
NS-CUK Seminar: H.B.Kim, Review on "metapath2vec: Scalable representation le...
NS-CUK Seminar: H.B.Kim,  Review on "metapath2vec: Scalable representation le...NS-CUK Seminar: H.B.Kim,  Review on "metapath2vec: Scalable representation le...
NS-CUK Seminar: H.B.Kim, Review on "metapath2vec: Scalable representation le...
 
Graph Attention Networks.pptx
Graph Attention Networks.pptxGraph Attention Networks.pptx
Graph Attention Networks.pptx
 
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
Predictive Data Mining with Normalized Adaptive Training Method for Neural Ne...
 
AIISC Projects via Posters at 2022 Retreat.pptx
AIISC Projects via Posters at 2022 Retreat.pptxAIISC Projects via Posters at 2022 Retreat.pptx
AIISC Projects via Posters at 2022 Retreat.pptx
 
Human Activity Recognition System
Human Activity Recognition SystemHuman Activity Recognition System
Human Activity Recognition System
 
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
Time Series Forecasting Using Novel Feature Extraction Algorithm and Multilay...
 
A Survey of Convolutional Neural Networks
A Survey of Convolutional Neural NetworksA Survey of Convolutional Neural Networks
A Survey of Convolutional Neural Networks
 
Paper id 25201431
Paper id 25201431Paper id 25201431
Paper id 25201431
 
Application of soft computing techniques in electrical engineering
Application of soft computing techniques in electrical engineeringApplication of soft computing techniques in electrical engineering
Application of soft computing techniques in electrical engineering
 
SC1.pptx
SC1.pptxSC1.pptx
SC1.pptx
 
[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx[20240422_LabSeminar_Huy]Taming_Effect.pptx
[20240422_LabSeminar_Huy]Taming_Effect.pptx
 
Discover How Scientific Data is Used for the Public Good with Natural Languag...
Discover How Scientific Data is Used for the Public Good with Natural Languag...Discover How Scientific Data is Used for the Public Good with Natural Languag...
Discover How Scientific Data is Used for the Public Good with Natural Languag...
 
Text classification based on gated recurrent unit combines with support vecto...
Text classification based on gated recurrent unit combines with support vecto...Text classification based on gated recurrent unit combines with support vecto...
Text classification based on gated recurrent unit combines with support vecto...
 
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
Deep Learning: Evolution of ML from Statistical to Brain-like Computing- Data...
 

Recently uploaded

Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 

Recently uploaded (20)

Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Artificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic WarfareArtificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic Warfare
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 

Presentation-Licentiate degree.pptx

  • 1. Towards Reliable, Stable and Fast Learning for Smart Home Activity Recognition Rebeen Ali Hamad Supervisors: Thorsteinn Rögnvaldsson Eric Jarpe Mohamed-Rafik Bouguelia Jens Lundstrom February-24-2022 Licentiate Thesis
  • 2. Layout • Introduction • Motivation • Challenges of human activity recognition • Research question • Addressing activity recognition challenges • Conclusion and future work
  • 3. Activity Recognition (AR) Human Activity Recognition (HAR) is a challenging and highly dynamic research field aiming at recognizing human activities based on sensor observation data. HAR, as one of the significant applications of intelligent environment and wearable sensor technologies, can be used to monitor the activity of daily living (ADL) to support and assist senior people, disabled and cognitive impaired
  • 4. Motivation • The aging and dependent population have been recognized as a major social and economic challenge for the coming decades. • One of the promising solutions to this challenge is ambient assisted living (AAL) systems. Such systems aim to reduce the costs of healthcare and would enable elders to live independently in their home. • One of the most important roles and components of the AAL system is HAR • HAR could be used to perform recognition of dangerous situations and detects deviations of behavior to improve elderly-care alert systems
  • 5. • Challenges of human activity recognition • Labeling sensor readings • Real-time constraints • Diversity and frequency of human activity • Types of activities • Sensor challenges • Number of activities and types of activities
  • 6. Research question • Considering the above challenges of human AR within smart home environments, this thesis addresses the following research questions i. How stable are low-dimensional maps of human activities in a smart home? ii. How AR could be improved at the expense of real-time recognition? iii. How to handle imbalanced class problems in the context of AR? These research questions were investigated and relevant contributions were made in the following sections and papers :
  • 7. Addressing activity recognition challenges • The long-term goal of the project is to process and share information across multiple smart homes to reduce the learning time and data collection as well as increase accuracy for HAR. One solution through machine learning development is to use transfer learning to enhance systems ability. • In our work, it is hypothesized that learned manifolds from disparate data sets could be used for transfer learning. Therefore, it is crucial to investigate the stability of t-SNE maps in order to properly align manifolds for the purpose of transfer learning. Therefore, the first contribution of this thesis is investigating stability of t-SNE maps.
  • 8. Addressing activity recognition challenges Stability analysis of the t-SNE algorithm for human activity pattern data • Hypothesize: even if these smart homes are unique their data share a common latent manifold which resides in a lower-dimensional subspace • Manifold Alignment : by learning projections from each original space to the shared manifold, correspondences of observations are recovered and knowledge from one home can be transferred to another. • t-SNE algorithm was used to be able to map human activity patterns from smart home environments to a low-dimension manifold.
  • 9. Stability analysis of the t-SNE algorithm Despite the non-deterministic setup of the t-SNE algorithm, the visual interpretation of different runs is easily compared by humans How to analyze the stability of the t-SNE algorithm output. The proposed approach utilizes comparisons of several output maps as a whole and partially by clustered low-dimensional data points. t-SNE map1 t-SNE map2 (same dataset)
  • 10. Stability analysis of the t-SNE algorithm Contribution: development of methods and tools for studying t-SNE output stability on smart home data used for modeling human activity patterns Linearly and non-linearly aligning low- dimensional manifolds in order to compute disparity and correct correspondence observation within the five nearest neighbors
  • 11. Stability analysis of the t-SNE algorithm Results of Procrustes analysis
  • 12. Stability analysis of the t-SNE algorithm LPA was introduced to non-linearly align manifolds by using locally linear mappings. • It follows a divisive approach to cluster datasets. The algorithm starts by considering a cluster of all data points and keeps on splitting into two sub-clusters recursively and terminates if the diversity of a cluster is below a predetermined threshold. • At each stage, PA is applied to all clusters in the first data set and the corresponding cluster in the second dataset to compute disparity. If the disparity falls short of the threshold, the clustering process stops for these clusters at this stage.
  • 13. Stability analysis of the t-SNE algorithm • Normalized Local Procrustes analysis: we propose an extension of the Local Procrustes Analysis (LPA) technique to non-linearly align manifolds by using locally linear mappings. • The changes of the proposed method NLPA compared to the LPA procedure can be summarized • 1) Modification: Firstly the clustering algorithm is modified from k-means to agglomerative clustering. • 2) Improvement: Secondly the creating clustering criteria is improved to have two distinct data points in each cluster and the threshold is minimized to render better alignment. • 3) Extension: Finally, the NLPA is extended on LPA to normalize the transformed clusters in order to the combined clusters with NLPA and the whole dataset with PA have a same space
  • 14. Normalized Local Procrustes analysis(NLPA) Results of PA Results of NLPA
  • 15. Results of Normalized local Procrustes Analysis
  • 16. Stability analysis of the t-SNE algorithm • Results of the experiments indicate that t-SNE low-dimensional manifolds are locally stable which is part of the achievements of this research project. • t-SNE is preserving the local geometry of the original high-dimensional data • The long term goal of this research is to achieve automatic knowledge transfer between related data sets from different smart homes
  • 17. Contribution: Efficient AR in smart home data using delayed fuzzy temporal windows • We propose a data-driven approach that aims to delay the recognition process and includes representations of binary sensor activations that occur before and after the time where the prediction is made. • For this, the proposed method uses multiple incremental fuzzy temporal windows (FTWs) to extract features from both preceding and partial oncoming sensor activations. To avoid the human configuration of FTWs we have modelled their shapes with the Fibonacci sequence, which has been defined to model incremental sequences in a harmonic way under the fields of mathematics, science, and engineering
  • 18. Efficient activity recognition in smart homes using delayed fuzzy temporal windows on binary sensors • Often HAR tasks are designed as sequential temporal learning (LSTM, 1D ConvNet) • The proposed method is evaluated with three temporal deep learning models (CNN and LSTM Network as well as hybrid models combining CNN and LSTM), on a binary sensor dataset of real daily living activities. The experimental evaluation shows that the proposed method achieves significantly better results than the real-time approach
  • 19. Contribution: the second paper • The proposed temporal models based on the FTWs achieves encouraging performance particularly in the activities that real-time models have difficulties recognizing accurately, such as Leaving, Snack, Grooming, and Toileting
  • 20. Efficacy of Imbalanced Data Handling Methods on Deep Learning for Smart Homes Environments. • Human activities are highly diverse not only in the form of different sensor activations but the frequency of activities themselves are inherently imbalanced and hence accurate AR is challenging from a machine learning perspective. • The main contribution of this paper is the study of well-known class imbalance approaches (synthetic minority over-sampling technique, cost-sensitive learning and ensemble learning) applied to activity recognition data with various temporal data preprocessing for the deep learning models LSTM and 1D CNN
  • 21. Contribution: Efficacy of Imbalanced Data Handling Methods on Deep Learning • The experimental results indicate that handling imbalanced data is more important than selecting machine learning algorithms and improves classification performance.
  • 22. Potential questions for future research • How to transfer knowledge between smart homes with a different layout, sensor setting, and resident ? The aim of this research question is to exploit what has been learned in one smart home to improve generalization in different but related smart homes to reduce the need for labeling data. • Often HAR tasks are designed as sequential temporal learning, (LSTM, 1D ConvNet) • Considerable amounts of well-curated human activity data are needed, which is a notably challenging task, hindered by privacy issues and labelling time and cost. • Hence it is a crucial research challenge to design a deep learning model that can successfully learn to recognize human activities by leveraging only a small number of annotated samples.
  • 23. Conclusion This thesis could answer the following questions • i. How stable are low-dimensional maps of human activities in a smart home? • ii. How AR could be improved at the expense of real-time recognition? • iii. How to handle imbalanced class problems in the context of AR?
  • 25. Multiple incremental fuzzy temporal windows(FTWs) • Ordonez datasets These datasets comprise information regarding the ADLs performed by two users on a daily basis in their own homes. These datasets are composed of two instances of data, each one corresponding to a different user and summing up to 35 days of fully labelled data. Each instance of the dataset is described by three text files, namely: description, sensors events (features), activities of daily living (labels). Sensor events were recorded using a wireless sensor network and data were labelled manually. • The first dataset is recorded from 28-11-2011 to 12-12-2011 called ‘OrdonezA’ ( 9 activities) • The second dataset is recorded from 11-11-2012 to 2-12-2012 called OrdonezB ( 10 activities) • An example of the data
  • 26. Multiple incremental fuzzy temporal windows(FTWs) • Generating datasets based on the sensor type + sensor location + sensor place using fuzzy temporal windows. • An example of all the time intervals of a sensor
  • 27. FTWs • Febon=[0, 0, 1,1,2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987] • curent_tme = the_start_time • L1=curent_tme + 60 * Febon[i] • U1=curent_tme + 60 *Febon[i+1] • U2=curent_tme + 60 *Febon[i+2] • L3=curent_tme + 60 * Febon[i+3] • curent_tme +60
  • 28. FTWs • In total we have 15 FTW, so if we have only one sensor time interval then the dataset will have 15 dimension in every minute from the started time(2011-11-28 02:27:59') we slide 15 fuzzy temporal winodws (FTWs) on the sensors time interval. for example if we have one sensor with N time interval, then we slide the first FTW on all the time intervals and then we select the maximum number to be the first feature of the sensor then we apply the second FTW on all the sensors again and we select the maximum number to be second feature and we will continue untill we apply 15 FTW and we will have 15 dimension for every minute 2011-11-28 02:27:59 2011-11-28 02:28:59 2011-11-28 02:29:59