[Paper Review] On the hardness of computing an average curve
This paper establishes the NP-hardness and W[1]-hardness of computing the 1-median (average curve) under discrete and continuous Fréchet distance and Dynamic Time Warping (DTW), proving fundamental computational intractability for centroid-based clustering of curves. It further provides polynomial-time $(1+\varepsilon)$-approximation algorithms for the $(k,\ell)$-median and $(k,\ell)$-center problems under discrete Fréchet distance, with exact algorithms for the $(k,\ell)$-center case when $k,\ell$ are fixed.
We study the complexity of clustering curves under $k$-median and $k$-center objectives in the metric space of the Fréchet distance and related distance measures. Building upon recent hardness results for the minimum-enclosing-ball problem under the Fréchet distance, we show that also the $1$-median problem is NP-hard. Furthermore, we show that the $1$-median problem is W[1]-hard with the number of curves as parameter. We show this under the discrete and continuous Fréchet and Dynamic Time Warping (DTW) distance. This yields an independent proof of an earlier result by Bulteau et al. from 2018 for a variant of DTW that uses squared distances, where the new proof is both simpler and more general. On the positive side, we give approximation algorithms for problem variants where the center curve may have complexity at most $\ell$ under the discrete Fréchet distance. In particular, for fixed $k,\ell$ and $\varepsilon$, we give $(1+\varepsilon)$-approximation algorithms for the $(k,\ell)$-median and $(k,\ell)$-center objectives and a polynomial-time exact algorithm for the $(k,\ell)$-center objective.
Motivation & Objective
- To establish the computational complexity of computing the 1-median (average curve) for polygonal curves under the discrete and continuous Fréchet distance and DTW.
- To investigate whether the 1-median problem is fixed-parameter tractable when parameterized by the number of input curves.
- To develop efficient approximation algorithms for clustering curves under bounded center complexity $\ell$, particularly for the $(k,\ell)$-median and $(k,\ell)$-center objectives.
- To explore the feasibility of constant-factor approximation for the 1-median problem under DTW and continuous Fréchet distance, given the lack of metric properties.
Proposed method
- Reduces the minimum-enclosing-ball problem under the Fréchet distance to the 1-median problem to prove NP-hardness.
- Uses parameterized complexity techniques to show W[1]-hardness of the 1-median problem when parameterized by the number of curves $m$, under discrete and continuous Fréchet and DTW distances.
- Proposes a $(1+\varepsilon)$-approximation algorithm for the $(k,\ell)$-median and $(k,\ell)$-center problems under the discrete Fréchet distance by searching over a bounded set of candidate center curves.
- Employs a decision algorithm that tests all possible combinations of $k$ center curves with at most $\ell$ vertices, each within a bounded region around input curve vertices.
- Applies binary search over $O((mn)^3)$ critical radius values to find the optimal $r$ for the $(k,\ell)$-center problem, leveraging topological changes in intersection regions of disks.
- Relies on geometric constructions of planar graphs formed by disk boundaries around curve vertices to enumerate maximal intersection regions and candidate centers.
Experimental results
Research questions
- RQ1Is the 1-median problem for polygonal curves under the discrete Fréchet distance NP-hard?
- RQ2Is the 1-median problem W[1]-hard when parameterized by the number of input curves $m$ under discrete and continuous Fréchet and DTW distances?
- RQ3Can $(1+\varepsilon)$-approximation algorithms be designed for the $(k,\ell)$-median and $(k,\ell)$-center problems under the discrete Fréchet distance with fixed $k$, $\ell$, and $\varepsilon$?
- RQ4What is the approximation threshold for the 1-median problem under DTW and continuous Fréchet distance, given their non-metric properties?
- RQ5Can the exact algorithm for the $(k,\ell)$-center problem under discrete Fréchet distance be extended to DTW or continuous Fréchet settings?
Key findings
- The 1-median problem is NP-hard under the discrete and continuous Fréchet distances and under DTW with various norms.
- The 1-median problem is W[1]-hard when parameterized by the number of input curves $m$ under discrete and continuous Fréchet and DTW distances.
- For fixed $k$, $\ell$, and $\varepsilon > 0$, there exist polynomial-time $(1+\varepsilon)$-approximation algorithms for the $(k,\ell)$-median and $(k,\ell)$-center problems under the discrete Fréchet distance.
- An exact polynomial-time algorithm exists for the $(k,\ell)$-center problem under the discrete Fréchet distance in 2D when $k$ and $\ell$ are fixed.
- The approximation factor for the 1-median problem under DTW is bounded below by $1 + \Omega(1/m)$, indicating that constant-factor approximation is unlikely.
- The geometric approach of searching within disks around curve vertices fails for DTW due to its non-metric nature, and for continuous Fréchet due to lack of vertex proximity in low-distance curves.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.