基于EEG数据的卷积神经网络逼近DTW
Approximating DTW with a convolutional neural network on EEG data
摘要:
动态时间包络(DTW)是一种广泛使用的算法,用于测量两个时间序列之间的相似性。它在各种各样的应用中特别有价值,例如聚类,异常检测,分类或视频分割,其中时间序列具有不同的时间尺度,不规则采样或移位。然而,由于其不可微性和二次时间复杂性,它不容易被认为是端到端学习框架中的损失函数。虽然社区已经引入了DTW的可微变体,但它们仍然存在一些缺点:计算距离仍然很昂贵,并且这种相似性往往会模糊时间序列中的一些差异。在本文中,我们提出了一个快速和可微的近似DTW通过比较两种架构:第一个学习嵌入的欧几里得距离模仿DTW,第二个直接预测DTW输出使用回归。前者通过训练一个连体神经网络来回归两个时间序列之间的DTW值。根据激活函数的性质,这种近似自然支持微分,并且计算效率很高。我们表明,在EEG数据集的时间序列检索上下文中,我们的方法至少达到了与其他DTW主要近似相同的精度水平,具有更高的计算效率。我们还表明,它可以用来学习在一个端到端的设置长时间序列,提出生成模型的EEG。
英文摘要:
Dynamic Time Wrapping (DTW) is a widely used algorithm for measuring similarities between two time series. It is especially valuable in a wide variety of applications, such as clustering, anomaly detection, classification, or video segmentation, where the time-series have different timescales, are irregularly sampled, or are shifted. However, it is not prone to be considered as a loss function in an end-to-end learning framework because of its non-differentiability and its quadratic temporal complexity. While differentiable variants of DTW have been introduced by the community, they still present some drawbacks: computing the distance is still expensive and this similarity tends to blur some differences in the time-series. In this paper, we propose a fast and differentiable approximation of DTW by comparing two architectures: the first one for learning an embedding in which the Euclidean distance mimics the DTW, and the second one for directly predicting the DTW output using regression. We build the former by training a siamese neural network to regress the DTW value between two time-series. Depending on the nature of the activation function, this approximation naturally supports differentiation, and it is efficient to compute. We show, in a time-series retrieval context on EEG datasets, that our methods achieve at least the same level of accuracy as other DTW main approximations with higher computational efficiency. We also show that it can be used to learn in an end-to-end setting on long time series by proposing generative models of EEGs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。