Papers
Topics
Authors
Recent
Search
2000 character limit reached

Partial Fréchet Similarity

Updated 2 December 2025
  • Partial Fréchet similarity is a measure that quantifies the piecewise similarity of polygonal curves using a leash-length threshold to capture local correspondence.
  • It generalizes classical curve measures by integrating both integral and decision frameworks, with constructs like k-Fréchet distance and free-space maps underpinning its analysis.
  • Algorithmic approaches range from exponential-time solutions to efficient FPT and approximation methods, addressing NP-completeness while supporting diverse applications such as GIS map-matching and shape retrieval.

Partial Fréchet similarity formalizes piecewise similarity between polygonal curves, generalizing classical curve-similarity measures by allowing curve segments to be matched under a leash-length constraint. This concept is foundational for more flexible trajectory analysis, enabling meaningful comparisons even when curves only resemble each other on certain subcurves rather than globally. The framework encompasses both integral and decision-theoretic forms, with core algorithmic constructs such as the k-Fréchet distance and weighted shortest paths in the parameter space playing a central role (Akitaya et al., 2019, Maheshwari et al., 2015).

1. Formal Definition and Relation to Classical Measures

Partial Fréchet similarity Pδ(T1,T2)\mathcal{P}_{\delta}(T_1,T_2) is defined for two polygonal curves T1,T2:[0,n]RdT_1,T_2:[0,n]\to\mathbb{R}^d of equal total length nn, a leash length threshold δ0\delta\ge0, and monotone matchings (α1,α2)(\alpha_1,\alpha_2):

P(α1,α2)(T1,T2;δ)=0n1(d2(T1(α1(t)),T2(α2(t)))δ)((T1α1)(t)2+(T2α2)(t)2)dt\mathcal{P}_{(\alpha_1,\alpha_2)}(T_1,T_2;\delta) = \int_{0}^{n} \mathbf{1}\left(d_2(T_1(\alpha_1(t)),\,T_2(\alpha_2(t))) \le \delta\right) \left( \bigl\|(T_1\circ\alpha_1)'(t)\bigr\|_2 + \bigl\|(T_2\circ\alpha_2)'(t)\bigr\|_2 \right) dt

The curve-to-curve partial Fréchet similarity is the supremum over all monotone matchings:

Pδ(T1,T2)=supα1,α2 monotoneP(α1,α2)(T1,T2;δ)\mathcal{P}_\delta(T_1,T_2) = \sup_{\alpha_1,\alpha_2 \text{\ monotone}} \mathcal{P}_{(\alpha_1,\alpha_2)}(T_1,T_2;\delta)

For polygonal chains P,Q:[0,1]RdP, Q : [0,1] \to \mathbb{R}^d, the kk-Fréchet distance introduces a partitioning using a parameter kk representing the number of subcurves. The ε\varepsilon-free space Fε(P,Q)={(tP,tQ)[0,1]2:P(tP)Q(tQ)ε}F_\varepsilon(P,Q) = \{ (t_P, t_Q) \in [0,1]^2 : \|P(t_P) - Q(t_Q)\| \le \varepsilon \} is decomposed into components, and a set of at most kk components covers both parameter spaces if their projections span [0,1][0,1] on both axes. The kk-Fréchet decision problem asks whether such a cover exists, and the associated metric is:

δkF(P,Q)=inf{ε>0:SComponents(Fε) with Sk,projP(S) ⁣= ⁣projQ(S)=[0,1]}\delta_k^F(P,Q) = \inf \left\{ \varepsilon > 0 : \exists S \subset \text{Components}(F_{\varepsilon})\ \text{with}\ |S| \le k,\,\text{proj}_P(\cup S)\! =\! \text{proj}_Q(\cup S) = [0,1] \right\}

This construction provides a continuum between weak Fréchet distance (k=1)(k=1) and Hausdorff distance (kn2)(k \rightarrow n^2), fulfilling δH(P,Q)δkF(P,Q)δwF(P,Q)δF(P,Q)\delta_H(P,Q) \le \delta_k^F(P,Q) \le \delta_w^F(P,Q) \le \delta_F(P,Q) (Akitaya et al., 2019).

2. Geometric Framework and Algorithmic Realization

A matching is encoded as a monotone path π(t)=(α1(t),α2(t))\pi(t) = (\alpha_1(t), \alpha_2(t)) in the parameter space P=[0,n]2P = [0,n]^2, decomposed into n2n^2 cells, each representing a pair of curve segments. The free space within cell CC for threshold δ\delta is an affine ellipse EδC\mathcal{E}_\delta \cap C, with monotone free-space axis \ell. Weighted shortest paths over this space, using the function w(x,y)=d2(T1(x),T2(y))w(x,y) = d_2(T_1(x),T_2(y)), yield both integral Fréchet distances and optimal partial similarity for all leash lengths (Maheshwari et al., 2015):

πw=πwdπ1|\pi|_w = \int_\pi w\,\|d\pi\|_1

Key optimality: the monotone shortest path π\pi simultaneously maximizes Pδ\mathcal{P}_\delta for every δ\delta.

Cell-level optimal subcurve similarity for threshold δ\delta is realized via:

Pδ(T1[a.x,b.x],T2[a.y,b.y])=Eδπab\mathcal{P}_{\delta}(T_1[a.x, b.x], T_2[a.y, b.y]) = \left| \mathcal{E}_{\delta} \cap \pi_{ab} \right|

3. Complexity and Algorithmic Approaches

Determining the kk-Fréchet distance (k1k \ge 1) for given curves and threshold ε\varepsilon is NP-complete, contrasting with the polynomial computability of classical Fréchet and Hausdorff distances. Hardness is established via reduction from the "box problem" and realization in constructed free-space diagrams (wire, clause, split, bend, color-switch, connection, and scissor gadgets) (Akitaya et al., 2019).

Nevertheless, several algorithmic strategies exist:

  • Exponential-Time (XP) Algorithm: Tries all O(n2k)O(n^{2k}) k-sized subsets of components; polynomial time for k=2k=2.
  • 2-Approximation: Projects free-space components to axes and applies a greedy set cover, ensuring at most twice the optimal cover size in O(n2logn)O(n^2 \log n) time.
  • FPT Algorithm in (k,z)(k, z): Parameter zz is the "neighborhood complexity." Bounded search trees along axes yield time O(nz+kz2k)O(nz + kz^{2k}), which is fixed-parameter tractable in k+zk+z.
  • Partial Decision (Free-Space Map): For partial Fréchet distance, the free-space map supports optimal decision in O(nm)O(nm) time and space, storing boundary pointers of reachable intervals and facilitating fast queries (Shahbaz, 2013).

4. Practical Applications and Extensions

Partial Fréchet similarity and its algorithmic incarnations find application in trajectory analysis (e.g., map matching), handwriting comparison, chemical structure comparison, fragmented shape analysis, and partial shape retrieval. In GIS map-matching, using a graph for QQ, the free-space map approach achieves O(nm)O(nm) time for match-promise on a DAG. Extensions include partial matching for closed curves, maximum/minimum subcurve matching, outlier-tolerant matching, and curve simplification (Shahbaz, 2013, Akitaya et al., 2019).

5. Comparative Landscape: Classical and Modern Measures

Measure Monotonicity Requirement Matched Curve Segments
Fréchet Distance Yes Global entire curve
Weak Fréchet Distance Yes (non-strict) Permits re-entrances
Hausdorff Distance No Pointwise best matching
Partial Fréchet Similarity Yes Maximal matched subcurves
Integral Fréchet Distance Yes Robust to outliers
kk-Fréchet Distance Yes Up to kk-piecewise match

Partial Fréchet similarity bridges the gap between rigid global curve matching and highly permissive pointwise metrics, offering robustness and flexibility against outliers and local discrepancies (Maheshwari et al., 2015, Akitaya et al., 2019).

6. Open Problems and Research Directions

Ongoing challenges include tightening the 2-approximation for kk-Fréchet distance, improving FPT algorithms, and exploring the "cut variant" for disjoint subcurve partitions—empirical NP-hardness and conjectured R\exists\mathbb{R}-completeness are noted. There is continued interest in adapting the framework for high-dimensional curves and alternative metrics (Akitaya et al., 2019).

7. Illustrative Examples and Conceptual Insights

Consider handwriting the letter “k” in three strokes: the classical Fréchet distance poorly reflects piecewise similarity between two variants, but the kk-Fréchet (k3k\ge3) correctly captures piecewise correspondence (Akitaya et al., 2019). For parameter cell analysis, the monotone-axis path yields closed-form similarity measures for each leash length. In the unit segment example, the partial similarity curve is linear in δ\delta up to saturation, exemplifying the geometric directness of these approaches (Maheshwari et al., 2015).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Partial Fréchet Similarity.