System and method for classifying waveform data using ai models
By dividing the waveform data into overlapping blocks of fixed length and inferring them through sliding windows in the AI model, the problem of low performance caused by the waveform data aggregation method in the existing technology is solved, and higher recognition accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202410357296.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-04
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-15
AI Technical Summary
The aggregation method of waveform data in the existing technology results in low performance of the AI model, affecting the recognition accuracy of specified event segments in the waveform data.
The waveform data is divided into overlapping chunks of fixed length and input into the AI model at each inference interval. The segment recognition array is generated by aggregating the output chunk segment recognition arrays and sliding window inference is used to improve recognition accuracy. sex.
By aggregating output across multiple overlapping chunks, the accuracy and reliability of identification of specified event segments in waveform data is improved, increasing the precision of identification relative to other aggregation methods.
Smart Images

Figure CN118779687A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the subject matter disclosed herein relate to processing waveform data, and more particularly to waveform segment identification using artificial intelligence (AI) models. Background Art
[0002] In a hospital environment, various monitors may generate clinical waveform data that may be viewed by a healthcare provider, including fetal monitor data, electrocardiogram (ECG) data, electroencephalogram (EEG) data, intensive care unit (ICU) patient monitoring data, electromyogram (EMG) data, and other types of waveform data. To assist a healthcare provider in viewing the waveform data, one or more AI models may be trained to analyze the waveform data. For example, a healthcare provider may wish to know the fetal heart rate baseline within a 15-minute interval at a specified time of day, or the number of uterine contractions that occurred between a first time and a second time of day.
[0003] The AI model can be trained to identify segments of waveform data in which an event occurs, where the event can be a distortion or change in the waveform data. If the duration of the waveform data is short, the waveform data can be collected and input into the AI model, and the AI model can output an indication of where the segment including the event is located within the waveform data. If the duration of the waveform data is continuous or long, the waveform data can be input into the AI model in the form of a block, and the AI model can output an indication of where the segment including the event is located within the relevant block of the waveform data. The output can then be aggregated across the blocks to determine the location of the segment within the waveform data. A summary of the aggregated output can be periodically generated, which can be used to display the location of the segment on a display device. However, the performance of the AI model may depend on how the output is aggregated. Current methods for aggregating outputs may result in performance that is lower than the expected performance of the AI model. Summary of the invention
[0004] The present disclosure includes a waveform processing system, the waveform processing system including: a patient monitor configured to provide a waveform data stream; a display device; a processor; and a non-transitory memory including instructions, the instructions when executed cause the processor to control the display device to display the location of a segment including a specified event in the waveform data stream on the display device based on a segment identification array, the segment identification array being generated by the following operations: dividing the waveform data into a plurality of overlapping chunks having a fixed length, wherein each chunk is offset from the previous chunk by a predefined inference interval; at each inference interval, inputting a plurality of data values of each overlapping chunk of the waveform data into an artificial intelligence (AI) model, the AI model being trained to output a chunk segment identification array including a corresponding plurality of output values, each of the corresponding plurality of output values indicating the presence or absence of a specified event in the overlapping chunk of the waveform data; and aggregating a plurality of chunk segment identification arrays output by the AI model for the corresponding plurality of overlapping chunks to create a segment identification array. In this way, the AI model performs sliding window inference on the waveform data stream.
[0005] In some embodiments, aggregating the outputs may include calculating an average of the individual, time-aligned outputs of the current overlapping chunk, and assigning one or zero as a single aggregated output at multiple time references, depending on whether the average exceeds a threshold output value. Thus, the aggregated fragment array may include a series of ones and zeros, where a consecutive number of ones may indicate a fragment that includes a specified event, and a consecutive number of zeros may indicate a fragment that does not include the specified event. Because the output values of the aggregated fragment array have a 1:1 correspondence with the data values of the waveform data stream, the starting and ending positions of the consecutive number of ones can be used to determine the corresponding starting and ending positions of the fragment in the waveform data stream for display on a display device.
[0006] By aggregating the output of an AI model across multiple overlapping data chunks in this manner, the accuracy of the aggregated output can be increased relative to other aggregation methods, making the identification of segments of waveform data that include specified events more precise and reliable than currently achieved by other aggregation methods.
[0007] The above advantages and other advantages and features of the present specification will be apparent from the following detailed description when considered alone or in conjunction with the accompanying drawings. It should be understood that the above summary is provided to introduce a series of concepts further described in the detailed description in a simplified form. This is not meant to identify key or essential features of the claimed subject matter, the scope of which is uniquely defined by the claims that follow the detailed description. In addition, the claimed subject matter is not limited to specific implementations that address any shortcomings mentioned above or in any part of this disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Various aspects of the present disclosure may be better understood by reading the following detailed description and referring to the accompanying drawings, in which:
[0009] Figure 1 A block diagram illustrating an exemplary embodiment of a waveform processing system configured to classify segments of waveform data according to one embodiment of the present disclosure;
[0010] Figure 2A An exemplary training system for a waveform classification network according to one embodiment of the present disclosure is shown;
[0011] Figure 2B A block diagram illustrating a set of processes for using a waveform classification network to identify segments of waveform data within which events have occurred, according to one embodiment of the present disclosure;
[0012] Figure 3 shows encoding of waveform data for indicating the position of a specified event in the waveform data according to one embodiment of the present disclosure;
[0013] Figure 4A A schematic diagram showing how waveform data may be divided into blocks of fixed length according to one embodiment of the present disclosure;
[0014] Figure 4B A schematic diagram showing input and output of a waveform classification network for identifying segments in a chunk according to one embodiment of the present disclosure;
[0015] Figure 4C A schematic diagram illustrating how the output of a waveform classification network may be aggregated across multiple overlapping chunks according to one embodiment of the present disclosure;
[0016] Figure 5A is a schematic diagram illustrating a first step of a process for aggregating the output of a waveform classification network according to one embodiment of the present disclosure;
[0017] Figure 5B is a schematic diagram illustrating a second step of a process for aggregating outputs of a waveform classification network according to one embodiment of the present disclosure;
[0018] Figure 5C is a schematic diagram illustrating a third step of a process for aggregating outputs of a waveform classification network according to one embodiment of the present disclosure;
[0019] Figure 6 A flowchart illustrating an exemplary method for training a waveform classification neural network according to one embodiment of the present disclosure is shown; and
[0020] Figure 7A flow chart illustrating an exemplary method for aggregating the outputs of a waveform classification neural network to indicate the location of segments of raw waveform data that include specified events according to one embodiment of the present disclosure is shown.
[0021] The accompanying drawings illustrate specific aspects of the described systems and methods. Together with the following description, the accompanying drawings illustrate and explain the structures, methods and principles described herein. In these drawings, the sizes of components may be enlarged or otherwise modified for clarity. Well-known structures, materials or operations are not shown or described in detail to avoid obscuring various aspects of the described components, systems and methods. DETAILED DESCRIPTION
[0022] Provided herein are methods and systems for processing waveform data using an AI model, such as a neural network model. In some examples, the AI model may perform regression to classify a predetermined amount of waveform data. In other examples, the AI model may be trained to predict a point in time at which an event may occur, where the event may be a distortion or change in the waveform data. This may be a peak, a valley, or an area that continues to lack an expected change over an extended period of time. The waveform data may be input into the AI model, and the AI model may output a predicted point in time. Alternatively, the AI model may be trained to identify a segment of the waveform data in which an event occurs. The waveform data may be input into the AI model, and the AI model may output an indication of where the segment including the event is located within the waveform data.
[0023] Because the waveform data may be a continuous stream of data, or a predetermined amount of waveform data may have a duration that is too long to be input into the AI model at once, the AI model may be trained on portions of the waveform data having a fixed length (described herein as chunks). The AI model may learn to identify one or more segments within each chunk of the waveform data in which an event occurs. The duration or length of each segment may vary, and the AI model may detect segments based on different amounts of adjacent data of the waveform data. After training, the AI model may perform inference on chunks of the waveform data.
[0024] At regular inference intervals, the AI model may output the results of the AI model for the chunks that have been analyzed by the AI model. The outputs may be aggregated to generate determinations of where events may occur over longer durations of waveform data (e.g., greater than the size of the chunk). The accuracy of the determination may depend on how the outputs are aggregated. To address the deficiencies of previous methods for aggregating outputs, the inventors of this case herein propose a novel aggregation strategy that may be more robust than previous methods and may increase the accuracy of event detection.
[0025] This article provides methods for using a waveform processing system such as Figure 1 The waveform processing system can use a trained waveform classification neural network to process raw waveform data, such as Figure 2B The waveform classification neural network can be as follows Figure 2A The waveform processing system may take as input a stream of waveform data values and may output a corresponding stream of coded values indicating the presence or absence of an event in the waveform data. The stream of coded values may include zeros (indicating the absence of an event) and ones (indicating the presence of an event), such as Figure 3 The waveform data stream can be divided into blocks to be input into the waveform classification neural network, such as Figure 4A As shown. Figure 4B An exemplary output of a waveform classification neural network for a chunk is shown in FIG. The output of a waveform classification neural network for a chunk can be as follows: Figure 4C are polymerized as indicated, wherein the individual steps of the polymerization process are Figure 5A , Figure 5B and Figure 5C can be done by following Figure 6 One or more steps of the method shown are used to train a waveform classification neural network. Figure 7 A method for aggregating the outputs of a waveform classification neural network to indicate the location of segments of the original waveform data that include specified events is shown in FIG.
[0026] refer to Figure 1 , shows a waveform processing system 102 of a clinical data management system 100 according to one embodiment. In some embodiments, at least a portion of the waveform processing system 102 is disposed at a device (e.g., an edge device, a server, etc.) that is communicatively coupled to the clinical data management system 100 via a wired connection and / or a wireless connection. In some embodiments, at least a portion of the waveform processing system 102 is disposed at a separate device (e.g., a workstation) that can receive waveform data from the clinical data management system 100 or from a storage device that stores images / data generated by the clinical data management system 100.
[0027] The waveform processing system 102 includes a processor 104 configured to execute machine-readable instructions stored in a non-transitory memory 106. The processor 104 can be a single-core or multi-core processor, and the program executed thereon can be configured for parallel processing or distributed processing. In some embodiments, the processor 104 can optionally include separate components spread across two or more devices, which can be remotely located and / or configured for collaborative processing. In some embodiments, one or more aspects of the processor 104 can be virtualized and executed by a remotely accessible networked computing device configured in a cloud computing configuration.
[0028] The non-transitory memory 106 may store a neural network module 108, a training module 110, an inference module 112, and waveform data 114. The neural network module 108 may include one or more AI models, such as a waveform classification network (e.g., a neural network) for detecting the presence of predefined events in waveform data. The neural network module 108 may include one or more trained and / or untrained neural networks and / or other AI models, and may also include various data or metadata related to the one or more neural networks stored therein.
[0029] The training module 110 may include instructions for training one or more neural networks (including a waveform classification network) in the neural networks stored in the neural network module 108. Specifically, the training module 110 may include instructions that, when executed by the processor 104, cause the waveform processing system 102 to perform one or more of the steps of the method 600 for training a waveform classification network, which will be described below with reference to Figure 6 In some embodiments, the training module 110 includes instructions for implementing one or more gradient descent algorithms, applying one or more loss functions, and / or training routines for adjusting parameters of one or more neural networks of the neural network module 108.
[0030] The inference module 112 may include instructions for implementing a waveform classification network to process the waveform data 114, as described in more detail below. Specifically, the inference module 112 may include instructions that, when executed by the processor 104, cause the waveform processing system 102 to perform one or more of the steps of the method 700 for detecting the presence of a predefined event using a waveform classification network, which will be described below with reference to Figure 7 Discuss in more detail.
[0031] The waveform data 114 may include waveform data acquired via a patient monitor 136. For example, the waveform data may include fetal monitor data, electrocardiogram (ECG) data, electroencephalogram (EEG) data, intensive care unit (ICU) patient monitoring data, electromyogram (EMG) data, and / or other types of waveform data. The waveform data may include a plurality of data values generated by the patient monitor 136. The data values may be measured by the patient monitor 136 at periodic intervals (e.g., once per second) and transmitted to one or more listening devices including the waveform processing system 102. For example, in one embodiment, the patient monitor 136 is a heart rate monitor that monitors the heart rate of a patient in a hospital and transmits the heart rate as a continuous data stream to the waveform processing system 102. The patient's caregiver may view the heart rate via a display device 134 of the waveform processing system 102. For purposes of this disclosure, the measured data values are described as being wirelessly streamed to the waveform processing system 102. However, in other embodiments, the data values may be transmitted to the waveform processing system 102 via a wired connection.
[0032] In some embodiments, non-transitory memory 106 may include components disposed at two or more devices, which may be remotely located and / or configured for collaborative processing. In some embodiments, one or more aspects of non-transitory memory 106 may include a remotely accessible networked storage device configured in a cloud computing configuration.
[0033] The waveform processing system 102 may be operably / communicatively coupled to a user input device 132 and a display device 134. The user input device 132 may include one or more of a touch screen, a keyboard, a mouse, a trackpad, a motion sensing camera, or other devices configured to enable a user to interact with and manipulate data within the waveform processing system 102. The display device 134 may include one or more display devices utilizing virtually any type of technology. In some embodiments, the display device 134 may include a computer monitor and may display waveform data received from a patient monitor 136 and / or from the waveform data 114. The display device 134 may be combined with the processor 104, the non-transitory memory 106, and / or the user input device 132 in a shared housing, or may be a peripheral display device and may include a monitor, a touch screen, a projector, or other display devices known in the art that may enable a user to view medical images generated by a medical imaging system, and / or interact with various data stored in the non-transitory memory 106.
[0034] It should be understood that Figure 1 The waveform processing system 102 shown is for illustration and not for limitation. Another suitable waveform processing system may include more, fewer, or different components.
[0035] refer to Figure 2A , shows an exemplary waveform classification network training system 200 that can be used to train a waveform classification network 220. The waveform classification network 220 can be trained to identify segments of a waveform data stream 202 where events have occurred (e.g., peaks, valleys, or distortions in the data). The waveform classification network 220 can be trained by a waveform processing system (such as Figure 1 The waveform classification network 220 may be stored in a neural network module 242 of the waveform processing system. The neural network module 242 may be Figure 1 Non-limiting examples of neural network modules 108 of waveform processing system 102.
[0036] The waveform data stream 202 may be received by a patient monitoring device 201 (e.g., Figure 1 The waveform classification network training system 200 may include a waveform chunk generator 204 that may divide the waveform data stream 202 into a plurality of overlapping waveform chunks 206 that may be stored in a training module 215 that may be used to train the waveform classification network training system 200. Figure 1 Each waveform chunk 206 may be a portion of a waveform data stream 202. For example, the waveform data stream 202 may be stored in a waveform data array in a buffer in a memory (e.g., non-transitory memory 106) of the waveform processing system, and each waveform chunk 206 may be selected from the waveform data array based on an initial time reference. Figure 4A and Figure 6 The division of a waveform data stream into a plurality of overlapping waveform chunks is described in greater detail.
[0037] The training module 215 may include a training data generator 210 that may generate a plurality of training pairs 212 from the waveform chunks 206. Each training pair may include a waveform chunk and an indication of whether a segment or a portion of a segment that includes an event is detected in the waveform chunk as ground truth data. For example, the waveform chunk may include a first array of data values of the waveform data stream 202, and the ground truth data may include a second segment identification array of values having the same length as the first array, wherein the segment identification array includes an encoding of the position of the segment or a portion of the segment in the first array of data values. For example, the segment identification array may include ones and zeros, wherein corresponding positions of the first array of ones indicate values include data values that are part of the segment, and corresponding positions of the first array of zeros indicate values include data values that are not part of the segment. Reference Figure 3 The encoding of the fragment recognition array is described in more detail.
[0038] A first portion of the training pairs 212 may be assigned to the training data set, a second portion of the training pairs 212 may be assigned to the validation data set, and a third portion of the training pairs 212 may be assigned to the test data set. In one embodiment, the training pairs 212 may be randomly assigned to the training data set, the validation data set, or the test data set in a pre-established ratio. For example, the training pairs 212 may be randomly assigned to the training data set or the test data set such that 90% of the training pairs are assigned to the training data set and 10% of the training pairs are assigned to the test data set and the validation data set. It should be understood that the examples provided herein are for illustrative purposes only, and that the training pairs may be assigned to the training, validation, or test data sets via different processes and / or in different ratios without departing from the scope of the present disclosure.
[0039] The waveform classification network 220 can be trained on the training pairs 212 to learn to identify segments in which events occur. Figure 6 An exemplary method for training waveform classification network 220 is described in more detail.
[0040] The waveform classification network training system 200 may include a validator 222 that validates the performance of the waveform classification network 220 using a training pair of a validation data set and a test data set. The validator 222 may use the validation data set to prevent overfitting, and may output an assessment of the performance of the trained or partially trained waveform classification network 220 for the training pair of test data sets. Training may be completed when the waveform classification network 220 achieves a minimum error rate in detecting segments. After the waveform classification network 220 is validated, the waveform classification network 220 may be fully trained. The trained waveform classification network 230 (e.g., a validated waveform classification network 220) may be used to identify segments in a new waveform data stream in which a specified event has occurred. The trained waveform classification network 230 may be deployed in an inference module 240 (e.g., Figure 1 In the inference module 112).
[0041] refer to Figure 2B , segment identification diagram 250 shows a series of processing steps performed by the waveform processing system to aggregate Figure 2A The output of the trained waveform classification network 230 of , makes it possible to detect or identify segments in waveform data spanning multiple individual waveform chunks. As described in more detail below, the accuracy of segment identification performed by the waveform processing system can be increased by aggregating the output as described herein.
[0042] Monitoring device 251 can generate waveform data stream 252. Monitoring device 251 can be connected to Figure 2AThe waveform chunk generator 204 may divide the waveform data stream 252 into a set of overlapping waveform data chunks that may be input into the trained waveform classification network 230, which may be trained on the waveform data stream 252. Figure 2A The waveform classification network training system 200 is trained. For each chunk input into the trained waveform classification network 230 at regular intervals, the trained waveform classification network 230 may output a chunk fragment identification array 258 indicating the location of any fragment in the chunk. The chunk fragment identification array 258 may then be aggregated during an output aggregation process 260 to generate an overall fragment identification array 262 for the waveform data. The fragment identification array 262 may indicate the location of various instances of predefined events in the waveform data stream 252. At periodic intervals, a fragment event classification summary 264 may be generated that includes the current state of the fragment identification array 262 at the time of generation. For example, the fragment event classification summary 264 may be generated at each inference interval or after a predetermined number of inference intervals. The fragment event classification summary 264 may be used by a fragment display block 266 to display the location of the event in the waveform data stream 252 on a display device (e.g., display device 134) of the waveform processing system. Aggregating the output of the trained waveform classification network 230 into a segment identification array is described in more detail below.
[0043] exist Figure 3 , encoding diagram 300 shows an exemplary representation of waveform data and how the location of segments including events may be represented by a waveform processing system such as Figure 1 The waveform data may be determined and indicated by a waveform processing system 102 such as a patient monitoring device (e.g., Figure 1 Patient monitor 136 and / or Figure 2A The waveform data may be a stream of data values generated by a stream device of a monitoring device 201 of the embodiment of the present invention. For example, in the depicted embodiment, the patient monitoring device may monitor the heart rate of a patient in a hospital. Thus, the waveform data may be a continuous, ongoing stream of heart rate measurements. Alternatively, the waveform data may be a stored array of values corresponding to the duration of the previous stream of heart rate measurements. For example, the array may be stored in Figure 1 The waveform data 114 is shown in FIG.
[0044] The encoded graph 300 includes a graphical display 320 of waveform data, wherein the waveform data is indicated as a curve 302 on a set of coordinate axes. The x-axis of the graphical display 320 indicates time, and exemplary changes in the waveform data (e.g., heart rate) are shown on the y-axis. Figure 320 minutes of waveform data are shown in the figure, which may include a predetermined amount of waveform data on which it is desired to view results. The predetermined amount of waveform data on which it is desired to view results may also be referred to as an aggregate interval in this article, as described in more detail below. Exemplary changes in heart rate can also be seen in waveform data array 330, wherein each value of waveform data array 330 corresponds to the heart rate depicted in graphical display 320. For example, the first point 314 on curve 302 corresponds to a heart rate of 77, which is shown in position 322 of waveform data array 330. The second point 316 on curve 302 corresponds to a heart rate of 80, which is shown in position 327 of waveform data array 330. Curve 302 and array 330 have a length of 20 minutes, wherein the values of curve 302 and array 330 can be selected from a continuous or stored waveform data stream. In other examples, the length can be larger or smaller.
[0045] Curve 302 indicates the occurrence of two events, where the events include an unexpected increase in heart rate. The events appear as peaks in curve 302. The first event 304 occurs centered at the 4th minute of the waveform data, and the second event 306 occurs centered at the 17th minute of the waveform data.
[0046] The waveform processing system may identify a segment of the waveform data including a first event 304 and a second event 306. Specifically, the waveform processing system may identify a first segment 310 including the first event 304 and a second segment 312 including the second event 306, wherein the first segment 310 is bounded by a dashed line 350 and a dashed line 351, and the second segment 312 is bounded by a dashed line 352 and a dashed line 353.
[0047] The encoding diagram 300 also includes a segment identification array 340, which can indicate the position of the first segment 310 and the second segment 312 within the waveform data array 330. The segment identification array 340 can be generated as an output of the waveform processing system, as described in more detail below. The length of the segment identification array 340 can be equal to the length of the waveform data array 330. The position of the first segment 310 and the second segment 312 within the waveform data array 330 can be indicated by the presence of one or zero in the segment identification array 340. In other words, the first value assigned to the position of the segment identification array 340 can correspond to the second value included at the same position in the waveform data array 330. If the second value is included in the segment, the first value can be one, and if the second value is not included in the segment, the first value can be zero.
[0048] For example, the heart rate corresponding to point 314 (e.g., 77 bpm) is included in waveform data array 330 at the fourth position of waveform data array 330 (e.g., corresponding to a measurement at the fourth minute of the waveform data). One is assigned to the fourth position of segment identification array 340, indicating that the heart rate corresponding to point 314 is within the segment (e.g., segment 310). Additional heart rates within the threshold distance of point 314 are also included in the segment.
[0049] The first section 342 of the segment identification array 340 includes one, wherein the first section 342 corresponds to the first segment 310. The first section 342 includes one in the second position of the segment identification array 340, the third position of the segment identification array 340, the fourth position of the segment identification array 340, the fifth position of the segment identification array 340, and the sixth position of the segment identification array 340, indicating that the data values at the second position of the waveform data array 330, the third position of the waveform data array 330, the fourth position of the waveform data array 330, the fifth position of the waveform data array 330, and the sixth position of the waveform data array 330 are included in the first segment 310. Similarly, the second section 344 of the segment identification array 340 includes one, wherein the second section 344 corresponds to the second segment 312. The second section 344 includes one of the 14th position of the segment identification array 340, the 15th position of the segment identification array 340, the 16th position of the segment identification array 340, the 17th position of the segment identification array 340, the 18th position of the segment identification array 340, and the 19th position of the segment identification array 340, indicating that the data values at the 14th position of the waveform data array 330, the 15th position of the waveform data array 330, the 16th position of the waveform data array 330, the 17th position of the waveform data array 330, the 18th position of the waveform data array 330, and the 19th position of the waveform data array 330 are included in the second segment 312. All other positions of the segment identification array 340 include zeros, indicating that the values at the corresponding positions of the waveform data array 330 are not included in any segment (e.g., no events are detected in the corresponding positions).
[0050] Thus, the waveform processing system can process the data values of the waveform data array 330 to determine the location of any event and fill the segment identification array 340 with one or zero to mark the location. The waveform processing system can then use the segment identification array 340 to inform the display of the location of the first segment 310 and the second segment 312 within the representation of the waveform data on the display device of the waveform processing system. In various embodiments, processing the data values of the waveform data array 330 to determine the location of any event may include inputting the data values into an AI model such as a neural network.
[0051] Figure 4AA block diagram 400 is shown indicating how an AI model can process data values in the form of blocks. The block diagram 400 shows the corresponding Figure 3 The waveform data array 330 is divided into 11 blocks 401, each of which includes a predefined number of data values of the waveform data array 330. Figure 4C In the embodiment, the predefined number is 10. In other embodiments, the predefined number can be a different number. In the case where the chunk size is 10, 20 minutes of waveform data can be processed as exactly 11 overlapping chunks.
[0052] Chunks 1 to 11 may be offset from each other by a predefined inference interval. Figure 4A In FIG. 1 , the inference interval is one minute. At each inference interval (e.g., every minute), a new chunk can be input into the AI model for processing. Thus, processing the chunk can include using the AI model to perform sliding window inference on the waveform data.
[0053] At a first inference interval, a first data value (e.g., heart rate) of the waveform data array 330 may be assigned to a first position of the first block 402. At a second inference interval, a second data value of the waveform data array 330 may be assigned to a second position of the first block 402. Additionally, the second data value may be assigned to a first position of the second block 404. At a third inference interval, a third data value of the waveform data array 330 may be assigned to a third position of the first block 402, a second position of the second block 404, and a first position of the third block 406, and so on. In this manner, multiple overlapping blocks of waveform data may be created from the waveform data array 330, wherein each overlapping block is offset from the previous overlapping block and the subsequent overlapping block by an inference interval. After 11 blocks, all data values of the waveform data array 330 may be represented in the form of blocks, wherein the last data value of the 11th block may be the last data value of the waveform data array 330.
[0054] When a predefined number of data values for overlapping chunks has been obtained, meaning that a data value is included in each position of the relevant chunk, the relevant chunk can be input into the AI model. The first dotted line 410 shows the completion of the first chunk 402. The second dotted line 412 shows the completion of the second chunk 404, and the third dotted line 414 shows the completion of the third chunk 406. Therefore, after 10 inference intervals have passed (for example, at the 10th minute), the first chunk 402 may include a predefined number of data values and may be input into the AI model. After a subsequent inference interval, at the 11th minute, the second chunk 404 may include a predefined number of data values and may be input into the AI model. After a subsequent inference interval, at the 12th minute, the third chunk 406 may include a predefined number of data values, which may be input into the AI model. In this way, data values of the waveform data array 330 are assigned to chunks at each inference interval, and after a minimum number (e.g., a predefined number) of data values have been collected in a chunk for processing, the chunk is submitted to the AI model. (Note that this means that results may be displayed with a 10 second delay).
[0055] Figure 4B A sliding window inference graph 430 is shown, wherein the sliding window inference graph 430 shows a set of exemplary outputs 434 of the AI model, the set of exemplary outputs corresponding to the above reference Figure 4A The exemplary set of inputs 432 are input into the AI model in the form of blocks. Figure 4A The same timeline as shown, sliding window inference diagram 430 shows the timing of inputting chunks 1 to 11 into the AI model. Figure 4A , the first chunk 402 starts at the first inference interval and ends at the 10th minute; the second chunk 404 starts at the second inference interval and ends at the 11th minute; and the third chunk 406 starts at the third inference interval and ends at the 12th minute. At the 11th minute, the first array of data values of the first chunk 402 is input into the AI model, and the AI model outputs a corresponding first chunk fragment identification array 436 having the same length as the first array. The first chunk fragment identification array 436 includes ones and zeros, where the ones indicate the position of the fragment within the first chunk 402. For example, a zero is included at a first position 443 of the first chunk fragment identification array 436, indicating that a first data value 446 (e.g., 72) of the first chunk 402 is not included in the fragment. A one is included at a second position 444 of the first chunk fragment identification array 436, indicating that a second data value 448 (e.g., 73) of the first chunk 402 is included in the fragment. The first chunk segment identification array 436 includes a span 442 (corresponding to the position of the segment 431 in the first chunk 402) of consecutive ones. Figure 3Specifically, one is included in the second position (444), the third position, the fourth position, the fifth position and the sixth position of the first group block fragment identification array 436, indicating the presence of the fragment 431 at the second position, the third position, the fourth position, the fifth position and the sixth position of the first group block 402, also represented by Figure 4B Indicated by bold text in .
[0056] When the second chunk 404 is input into the AI model at the 12th minute, the AI model outputs a second chunk segment identification array 438, wherein the second chunk segment identification array 438 includes a one indicating the position of the segment 431 in the second chunk 404. Thus, the first five positions of the second chunk segment identification array 438 include a one, indicating the presence of the segment 431 at the first five positions of the second chunk 404.
[0057] When the third chunk 406 is input into the AI model at the 13th minute, the AI model outputs a third chunk fragment identification array 440, wherein the third chunk fragment identification array 440 includes a one indicating the position of the fragment 431 in the third chunk 406. The first four positions of the third chunk fragment identification array 440 include a one, indicating the presence of a portion of the fragment 431 at the first four positions of the third chunk 406.
[0058] Because each chunk input into the AI model starts at a subsequent inference interval, the values included at the positions of each chunk fragment identification array output by the AI model "slide" vertically upward in the sliding window inference graph 430, where at each consecutive inference interval, the one or zero at the first position of the associated chunk fragment identification array is eliminated and a one or zero is appended at the last position of the associated chunk fragment identification array. In this way, a sliding window inference is performed over a series of chunks, where consecutive outputs generated by the AI model at consecutive inference intervals are used to infer the presence of fragments in each chunk in the series of chunks. The chunk fragment identification arrays output by the AI model can then be aggregated to generate a composite fragment identification array (e.g., Figure 3 A composite segment identification array 340 may be provided that indicates the location of one or more segments found in a corresponding waveform data stream (eg, waveform data array 330).
[0059] Aggregating the chunk fragment identification arrays output by the AI model may include time aligning the chunk fragment identification arrays and aggregating values (e.g., one or zero) that appear in multiple chunks at the same time reference. For example, the time reference 450 may be at a third inference interval indicated by dashed lines 451 and 452. At the time reference 450, the waveform processing system records a single data value (e.g., 75). The single data value is included in the first chunk 402 in the third position; is included in the second chunk 404 in the second position; and is included in the third chunk 406 in the first position (e.g., all at the same time at the 3rd minute). However, since the first chunk 402, the second chunk 404, and the third chunk 406 are input into the AI model at different times, the corresponding output values associated with the single data value may be included in the first chunk fragment identification array 436, the second chunk fragment identification array 438, and the third chunk fragment identification array 440 at different times. Thus, during aggregation, first chunk segment identification array 436, second chunk segment identification array 438, and third chunk segment identification array 440 may be time aligned (e.g., each offset by an inference interval) to ensure that output values corresponding to time reference 450 are aggregated and not aggregated with output values corresponding to a different time reference.
[0060] A set of time-aligned outputs of the first group block segment identification array 436, the second group block segment identification array 438, and the third group block segment identification array 440 are indicated by dashed lines 454 in the sliding window inference graph 430, respectively. Dashed lines 454 show that a first output value 1 located in a third position 455 of the first group block segment identification array 436 and associated with the third position of the first group block 402 is time-aligned with a second output value 1 located in a second position 456 of the second group block segment identification array 438 and associated with the second position of the second group block 404, and a third output value 1 located in a first position 457 of the third group block segment identification array 440 and associated with the first position of the third group block 406. During aggregation, the first output value, the second output value, and the third output value may be aggregated to generate an aggregated value to be assigned to a (global) segment identification array for the waveform data. For example, the first output value, the second output value, and the third output value may be averaged to generate an aggregated value.
[0061] In the depicted example, the first output value, the second output value, and the third output value are equal, indicating that the AI model outputs the same result for each of the first chunk 402, the second chunk 404, and the third chunk 406. However, the AI model may not always correctly identify the presence of a segment in each chunk that includes the segment, where the time-aligned output values of multiple chunks at a given time reference may not all be the same. By aggregating the time-aligned output values over multiple chunks, the accuracy of the overall output of the waveform processing system may be increased.
[0062] Figure 4C An aggregate diagram 460 is shown, which shows an exemplary aggregation of a plurality of chunk segment identification arrays 462, such as first chunk segment identification array 436, second chunk segment identification array 438, and third chunk segment identification array 440, respectively. Aggregate diagram 460 shows the aggregation of data values output by the AI model for the 11 chunks used to process waveform data array 330. The data values output by the AI model for the 11 chunks are aggregated into Figure 3 The time when the AI model outputs each of the plurality of chunk fragment identification arrays 462 is shown along the left side of the aggregate graph 460, wherein the first chunk fragment identification array 464 output by the AI model corresponds to Figure 4B The first group of chunk fragment identification array 436; the second group of chunk fragment identification array 465 output by the AI model corresponds to Figure 4B and the third group of chunk fragment identification arrays 466 output by the AI model corresponds to Figure 4B The first group of chunk fragment identification arrays 464 are output by the AI model at the 11th minute; the second group of chunk fragment identification arrays 465 are output by the AI model at the 12th minute; the third group of chunk fragment identification arrays 466 are output by the AI model at the 13th minute; and so on.
[0063] The chunk fragment identification arrays 462 are time aligned so that data values from the same time reference included in each chunk fragment identification array are vertically aligned in a column. In other words, the chunk fragment identification arrays 462 are each offset by an inference interval (e.g., one minute). Thus, each aggregated data value of the fragment identification array 340 is the result of aggregating the time-aligned output values of one or more chunk fragment identification arrays vertically aligned above it. For example, a first value 480 of the fragment identification array 340 is an aggregation of a first value of the first chunk fragment identification array 464 at time reference 470; a second value 481 of the fragment identification array 340 is an aggregation of a second value of the first chunk fragment identification array 464 and a first value of the second chunk fragment identification array 465 at time reference 471; a third value 482 of the fragment identification array 340 is an aggregation of a third value of the first chunk fragment identification array 464, a second value of the second chunk fragment identification array 465, and a first value of the third chunk fragment identification array 466 at time reference 472; and so on.
[0064] Because each chunk fragment identification array is offset by an extrapolated interval from the previous chunk fragment identification array, the number of data values aggregated to generate the aggregate output value of the fragment identification array 340 may vary. In other words, a first value 480 of the fragment identification array 340 may be generated by aggregating one output value of a single chunk fragment identification array; a second value 481 of the fragment identification array 340 may be generated by aggregating the output values of two chunk fragment identification arrays; a third value 482 of the fragment identification array 340 may be generated by aggregating the output values of three chunk fragment identification arrays; and so on. Thus, the number of output values aggregated to generate the aggregate output value of the fragment identification array 340 may initially increase from one to a maximum number of output values at the middle of the fragment identification array 340, and then may decrease back to one when a last value 484 of the fragment identification array 340 may be generated by aggregating the last output value of a single chunk fragment identification array at time reference 474. The maximum number of output values may be aggregated at the middle of the fragment identification array 340 at time reference 473. In the depicted example, the maximum number of output values is 10.
[0065] An advantage of aggregating the AI model output over multiple overlapping chunks is that errors (e.g., misclassifications) caused by the AI model can be corrected. The AI model may periodically misclassify data values of the waveform data array 330 as being included in a segment or not in a segment. Figure 4C, the periodic misclassifications of the AI model are shown with a white background, and the correct classifications of the AI model are shown with a gray background. For example, the second chunk fragment identification array 465 includes a zero in the second position when the correct value would be one. Similarly, the chunk fragment identification array 466 includes a zero in the third position when the correct value would be one. By generating an aggregate value from various instances of output values at a given time reference, the aggregate value can be a correct classification if a majority of the output values are correctly classified. In other words, in order for the aggregate value to be an incorrect classification, a majority of the output values of the aggregated chunk fragment identification arrays must be incorrectly classified.
[0066] Various aggregation strategies may be used to aggregate the output values of the chunk fragment identification array. In some embodiments, the output values may be averaged to generate an average output value. If the average output value is greater than a threshold value (e.g., .5), a one may be assigned to the fragment identification array 340. If the average output value is less than or equal to the threshold value, a zero may be assigned to the fragment identification array 340. In other words, the average output value may be rounded up or down to generate an aggregate output value.
[0067] For example, at time reference 472, three values are aggregated to generate a third value 482 of the segment identification array 340: a third value of the first chunk segment identification array 464, which is a correct classification indicated by one; a second value of the second chunk segment identification array 465, which is an incorrect classification indicated by zero; and a first value of the third chunk segment identification array 466, which is a correct classification indicated by one. The average of the three values is .666, which may be rounded up to 1 for the third value 482. Alternatively, if two of the three values were zero, the average of the three values would be .333, which may be rounded down to generate zero for the third value 482.
[0068] As another example, at time reference 473, ten output values from ten chunk segment identification arrays are aggregated to generate an aggregated 10th value 483 of the segment identification array 340. At time reference 473, eight of the ten output values are zero, thereby (correctly) classifying the 10th value of the waveform data array 330 as not being included in the segment. Two of the ten output values are one, indicating an incorrect classification by the AI model. The average of the ten output values is .2, which can be rounded down to generate a 0 at the aggregated 10th value 483 of the segment identification array 340. In this way, the AI model's incorrect classification is ignored, resulting in a more accurate identification of the segment in the waveform data array 330.
[0069] In some embodiments, the output values of the chunk fragment identification array may not be zero or one. For example, the AI model may be trained using zeros and ones and may output values in a range from zero to one. In some embodiments, a threshold may be applied to the output value to round up or down the output value, thereby generating a one or zero in the chunk fragment identification array. In other embodiments, the output value may not be rounded up or down to generate one or zero, and the chunk fragment identification array may include the output values of the AI model in a range from zero to one. In such cases, the aggregate output value may be more accurate.
[0070] Another aggregation strategy can be to use a weighted average instead of an average. For example, when generating an aggregated value for a given position, more weight can be assigned to the value if the given position appears in the middle of a chunk, and less weight can be assigned to the value if the given position appears at the end or beginning of a chunk.
[0071] As an example of how aggregation can be performed over various time instances, Figure 5A , Figure 5B and Figure 5C The successive steps in the polymerization process are shown.
[0072] Figure 5A A first aggregation step 500 is shown at a first time instance where an output of the AI model is received, where the first time instance occurs at the 11th minute of processing performed by the waveform processing system. At the first time instance, a first chunk segment identification array 464 is generated as the first output of the AI model (e.g., after a 10 minute delay). In one embodiment, at the first time instance, an initial segment identification array 502 is created, where the initial segment identification array 502 can be a first portion of the segment identification array 340.
[0073] Figure 5B A second aggregation step 510 is shown at a second time instance where the output of the AI model is received, where the second time instance occurs at 12 minutes into the processing performed by the waveform processing system. At the second time instance, a second group of chunk segment identification arrays 465 are generated as a second output of the AI model. At the second time instance, the first group of chunk segment identification arrays 464 and the second group of chunk segment identification arrays 465 are aggregated. During the aggregation, the first group of chunk segment identification arrays 464 and the second group of chunk segment identification arrays 465 are time aligned so that a first set of values of the first group of chunk segment identification arrays 464 and a second set of values of the second group of chunk segment identification arrays 465 can be compared relative to a series of time references. At each time reference in the series of time references, corresponding values of the first group of chunk segment identification arrays 464 and the second group of chunk segment identification arrays 465 are aggregated, and the aggregated output value is included or updated in the segment identification array 502.
[0074] For example, in (e.g., Figure 4C At a first time reference 470 of the embodiment of the present invention, a single output value at a first position 512 of the first chunk fragment identification array 464 is used as a first aggregate value 504 of the fragment identification array 502. At a second time reference 471, the output value at a second position 514 of the first chunk fragment identification array 464 and the output value at a first position 518 of the second chunk fragment identification array 465 are aggregated to generate a second aggregate value 506. At a third time reference 472, the output value at a third position 516 of the first chunk fragment identification array 464 and the output value at a second position 520 of the second chunk fragment identification array 465 are aggregated to generate a third aggregate value 508. Because the output value at the third position 516 of the first chunk fragment identification array 464 is one and the output value at the second position 520 of the second chunk fragment identification array 465 is zero, when the output values are averaged, the third aggregate value 508 may be obtained from 1 (at Figure 5A In addition, based on the last output value 524 of the second block fragment identification array 465, the aggregate output 522 is appended to the fragment identification array 502.
[0075] Figure 5C A third aggregation step 530 is shown at a third time instance at which the output of the AI model is received, wherein the third time instance occurs at 13 minutes into the processing performed by the waveform processing system. At the third time instance, a third group of chunk segment identification arrays 466 are generated as a third output of the AI model. At the third time instance, the first group of chunk segment identification arrays 464, the second group of chunk segment identification arrays 465, and the third group of chunk segment identification arrays 466 are aggregated. During the aggregation, the first group of chunk segment identification arrays 464, the second group of chunk segment identification arrays 465, and the third group of chunk segment identification arrays 466 are time aligned so that a first set of values of the first group of chunk segment identification arrays 464, a second set of values of the second group of chunk segment identification arrays 465, and a third set of values of the third group of chunk segment identification arrays 466 can be compared relative to a series of time references. At each time reference in the series of time references, the corresponding values of the first group of chunk segment identification arrays 464, the second group of chunk segment identification arrays 465, and the third group of chunk segment identification arrays 466 are aggregated, and the aggregated output value is included or updated in the segment identification array 502.
[0076] At a third time reference 472, from Figure 5BThe first aggregate value 504 and the second aggregate value 506 of the fragment identification array 502 are retained. The output value at the third position 516 of the first block fragment identification array 464, the output value at the second position 520 of the second block fragment identification array 465, and the output value at the first position 532 of the third block fragment identification array 466 are aggregated to regenerate the third aggregate value 508. Because the average value of the output value at the first position 532 of the third block fragment identification array 466 (e.g., one), the output value at the second position 520 of the second block fragment identification array 465 (e.g., zero), and the output value at the third position 516 of the first block fragment identification array 464 (e.g., one) is .666, the third aggregate value 508 can be obtained from 0 (in Figure 5B In this way, the addition of data from the third chunk fragment identification array 466 corrects the misclassification made by the AI model at the time reference 471 shown in the second chunk fragment identification array 465. Additionally, based on the last output value 536 of the third chunk fragment identification array 466, the aggregate output 534 is appended to the fragment identification array 502.
[0077] Thus, when additional output data from additional chunk segment identification arrays is aggregated, output values are added at the end of the segment identification array 502 and confirmed or corrected at the beginning of the segment identification array 502. When the last chunk of input data of the waveform data array 330 (e.g., Figure 4A When the last block fragment identification array is outputted from the block 11), the last output value of the last block can be added to the fragment identification array 502. At this time, the fragment identification array 502 can be Figure 4C The same as the fragment identification array 340. As a result of aggregating output data from overlapping chunks of input data, the number of individual output values aggregated to generate the fragment identification array may increase with each time instance from one individual output value at the beginning of the fragment identification array to a maximum number of individual output values at the middle of the fragment identification array, and then may decrease with each time instance from the maximum number of individual output values to one individual output value at the end of the fragment identification array.
[0078] In another embodiment, the output data may not be incrementally aggregated and / or updated as described above, and may be collected and aggregated to produce the segment identification array 340 after the AI model has processed multiple chunks covering a predetermined amount of waveform data.
[0079] Reference now Figure 6 , showing a method for training a waveform classification network (such as Figure 2AThe waveform classification network 220 can be trained according to the waveform classification network training system 200. In some embodiments, the waveform classification network can be a deep neural network with multiple hidden layers. For example, the waveform classification network can be a convolutional neural network (CNN). The method 600 and other methods described herein can be performed by, for example, Figure 1 Some operations of method 600 may be stored in a non-transitory memory of the waveform processing system (e.g., stored in a memory such as a memory such as a memory such as a processor of the waveform processing system 102). Figure 1 of the waveform processing system 102) and by a processor of the waveform processing system (e.g., Figure 1 The waveform classification network can be used for reference Figure 2A and FIG. 4A to FIG. 4C In some embodiments, the training data may include waveform data stored in a waveform data set of a waveform processing system, such as Figure 1 The waveform data 114 of the waveform processing system 102 is provided.
[0080] Method 600 begins at 602, wherein method 600 includes receiving a raw waveform data stream, which includes multiple instances of a specified event, such as a peak, valley or distortion in the waveform data. In various embodiments, the raw waveform data stream can be generated by a source such as a patient monitor positioned on a patient of a health care system. For example, the patient monitor can be a fetal monitor for monitoring a fetus of a pregnant woman, or a patient monitor of different types. In other embodiments, the raw waveform data stream can be generated by different devices except the patient monitor.
[0081] At 604, method 600 includes receiving a predetermined portion of waveform data (e.g., an amount of waveform data) for analysis. For training purposes, the predetermined amount of waveform data to be analyzed may vary. The predetermined amount of waveform data may be a portion in which a desired amount of events are included in the waveform data. For example, the predetermined amount of waveform data to be analyzed may include three events, or 10 events, or a greater or lesser number of events. The predetermined amount of waveform data may be selected based on the quality of the waveform data. In some examples, method 600 may be performed multiple times to train a waveform classification network, each time using a different predetermined portion and / or amount of waveform data. The predetermined amount of waveform data may be stored in a waveform data array (e.g., Figure 3 The waveform data array 330 includes data values collected from a source at regular intervals.
[0082] At 606, method 600 includes creating a segment identification array (e.g., segment identification array 340) including ones and zeros indicating the positions of the specified events in the waveform data, as described above. The segment identification array may have a length equal to the length of the waveform data array, such that the values of the segment identification array have a 1:1 correspondence with the data values of the waveform data array. Each value of the segment identification array indicates whether the corresponding data value of the waveform data array is included in the segment, wherein one indicates that the corresponding data value is included in the segment, and zero indicates that the corresponding data value is not included in the segment. In various embodiments, one and zero may be manually assigned to the positions of the segment identification array.
[0083] At 608, method 600 includes segmenting the data values of the waveform data array into a plurality of overlapping chunks having a predefined length or size (eg, Figure 2B The waveform block 206 may be a predefined length of 10 data values. The waveform block may be created as described above with reference to Figure 4A Similarly, the fragment identification array can be divided into a plurality of corresponding block fragment identification arrays (e.g., Figure 4C The chunk fragment identification array 462 is a block fragment identification array, wherein each chunk fragment identification array maintains a 1:1 correspondence with the associated overlapping chunk.
[0084] For example, a first chunk may be created from a waveform data array, the first chunk including ten data values starting with the first data value of the waveform data array and ending with the 10th data value. A corresponding first chunk fragment identification array may be created from a fragment identification array, the first chunk fragment identification array including ten values starting with the first value of the fragment identification array and ending with the 10th value of the fragment identification array, wherein the corresponding first chunk fragment identification array values have a 1:1 correspondence with the data values of the first chunk. A second chunk may be created from a waveform data array, the second chunk including ten data values starting with the second data value of the waveform data array and ending with the 11th data value, such that the second chunk is offset from the first chunk by one data value and overlaps with the first chunk when plotted on a timeline. A corresponding second chunk fragment identification array may be created from a fragment identification array, the second chunk fragment identification array including ten values starting with the second value of the fragment identification array and ending with the 11th value, wherein the corresponding second chunk fragment identification array values have a 1:1 correspondence with the data values of the second chunk, and so on.
[0085] At 610, method 600 includes creating a plurality of training pairs, wherein each of the plurality of training pairs includes as input data an array of data values corresponding to a chunk, and a corresponding chunk segment identification array indicating (e.g., using ones and zeros) the locations of any segments included in the chunk. Once the training pairs have been created, the training pairs can be divided into a training data set, a validation data set, and a test data set, as described above with reference to Figure 2A described.
[0086] At 612, method 600 includes training a waveform classification network for a training pair. During training, the waveform classification network can be configured to iteratively adjust one or more of a plurality of weights of the waveform classification network based on a difference between an output of the waveform classification network for a given waveform chunk and a corresponding target, ground truth chunk segment identification array assigned to the waveform chunk in the associated training pair so as to minimize a loss function. In one embodiment, the loss function is a mean absolute error (MAE) loss function. It should be understood that the examples provided herein are for illustrative purposes only and that other types of loss functions may be used without departing from the scope of the present disclosure.
[0087] The difference (or loss) as determined by the loss function can be back-propagated through the waveform classification network to update the weights (and biases) of the hidden layers. In some embodiments, back-propagation of the loss can occur according to a gradient descent algorithm, wherein the gradient (first-order derivative or approximation of the first-order derivative) of the loss function is determined for each weight and bias of the waveform classification network. Each weight (and bias) of the waveform classification network is then updated by adding the negative of the product of the gradient determined (or approximated) for the weight (or bias) to a predetermined step size. The weights and biases can be repeatedly updated until the weights and biases of the waveform classification network converge, or for each iteration of the weight adjustment, the rate of change of the weights and / or biases of the waveform classification network is below a threshold. Method 600 ends.
[0088] Reference now Figure 7 , showing a method for deploying a trained waveform classification network such as Figure 2B The trained waveform classification network 230) is used as a waveform data processing system (e.g., Figure 1 Flowchart of method 700 for performing inference on waveform data that is a portion of waveform processing system 102 of the present invention. Inference can be used to determine the location of one or more predefined events (such as peaks, valleys, or aberrations) in a waveform data stream. In one embodiment, the operations of method 700 can be stored in a non-transitory memory of the waveform processing system (e.g., in an inference module such as inference module 112) and executed by a processor of the waveform processing system (e.g., processor 104).
[0089] Method 700 begins at 702, where method 700 includes receiving a new waveform data stream. In various embodiments, the waveform data stream may be generated by a patient monitor positioned on a patient of a healthcare system, as described above. The waveform data stream may not be generated by the same patient monitor used to generate training data. In other words, a first patient monitor may be used to generate a first raw waveform data stream for training a waveform classification network, and a second patient monitor may be used to generate a second raw waveform data stream received at 702. In other embodiments, the waveform data stream may be generated by a different device other than a patient monitor.
[0090] At 704, method 700 includes receiving a predetermined amount of waveform data for analysis. For example, from a (continuous) raw waveform data stream, a caregiver of a patient and a user of a waveform processing system may be interested in a specific portion corresponding to a specific time period. For example, a caregiver may wish to analyze 20 minutes of waveform data, or one hour of waveform data, or a different amount of waveform data from the raw waveform data stream. The predetermined amount of waveform data may be referred to as an aggregation interval, meaning an amount of data over which overlapping analyses of a waveform classification network may be aggregated to generate a set of aggregated results.
[0091] At 706, method 700 includes dividing the waveform data into a plurality of overlapping chunks having a predefined fixed length, as described above. The predefined fixed length may be the same as the predefined fixed length used during training of the waveform classification network. In various embodiments, the predefined fixed length may be ten, wherein each chunk in the overlapping chunks includes ten data values.
[0092] At 708, method 700 inputs each of the plurality of overlapping chunks into a trained waveform classification network. The chunks may be input into the trained waveform classification network at predefined inference intervals, where the predefined inference interval may be an expected amount of time between outputs of the trained waveform classification network. For example, at a first inference interval, a first chunk may be input into the trained waveform classification network, and a first output (e.g., a chunk segment identification array) may be generated; at a second inference interval, a second chunk may be input into the trained waveform classification network, and a second output may be generated; at a third inference interval, a third chunk may be input into the trained waveform classification network, and a third output may be generated; and so on. The predefined inference interval may also correspond to an amount of time that each chunk in the overlapping chunks is offset from the previous chunk. In other words, the predefined inference interval may be one minute, where each chunk in the overlapping chunks starts one minute after the previous chunk, and the waveform processing system receives a new output of the trained waveform classification network every minute.
[0093] At 710, method 700 includes, for each chunk input into the trained waveform classification network at the inference interval, aggregating the output of the trained waveform classification network received at each inference interval to generate an overall segment identification array for the waveform data. The overall segment identification array may have a length greater than a length of one or more chunks.
[0094] At 712, aggregating the output of the trained waveform classification network received at each inference interval includes time-aligning the plurality of chunk segment identification arrays based on the inference interval, as described above with reference to Figure 4C When multiple chunk segment identification arrays are time aligned, individual output values of each time aligned chunk segment identification array recorded by a waveform processing system at the same time reference can be directly compared.
[0095] At 714, aggregating the output of the trained waveform classification network received at each inference interval includes aggregating the individual output values of each time-aligned chunk segment identification array referenced to the same time reference to generate an aggregate output value for each time reference. The aggregate output values may be stored in the segment identification array. The segment identification array may increase in length during processing until a predefined amount of waveform data has been obtained. In various embodiments, aggregating the individual output values may include averaging the individual output values and applying a threshold to assign zero or one to relevant positions of the segment identification array.
[0096] At 716, method 700 includes generating a segment event classification summary for a user of the waveform processing system. A segment event classification summary is generated periodically as the trained waveform classification network output is aggregated, the segment event classification summary indicating the location of any predefined events in the waveform data up to the time of the most recent segment event classification summary. The segment event classification summary may include the most recently updated segment identification array for the waveform data received up to that time minus a delay corresponding to the length of each chunk (e.g., the time to generate a minimum amount of data to be input into the trained waveform classification network). When the waveform processing system receives the segment event classification summary, the waveform processing system may use the most recently updated segment identification array to display the location of any events detected on a display simultaneously with the waveform data.
[0097] At 718, method 700 includes using the segment event classification summary to generate a visual display of the location of any segments detected in the waveform data until the time of the relevant segment event classification summary. In other words, as the waveform data is processed by the waveform processing system, the waveform data can be displayed in real time on a display of the waveform processing system (e.g., display device 134). For example, the waveform data can be plotted over time in a continuously updated manner. The patient's caregiver can use the waveform processing system to monitor the patient. When the segment event classification summary is generated, the most recently updated segment identification array included in the segment event classification summary can be used to inform the display of the segments detected in the waveform data.
[0098] For example, the waveform processing system may iterate through each value of the most recently updated segment identification array until a one is detected. The waveform processing system may determine a time reference for the one (e.g., the position of the one in the most recently updated segment identification array). The waveform processing system may use the time reference to identify a data value of the waveform data corresponding to the one. The data value of the waveform data corresponding to the one may be the first data value in the segment that includes the predefined event, whereby the waveform processing system may indicate the start of the segment on the waveform data. For example, a portion of the waveform data corresponding to the segment may be highlighted.
[0099] The waveform processing system may continue to iterate through each value of the most recently updated segment identification array until zero is detected. The waveform processing system may determine a time reference for zero (e.g., the position of zero in the most recently updated segment identification array). The waveform processing system may use the time reference to identify a data value of the waveform data corresponding to zero. The data value of the waveform data corresponding to zero may be the last data value in a segment that includes a predefined event, whereby the waveform processing system may indicate the end of the segment on the waveform data. For example, waveform data after the end of the segment may not be highlighted. In this manner, the waveform processing system may continuously generate new chunks of waveform data, input the chunks into a trained waveform classification network, receive a chunk segment identification array output by the trained waveform classification network, aggregate the chunk segment identification array upon receiving the chunk segment identification array to generate a segment event classification summary, and update the display of waveform data for a user in real time based on the segment event classification summary.
[0100] Thus, a framework for analyzing waveform data having a longer duration than the waveform data that can be input into the AI model at one time using sliding window inference is described. Analyzing the waveform data may include detecting distortions or unexpected deviations in the waveform data. The waveform data may be input into the AI model and analyzed in chunks, and the output of the AI model for each chunk may be aggregated according to the methods described herein to generate results for waveform data of longer duration. Specifically, the chunks may be offset and overlapped so that the outputs may be time-aligned to compare individual output values within a series of time references, wherein the time references correspond to the time at which the data values of the waveform data are collected by the source of the waveform data. Model output values that appear across multiple chunks at each time reference may be aggregated to generate a set of aggregated output values spanning a predetermined amount of waveform data, wherein the predetermined amount is greater than the size of the chunk (e.g., the expected amount of data for input into the AI model at one time). The output may be used to indicate the position of the detected fragment in the waveform data of longer duration on a display device of the waveform processing system.
[0101] In other words, waveform data is collected and analyzed over multiple time windows, while the time window moves across the waveform data at each inference interval. As the time window slides across the waveform data, the AI model can analyze the relationship of individual data values to different groups of adjacent data. By aggregating the outputs over multiple overlapping time windows, individual output values that are expected to match can be compared, and accidental misclassifications of the AI model can be corrected, resulting in an increase in the accuracy of the AI model in detecting events in the waveform data. In this way, the waveform processing system can generate more accurate and reliable event detection, which can produce better diagnostic results and / or patient outcomes in a clinical setting.
[0102] A technical consequence of aggregating the results of an AI model over a series of overlapping chunks of input data offset by inference intervals is that waveform data of longer duration can be analyzed with a higher degree of accuracy than can be achieved using other aggregation strategies.
[0103] The present disclosure also provides support for a method for a waveform processing system, the method comprising: displaying a position of a segment including a specified event in a waveform data stream on a display device of the waveform processing system, wherein the position of the segment is identified based on the output of an aggregated AI model, and the AI model performs a sliding window inference on the waveform data stream. In a first example of the method, the specified event is a distortion or change of a waveform data curve relative to an expected curve. In a second example of the method, optionally including the first example, performing a sliding window inference on the waveform data stream also includes: at a predefined inference interval, dividing the waveform data into a plurality of overlapping chunks, each overlapping chunk including an array of continuous data values extracted from the waveform data stream within a specified duration, the array having a predefined size; inputting the array of continuous data values of the chunks in the overlapping chunks of the waveform data into the AI model; and receiving the output of the AI model, the output including a corresponding chunk fragment identification array having an output value of a predefined size, the output value indicating the position of the segment in the chunk of the waveform data. In a third example of the method, optionally including one or both of the first and second examples, the start of each overlapping chunk in the plurality of overlapping chunks is offset from the start of the previous overlapping chunk by a predefined inference interval. In a fourth example of the method, optionally including one or more or each of the first to third examples, the corresponding chunk fragment identification array includes a plurality of ones and zeros, wherein a one in a position of the chunk fragment identification array indicates that the data value in the corresponding position of the input array of continuous data values is included in the fragment, and a zero in a position of the chunk fragment identification array indicates that the data value in the corresponding position of the array of continuous data values is not included in the fragment. In a fifth example of the method, optionally including one or more or each of the first to fourth examples, the specified duration of each overlapping chunk is longer than a predefined inference interval. In a sixth example of the method, optionally including one or more or each of the first to fifth examples, the output of the aggregated AI model further includes: for a predefined portion of the waveform data, time-aligning a plurality of corresponding chunk fragment identification arrays output by the AI model, aggregating individual output values of the time-aligned chunk fragment identification arrays with reference to the same time reference to generate an aggregate output value for each time reference, and storing the aggregate output value in a fragment identification array corresponding to the predefined portion of the waveform data. In a seventh example of the method, optionally including one or more or each of the first to sixth examples, aggregating individual output values further includes: calculating an average of the individual output values, and in response to the average being greater than a threshold, assigning one as the aggregate output value, and in response to the average being less than a threshold, assigning zero as the aggregate output value.In an eighth example of the method, optionally including one or more or each of the first to seventh examples, the amount of the corresponding chunk segment identification arrays over which the individual output values are aggregated varies based on the time alignment of the corresponding chunk segment identification arrays. In a ninth example of the method, optionally including one or more or each of the first to eighth examples, displaying the position of the segment including the specified event on the display device further includes: detecting a first starting point and a first ending point of a continuous number of ones bounded by zeros in the segment identification array corresponding to the predefined portion of the waveform data, displaying a curve of the predefined portion of the waveform data, and indicating a second starting point and a second ending point of the segment on the curve, the second starting point being based on the first starting point, and the second ending point being based on the first ending point.
[0104] The present disclosure also provides support for a method for a waveform processing system, the method comprising: after a first plurality of time instances in a first time interval, inputting waveform data collected at each time instance in the first plurality of time instances into an artificial intelligence (AI) model to generate a first output array of values; after a second plurality of time instances in a second time interval, inputting waveform data collected at each time instance in the second plurality of time instances into the AI model to generate a second output array of values; time-aligning the first output array of values with the second output array of values based on a time difference between a first initial time instance in the first plurality of time instances and a second initial time instance in the second plurality of time instances; aggregating the time-aligned first output array of values and the second output array of values to generate a segment identification array of aggregated values, the segment identification array indicating a location of a segment including a predefined event in the waveform data; and displaying the location of the predefined event within the waveform data on a display device of the waveform processing system. In a first example of the method, the method further includes: after a third plurality of time instances of a third time interval, the third time interval having a length equal to the first time interval and the second time interval, inputting waveform data collected at each time instance in the third plurality of time instances into the AI model to generate a third output array of values; time-aligning the first output array of values, the second output array of values, and the third output array of values based on a time difference between a third initial time instance in the third plurality of time instances and a second initial time instance in the second plurality of time instances; and aggregating the time-aligned first output array of values, the second output array of values, and the third output array of values to generate a fragment identification array of aggregated values. In a second example of the method, optionally including the first example, the method further includes: continuing to aggregate additional time-aligned output arrays of values to generate a fragment identification array of aggregated values, the additional time-aligned output arrays of values being generated by inputting waveform data collected at each time instance in a plurality of additional time instances of the additional time interval into the AI model until the length of the fragment identification array is equal to the length of the waveform data array including a predefined amount of waveform data. In a third example of the method, optionally including one or both of the first and second examples, the values in the output array of values are between zero and one, and aggregating the output array of time-aligned values to generate a fragment identification array of aggregated values also includes aggregating individual output values in the output array of time-aligned values that reference the same time instance to generate an aggregated output value for each time instance.In a fourth example of the method, optionally including one or more or each of the first to third examples, aggregating individual output values further includes: calculating an average output value of the individual output values; in response to the average output value being greater than or equal to a threshold, assigning one to a position in the segment identification array corresponding to the average output value; and in response to the average being less than the threshold, assigning zero to the position in the segment identification array corresponding to the average output value. In a fifth example of the method, optionally including one or more or each of the first to fourth examples, a first number of individual output values averaged at a first time instance in a first plurality of time instances is one, a second number of individual output values averaged at a last time instance in a last plurality of time instances is one, and a maximum number of individual output values are averaged at a time instance in the middle of a predefined amount of waveform data. In a sixth example of the method, optionally including one or more or each of the first to fifth examples, displaying the position of a predefined event within the waveform data on a display device also includes: detecting a continuous number of ones bounded by zeros in a segment identification array, determining a first position of the segment identification array corresponding to a starting point of the continuous number of ones, determining a second position of the segment identification array corresponding to an ending point of the continuous number of ones, displaying the waveform data of the waveform data array on the display device, indicating the start of the position of the predefined event in the displayed waveform data based on the first position, and indicating the end of the position of the predefined event in the displayed waveform data based on the second position.
[0105] The present disclosure also provides support for a waveform processing system, which includes: a display device, a processor, and a non-volatile memory including instructions, which, when executed, cause the processor to display a position of a segment including a specified event in a waveform data stream on the display device based on a segment identification array, wherein the segment identification array is generated by the following operations: dividing the waveform data into a plurality of overlapping chunks having a fixed length, wherein each chunk is offset from a previous chunk by a predefined inference interval; at each inference interval, inputting a plurality of data values of each overlapping chunk of the waveform data into an artificial intelligence (AI) model, the AI model being trained to output a chunk segment identification array including a corresponding plurality of output values, each of the corresponding plurality of output values indicating the presence or absence of a specified event in an overlapping chunk of the waveform data; and aggregating a plurality of chunk segment identification arrays output by the AI model for corresponding plurality of overlapping chunks to generate a segment identification array. In a first example of the system, aggregating multiple chunk fragment identification arrays output by the AI model further includes: time-aligning the chunk fragment identification arrays; averaging individual output values of the time-aligned chunk fragment identification arrays associated with the same time reference to generate an average output value for the time reference; for each average value greater than or equal to a threshold, assigning a first value to the fragment identification array, the first value indicating the presence of a fragment; and for each average value less than the threshold, assigning a second value to the fragment identification array, the second value indicating the absence of a fragment. In a second example of the system, optionally including the first example, the number of individual output values aggregated to generate the fragment identification array increases with each time reference from one individual output value at the beginning of the fragment identification array to a maximum number of individual output values, and the number of individual output values aggregated to generate the fragment identification array decreases with each time reference from the maximum number of individual output values to one individual output value at the end of the fragment identification array.
[0106] When introducing the elements of various embodiments of the present disclosure, the articles "one", "a kind of" and "the" are intended to mean that there are one or more such elements. The terms "first", "second", etc. do not represent any order, amount or importance, but are used to distinguish one element from another element. The terms "include", "comprises", and "have" are intended to be inclusive, and mean that additional elements may also exist in addition to the listed elements. As used herein, the terms "connected to", "coupled to", etc., an object (e.g., material, element, structure, member, etc.) may be connected to or coupled to another object, regardless of whether the one object is directly connected or coupled to another object, or whether there are one or more intervening objects between the one object and another object. In addition, it should be understood that reference to "an embodiment" or "embodiment" of the present disclosure is not intended to be interpreted as excluding the existence of additional embodiments that are also combined with the cited features.
[0107] In addition to any previously indicated modifications, numerous other variations and alternative arrangements may be devised by those skilled in the art without departing from the spirit and scope of the present specification, and the appended claims are intended to cover such modifications and arrangements. Therefore, although the above has been described with particularity and detail in connection with what are currently considered to be the most practical and preferred aspects, it will be apparent to those of ordinary skill in the art that many modifications may be made, including but not limited to form, function, mode of operation, and use, without departing from the principles and concepts set forth herein. Likewise, as used herein, the examples and embodiments are intended to be illustrative in all respects only and should not be construed as limiting in any way.
Claims
1. A method for a waveform processing system, the method comprising: The location of a segment including a specified event in a waveform data stream is displayed 718 on a display device of the waveform processing system, wherein the location of the segment is identified based on the output 710 of an aggregate artificial intelligence model that performs sliding window inference on the waveform data stream.
2. The method of claim 1, wherein the specified event is a distortion or change of a waveform data curve relative to an expected curve.
3. The method of claim 1 , wherein performing the sliding window inference on the waveform data stream further comprises: dividing the waveform data into a plurality of overlapping chunks 706, each overlapping chunk comprising an array of consecutive data values extracted from the waveform data stream for a specified duration, the array having a predefined size; At predefined inference intervals, the array of continuous data values for chunks in the overlapping chunks of waveform data is input into the artificial intelligence model 708, and an output of the artificial intelligence model is received, the output comprising a corresponding chunk fragment identification array having output values of a predefined size, the output values indicating the location of the fragment in the chunk of the waveform data. 4 . The method of claim 3 , wherein the start of each overlapping chunk of the plurality of overlapping chunks is offset from the start of a previous overlapping chunk by the predefined inference interval.
5. The method of claim 3 , wherein the corresponding chunk fragment identification array comprises a plurality of ones and zeros, wherein a one in a position of the chunk fragment identification array indicates that the data value in the corresponding position of the input array of consecutive data values is included in the fragment, and a zero in a position of the chunk fragment identification array indicates that the data value in the corresponding position of the array of consecutive data values is not included in the fragment. The method of claim 3 , wherein the specified duration of each overlapping chunk is longer than the predefined inference interval.
7. The method of claim 3, wherein aggregating the output of the artificial intelligence model further comprises: For a predefined portion of the waveform data: performing time alignment 712 on a plurality of corresponding chunk segment identification arrays corresponding to the predefined portion output by the artificial intelligence model; aggregating individual output values of the time aligned chunk segment identification arrays that reference the same time reference to generate an aggregate output value for each time reference 714; The aggregate output value is stored in a segment identification array corresponding to the predefined portion of the waveform data.
8. The method of claim 7, wherein aggregating the individual output values further comprises: calculating an average of the individual output values; In response to the average being greater than a threshold, assigning one as an aggregate output value; as well as In response to the average being less than the threshold, zero is assigned as the aggregate output value.
9. The method of claim 7, wherein an amount of respective chunk fragment identification arrays over which the individual output values are aggregated varies based on a temporal alignment of the respective chunk fragment identification arrays.
10. The method according to claim 7, wherein displaying the position 718 of the segment including the designated event on the display device further comprises: detecting a first starting point and a first ending point of a consecutive number of ones bounded by zeros in the segment identification array corresponding to the predefined portion of the waveform data; displaying a curve of the predefined portion of the waveform data; as well as A second starting point and a second ending point of the segment are indicated on the curve, the second starting point being based on the first starting point and the second ending point being based on the first ending point.
11. A waveform processing system 102, comprising: Display device 134; Processor 104; and The non-transitory memory 106 includes instructions that, when executed, cause the processor 104 to display on the display device 134 the location of a segment in the waveform data stream 252 that includes a specified event based on a segment identification array 262, the segment identification array 262 being generated by: Dividing the waveform data into a plurality of overlapping chunks 401 having a fixed length, wherein each chunk 401 is offset from a previous chunk by a predefined extrapolation interval; at each inference interval, inputting a plurality of data values for each overlapping chunk of the waveform data into an artificial intelligence model 230, the artificial intelligence model 230 being trained to output a chunk segment identification array 258 comprising a corresponding plurality of output values, each of the corresponding plurality of output values indicating the presence or absence of a specified event in the overlapping chunk 401 of the waveform data; as well as The plurality of chunk fragment identification arrays 462 output by the artificial intelligence model for the corresponding plurality of overlapping chunks 401 are aggregated to create the fragment identification array 262 .
12. The waveform processing system of claim 11, wherein aggregating the plurality of chunk segment identification arrays 462 output by the artificial intelligence model 230 further comprises: Time aligning the chunk segment identification array 462; averaging individual output values of the time aligned chunk segment identification array 462 associated with the same time reference to generate an average output value for the time reference; For each average value that is greater than or equal to a threshold, assigning a first value to the fragment identification array 262, the first value indicating the presence of the fragment; and For each average value that is less than a threshold value, a second value is assigned to the fragment identification array 262, the second value indicating the absence of the fragment.
13. The waveform processing system according to claim 11, wherein: The number of individual output values aggregated to generate the segment identification array 262 increases with each time reference from one individual output value at the beginning of the segment identification array 262 to a maximum number of individual output values; and The number of the individual output values aggregated to generate the segment identification array 262 decreases with each time reference from the maximum number of individual output values to one individual output value at the end of the segment identification array 262 .
