SlideShare a Scribd company logo
1 of 32
Download to read offline
Healthcare condition monitoring using ICU
data
Chris Williams
joint work with Yvonne Freer, Konstantinos Georgatzis, Chris
Hawthorne, Partha Lal, Neil McIntosh, Ian Piper, John Quinn,
Martin Shaw, Ioan Stanculescu
School of Informatics, University of Edinburgh,
and Alan Turing Institute, London
November 2017
1 / 32
My main research interests:
Time series understanding
Computer vision, especially object recognition, shape and
texture modelling
Semi-automation of data cleaning and preparation
Unsupervised learning
Gaussian processes
2 / 32
Time Series Understanding
Explain the multivariate time series in terms of an
underlying set of discrete factors
Make inferences for underlying variables when
observations are corrupted by artifact
We will address such problems with various switching
linear dynamical systems (SLDS) models
BS
Time (s)
BR
0 200 400 600 800
0
100
200
HR(bpm)
20
40
60
80
Sys.BP(mmHg)
20
40
60
Dia.BP(mmHg)
3 / 32
ICU Condition Monitoring
Population: patients receiving intensive care
Data: physiological vital signs recordings
Problems: artifact corruption, false alarms, amount of data
Goal: Determine the state of health of the patient,
uncorrupted vital signs
Image source: Wikipedia Intensive Care Unit page
4 / 32
Overview
Factorial Switching Linear Dynamical System
Inference and Learning
FSLDS and DSLDS
Novel Regimes
Data
Results
Summary
5 / 32
Factors Affecting Measurements
The physiological observations are affected by different
factors.
Factors can be artifactual or physiological.
30
40
50
60
Sys.BP(mmHg)
0 200 400 600 800 1000
0
20
40
60
Dia.BP(mmHg)
Time (s)
0 20 40 60 80 100
40
60
80
100
120
140
160
180
HR(bpm) Time (s)
Arterial blood sample Bradycardia
6 / 32
Factorial Switching Linear Dynamical System
Artifactual state
Physiological state
Observations
Physiological factors
Artifactual factors
7 / 32
FSLDS notation
st is the switch variable, which indexes factor settings, e.g.
‘blood sample occurring and first stage of TCP
recalibration’.
xt is the hidden continuous state at time t. This contains
information on the true physiology of the baby, and on the
levels of artifactual processes.
y1:t are the observations.
8 / 32
Kalman filtering
Continuous hidden state affects some observations:
xt ∼ N(Axt−1, Q)
yt ∼ N(Cxt , R)
Kalman filter equations can be used to work compute
p(x1:t |y1:t )
Done iteratively by predicting and updating
9 / 32
Switching dynamics
The switch variable st selects the dynamics for a particular
combination of factor settings:
xt ∼ N(A(st )
xt−1, Q(st )
)
yt ∼ N(C(st )
xt , R(st )
)
For each setting of st , the Kalman filter equations give a
predictive distribution for xt .
10 / 32
Factor interactions
11 / 32
Related work
Switching linear dynamical models have been studied by
many authors, e.g. Alspach and Sorenson (1972),
Ghahramani and Hinton (1996).
Applications include fault detection in mobile robots (de
Freitas et al., 2004), speech recognition (Droppo and
Acero, 2004), industrial monitoring (Morales-Menedez et
al., 2002).
A two-factor FSLDS was used for speech recognition by
Ma and Deng (2004). Factorised SLDS also used for
musical transcription (Cemgil et al., 2006).
There has been previous work on condition monitoring in
the ICU, though we are unaware of any previous studies
that use a FSLDS.
12 / 32
Inference and Learning
For this application, we are interested in filtering, inferring
p(st , xt |y1:t )
Exact inference is intractable (Lerner and Parr, 2001)
We use the Gaussian sum approximation (e.g. Murphy,
1998)
Learning uses labelled data for different regimes, and
overwriting order of factors
13 / 32
Example inference results
Can examine variance of estimates of true physiology ˆxt ,
e.g. for blood sample (left) and temperature probe
disconnection (right):
Time (s)
BS
0 50 100 150 200 250
Sys.BP(mmHg)
35
40
45
50
55
Dia.BP(mmHg)
20
30
40
50
Time (s)
TD
0 500 1000
Coretemp.(°C)
35
35.5
36
36.5
37
37.5
38
14 / 32
Models: FSLDS, DSLDS
DSLDS (Georgatzis and Williams, UAI 2015)
st is predicted with a classifier
Inference for xt is similar to FSLDS
α-mixture combines FSLDS and DSLDS
15 / 32
FSLDS and DSLDS: pros and cons
+ Knowledge engineering tells us how the factors interact
generatively
+ There is not very much labelled data
+ Normality varies per patient (multi-task learning)
- In the DSLDS discrete state distributions are predicted
directly, rather than inferred. Can encode knowledge with
informative features.
- Some events (esp. artifactual) might be easier to identify
with a discriminative approach. Harder to come up with a
generative model.
16 / 32
Novel Regimes
There are many other factors influencing the data: drugs,
sepsis, neurological problems...
50
100
150
200
Heart rate
40
50
60
70
Dia. BP
0 200 400 600 800 1000 1200
0
50
100
SpO2
?
17 / 32
Known Unknowns
Add a factor to represent abnormal dynamics
18 / 32
Known Unknowns
Add a factor to represent abnormal dynamics
19 / 32
X-factor for static 1-D data
For static data, we can use a model M∗ representing
‘abnormal’ data points.
y
p(y|s)
The high-variance model wins when the data is not well
explained by the original model
20 / 32
X-factor with known factors
The X-factor can be applied to the static data in
conjunction with known factors (green):
y
p(y|s)
21 / 32
X-factor for dynamic data
xt ∼ N(Axt−1, Q)
yt ∼ N(Cxt , R)
Can construct an ‘abnormal’ dynamic regime analogously:
Normal dynamics: {A, Q, C, R}
X-factor dynamics: {A,ξQ, C, R}, ξ > 1.
22 / 32
Spectral view of the X-factor
f
S
y
(f)
0 1/2
Plot shows the spectrum of a hidden AR(5) process, and
accompanying X-factor
More power at every frequency
Dynamical analogue of the static 1-D case
23 / 32
Data
27 patients from Neuro ICU in the Southern General
Hospital, Glasgow (15 TBI, 12 SAH)
Channels:
arterial blood pressure (ABP)
electrocardiogram (ECG)
pulse oximetry
intracranial pressure (ICP)
end tidal CO2 (EtCO2)
respiratory signal (Resp)
Downsampled to 1 Hz
24 / 32
Annotation
46 event-types labelled, including blood sample, damped
trace, patient turning and suctioning
Damped trace events have a mean duration of over 8
hours per patient
Other significant events: blood sample, patient turning and
suctioning, noisy channels, preparation for or return from
transfer
25 / 32
Processing pipeline
Extraction from
ICU database
Preprocessing FSLDS
Stability
detection
Made to work all together on ICU server
System operates at ∼ 10× realtime
Stability detection: need to estimate AR/ARMA parameters
for every patient individually for the stability regime
This is done by predicting intervals that are stable vs
non-stable, and using these to learn the stability regime
Software available at https:
//datashare.is.ed.ac.uk/handle/10283/855
26 / 32
Results
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
False positive rate
Truepositiverate
Blood sample
FSLDS
DSLDS
alpha−combination
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
False positive rate
Truepositiverate
Damped
FSLDS
DSLDS
alpha−combination
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
False positive rate
Truepositiverate
Suction
FSLDS
DSLDS
alpha−combination
0 0.2 0.4 0.6 0.8 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
False positive rate
Truepositiverate
X−factor
FSLDS
DSLDS
alpha−combination
27 / 32
AUC BS DT SC X
DSLDS 0.94 0.78 0.64 0.56
FSLDS 0.86 0.77 0.60 0.60
α-mixture 0.95(0.9) 0.79(0.9) 0.64(−∞) 0.61(1.4)
Blood sample performance is very good, and is potentially
useful for silencing false alarms
Damped trace is particularly interesting as it has significant
duration and is not an event caused by nursing
interventions; it is therefore particularly helpful to flag up
Suction events are complex and have a variable time
course. Also suction and position change events can have
similar effects on the patient. Position change was not
modelled with a factor in our experiments, thus it may not
be surprising if these two event types are confused
28 / 32
Damped Trace Example
True X
True SC
True BS
True DT
00:13:00 00:13:45 00:14:30 00:15:15 00:16:00 00:16:45 00:17:30 00:18:15 00:19:00 00:19:44 00:20:29 00:21:14 00:21:59 00:22:44 00:23:29 00:24:14 00:24:59
0
50
100
150
200
250
ABP
(mmHg)
Patient damped_trace_demo
Dia.
Mean
Sys.
X −− DSLDS
X −− FSLDS
X −− alpha
SC −− DSLDS
SC −− FSLDS
SC −− alpha
BS −− DSLDS
BS −− FSLDS
BS −− alpha
DT −− DSLDS
DT −− FSLDS
DT −− alpha
0.2
0.4
0.6
0.8
1
Note imputed x-state
Our clinicians believe that showing imputed state and
flagging up artifact would be helpful
29 / 32
Blood Sample Example
True X
True SC
True BS
True DT
00:09:00 00:09:41 00:10:22 00:11:04 00:11:45 00:12:26 00:13:07 00:13:48 00:14:30 00:15:11 00:15:52 00:16:33 00:17:14 00:17:55 00:18:37 00:19:18
0
50
100
150
200
250
ABP
(mmHg)
Patient blood_sample_demo
Dia.
Mean
Sys.
X −− DSLDS
X −− FSLDS
X −− alpha
SC −− DSLDS
SC −− FSLDS
SC −− alpha
BS −− DSLDS
BS −− FSLDS
BS −− alpha
DT −− DSLDS
DT −− FSLDS
DT −− alpha
0.2
0.4
0.6
0.8
1
30 / 32
Summary
Quantification of the amount of artifact in this dataset,
importance of damped trace events
AUC scores are very high for blood samples (0.95), good
for damped trace (0.79), and poor for suction (0.64) and
X-factor (0.61) events
Successful implementation of a real-time system carrying
out FSLDS analysis on the raw data coming from the ICU
FSLDS/DSLDS models can be applied to other ICU
monitoring tasks (e.g. identifying sepsis) and more
generally
We are also developing models for the effect of
interventions (e.g. drug administration)
Funding: Chief Scientist Office (Scotland) CHZ/4/801
31 / 32
References
Factorial Switching Linear Dynamical Systems applied to
Physiological Condition Monitoring.
John A. Quinn, Christopher K.I. Williams, Neil McIntosh. IEEE
Trans. on Pattern Analysis and Machine Intelligence 31(9) pp
1537-1551 (2009).
Discriminative Switching Linear Dynamical Systems applied to
Physiological Condition Monitoring. Konstantinos Georgatzis,
Christopher K. I. Williams, Proc UAI 2015.
Detecting Artifactual Events in Vital Signs Monitoring Data.
Partha Lal, Christopher K. I. Williams, Konstantinos Georgatzis,
Christopher Hawthorne, Paul McMonagle, Ian Piper, Martin
Shaw. Tech report, September 2015.
Available from http://homepages.inf.ed.ac.uk/ckiw/
32 / 32

More Related Content

Similar to Professor Chris Williams et al - Healthcare condition monitoring using ICU data

Deep learning architectures for multimodal assessment of parkinson’s disease
Deep learning architectures for multimodal assessment of parkinson’s diseaseDeep learning architectures for multimodal assessment of parkinson’s disease
Deep learning architectures for multimodal assessment of parkinson’s diseaseJuan Camilo Vasquez
 
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...Sikkim Manipal Institute Of Technology
 
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...InsideScientific
 
HDMICS PI Koutsiaris 2016
HDMICS PI Koutsiaris 2016HDMICS PI Koutsiaris 2016
HDMICS PI Koutsiaris 2016Koutsiaris Aris
 
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...idescitation
 
Iot analytics in wearables
Iot analytics in wearables Iot analytics in wearables
Iot analytics in wearables Jessica Willis
 
Clinical Database
Clinical DatabaseClinical Database
Clinical DatabaseRobert Chen
 
Preoperative hematological parameters predicting mortality in stanford type a...
Preoperative hematological parameters predicting mortality in stanford type a...Preoperative hematological parameters predicting mortality in stanford type a...
Preoperative hematological parameters predicting mortality in stanford type a...Clinical Surgery Research Communications
 
UW Undergrad Research Poster 2015 ATW
UW Undergrad Research Poster 2015 ATWUW Undergrad Research Poster 2015 ATW
UW Undergrad Research Poster 2015 ATWAlexander Wickstrom
 
Icasert 2019 pid_230_revised
Icasert 2019 pid_230_revisedIcasert 2019 pid_230_revised
Icasert 2019 pid_230_revisedMd Kafiul Islam
 
Elsevier Medical Graph – mit Machine Learning zu Precision Medicine
Elsevier Medical Graph – mit Machine Learning zu Precision MedicineElsevier Medical Graph – mit Machine Learning zu Precision Medicine
Elsevier Medical Graph – mit Machine Learning zu Precision MedicineRising Media Ltd.
 
Bilateral NIR for traumatic vascular injury
Bilateral NIR for traumatic vascular injuryBilateral NIR for traumatic vascular injury
Bilateral NIR for traumatic vascular injuryRachel Russo, MD
 
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart Disease
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart DiseaseTBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart Disease
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart DiseaseSikkim Manipal Institute Of Technology
 
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)Brussels Heart Center
 

Similar to Professor Chris Williams et al - Healthcare condition monitoring using ICU data (20)

Koutsiaris 2013_a
Koutsiaris 2013_aKoutsiaris 2013_a
Koutsiaris 2013_a
 
Deep learning architectures for multimodal assessment of parkinson’s disease
Deep learning architectures for multimodal assessment of parkinson’s diseaseDeep learning architectures for multimodal assessment of parkinson’s disease
Deep learning architectures for multimodal assessment of parkinson’s disease
 
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...
Analysis of RS-Segment to Evaluate the Effect of Ventricular Depolarization d...
 
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...
Microvascular & Functional Ultrasound Imaging: Insights into Stroke and Neuro...
 
2019 Triangle Machine Learning Day - Machine Learning from De-Identified Code...
2019 Triangle Machine Learning Day - Machine Learning from De-Identified Code...2019 Triangle Machine Learning Day - Machine Learning from De-Identified Code...
2019 Triangle Machine Learning Day - Machine Learning from De-Identified Code...
 
HDMICS PI Koutsiaris 2016
HDMICS PI Koutsiaris 2016HDMICS PI Koutsiaris 2016
HDMICS PI Koutsiaris 2016
 
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...
Control of Nonlinear Heartbeat Models under Time- Delay-Switched Feedback Usi...
 
BATCH 1.pptx
BATCH 1.pptxBATCH 1.pptx
BATCH 1.pptx
 
Iot analytics in wearables
Iot analytics in wearables Iot analytics in wearables
Iot analytics in wearables
 
Clinical Database
Clinical DatabaseClinical Database
Clinical Database
 
Preoperative hematological parameters predicting mortality in stanford type a...
Preoperative hematological parameters predicting mortality in stanford type a...Preoperative hematological parameters predicting mortality in stanford type a...
Preoperative hematological parameters predicting mortality in stanford type a...
 
UW Undergrad Research Poster 2015 ATW
UW Undergrad Research Poster 2015 ATWUW Undergrad Research Poster 2015 ATW
UW Undergrad Research Poster 2015 ATW
 
Icasert 2019 pid_230_revised
Icasert 2019 pid_230_revisedIcasert 2019 pid_230_revised
Icasert 2019 pid_230_revised
 
Elsevier Medical Graph – mit Machine Learning zu Precision Medicine
Elsevier Medical Graph – mit Machine Learning zu Precision MedicineElsevier Medical Graph – mit Machine Learning zu Precision Medicine
Elsevier Medical Graph – mit Machine Learning zu Precision Medicine
 
Bilateral NIR for traumatic vascular injury
Bilateral NIR for traumatic vascular injuryBilateral NIR for traumatic vascular injury
Bilateral NIR for traumatic vascular injury
 
07 FFR Kawase Y aimradial2016 - potential of pressure wire use
07 FFR Kawase Y aimradial2016 - potential of pressure wire use07 FFR Kawase Y aimradial2016 - potential of pressure wire use
07 FFR Kawase Y aimradial2016 - potential of pressure wire use
 
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart Disease
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart DiseaseTBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart Disease
TBC Algorithm to Detect R-Peak and HRV Analysis for Ischemia Heart Disease
 
Lee_4Dflow
Lee_4DflowLee_4Dflow
Lee_4Dflow
 
TestSurvRec manual
TestSurvRec manualTestSurvRec manual
TestSurvRec manual
 
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)
CRTP ou CRTD? Quels arguments pour notre choix? (Pr C. Leclercq)
 

Recently uploaded

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 

Recently uploaded (20)

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 

Professor Chris Williams et al - Healthcare condition monitoring using ICU data

  • 1. Healthcare condition monitoring using ICU data Chris Williams joint work with Yvonne Freer, Konstantinos Georgatzis, Chris Hawthorne, Partha Lal, Neil McIntosh, Ian Piper, John Quinn, Martin Shaw, Ioan Stanculescu School of Informatics, University of Edinburgh, and Alan Turing Institute, London November 2017 1 / 32
  • 2. My main research interests: Time series understanding Computer vision, especially object recognition, shape and texture modelling Semi-automation of data cleaning and preparation Unsupervised learning Gaussian processes 2 / 32
  • 3. Time Series Understanding Explain the multivariate time series in terms of an underlying set of discrete factors Make inferences for underlying variables when observations are corrupted by artifact We will address such problems with various switching linear dynamical systems (SLDS) models BS Time (s) BR 0 200 400 600 800 0 100 200 HR(bpm) 20 40 60 80 Sys.BP(mmHg) 20 40 60 Dia.BP(mmHg) 3 / 32
  • 4. ICU Condition Monitoring Population: patients receiving intensive care Data: physiological vital signs recordings Problems: artifact corruption, false alarms, amount of data Goal: Determine the state of health of the patient, uncorrupted vital signs Image source: Wikipedia Intensive Care Unit page 4 / 32
  • 5. Overview Factorial Switching Linear Dynamical System Inference and Learning FSLDS and DSLDS Novel Regimes Data Results Summary 5 / 32
  • 6. Factors Affecting Measurements The physiological observations are affected by different factors. Factors can be artifactual or physiological. 30 40 50 60 Sys.BP(mmHg) 0 200 400 600 800 1000 0 20 40 60 Dia.BP(mmHg) Time (s) 0 20 40 60 80 100 40 60 80 100 120 140 160 180 HR(bpm) Time (s) Arterial blood sample Bradycardia 6 / 32
  • 7. Factorial Switching Linear Dynamical System Artifactual state Physiological state Observations Physiological factors Artifactual factors 7 / 32
  • 8. FSLDS notation st is the switch variable, which indexes factor settings, e.g. ‘blood sample occurring and first stage of TCP recalibration’. xt is the hidden continuous state at time t. This contains information on the true physiology of the baby, and on the levels of artifactual processes. y1:t are the observations. 8 / 32
  • 9. Kalman filtering Continuous hidden state affects some observations: xt ∼ N(Axt−1, Q) yt ∼ N(Cxt , R) Kalman filter equations can be used to work compute p(x1:t |y1:t ) Done iteratively by predicting and updating 9 / 32
  • 10. Switching dynamics The switch variable st selects the dynamics for a particular combination of factor settings: xt ∼ N(A(st ) xt−1, Q(st ) ) yt ∼ N(C(st ) xt , R(st ) ) For each setting of st , the Kalman filter equations give a predictive distribution for xt . 10 / 32
  • 12. Related work Switching linear dynamical models have been studied by many authors, e.g. Alspach and Sorenson (1972), Ghahramani and Hinton (1996). Applications include fault detection in mobile robots (de Freitas et al., 2004), speech recognition (Droppo and Acero, 2004), industrial monitoring (Morales-Menedez et al., 2002). A two-factor FSLDS was used for speech recognition by Ma and Deng (2004). Factorised SLDS also used for musical transcription (Cemgil et al., 2006). There has been previous work on condition monitoring in the ICU, though we are unaware of any previous studies that use a FSLDS. 12 / 32
  • 13. Inference and Learning For this application, we are interested in filtering, inferring p(st , xt |y1:t ) Exact inference is intractable (Lerner and Parr, 2001) We use the Gaussian sum approximation (e.g. Murphy, 1998) Learning uses labelled data for different regimes, and overwriting order of factors 13 / 32
  • 14. Example inference results Can examine variance of estimates of true physiology ˆxt , e.g. for blood sample (left) and temperature probe disconnection (right): Time (s) BS 0 50 100 150 200 250 Sys.BP(mmHg) 35 40 45 50 55 Dia.BP(mmHg) 20 30 40 50 Time (s) TD 0 500 1000 Coretemp.(°C) 35 35.5 36 36.5 37 37.5 38 14 / 32
  • 15. Models: FSLDS, DSLDS DSLDS (Georgatzis and Williams, UAI 2015) st is predicted with a classifier Inference for xt is similar to FSLDS α-mixture combines FSLDS and DSLDS 15 / 32
  • 16. FSLDS and DSLDS: pros and cons + Knowledge engineering tells us how the factors interact generatively + There is not very much labelled data + Normality varies per patient (multi-task learning) - In the DSLDS discrete state distributions are predicted directly, rather than inferred. Can encode knowledge with informative features. - Some events (esp. artifactual) might be easier to identify with a discriminative approach. Harder to come up with a generative model. 16 / 32
  • 17. Novel Regimes There are many other factors influencing the data: drugs, sepsis, neurological problems... 50 100 150 200 Heart rate 40 50 60 70 Dia. BP 0 200 400 600 800 1000 1200 0 50 100 SpO2 ? 17 / 32
  • 18. Known Unknowns Add a factor to represent abnormal dynamics 18 / 32
  • 19. Known Unknowns Add a factor to represent abnormal dynamics 19 / 32
  • 20. X-factor for static 1-D data For static data, we can use a model M∗ representing ‘abnormal’ data points. y p(y|s) The high-variance model wins when the data is not well explained by the original model 20 / 32
  • 21. X-factor with known factors The X-factor can be applied to the static data in conjunction with known factors (green): y p(y|s) 21 / 32
  • 22. X-factor for dynamic data xt ∼ N(Axt−1, Q) yt ∼ N(Cxt , R) Can construct an ‘abnormal’ dynamic regime analogously: Normal dynamics: {A, Q, C, R} X-factor dynamics: {A,ξQ, C, R}, ξ > 1. 22 / 32
  • 23. Spectral view of the X-factor f S y (f) 0 1/2 Plot shows the spectrum of a hidden AR(5) process, and accompanying X-factor More power at every frequency Dynamical analogue of the static 1-D case 23 / 32
  • 24. Data 27 patients from Neuro ICU in the Southern General Hospital, Glasgow (15 TBI, 12 SAH) Channels: arterial blood pressure (ABP) electrocardiogram (ECG) pulse oximetry intracranial pressure (ICP) end tidal CO2 (EtCO2) respiratory signal (Resp) Downsampled to 1 Hz 24 / 32
  • 25. Annotation 46 event-types labelled, including blood sample, damped trace, patient turning and suctioning Damped trace events have a mean duration of over 8 hours per patient Other significant events: blood sample, patient turning and suctioning, noisy channels, preparation for or return from transfer 25 / 32
  • 26. Processing pipeline Extraction from ICU database Preprocessing FSLDS Stability detection Made to work all together on ICU server System operates at ∼ 10× realtime Stability detection: need to estimate AR/ARMA parameters for every patient individually for the stability regime This is done by predicting intervals that are stable vs non-stable, and using these to learn the stability regime Software available at https: //datashare.is.ed.ac.uk/handle/10283/855 26 / 32
  • 27. Results 0 0.2 0.4 0.6 0.8 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 False positive rate Truepositiverate Blood sample FSLDS DSLDS alpha−combination 0 0.2 0.4 0.6 0.8 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 False positive rate Truepositiverate Damped FSLDS DSLDS alpha−combination 0 0.2 0.4 0.6 0.8 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 False positive rate Truepositiverate Suction FSLDS DSLDS alpha−combination 0 0.2 0.4 0.6 0.8 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 False positive rate Truepositiverate X−factor FSLDS DSLDS alpha−combination 27 / 32
  • 28. AUC BS DT SC X DSLDS 0.94 0.78 0.64 0.56 FSLDS 0.86 0.77 0.60 0.60 α-mixture 0.95(0.9) 0.79(0.9) 0.64(−∞) 0.61(1.4) Blood sample performance is very good, and is potentially useful for silencing false alarms Damped trace is particularly interesting as it has significant duration and is not an event caused by nursing interventions; it is therefore particularly helpful to flag up Suction events are complex and have a variable time course. Also suction and position change events can have similar effects on the patient. Position change was not modelled with a factor in our experiments, thus it may not be surprising if these two event types are confused 28 / 32
  • 29. Damped Trace Example True X True SC True BS True DT 00:13:00 00:13:45 00:14:30 00:15:15 00:16:00 00:16:45 00:17:30 00:18:15 00:19:00 00:19:44 00:20:29 00:21:14 00:21:59 00:22:44 00:23:29 00:24:14 00:24:59 0 50 100 150 200 250 ABP (mmHg) Patient damped_trace_demo Dia. Mean Sys. X −− DSLDS X −− FSLDS X −− alpha SC −− DSLDS SC −− FSLDS SC −− alpha BS −− DSLDS BS −− FSLDS BS −− alpha DT −− DSLDS DT −− FSLDS DT −− alpha 0.2 0.4 0.6 0.8 1 Note imputed x-state Our clinicians believe that showing imputed state and flagging up artifact would be helpful 29 / 32
  • 30. Blood Sample Example True X True SC True BS True DT 00:09:00 00:09:41 00:10:22 00:11:04 00:11:45 00:12:26 00:13:07 00:13:48 00:14:30 00:15:11 00:15:52 00:16:33 00:17:14 00:17:55 00:18:37 00:19:18 0 50 100 150 200 250 ABP (mmHg) Patient blood_sample_demo Dia. Mean Sys. X −− DSLDS X −− FSLDS X −− alpha SC −− DSLDS SC −− FSLDS SC −− alpha BS −− DSLDS BS −− FSLDS BS −− alpha DT −− DSLDS DT −− FSLDS DT −− alpha 0.2 0.4 0.6 0.8 1 30 / 32
  • 31. Summary Quantification of the amount of artifact in this dataset, importance of damped trace events AUC scores are very high for blood samples (0.95), good for damped trace (0.79), and poor for suction (0.64) and X-factor (0.61) events Successful implementation of a real-time system carrying out FSLDS analysis on the raw data coming from the ICU FSLDS/DSLDS models can be applied to other ICU monitoring tasks (e.g. identifying sepsis) and more generally We are also developing models for the effect of interventions (e.g. drug administration) Funding: Chief Scientist Office (Scotland) CHZ/4/801 31 / 32
  • 32. References Factorial Switching Linear Dynamical Systems applied to Physiological Condition Monitoring. John A. Quinn, Christopher K.I. Williams, Neil McIntosh. IEEE Trans. on Pattern Analysis and Machine Intelligence 31(9) pp 1537-1551 (2009). Discriminative Switching Linear Dynamical Systems applied to Physiological Condition Monitoring. Konstantinos Georgatzis, Christopher K. I. Williams, Proc UAI 2015. Detecting Artifactual Events in Vital Signs Monitoring Data. Partha Lal, Christopher K. I. Williams, Konstantinos Georgatzis, Christopher Hawthorne, Paul McMonagle, Ian Piper, Martin Shaw. Tech report, September 2015. Available from http://homepages.inf.ed.ac.uk/ckiw/ 32 / 32