Source-linked AI summary

A Dimension-Reducing Fréchet Simplification Oracle

Boris Aronov, Tsuri Farhana, Matthew J. Katz, Indu Ramesh

arXiv:2609.00393v1cs.CG

TL;DR

The paper asks how to efficiently simplify a curve under discrete Fréchet distance when the simplified curve must lie on a queried line or flat. It builds near-linear data structures using planar geometric primitives and coresets, obtaining exact planar queries and approximate higher-dimensional queries with explicit bounds.

  • Problem

    The problem is to preprocess a curve so queries specifying a g-flat h and vertex budget k can find an at-most-k-vertex curve on h minimizing discrete Fréchet distance.

  • Method

    The approach combines hierarchical and Voronoi-based planar data structures with enclosing-disk primitives, and uses coresets for higher-dimensional queries.

  • Results

    The planar structure uses O(n log n) space and O(k^2 polylog n) query time, while higher-dimensional queries achieve a 1 + ε0 approximation with space O(n log n + n ε^(-(d−1)/2)) and query time O(ε^(-(d−1)/2) k^2 log^2 n).

  • Takeaways & Limitations

    The framework supports exact line-constrained simplification in the plane and scalable approximate dimension reduction on higher-dimensional flats.

  • Takeaways & Limitations

    The paper states that bounds analogous to the planar solution are unlikely in higher dimensions because an efficiently computable flat-centered enclosing-ball primitive is probably unavailable.

Abstract

from arXiv · show

Let $P$ be a polygonal curve with $n$ vertices in the plane. We construct a data structure of size $O(n \log n)$ suited for simplification queries of the following kind. Given a query line $\ell$ and an integer $k\ge1$, find a curve $Q$ on $\ell$ with at most $k$ vertices that minimizes the discrete Fréchet distance to $P$, among all such curves. Using our data structure, a query can be handled in $O(k^2 \log^3 n + k\log^4 n)$ time. More generally, a geometric tree $T$ on $n$ vertices in the plane can be preprocessed into a near-linear-size structure so that, given a pair $u$, $v$ of its vertices, a line $\ell$, and an integer $k\ge1$, one can find a curve $Q$ on $\ell$ with at most $k$ vertices that minimizes the discrete Fréchet distance to the path from $u$ to $v$ in $T$, in time $O(k^2 \mathop{polylog} n)$. For the general dimension-reduction problem, where $P$ is a curve in $\mathbb{R}^d$ ($d \ge 3$), $0 < \varepsilon_0 < 1$ is a real parameter, and a query specifies a $g$-flat $h$ ($1 \le g \le d-1$) and an integer $k \ge 1$, we construct a data structure of size $O(n\log n + f(\varepsilon_0) n)$, where $f(\varepsilon_0)=(1+1/\varepsilon_0)^{(d-1)/2}$, that allows us to find a curve $Q$ on $h$ with at most $k$ vertices, whose discrete Fréchet distance to $P$ is at most $1+\varepsilon_0$ times the distance of $Q^*$ to $P$, where $Q^*$ is such a curve that minimizes the distance to $P$. The query handling time is $O(f(\varepsilon_0) k^2 \log^2 n)$.

1 Introduction

The paper introduces dimension-reduction simplification queries under discrete Fréchet distance, requiring the simplified curve to lie on a prescribed subspace or region. It develops near-linear-size data structures with exact planar support and approximate higher-dimensional support.

  • Problem: The discrete Fréchet distance is defined as the minimum, over legal monotone walks, of the maximum paired-vertex distance.A legal walk advances along either curve or both simultaneously while preserving vertex order.
  • Problem: The main query asks for an at-most-k-vertex curve on a specified g-flat minimizing discrete Fréchet distance to a curve P.For planar inputs, the g-flat is a line; the paper also considers geometric trees and paths between queried nodes.
  • Planar results: O(n log n) space and O(k^2 polylog n) query time support planar curve and geometric-tree simplification queries.The decision version can determine feasibility in O(k log^2 n) time and return a curve with fewest vertices.
  • Higher-dimensional results: In higher dimensions, the returned curve has discrete Fréchet distance at most 1 + ε0 times optimal, using a data structure with O(n log n + n ε^(-(d−1)/2)) space.The higher-dimensional approach uses coresets and supports approximate queries.
  • Approach: The planar data structure is built around repeated prefix and radius primitives for subcurves, supported by hierarchical decomposition and geometric structures.The prefix primitive finds the longest subcurve fitting in a radius-r disk centered on the query line.

2.1 Facts

The section establishes convexity and uniqueness properties for minimum enclosing disks whose centers are restricted to a query line. These properties make feasible center sets interval-shaped and support efficient search.

  • Convexity: radius(Q, x) and radiusℓ(Q, x) are convex functions with unique minima.The line-restricted function is a restriction of the convex point-centered radius function.
  • Convexity: The radius of a point-centered enclosing disk is the maximum distance from its center x to any point of Q.Convexity follows because each distance function is convex and the maximum preserves convexity.
  • Uniqueness: Two distinct minimum centers on a line would imply a smaller disk centered inside their segment, contradicting minimality.The intersection of equal-radius disks forms a lens that can be covered by a smaller disk centered between them.

2.2 Primitives in the plane

The planar primitives convert line-constrained enclosing-disk queries into feasibility and prefix operations. These operations provide the basic tests and subcurve extensions used by the simplification algorithms.

  • Enclosing disks: diskℓ(Q) is the smallest-radius disk centered on line ℓ that contains point set Q.radiusℓ(Q) and centerℓ(Q) denote its radius and center.
  • Feasibility: feasibleℓ(Q, r) is the interval of line centers whose radius-r disks contain Q.It is empty exactly when radiusℓ(Q) exceeds r.
  • Feasibility: fitsℓ(Q, r) tests whether any radius-r disk centered on ℓ contains Q.The test is equivalent to feasibleℓ(Q, r) being nonempty or radiusℓ(Q) being at most r.
  • Prefix queries: prefixℓ(S, r) returns the length of the longest prefix of sequence S fitting in a radius-r disk centered on ℓ.The returned length is zero when the prefix is empty.

2.3 Data structures in the plane

The planar data structures combine hierarchical decomposition of the curve with farthest-point Voronoi diagrams and centroid decompositions. This organization supports line-constrained enclosing-disk operations over canonical subcurves.

  • Hierarchical decomposition: A hierarchical decomposition represents the curve as a binary tree of canonical subcurves, identifiable for any interval using O(log n) time.Each node corresponds to a contiguous subcurve, and a general subcurve is decomposed into O(log n) canonical pieces.
  • Voronoi structures: Farthest-point Voronoi diagrams partition the plane into convex regions according to the farthest site and contain O(|Q|) vertices, edges, and faces.The planar map is preprocessed for point location.
  • Centroid decomposition: The 1-skeleton of a farthest-point Voronoi diagram is a tree, enabling centroid decomposition for line-constrained disk queries.For points in general position, this tree has degree three.
  • Data structure: The centroid decomposition stores separating edges, rays, and associated Voronoi sites to guide the search for the optimal line-centered disk.The search recursively narrows the candidate center interval across decomposed diagrams.
  • Data structure: For every canonical subcurve, the structure stores its farthest-point Voronoi diagram in both planar-map and centroid-decomposition forms.Across all canonical subcurves, this yields O(n log n) space and O(n log^2 n) construction time.

2.4 Implementations

The implementation computes smallest enclosing disks with centers constrained to a query line using farthest-point Voronoi structures and hierarchical searches. These primitives support feasibility queries for canonical-set unions and achieve polylogarithmic running times.

  • Data structures: The disk computation uses farthest-point Voronoi diagrams as planar maps and centroid-decomposition trees for point-location and hierarchical descent.At the bottom of the search, at most two farthest points determine the disk center by either a candidate-center test or a bisector intersection.
  • Computing disk_ℓ(Q): O(log^2 n) time suffices to compute disk_ℓ(Q_1 ∪ Q_2) for two canonical sets of total size n.The search descends centroid decompositions of both farthest-point Voronoi diagrams and narrows the feasible center interval.
  • Computing disk_ℓ(Q): O(m^2 log^2 n) time computes disk_ℓ(Q) when Q is the union of m canonical sets.The algorithm evaluates the two-set procedure for every pair and returns the largest resulting disk.
  • Feasibility intervals: For a single canonical set, feasible centers form a contiguous interval on ℓ, and for a union they are obtained by intersecting the constituent feasible intervals.Dynamic collections maintain interval endpoints with two heaps, supporting insertion in O(log n), deletion in O(log m), and constant-time access to the current feasible region.
  • Query primitives: Binary search over a curve implements prefix_ℓ using fits? as a decision procedure, adding a logarithmic factor to the running time.The same primitive is used by the decision and optimization algorithms.

3 Discrete Fréchet distance simplification on a line

The line-query algorithm reduces discrete Fréchet simplification to partitioning the input curve into subcurves covered by disks centered on the query line. A greedy decision procedure and recursive optimization then provide exact answers within the stated preprocessing and query bounds.

  • Problem formulation: The optimization query finds an at-most-k-vertex curve on ℓ minimizing ddF(P,Q), with k<n assumed because k≥n is handled by projection.The objective is expressed over sequences of points on the query line and their discrete Fréchet distance to P.
  • Problem formulation: An optimal walk induces a partition of P into at most k′ subcurves, reducing the objective to the maximum radius of those subcurves with centers on ℓ.The partition boundaries are represented by indices i_1<...<i_{k′−1}.
  • Decision algorithm: The decision algorithm greedily takes the longest prefix fitting within a radius-r disk centered on ℓ, then recurses on the remaining suffix with one fewer vertex.It returns true exactly when an at-most-k-point sequence on ℓ has discrete Fréchet distance at most r.
  • Decision algorithm: O(k log^2 n) time solves a decision query when prefix_ℓ is supported by the preprocessed curve.A minor modification also finds the shortest line-constrained sequence within a prescribed distance.
  • Optimization and guarantees: O(k^2 log^3 n + k log^4 n) time returns the exact minimum distance and corresponding curve for a line query.The optimization procedure recursively combines decision calls and disk-radius computations.
  • Generalization: O(k^2 D(n) log^2 n) time generalizes the optimization algorithm to metric spaces supporting radius_X queries costing D(n).The corresponding decision algorithm runs in O(kD(n) log n).

4 Extension to geometric trees

The tree extension decomposes paths into heavy-path subpaths, preprocesses each path with the line-query structures, and applies the same decision and optimization algorithms to their concatenation. This yields near-linear space with polylogarithmic query overhead.

  • Tree query problem: A geometric tree supports queries for the minimum-discrete-Fréchet curve on ℓ approximating the path Π_uv between arbitrary vertices u and v.The structure is built for a tree with n vertices and an at-most-k-vertex query curve.
  • Heavy-path decomposition: Heavy-path decomposition partitions the tree into vertex-disjoint paths covering all vertices, while Π_uv becomes a concatenation of O(log n) subpaths.The decomposition information is extracted in O(log^2 n) time.
  • Preprocessing: The path data structures occupy O(n log n) total space because the heavy paths are vertex-disjoint.Each heavy path receives the previously developed curve data structure.
  • Query implementation: Decision on a concatenated tree path uses O(log^2 n) canonical subpaths, giving O(log^3 n) prefix time and O(k log^3 n) decision time.The extra logarithmic factors arise from partitioning each of the O(log n) heavy-path subpaths into canonical subpaths.
  • Query guarantee: O(k^2 log^4 n + k log^6 n) query time is achieved for exact simplification of a tree path after O(n log^2 n) preprocessing.Each of at most k optimization levels accounts for the stated per-level costs.

5 Extension to polygonal regions in the plane

The paper extends discrete Fréchet simplification to polygonal regions by combining a constrained minimum-enclosing-disk primitive with existing decision and optimization procedures. The resulting structure supports exact region-constrained simplification with logarithmic-factor running times depending on the region complexity.

  • Problem formulation: A curve with at most k vertices inside a polygonal region R can be found to minimize the discrete Fréchet distance to P.The region is topologically closed and bounded by m edges.
  • Core primitive: The key new primitive diskR(S) computes the smallest-radius disk centered at a point of R for a subcurve S of P.Its radius and center support the subsequent prefix, decision, and optimization procedures.
  • Core primitive: The primitive first computes the unconstrained minimum enclosing disk of a subcurve represented by O(log n) canonical subcurves.The deterministic computation takes O(log^6 n), while an alternative expected-time method is also described.
  • Core primitive: If the unconstrained center lies outside R, convexity places the constrained center on the boundary, so each bounding segment supplies a candidate.The algorithm evaluates supporting lines and segment endpoints, then returns the smallest candidate disk.
  • Performance: O(k^2m log^6 n) expected time suffices for optimization, with a deterministic alternative of O(k^2m log^6 n + k^2 log^8 n).The data structure uses O(n log n) space after O(n log^2 n) preprocessing; logarithmic factors were not optimized.

6 Discrete Fréchet distance simplification on a g-flat

The section develops an approximate data structure for discrete Fréchet simplification on a queried g-flat in higher dimensions. It uses coresets to support near-linear preprocessing and polylogarithmic-time approximate queries.

  • The higher-dimensional problem seeks an at-most-k-vertex curve on a queried g-flat minimizing discrete Fréchet distance to P.
  • Scope and motivation: The method resorts to approximation because an efficient higher-dimensional analogue of the planar constrained-disk primitive appears difficult or potentially impossible under the target bounds.
  • Approximate primitives: The approximate ball primitive returns a radius between (1−ε) times and the exact smallest radius for a ball centered on h.Here ε = ε0/(1+ε0), so 1/(1−ε)=1+ε0.
  • Coreset construction: Coresets reduce subcurve computations to small representative sets while preserving directional-width and farthest-neighbor information.Canonical subcurves store coresets; unions of O(log n) canonical coresets support arbitrary subcurves.
  • Decision procedure: The decision algorithm recursively advances through prefixes of P, using approximate constrained-ball queries to test whether a k-vertex simplification exists.Binary search over canonical subcurves implements prefix queries in O(cε log^2 n) time.
  • Guarantees: Theorem 13 gives preprocessing time O(n log^2 n + n ε^{−3(d−1)/2}), structure size O(n log n + n ε^{−(d−1)/2}), and query time O(k^2 ε^{−(d−1)/2} log^2 n).The returned curve has discrete Fréchet distance at most 1+ε0 times the optimum.

7 Discussion and open problems

The discussion identifies query-time optimization as an open direction and describes combinations of the paper’s methods for trees and polyhedral restrictions.

  • The authors leave open whether query time can be reduced without substantially increasing space or preprocessing time.
  • A central open question is whether the k^2 query-time factor can be reduced to linear or at least subquadratic in k.
  • The methods can be combined to handle geometric trees exactly in L∞ and approximately in L2, and to support approximate polyhedral-region restrictions.For a region bounded by m simplicial faces, the query cost is proportional to m.
Loading 2609.00393v1…