SlideShare a Scribd company logo
1 of 26
Download to read offline
Self-supervised ECG Representation
Learning for Affective Computing
Pritam Sarkar
Master of Applied Science
Department of Electrical and Computer Engineering
Queen’s University, Kingston, Canada
Supervisor: Prof. Ali Etemad
2
❑ Affective Computing (Modalities and Applications)
❑ Problem and Motivation
❑ Contribution
❑ Literature Review
❑ Proposed Framework
❑ Datasets
❑ Performance and Analysis
❑ A Case Study
❑ Summary
Outline
3
Affective Computing
“I call “affective computing,” computing that relates to, arises from, or influences emotions.”
R. W. Picard, Affective computing, MIT Press, 2000
4
Modalities and Applications
Image Source:
https://www.clipart.email/download/7343
608.html
https://www.deviantart.com/gnomegod9
8/art/Intense-Gaming-455698094
https://www.allacronyms.com/987276rb
ot.png
https://www.zdnet.com/article/samsung-
galaxy-watch-how-to-adjust-settings-
and-configure-your-personal-
preferences/
EEG
Facial Expression
ECG
PPG
Body Posture
EOG
EMG
Temp.
EDA
Modalities Applications
5
Problem and Motivation
Limitations of fully-supervised learning:
❑ Human annotated labels are required to learn data
representations; the learned representations are
often very task specific.
❑ Larger labelled data are required in order to train
deep networks; smaller datasets often result in
poor performance.
Advantages of self-supervised learning:
❑ Models are trained using automatically generated
labels.
❑ Learned representations are high-level and
generalized; therefore less sensitive to inter or intra
instance variations (local transformations).
❑ Larger datasets can be acquired to train deeper and
sophisticated networks.
6
Problem and Motivation
Limitations of fully-supervised learning:
❑ Human annotated labels are required to learn data
representations; the learned representations are
often very task specific.
❑ Larger labelled data are required in order to train
deep networks; smaller datasets often result in
poor performance.
Advantages of self-supervised learning:
❑ Models are trained using automatically generated
labels.
❑ Learned representations are high-level and
generalized; therefore less sensitive to inter or intra
instance variations (local transformations).
❑ Larger datasets can be acquired to train deeper and
sophisticated networks.
7
❑ We propose a self-supervised framework for emotion recognition based on multi-task ECG
representation learning for the first time and achieve state-of-the-art results in four public datasets.
➢ P. Sarkar and A. Etemad, “Self-supervised learning for ECG-based emotion recognition”, IEEE 45th
International Conference on Acoustics, Speech, and Signal Processing (ICASSP), 2020.
➢ P. Sarkar and A. Etemad, “Self-supervised ECG representation learning for emotion recognition’’,
under review in IEEE Trans. Affective Computing.
❑ As a case study, we propose a novel end-to-end framework for adaptive simulation for training
trauma responders, capable of dynamically adapting to the cognitive load and the level of expertise of
individuals.
➢ P. Sarkar, K. Ross, et al., “Classification of cognitive load and expertise for adaptive simulation using
deep multitask learning,” IEEE 8th International Conference on Affective Computing and Intelligent
Interaction (ACII), 2019.
➢ K. Ross, P. Sarkar, et al., “Toward dynamically adaptive simulation: Multimodal classification of user
expertise using wearable devices”, J. Sensors, 2019.
Contribution
8
Literature Review
❑ Healey et al., 2005:
➢ Stress detection during driving task
➢ Time/frequency domain features
➢ LDA classifier
❑ Liu et al., 2009:
➢ Affect based gaming experience
➢ Time/frequency domain features
➢ RF, KNN, BN, SVM classifiers
❑ Santamaria et al., 2018:
➢ Movie clips were used to elicit emotional state
➢ Time/frequency domain features
➢ Deep CNN classifier
❑ Siddharth et al., 2019:
➢ Affect recognition
➢ HRV and spectrogram features
➢ Extreme learning machine classifier
Time/Frequency
Domain
Feature Extraction
Fully-supervised
Classifier
Emotion Recognition
9
Proposed Framework
Stage 1: Pretext Task
Stage 2: Downstream Task
Transformation
Multi-task Self-supervised Network
[Xj, Pj]
Emotion Recognition
[RECG,yi]
Pseudo
Labels
Learned ECG Representation
Unlabelled
ECG
Transformed
ECG
ECG
Our proposed framework.
Affective
ECG
10
❑ Noise Addition [SNR = 15]
❑ Scaling [scaling factor = 0.9]
❑ Negation
❑ Temporal Inversion
❑ Permutation [no. of segments = 20]
❑ Time-warping [no. of segments=9,
stretching factor = 1.05]
Transformations
A sample of an original ECG signal with the six transformed
signals along with automatically generated labels are presented.
11
Proposed Architecture
1x32, 32 1x16, 64 1x8, 128
1x8, s=2 1x8, s=2
2x128
Our proposed architecture.
12
Datasets
The summary of the four datasets used are presented.
13
Signal transformation recognition across the four
datasets are presented.
Transformation Recognition Results
14
Multi-class emotion recognition results are presented for each of
the four datasets.
Emotion Recognition Results
15
The results of our self-supervised method on all the datasets are presented and compared with
prior works including the state-of-the-art, as well as a fully-supervised CNN as a baseline.
Comparison
16
Relationship Between Pretext Task and Downstream Task
ransfor ation ecognition ccuracy
otionecognitionccuracy
oise ddition
Scaling
er utation
i e ar ing Stretc actor
i e ar ing o of Seg ents
The relationship between emotion recognition accuracy and transformation recognition is presented.
17
A Case Study
Self-
supervised
learning
framework
Simulation
based
training
Affective
computing
application
18
Adaptive Simulation
Cognitive Load
LearningRate
Optimum
StressedBoredom
What we expect: What we have: We propose:
Controlling
Adaptive
Components
Collecting
physiological
data
(e.g. ECG)
End-to-end framework for the development of adaptive
simulation that actively classifies a participant's level of
cognitive load and expertise.
Classify
Cognitive load
and expertise
19
Experiment Setup
Participants during simulation, this picture was taken from the
control room.
Distractors were introduced to give superfluous information during
simulation.
object to control severity of atient’s res iratory roble
20
Signing
of
consent
form
Filling
demographic
information
Attaching
sensor
and
HoloLens
Baseline
data
(2 mins)
Scenario
explanation
Simulation 1
(10 mins)
Scenario
explanation
Simulation 2
(10 mins)
Removing
sensor
and
HoloLens
Debrief
session
CLEAS – Data collection protocol
Cognitive Load and Expertise for Adaptive Simulation
CLEAS Dataset
Attributes ECG, Cognitive load,
Expertise
otal artici ants​ ​
x ert ysicians ​
Novice (4th year students ​
​
​
Shimmer Sensors to collect ECG Signal
21
Steps:
❑ Segmented into 10 seconds window with 50%
overlap.
❑ Used Pan Tompkins algorithm for R peaks detection.
❑ Time and Frequency domain features were
extracted.
❑ Features were normalized using baseline data.
❑ Utilised a deep multi-task neural network for the
classification of expertise and cognitive load.
Method: Fully-supervised
Our proposed Deep Multi-task Neural Network.
22
Steps:
❑ Combined CLEAS dataset with AMIGOS,
DREAMER, SWELL and WESAD to perform self-
supervised learning.
❑ Obtained the learned ECG representation from self-
supervised network and utilized for classification of
cognitive load and expertise.
Method: Self-supervised
23
CLEAS: Fully-supervised Learning Results
Comparison of our proposed Deep Multitask Neural Network (DMNN) with previous approaches
and baseline.
24
Transformation Recognition
CLEAS: Self-supervised Learning Results
Emotion Recognition
25
Summary
❑ We proposed a novel ECG-based self-supervised learning framework for affective computing for
the first time.
❑ We achieved state-of-the-art results on 4 public datasets (AMIGOS, DREAMER, WESAD,
SWELL).
❑ We presented insightful and in-depth analysis of our proposed self-supervised framework.
❑ We proposed a novel end-to-end framework for an adaptive simulation for training trauma
responders for the first time.
26
Thank you!

More Related Content

What's hot

Intro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionIntro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionChristoph Körner
 
[AIoTLab]attention mechanism.pptx
[AIoTLab]attention mechanism.pptx[AIoTLab]attention mechanism.pptx
[AIoTLab]attention mechanism.pptxTuCaoMinh2
 
Attention Mechanism in Language Understanding and its Applications
Attention Mechanism in Language Understanding and its ApplicationsAttention Mechanism in Language Understanding and its Applications
Attention Mechanism in Language Understanding and its ApplicationsArtifacia
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer VisionSungjoon Choi
 
Generative adversarial networks
Generative adversarial networksGenerative adversarial networks
Generative adversarial networks남주 김
 
Using synthetic data for computer vision model training
Using synthetic data for computer vision model trainingUsing synthetic data for computer vision model training
Using synthetic data for computer vision model trainingUnity Technologies
 
Generative Adversarial Networks and Their Applications
Generative Adversarial Networks and Their ApplicationsGenerative Adversarial Networks and Their Applications
Generative Adversarial Networks and Their ApplicationsArtifacia
 
Cs231n 2017 lecture13 Generative Model
Cs231n 2017 lecture13 Generative ModelCs231n 2017 lecture13 Generative Model
Cs231n 2017 lecture13 Generative ModelYanbin Kong
 
Improved Trainings of Wasserstein GANs (WGAN-GP)
Improved Trainings of Wasserstein GANs (WGAN-GP)Improved Trainings of Wasserstein GANs (WGAN-GP)
Improved Trainings of Wasserstein GANs (WGAN-GP)Sangwoo Mo
 
Common Problems in Hyperparameter Optimization
Common Problems in Hyperparameter OptimizationCommon Problems in Hyperparameter Optimization
Common Problems in Hyperparameter OptimizationSigOpt
 
Deploy PyTorch models in Production on AWS with TorchServe
Deploy PyTorch models in Production on AWS with TorchServeDeploy PyTorch models in Production on AWS with TorchServe
Deploy PyTorch models in Production on AWS with TorchServeSuman Debnath
 
[224] 번역 모델 기반_질의_교정_시스템
[224] 번역 모델 기반_질의_교정_시스템[224] 번역 모델 기반_질의_교정_시스템
[224] 번역 모델 기반_질의_교정_시스템NAVER D2
 
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptx
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptxLecture_1_Introduction_to_Adversarial_Machine_Learning.pptx
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptxDevRaj646424
 
Facial Emotion Detection Project
Facial Emotion Detection ProjectFacial Emotion Detection Project
Facial Emotion Detection ProjectEmilyJoseph18
 
Deep Learning: Application & Opportunity
Deep Learning: Application & OpportunityDeep Learning: Application & Opportunity
Deep Learning: Application & OpportunityiTrain
 
Masked Autoencoders Are Scalable Vision Learners.pptx
Masked Autoencoders Are Scalable Vision Learners.pptxMasked Autoencoders Are Scalable Vision Learners.pptx
Masked Autoencoders Are Scalable Vision Learners.pptxSangmin Woo
 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableAditya Bhattacharya
 

What's hot (20)

Intro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer VisionIntro to Deep Learning for Computer Vision
Intro to Deep Learning for Computer Vision
 
[AIoTLab]attention mechanism.pptx
[AIoTLab]attention mechanism.pptx[AIoTLab]attention mechanism.pptx
[AIoTLab]attention mechanism.pptx
 
그림 그리는 AI
그림 그리는 AI그림 그리는 AI
그림 그리는 AI
 
Attention Mechanism in Language Understanding and its Applications
Attention Mechanism in Language Understanding and its ApplicationsAttention Mechanism in Language Understanding and its Applications
Attention Mechanism in Language Understanding and its Applications
 
Deep Learning in Computer Vision
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer Vision
 
Generative adversarial networks
Generative adversarial networksGenerative adversarial networks
Generative adversarial networks
 
Using synthetic data for computer vision model training
Using synthetic data for computer vision model trainingUsing synthetic data for computer vision model training
Using synthetic data for computer vision model training
 
Introduction of VAE
Introduction of VAEIntroduction of VAE
Introduction of VAE
 
Dcgan
DcganDcgan
Dcgan
 
Generative Adversarial Networks and Their Applications
Generative Adversarial Networks and Their ApplicationsGenerative Adversarial Networks and Their Applications
Generative Adversarial Networks and Their Applications
 
Cs231n 2017 lecture13 Generative Model
Cs231n 2017 lecture13 Generative ModelCs231n 2017 lecture13 Generative Model
Cs231n 2017 lecture13 Generative Model
 
Improved Trainings of Wasserstein GANs (WGAN-GP)
Improved Trainings of Wasserstein GANs (WGAN-GP)Improved Trainings of Wasserstein GANs (WGAN-GP)
Improved Trainings of Wasserstein GANs (WGAN-GP)
 
Common Problems in Hyperparameter Optimization
Common Problems in Hyperparameter OptimizationCommon Problems in Hyperparameter Optimization
Common Problems in Hyperparameter Optimization
 
Deploy PyTorch models in Production on AWS with TorchServe
Deploy PyTorch models in Production on AWS with TorchServeDeploy PyTorch models in Production on AWS with TorchServe
Deploy PyTorch models in Production on AWS with TorchServe
 
[224] 번역 모델 기반_질의_교정_시스템
[224] 번역 모델 기반_질의_교정_시스템[224] 번역 모델 기반_질의_교정_시스템
[224] 번역 모델 기반_질의_교정_시스템
 
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptx
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptxLecture_1_Introduction_to_Adversarial_Machine_Learning.pptx
Lecture_1_Introduction_to_Adversarial_Machine_Learning.pptx
 
Facial Emotion Detection Project
Facial Emotion Detection ProjectFacial Emotion Detection Project
Facial Emotion Detection Project
 
Deep Learning: Application & Opportunity
Deep Learning: Application & OpportunityDeep Learning: Application & Opportunity
Deep Learning: Application & Opportunity
 
Masked Autoencoders Are Scalable Vision Learners.pptx
Masked Autoencoders Are Scalable Vision Learners.pptxMasked Autoencoders Are Scalable Vision Learners.pptx
Masked Autoencoders Are Scalable Vision Learners.pptx
 
Explainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretableExplainable AI - making ML and DL models more interpretable
Explainable AI - making ML and DL models more interpretable
 

Similar to Self-supervised ECG Representation Learning for Affective Computing

Self-supervised Learning for ECG-based Emotion Recognition
Self-supervised Learning for ECG-based Emotion RecognitionSelf-supervised Learning for ECG-based Emotion Recognition
Self-supervised Learning for ECG-based Emotion RecognitionPritam Sarkar
 
The second seminar
The second seminarThe second seminar
The second seminarAhmedMahany
 
A Review of Lie Detection Techniques.pdf
A Review of Lie Detection Techniques.pdfA Review of Lie Detection Techniques.pdf
A Review of Lie Detection Techniques.pdfWhitney Anderson
 
A Review of Lie Detection Techniques
A Review of Lie Detection TechniquesA Review of Lie Detection Techniques
A Review of Lie Detection TechniquesIRJET Journal
 
PhilipSamDavisResume
PhilipSamDavisResumePhilipSamDavisResume
PhilipSamDavisResumePhilip Davis
 
Matthew Gray Summer 2015 Presentation
Matthew Gray Summer 2015 PresentationMatthew Gray Summer 2015 Presentation
Matthew Gray Summer 2015 PresentationMatthew Gray
 
final report-4
final report-4final report-4
final report-4Zhuo Li
 
final presentation from William, Amy and Alex
final presentation from William, Amy and Alexfinal presentation from William, Amy and Alex
final presentation from William, Amy and AlexZiwei Zhu
 
Biomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptxBiomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptxSandeep Kumar
 
Lab 6 Neural Network
Lab 6 Neural NetworkLab 6 Neural Network
Lab 6 Neural NetworkKyle Villano
 
Deep learning Review
Deep learning  ReviewDeep learning  Review
Deep learning Reviewsherinmm
 
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...Atrija Singh
 
Recurrent neural networks for sequence learning and learning human identity f...
Recurrent neural networks for sequence learning and learning human identity f...Recurrent neural networks for sequence learning and learning human identity f...
Recurrent neural networks for sequence learning and learning human identity f...SungminYou
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVinay Diddi
 

Similar to Self-supervised ECG Representation Learning for Affective Computing (20)

Self-supervised Learning for ECG-based Emotion Recognition
Self-supervised Learning for ECG-based Emotion RecognitionSelf-supervised Learning for ECG-based Emotion Recognition
Self-supervised Learning for ECG-based Emotion Recognition
 
The second seminar
The second seminarThe second seminar
The second seminar
 
A Review of Lie Detection Techniques.pdf
A Review of Lie Detection Techniques.pdfA Review of Lie Detection Techniques.pdf
A Review of Lie Detection Techniques.pdf
 
A Review of Lie Detection Techniques
A Review of Lie Detection TechniquesA Review of Lie Detection Techniques
A Review of Lie Detection Techniques
 
PhilipSamDavisResume
PhilipSamDavisResumePhilipSamDavisResume
PhilipSamDavisResume
 
Matthew Gray Summer 2015 Presentation
Matthew Gray Summer 2015 PresentationMatthew Gray Summer 2015 Presentation
Matthew Gray Summer 2015 Presentation
 
Hs3613611366
Hs3613611366Hs3613611366
Hs3613611366
 
Hs3613611366
Hs3613611366Hs3613611366
Hs3613611366
 
final report-4
final report-4final report-4
final report-4
 
final presentation from William, Amy and Alex
final presentation from William, Amy and Alexfinal presentation from William, Amy and Alex
final presentation from William, Amy and Alex
 
Biomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptxBiomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptx
 
Plexon Capabilities
Plexon CapabilitiesPlexon Capabilities
Plexon Capabilities
 
Lab 6 Neural Network
Lab 6 Neural NetworkLab 6 Neural Network
Lab 6 Neural Network
 
Deep learning Review
Deep learning  ReviewDeep learning  Review
Deep learning Review
 
40120140507007
4012014050700740120140507007
40120140507007
 
40120140507007
4012014050700740120140507007
40120140507007
 
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...
Recognition of Epilepsy from Non Seizure Electroencephalogram using combinati...
 
Recurrent neural networks for sequence learning and learning human identity f...
Recurrent neural networks for sequence learning and learning human identity f...Recurrent neural networks for sequence learning and learning human identity f...
Recurrent neural networks for sequence learning and learning human identity f...
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driver
 
Ijetcas14 467
Ijetcas14 467Ijetcas14 467
Ijetcas14 467
 

Recently uploaded

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 

Recently uploaded (20)

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 

Self-supervised ECG Representation Learning for Affective Computing

  • 1. Self-supervised ECG Representation Learning for Affective Computing Pritam Sarkar Master of Applied Science Department of Electrical and Computer Engineering Queen’s University, Kingston, Canada Supervisor: Prof. Ali Etemad
  • 2. 2 ❑ Affective Computing (Modalities and Applications) ❑ Problem and Motivation ❑ Contribution ❑ Literature Review ❑ Proposed Framework ❑ Datasets ❑ Performance and Analysis ❑ A Case Study ❑ Summary Outline
  • 3. 3 Affective Computing “I call “affective computing,” computing that relates to, arises from, or influences emotions.” R. W. Picard, Affective computing, MIT Press, 2000
  • 4. 4 Modalities and Applications Image Source: https://www.clipart.email/download/7343 608.html https://www.deviantart.com/gnomegod9 8/art/Intense-Gaming-455698094 https://www.allacronyms.com/987276rb ot.png https://www.zdnet.com/article/samsung- galaxy-watch-how-to-adjust-settings- and-configure-your-personal- preferences/ EEG Facial Expression ECG PPG Body Posture EOG EMG Temp. EDA Modalities Applications
  • 5. 5 Problem and Motivation Limitations of fully-supervised learning: ❑ Human annotated labels are required to learn data representations; the learned representations are often very task specific. ❑ Larger labelled data are required in order to train deep networks; smaller datasets often result in poor performance. Advantages of self-supervised learning: ❑ Models are trained using automatically generated labels. ❑ Learned representations are high-level and generalized; therefore less sensitive to inter or intra instance variations (local transformations). ❑ Larger datasets can be acquired to train deeper and sophisticated networks.
  • 6. 6 Problem and Motivation Limitations of fully-supervised learning: ❑ Human annotated labels are required to learn data representations; the learned representations are often very task specific. ❑ Larger labelled data are required in order to train deep networks; smaller datasets often result in poor performance. Advantages of self-supervised learning: ❑ Models are trained using automatically generated labels. ❑ Learned representations are high-level and generalized; therefore less sensitive to inter or intra instance variations (local transformations). ❑ Larger datasets can be acquired to train deeper and sophisticated networks.
  • 7. 7 ❑ We propose a self-supervised framework for emotion recognition based on multi-task ECG representation learning for the first time and achieve state-of-the-art results in four public datasets. ➢ P. Sarkar and A. Etemad, “Self-supervised learning for ECG-based emotion recognition”, IEEE 45th International Conference on Acoustics, Speech, and Signal Processing (ICASSP), 2020. ➢ P. Sarkar and A. Etemad, “Self-supervised ECG representation learning for emotion recognition’’, under review in IEEE Trans. Affective Computing. ❑ As a case study, we propose a novel end-to-end framework for adaptive simulation for training trauma responders, capable of dynamically adapting to the cognitive load and the level of expertise of individuals. ➢ P. Sarkar, K. Ross, et al., “Classification of cognitive load and expertise for adaptive simulation using deep multitask learning,” IEEE 8th International Conference on Affective Computing and Intelligent Interaction (ACII), 2019. ➢ K. Ross, P. Sarkar, et al., “Toward dynamically adaptive simulation: Multimodal classification of user expertise using wearable devices”, J. Sensors, 2019. Contribution
  • 8. 8 Literature Review ❑ Healey et al., 2005: ➢ Stress detection during driving task ➢ Time/frequency domain features ➢ LDA classifier ❑ Liu et al., 2009: ➢ Affect based gaming experience ➢ Time/frequency domain features ➢ RF, KNN, BN, SVM classifiers ❑ Santamaria et al., 2018: ➢ Movie clips were used to elicit emotional state ➢ Time/frequency domain features ➢ Deep CNN classifier ❑ Siddharth et al., 2019: ➢ Affect recognition ➢ HRV and spectrogram features ➢ Extreme learning machine classifier Time/Frequency Domain Feature Extraction Fully-supervised Classifier Emotion Recognition
  • 9. 9 Proposed Framework Stage 1: Pretext Task Stage 2: Downstream Task Transformation Multi-task Self-supervised Network [Xj, Pj] Emotion Recognition [RECG,yi] Pseudo Labels Learned ECG Representation Unlabelled ECG Transformed ECG ECG Our proposed framework. Affective ECG
  • 10. 10 ❑ Noise Addition [SNR = 15] ❑ Scaling [scaling factor = 0.9] ❑ Negation ❑ Temporal Inversion ❑ Permutation [no. of segments = 20] ❑ Time-warping [no. of segments=9, stretching factor = 1.05] Transformations A sample of an original ECG signal with the six transformed signals along with automatically generated labels are presented.
  • 11. 11 Proposed Architecture 1x32, 32 1x16, 64 1x8, 128 1x8, s=2 1x8, s=2 2x128 Our proposed architecture.
  • 12. 12 Datasets The summary of the four datasets used are presented.
  • 13. 13 Signal transformation recognition across the four datasets are presented. Transformation Recognition Results
  • 14. 14 Multi-class emotion recognition results are presented for each of the four datasets. Emotion Recognition Results
  • 15. 15 The results of our self-supervised method on all the datasets are presented and compared with prior works including the state-of-the-art, as well as a fully-supervised CNN as a baseline. Comparison
  • 16. 16 Relationship Between Pretext Task and Downstream Task ransfor ation ecognition ccuracy otionecognitionccuracy oise ddition Scaling er utation i e ar ing Stretc actor i e ar ing o of Seg ents The relationship between emotion recognition accuracy and transformation recognition is presented.
  • 18. 18 Adaptive Simulation Cognitive Load LearningRate Optimum StressedBoredom What we expect: What we have: We propose: Controlling Adaptive Components Collecting physiological data (e.g. ECG) End-to-end framework for the development of adaptive simulation that actively classifies a participant's level of cognitive load and expertise. Classify Cognitive load and expertise
  • 19. 19 Experiment Setup Participants during simulation, this picture was taken from the control room. Distractors were introduced to give superfluous information during simulation. object to control severity of atient’s res iratory roble
  • 20. 20 Signing of consent form Filling demographic information Attaching sensor and HoloLens Baseline data (2 mins) Scenario explanation Simulation 1 (10 mins) Scenario explanation Simulation 2 (10 mins) Removing sensor and HoloLens Debrief session CLEAS – Data collection protocol Cognitive Load and Expertise for Adaptive Simulation CLEAS Dataset Attributes ECG, Cognitive load, Expertise otal artici ants​ ​ x ert ysicians ​ Novice (4th year students ​ ​ ​ Shimmer Sensors to collect ECG Signal
  • 21. 21 Steps: ❑ Segmented into 10 seconds window with 50% overlap. ❑ Used Pan Tompkins algorithm for R peaks detection. ❑ Time and Frequency domain features were extracted. ❑ Features were normalized using baseline data. ❑ Utilised a deep multi-task neural network for the classification of expertise and cognitive load. Method: Fully-supervised Our proposed Deep Multi-task Neural Network.
  • 22. 22 Steps: ❑ Combined CLEAS dataset with AMIGOS, DREAMER, SWELL and WESAD to perform self- supervised learning. ❑ Obtained the learned ECG representation from self- supervised network and utilized for classification of cognitive load and expertise. Method: Self-supervised
  • 23. 23 CLEAS: Fully-supervised Learning Results Comparison of our proposed Deep Multitask Neural Network (DMNN) with previous approaches and baseline.
  • 24. 24 Transformation Recognition CLEAS: Self-supervised Learning Results Emotion Recognition
  • 25. 25 Summary ❑ We proposed a novel ECG-based self-supervised learning framework for affective computing for the first time. ❑ We achieved state-of-the-art results on 4 public datasets (AMIGOS, DREAMER, WESAD, SWELL). ❑ We presented insightful and in-depth analysis of our proposed self-supervised framework. ❑ We proposed a novel end-to-end framework for an adaptive simulation for training trauma responders for the first time.