| Literature DB >> 32397421 |
Yihang Jiang1, Yuankai Qi1, Will Ke Wang1, Brinnae Bent1, Robert Avram2, Jeffrey Olgin2, Jessilyn Dunn1.
Abstract
The dynamic time warping (DTW) algorithm is widely used in pattern matching and sequence alignment tasks, including speech recognition and time series clustering. However, DTW algorithms perform poorly when aligning sequences of uneven sampling frequencies. This makes it difficult to apply DTW to practical problems, such as aligning signals that are recorded simultaneously by sensors with different, uneven, and dynamic sampling frequencies. As multi-modal sensing technologies become increasingly popular, it is necessary to develop methods for high quality alignment of such signals. Here we propose a DTW algorithm called EventDTW which uses information propagated from defined events as basis for path matching and hence sequence alignment. We have developed two metrics, the error rate (ER) and the singularity score (SS), to define and evaluate alignment quality and to enable comparison of performance across DTW algorithms. We demonstrate the utility of these metrics on 84 publicly-available signals in addition to our own multi-modal biomedical signals. EventDTW outperformed existing DTW algorithms for optimal alignment of signals with different sampling frequencies in 37% of artificial signal alignment tasks and 76% of real-world signal alignment tasks.Entities:
Keywords: dynamic time warping; nonuniform sampling; signal alignment
Mesh:
Year: 2020 PMID: 32397421 PMCID: PMC7273204 DOI: 10.3390/s20092700
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Real multi-modal biomedical signals underlie the need for both an improved alignment methodology and an improved metric to evaluate the resulting alignment: (a) Heart rate measured with ECG (black, ~1.26 Hz) and photoplethysmogram (PPG) (blue, ~0.2 Hz); (b) an example of warping and distortion observed when comparing the heart rates measured by ECG (black, ~1.26 Hz) and PPG (blue, ~0.2 Hz).
Figure 2Generating the warped and down-sampled companion signal from the reference signal : (a) The temporal variable shift and amplitude distortion of the exemplary signal; (b) a diagram of the companion signal generation process; (c) an example of the original signal , the intermediate signal , and the warped and down-sampled companion signal .
Figure 3Calculation of the optimal alignment, error rate, and singularity score: (a) An example of alignment; (b) the alignment with the most severe singularity problem.
Figure 4An example of application of four dynamic time warping (DTW) algorithms to the BEEF signal from UCR dataset [20] in which EventDTW (eDTW) outperforms DTW, derivative DTW (dDTW), and shape DTW (sDTW). (a) The event information propagation process, and (b) the alignment after applying four methods to the signals in (a).
Algorithm performances in the UCR Time Series Classification Archive.
| Algorithm | Percent | Percent |
|---|---|---|
| eDTW | 42% | 37% |
| DTW | 32% | 49% |
| sDTW | 7% | 4% |
| dDTW | 19% | 11% |
Algorithm performances in biomedical dataset [22].
| Algorithm | Percent |
|---|---|
| eDTW | 76% |
| DTW | 0% |
| sDTW | 0% |
| dDTW | 24% |