paper-with-me

홈 › Papers

Soft-DTW: a Differentiable Loss Function for Time-Series

2017-03-05 · ICML 2017 8 · Marco Cuturi, Mathieu Blondel

We propose in this paper a differentiable learning loss between time series, building upon the celebrated dynamic time warping (DTW) discrepancy. Unlike the Euclidean distance, DTW can compare time series of variable size and is robust to shifts or dilatations across the time dimension. To compute DTW, one typically solves a minimal-cost alignment problem between two time series using dynamic programming. Our work takes advantage of a smoothed formulation of DTW, called soft-DTW, that computes the soft-minimum of all alignment costs. We show in this paper that soft-DTW is a differentiable loss function, and that both its value and gradient can be computed with quadratic time/space complexity (DTW has quadratic time but linear space complexity). We show that this regularization is particularly well suited to average and cluster time series under the DTW geometry, a task for which our proposal significantly outperforms existing baselines. Next, we propose to tune the parameters of a machine that outputs time series by minimizing its fit with ground-truth labels in a soft-DTW sense.

📄 PDF Abstract BibTeX arXiv:1703.01541

Code (9)

mblondel/soft-dtw 공식 구현
Maghoumi/DeepNAG pytorch
PeteWe/ts_similarity_tensorflow tf
baggepinnen/DynamicAxisWarping.jl
jihyeonseong/SoM-TP pytorch
keonlee9420/Soft-DTW-Loss pytorch
khdlr/softdtw_jax jax
lyprince/sdtw_pytorch pytorch
yueyaog/TSGEM_Clustering

Tasks

Dynamic Time WarpingTime SeriesTime Series Analysis

Methods 이 논문이 사용한 방법론

DTW Dynamic Time Warping (DTW) [1] is one of well-known distance measures between a pairwise of time series. The main idea of DTW is to compute the distance from the matching of…

Similar Papers 제목 키워드 기반

Differentiable Divergences Between Time Series

2020-10-16 · Mathieu Blondel, Arthur Mensch, Jean-Philippe Vert

Computing the discrepancy between time series of variable sizes is notoriously challenging. While dynamic time warping (DTW) is popularly used for this purpose, it is not differentiable everywhere and is known to lead to…

Dynamic Time WarpingTime SeriesTime Series AnalysisTime Series Averaging+2

Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment Paths

2023-03-19 · Ming Xu, Sourav Garg, Michael Milford, Stephen Gould

This paper addresses learning end-to-end models for time series data that include a temporal alignment step via dynamic time warping (DTW). Existing approaches to differentiable DTW either differentiate through a fixed w…

Dynamic Time WarpingInformation RetrievalMusic Information RetrievalRetrieval+2

Generative Adversarial Network with Soft-Dynamic Time Warping and Parallel Reconstruction for Energy Time Series Anomaly Detection

2024-02-22 · Hardik Prabhu, Jayaraman Valadi, Pandarasamy Arjunan

In this paper, we employ a 1D deep convolutional generative adversarial network (DCGAN) for sequential anomaly detection in energy time series data. Anomaly detection involves gradient descent to reconstruct energy sub-s…

Anomaly DetectionDynamic Time WarpingGenerative Adversarial NetworkTime Series+1

Soft-MSM: Differentiable Context-Aware Elastic Alignment for Time Series

2026-04-30 · Christopher Holder, Anthony Bagnall arxiv

Elastic distances like dynamic time warping (DTW) are central to time series machine learning because they compare sequences under local temporal misalignment. Soft-DTW is an adaptation of DTW that can be used as a gradi…

The Z-loss: a shift and scale invariant classification loss belonging to the Spherical Family

2016-04-29 · Alexandre de Brébisson, Pascal Vincent

Despite being the standard loss function to train multi-class neural networks, the log-softmax has two potential limitations. First, it involves computations that scale linearly with the number of output classes, which c…

General ClassificationLanguage ModelingLanguage Modelling