Piece-wise polynomial invariants

Characterizing normality in anaesthesia-related sensors


1 Objective

In this section, it is shown how the identification (via the pwpol module of the MizoPol package) of multivariate piece-wise polynomial invariants involving a set of sensors might be used to characterize the normality and hence help detecting abnormal events during intervention in the operation room.

The dataset used in this work is a subset of the well known \(\texttt{vitalDB}\) dataset Lee et al. (2022)

The objective behind establishing invariant relationships can be stated as follows:

Problem statement

Use some recorded sensors’ measurements under normal conditions in order to:

  • Characterize normality

  • Use the characterization to

    • detect events (anomalies) or
    • derive an automatic annotation tool.

Obviously, these goals can be progressively achieved by iterations between the algorithm and experts annotating/correcting the early labelling by the automatic tool. This is sketched in the following scheme:

The principle of annotation/training/annotation cycle towards building a reliable events detection algorithm. (1) A first version of the algorithm is used to fit a model (2). This model can be used to annotate (3) a new subset of the dataset experts confirm/correct/annotate this new part (4). The resulting extended set is used to re-train the automatic annotator (5) and so on.
Preliminary PoC

As the roadmap needs several iterations and these require a long term committment from practicionners. The entire process has not yet been undertaken. Only the first two steps of the above described cycle have been implemented.

Consequently, the methods and the results discussed in this section can only be viewed as a sort of proof of concept and a roadmap rather than a ready-to-use tool.

2 The Dataset

We work on a dataset involving 19 patients having different kinds of surgeries. The sensors represented in the dataset are linked to the anaesthesia monitoring. More precisely, the following measurement sensors are involved:

BIS
Bi-Spectral Index (EEG measurements interpreted),
MAP
Mean Arterial Pressure,
HR
Heart Rate,
RR
Respiration Rate (RR),
ETCO2
End-Tidal Carbon Dioxide (ETCO2).

Nevertheless, it is worth emphasizing that the methodology is perfetcly generic and might be successfully applied to any extended set of sensors1 (and not necessarily those linked to anaesthesia).

3 The priniciple

The principle of the method is sketched on the set of tabs below. Notice in particular the central role played by the identification of piece-wise polynomial relationships which is the precise task assigned to the pwpol module.

Zoom on several patients time-series which are concatenated to form the working dataset. The black solid line represent the events-related label which is provided by the annotators (doctors) working on the dataset.

Five piece-wise polynomial models are fitted in each of which, one of the first five sensors is used as targeted label (\(y\)). DH stands for Healthy Data, namely, data with no or very few events.

By spanning the available measurement instants, the residuals of the relationships are computed in order to form the residual time-series for all the identified piece-wise relationships. These residuals profiles are used to analyze the ability of the resulting anomaly detector to raise relevant event-detection related alarms.

Based on the Big Picture explained in the figures above, let us focus on the identification task and evaluate the ability of the pwpol module to capture tight invariant relationships linking the available sensors information in spite of the variety of patients, operations and anaesthesiologists involved.

4 Characteristics of identified models

The table below shows the characteristics of of the piece-wise polynomial invariant relationships for different targeted sensors:

\[ \texttt{BIS}, \texttt{MAP}, \texttt{HR}, \texttt{RR}, \texttt{ETCO2} \] and different precision thresholds: \[ \texttt{th}\in \{0.02, 0.05, 0.1, 0.15, 0.2, 0.3\} \]

These models have been identified on the first \(25\%\) of the patients (this corresponds to a patient-based split between train and test datasets).

Notice that in spite of the complex nature of the relationships, the number of monomials that is needed to capture the invariant relationship with high precision2 is rather moderate if not quite small and the computation time never exceeds half a minute.

5 Visualizing some residuals

6 Event detection results

The previously defined normality characterization might be used to fire alarms in the operation rooms. The following figures show the resulting events detection statistics for different levels of acceptable false alarm rates and different decision window’s size.

Tip

The events-related intervals have been annotated by doctors from the CHU-Grenoble on the recordings of 19 patients.

References

Lee, H.-C., Park, Y., Yoon, S. B., Yang, S. M., Park, D., & Jung, C.-W. (2022). VitalDB, a high-fidelity multi-parameter vital signs database in surgical patients. Scientific Data, 9(1), 279. https://doi.org/10.1038/s41597-022-01411-5

Footnotes

  1. The sensors need to be presented using a common acquisition period. Therefore, in case of discrepancy, some data processing (under-sampling or interpolation) might be necessary in this case.↩︎

  2. This is better assessed by examining the representative figures shown in Section 5.↩︎