Skip to main content
QUICK REVIEW

[Paper Review] On the Existence of a Sample Mean in Dynamic Time Warping Spaces

Brijnesh J. Jain, David Schultz|arXiv (Cornell University)|Oct 14, 2016
Time Series Analysis and ForecastingComputer Science19 references9 citations
TL;DR

This paper establishes sufficient conditions for the existence of a sample mean in dynamic time warping (DTW) spaces by proving that the restricted Fréchet function—used to compute the DTW-based mean—attains a global minimum under mild conditions. The authors leverage the coercivity and continuity of loss functions and the finiteness of warping paths to guarantee existence, resolving a long-standing theoretical gap in DTW-based pattern recognition and clustering.

ABSTRACT

The concept of sample mean in dynamic time warping (DTW) spaces has been successfully applied to improve pattern recognition systems and generalize centroid-based clustering algorithms. Its existence has neither been proved nor challenged. This article presents sufficient conditions for existence of a sample mean in DTW spaces. The proposed result justifies prior work on approximate mean algorithms, sets the stage for constructing exact mean algorithms, and is a first step towards a statistical theory of DTW spaces.

Motivation & Objective

  • To resolve the unresolved theoretical question of whether a sample mean exists in dynamic time warping (DTW) spaces.
  • To justify the use of approximate mean algorithms in DTW by establishing sufficient conditions for existence.
  • To support the development of exact mean algorithms by proving the existence of global minimizers of the Fréchet function.
  • To lay the foundation for a statistical theory of DTW spaces by formalizing the concept of central tendency.
  • To generalize the standard Fréchet function to include weighted means and medians via arbitrary loss functions.

Proposed method

  • Formalizes time series averaging as minimizing a generalized Fréchet function over a solution space of fixed-length time series.
  • Applies the Reduction Theorem to show that the minimum of the Fréchet function is attained by minimizing over finite sets of warping paths.
  • Uses coercivity and continuity of loss functions $ h_k $ to ensure that component functions $ g_{p^{(k)}} $ attain global minima.
  • Demonstrates that the overall Fréchet function $ F_m(x) $ achieves a minimum because it is the pointwise minimum over a finite set of continuous, coercive functions.
  • Extends the result to weighted loss functions $ h_k' = w_k h_k $, showing existence still holds when some weights are zero.
  • Proves existence for both standard squared-error and median-like $ L^1 $-type loss functions by verifying continuity and coercivity.

Experimental results

Research questions

  • RQ1Under what conditions does a sample mean exist in a dynamic time warping space?
  • RQ2Can the existence of a global minimizer of the Fréchet function be rigorously proven for DTW-based averaging?
  • RQ3Does the use of general loss functions (e.g., $ h_k(u) = u^2 $, $ h_k(u) = u $) preserve the existence of a sample mean?
  • RQ4How does the finiteness of warping paths contribute to the existence of a minimum in the DTW mean problem?
  • RQ5Can the theoretical foundation be extended to weighted means and medians in DTW spaces?

Key findings

  • The restricted Fréchet function $ F_m(x) $, which minimizes the sum of weighted squared DTW distances, attains a global minimum for any fixed length $ m $, ensuring the existence of a sample mean.
  • The existence result holds for any continuous, strictly increasing loss function $ h_k $, including $ h_k(u) = u^2 $ (mean) and $ h_k(u) = u $ (median), under mild regularity conditions.
  • The minimum is achieved because the Fréchet function is the pointwise minimum over a finite set of coercive and continuous component functions $ F_{oldsymbol{ u}}(x) $, each corresponding to a warping path tuple.
  • The proof relies on the finiteness of the set of warping paths $ oldsymbol{ u} o oldsymbol{p} $, which ensures that the infimum is attained.
  • The result extends to weighted loss functions $ h_k' = w_k h_k $, with existence preserved even when some weights are zero.
  • The theoretical foundation justifies the use of heuristic and approximate algorithms in practice, as they are searching for a well-defined, existing object.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.