English

Approximating Length-Restricted Means under Dynamic Time Warping

Computational Geometry 2022-05-03 v2 Data Structures and Algorithms

Abstract

We study variants of the mean problem under the pp-Dynamic Time Warping (pp-DTW) distance, a popular and robust distance measure for sequential data. In our setting we are given a set of finite point sequences over an arbitrary metric space and we want to compute a mean point sequence of given length that minimizes the sum of pp-DTW distances, each raised to the qq\textsuperscript{th} power, between the input sequences and the mean sequence. In general, the problem is NP\mathrm{NP}-hard and known not to be fixed-parameter tractable in the number of sequences. On the positive side, we show that restricting the length of the mean sequence significantly reduces the hardness of the problem. We give an exact algorithm running in polynomial time for constant-length means. We explore various approximation algorithms that provide a trade-off between the approximation factor and the running time. Our approximation algorithms have a running time with only linear dependency on the number of input sequences. In addition, we use our mean algorithms to obtain clustering algorithms with theoretical guarantees.

Keywords

Cite

@article{arxiv.2112.00408,
  title  = {Approximating Length-Restricted Means under Dynamic Time Warping},
  author = {Maike Buchin and Anne Driemel and Koen van Greevenbroek and Ioannis Psarros and Dennis Rohde},
  journal= {arXiv preprint arXiv:2112.00408},
  year   = {2022}
}
R2 v1 2026-06-24T07:59:25.952Z