English

Improved Learning via k-DTW: A Novel Dissimilarity Measure for Curves

Data Structures and Algorithms 2025-05-30 v1 Computational Geometry Machine Learning Machine Learning

Abstract

This paper introduces kk-Dynamic Time Warping (kk-DTW), a novel dissimilarity measure for polygonal curves. kk-DTW has stronger metric properties than Dynamic Time Warping (DTW) and is more robust to outliers than the Fr\'{e}chet distance, which are the two gold standards of dissimilarity measures for polygonal curves. We show interesting properties of kk-DTW and give an exact algorithm as well as a (1+ε)(1+\varepsilon)-approximation algorithm for kk-DTW by a parametric search for the kk-th largest matched distance. We prove the first dimension-free learning bounds for curves and further learning theoretic results. kk-DTW not only admits smaller sample size than DTW for the problem of learning the median of curves, where some factors depending on the curves' complexity mm are replaced by kk, but we also show a surprising separation on the associated Rademacher and Gaussian complexities: kk-DTW admits strictly smaller bounds than DTW, by a factor Ω~(m)\tilde\Omega(\sqrt{m}) when kmk\ll m. We complement our theoretical findings with an experimental illustration of the benefits of using kk-DTW for clustering and nearest neighbor classification.

Keywords

Cite

@article{arxiv.2505.23431,
  title  = {Improved Learning via k-DTW: A Novel Dissimilarity Measure for Curves},
  author = {Amer Krivošija and Alexander Munteanu and André Nusser and Chris Schwiegelshohn},
  journal= {arXiv preprint arXiv:2505.23431},
  year   = {2025}
}

Comments

ICML 2025