professor chris williams et al - healthcare condition monitoring using icu data

Post on 21-Jan-2018

111 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Healthcare condition monitoring using ICUdata

Chris Williamsjoint work with Yvonne Freer, Konstantinos Georgatzis, ChrisHawthorne, 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:

I Time series understandingI Computer vision, especially object recognition, shape and

texture modellingI Semi-automation of data cleaning and preparationI Unsupervised learningI Gaussian processes

2 / 32

Time Series UnderstandingI Explain the multivariate time series in terms of an

underlying set of discrete factorsI Make inferences for underlying variables when

observations are corrupted by artifactI We will address such problems with various switching

linear dynamical systems (SLDS) models

BS

Time (s)

BR0 200 400 600 800

0

100

200

HR (bp

m)

20

40

60

80

Sys. BP

(mmH

g)

20

40

60

Dia. BP

(mmH

g)

3 / 32

ICU Condition Monitoring

I Population: patients receiving intensive careI Data: physiological vital signs recordingsI Problems: artifact corruption, false alarms, amount of dataI Goal: Determine the state of health of the patient,

uncorrupted vital signs

Image source: Wikipedia Intensive Care Unit page

4 / 32

Overview

I Factorial Switching Linear Dynamical SystemI Inference and LearningI FSLDS and DSLDSI Novel RegimesI DataI ResultsI Summary

5 / 32

Factors Affecting MeasurementsI The physiological observations are affected by different

factors.I Factors can be artifactual or physiological.

30

40

50

60

Sys

. BP

(m

mH

g)

0 200 400 600 800 10000

20

40

60

Dia

. BP

(m

mH

g)

Time (s)0 20 40 60 80 100

40

60

80

100

120

140

160

180

HR

(bp

m)

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

I st is the switch variable, which indexes factor settings, e.g.‘blood sample occurring and first stage of TCPrecalibration’.

I xt is the hidden continuous state at time t . This containsinformation on the true physiology of the baby, and on thelevels of artifactual processes.

I y1:t are the observations.

8 / 32

Kalman filtering

I Continuous hidden state affects some observations:

xt ∼ N (Axt−1,Q)

yt ∼ N (Cxt ,R)

I Kalman filter equations can be used to work computep(x1:t |y1:t)

I Done iteratively by predicting and updating

9 / 32

Switching dynamics

I The switch variable st selects the dynamics for a particularcombination of factor settings:

xt ∼ N (A(st )xt−1,Q(st ))

yt ∼ N (C(st )xt ,R(st ))

I For each setting of st , the Kalman filter equations give apredictive distribution for xt .

10 / 32

Factor interactions

11 / 32

Related work

I Switching linear dynamical models have been studied bymany authors, e.g. Alspach and Sorenson (1972),Ghahramani and Hinton (1996).

I Applications include fault detection in mobile robots (deFreitas et al., 2004), speech recognition (Droppo andAcero, 2004), industrial monitoring (Morales-Menedez etal., 2002).

I A two-factor FSLDS was used for speech recognition byMa and Deng (2004). Factorised SLDS also used formusical transcription (Cemgil et al., 2006).

I There has been previous work on condition monitoring inthe ICU, though we are unaware of any previous studiesthat use a FSLDS.

12 / 32

Inference and Learning

I For this application, we are interested in filtering, inferringp(st ,xt |y1:t)

I Exact inference is intractable (Lerner and Parr, 2001)I We use the Gaussian sum approximation (e.g. Murphy,

1998)I Learning uses labelled data for different regimes, and

overwriting order of factors

13 / 32

Example inference results

I Can examine variance of estimates of true physiology x̂t ,e.g. for blood sample (left) and temperature probedisconnection (right):

Time (s)

BS0 50 100 150 200 250

Sys

. BP

(m

mH

g)

35

40

45

50

55

Dia

. BP

(m

mH

g)

20

30

40

50

Time (s)

TD0 500 1000

Cor

e te

mp.

(°C

)35

35.5

36

36.5

37

37.5

38

14 / 32

Models: FSLDS, DSLDS

DSLDS (Georgatzis and Williams, UAI 2015)

I st is predicted with a classifierI Inference for xt is similar to FSLDSI α-mixture combines FSLDS and DSLDS

15 / 32

FSLDS and DSLDS: pros and cons

+ Knowledge engineering tells us how the factors interactgeneratively

+ 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 withinformative features.

- Some events (esp. artifactual) might be easier to identifywith a discriminative approach. Harder to come up with agenerative model.

16 / 32

Novel RegimesI 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 12000

50

100

SpO2

?

17 / 32

Known UnknownsI Add a factor to represent abnormal dynamics

18 / 32

Known UnknownsI Add a factor to represent abnormal dynamics

19 / 32

X-factor for static 1-D data

I For static data, we can use a modelM∗ representing‘abnormal’ data points.

y

p(y|

s)

I The high-variance model wins when the data is not wellexplained by the original model

20 / 32

X-factor with known factors

I The X-factor can be applied to the static data inconjunction with known factors (green):

y

p(y|

s)

21 / 32

X-factor for dynamic data

xt ∼ N (Axt−1,Q)

yt ∼ N (Cxt ,R)

I 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

I Plot shows the spectrum of a hidden AR(5) process, andaccompanying X-factor

I More power at every frequencyI Dynamical analogue of the static 1-D case

23 / 32

Data

I 27 patients from Neuro ICU in the Southern GeneralHospital, Glasgow (15 TBI, 12 SAH)

I Channels:I arterial blood pressure (ABP)I electrocardiogram (ECG)I pulse oximetryI intracranial pressure (ICP)I end tidal CO2 (EtCO2)I respiratory signal (Resp)

I Downsampled to 1 Hz

24 / 32

Annotation

I 46 event-types labelled, including blood sample, dampedtrace, patient turning and suctioning

I Damped trace events have a mean duration of over 8hours per patient

I Other significant events: blood sample, patient turning andsuctioning, noisy channels, preparation for or return fromtransfer

25 / 32

Processing pipeline

Extraction from

ICU databasePreprocessing FSLDS

Stabilitydetection

I Made to work all together on ICU serverI System operates at ∼ 10× realtimeI Stability detection: need to estimate AR/ARMA parameters

for every patient individually for the stability regimeI This is done by predicting intervals that are stable vs

non-stable, and using these to learn the stability regimeI Software available at https://datashare.is.ed.ac.uk/handle/10283/855

26 / 32

Results

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

False positive rate

Tru

e po

sitiv

e ra

te

Blood sample

FSLDSDSLDSalpha−combination

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

False positive rate

Tru

e po

sitiv

e ra

te

Damped

FSLDSDSLDSalpha−combination

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

False positive rate

Tru

e po

sitiv

e ra

te

Suction

FSLDSDSLDSalpha−combination

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

False positive rate

Tru

e po

sitiv

e ra

te

X−factor

FSLDSDSLDSalpha−combination

27 / 32

AUC BS DT SC X

DSLDS 0.94 0.78 0.64 0.56FSLDS 0.86 0.77 0.60 0.60α-mixture 0.95(0.9) 0.79(0.9) 0.64(−∞) 0.61(1.4)

I Blood sample performance is very good, and is potentiallyuseful for silencing false alarms

I Damped trace is particularly interesting as it has significantduration and is not an event caused by nursinginterventions; it is therefore particularly helpful to flag up

I Suction events are complex and have a variable timecourse. Also suction and position change events can havesimilar effects on the patient. Position change was notmodelled with a factor in our experiments, thus it may notbe 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:590

50

100

150

200

250

ABP

(mm

Hg)

Patient damped_trace_demo

Dia.MeanSys.

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

I Note imputed x-stateI 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:180

50

100

150

200

250

ABP

(mm

Hg)

Patient blood_sample_demo

Dia.MeanSys.

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

I Quantification of the amount of artifact in this dataset,importance of damped trace events

I AUC scores are very high for blood samples (0.95), goodfor damped trace (0.79), and poor for suction (0.64) andX-factor (0.61) events

I Successful implementation of a real-time system carryingout FSLDS analysis on the raw data coming from the ICU

I FSLDS/DSLDS models can be applied to other ICUmonitoring tasks (e.g. identifying sepsis) and moregenerally

I We are also developing models for the effect ofinterventions (e.g. drug administration)

Funding: Chief Scientist Office (Scotland) CHZ/4/801

31 / 32

References

I Factorial Switching Linear Dynamical Systems applied toPhysiological Condition Monitoring.John A. Quinn, Christopher K.I. Williams, Neil McIntosh. IEEETrans. on Pattern Analysis and Machine Intelligence 31(9) pp1537-1551 (2009).

I Discriminative Switching Linear Dynamical Systems applied toPhysiological Condition Monitoring. Konstantinos Georgatzis,Christopher K. I. Williams, Proc UAI 2015.

I Detecting Artifactual Events in Vital Signs Monitoring Data.Partha Lal, Christopher K. I. Williams, Konstantinos Georgatzis,Christopher Hawthorne, Paul McMonagle, Ian Piper, MartinShaw. Tech report, September 2015.

I Available from http://homepages.inf.ed.ac.uk/ckiw/

32 / 32

top related