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

By Marco Cuturi, Mathieu Blondel. International Conference on Machine Learning, 2017

863 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Signal Processing

View Paper: https://www.semanticscholar.org/paper/08a426042c9926419198ee22c9bf80e6e4b5791b

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Xu Tan
  2. Tao Qin
  3. Tie-Yan Liu
  4. Lei He
  5. Frank K. Soong
  6. Sheng Zhao
  7. Yu Zhang
  8. Yonghui Wu

In Signal Processing

  1. Xu Tan
  2. Tao Qin
  3. Tie-Yan Liu
  4. Lei He
  5. Frank K. Soong
  6. Yu Zhang
  7. Sheng Zhao
  8. Heiga Zen

Citations in the corpus