Command Palette
Search for a command to run...
디코드 작업 법칙: 압축된 지오메트리 상에서 마진에 의해 지배되고 증명 가능하게 정확한 공간 조인
디코드 작업 법칙: 압축된 지오메트리 상에서 마진에 의해 지배되고 증명 가능하게 정확한 공간 조인
Madhulatha Mandarapu Sandeep Kunkunuru
초록
필터-정제 공간 조인은 항상 인증된 후보 쌍에 대해 정확한 지오메트리를 건드리는 것을 피해 왔지만, 이 분야는 필터를 통과한 쌍의 압축 해제 비용을 모델링한 적이 없다. 지오메트리가 압축되고 점진적으로 디코딩 가능한 다중 해상도 코덱에 저장될 때, 조인의 실제 비용은 디코딩된 바이트 수이다. 우리는 더글라스-푸커 세부 수준(LOD) 래더 상에서 양측 하우스도르프 마진 테스트로 인증된, 증명 가능하게 정확한 폴리곤 교차 조인을 연구하며, 두 가지 기여를 한다. 첫째, 재현 가능한 메커니즘과 하네스: 실제 미국 센서스 TIGER 수역 폴리곤에서, 우리의 점진적 인증서 조인은 순진한 압축 해제 후 정제 방식보다 3.4~16.8배(중앙값 5.9배) 적은 정점을 디코딩하면서 정확한 결과를 반환하며, Brinkhoff 등[1994]의 단일 근사 다단계 기준선보다 약 4.9배 적게 디코딩하고, 31개 워크로드에서 정확성 위반이 전혀 없다. 둘째, 우리가 디코드 작업 법칙이라고 부르는 특성화: 디코드 작업은 각 쌍의 부호 있는 여유 마진(술어 전환 경계에 얼마나 가까운지)에 의해 지배되며, 객체 크기와 무관하다. 이는 인증서가 마진을 능가하는 해상도에 도달할 때까지만 래더를 내려가기 때문이다. 이 법칙은 통제된 지오메트리에서 깨끗하게 나타나고(홀드아웃 R2=0.87, 크기 독립적), 실제 데이터에서는 방향성을 보인다(R2≈0.55). 우리는 성립하지 않는 것에 대해 명시한다: 경계 근처 정점 예측기는 잘못된 모델이며(우리는 하나를 사전 등록하고 기각했다), 선택성 체제 예측기는 실현되지 않았고, 최악의 경우는 적대적으로 교차된 경계에 대한 자명한 Ω(v) 읽기 하한이다. 우리는 메커니즘, 예산 정직한 디코드 회계, 그리고 개방형 하네스를 기여하며, 새로운 인덱스를 주장하지는 않는다.
One-sentence Summary
Researchers at VaidhyaMegha Private Limited present a progressive certificate join for provably-exact polygon intersection over compressed Douglas–Peucker LOD geometry that uses a two-sided Hausdorff-margin test, decodes 3.4–16.8× fewer vertices with zero correctness violations, and establishes the decode-work law: decode work depends on signed-clearance margin, not object size (held-out R2=0.87, real data (R2≈0.55)) while a near-boundary-vertex predictor is rejected.
Key Contributions
- A progressive certificate join over a Douglas–Peucker level-of-detail ladder with a two-sided Hausdorff-margin test returns exact set-equality on real U.S. Census TIGER water polygons while decoding 3.4–16.8× fewer vertices than naive decompress-then-refine and approximately 4.9× fewer than a single-approximation baseline, with zero correctness violations across 31 workloads.
- The decode-work law shows that each candidate pair’s decode cost is governed by its signed-clearance margin (distance to the predicate-flip boundary), independent of polygon size, because the certificate descends the ladder only until its resolution beats the margin; the law holds cleanly on controlled geometry (R² = 0.87, size-independent) and directionally on real data (R² ≈ 0.55).
- A transparent benchmark harness reports explicit negative findings: rejection of a pre-registered near-boundary vertex predictor, non-materialization of a selectivity-based regime forecaster, and the worst-case Ω(v) read bound for adversarially interleaved boundaries, all reproducible from a single command.
Introduction
Spatial joins are fundamental to geographic data systems, typically employing a filter-and-refine pipeline where a cheap minimum-bounding-rectangle step generates candidate pairs and an exact geometric test resolves them. Modern storage formats keep geometry heavily compressed, so the dominant cost of refinement is no longer CPU cycles or I/O but the number of coordinate bytes that must be decoded. While classic multi-step joins use a single intermediate approximation to avoid decoding full geometry for some pairs, prior work never modeled or minimized the decode cost of the candidates that survive filtering. The authors address this gap by introducing a progressive certificate join that builds a multi-resolution Douglas–Peucker ladder, certifying intersections or disjointness at the coarsest level possible and only decoding finer detail when the clearance margin demands it. The key contribution is a provably exact, decode-efficient algorithm that reduces vertex decodes by 3.4–16.8× over naive decompress-then-refine, along with an empirical decode-work law showing that the cost is governed by the per-pair signed-clearance margin rather than polygon size.
Method
The authors formulate the problem around pairs of polygons whose vertices are quantized to a fixed grid, eliminating any lossy rounding gap so that certificate pruning remains a sound approximation of the exact stored geometry. For each polygon, a level-of-detail (LOD) ladder is built using the Douglas–Peucker algorithm, which retains a subset of the exact vertices at each level ℓ and guarantees a known Hausdorff distance ηℓ between the original polygon g and its level-ℓ approximation g~ℓ, with ηk=0 at the finest level. Decoding to level ℓ incurs a cost proportional to the cumulative vertices/bytes of that level.
The core mechanism is a two-sided certificate that exploits geometric error bounds. For a candidate pair (r,s) at levels (ℓr,ℓs), the method constructs an outer approximation Og=g~ℓ⊕B(ηℓ) via Minkowski sum with a disc of radius ηℓ, giving a sound superset (g⊆Og). Symmetrically, an inner approximation Ig=g~ℓ⊖B(ηℓ) is obtained through erosion. The pair is immediately resolved by testing these volumes: Or∩Os=∅ certifies disjointness, while Ir∩Is=∅ certifies intersection. When neither certificate holds, the pair is ambiguous and the algorithm descends to a finer level on the coarser-side polygon. At η=0 the test reduces to the exact spatial predicate, and the soundness of the outer test is straightforward. Soundness of the inner (erosion) test is enforced by a correctness gate that verifies set-equality against a full-precision oracle on every run, together with an adversarial control procedure; a pre-registration rule mandates halting and hardening if any violation is detected, and during the reported experiments no violation occurred.
The depth at which a pair becomes decidable is governed by a signed-clearance margin
m(r,s)={+inradius(r∩s)−dist(r,s)if r∩s=∅ (overlap depth)if disjoint (gap).The absolute value ∣m∣ captures how far the pair is from the predicate-flip boundary. Since a level-ℓ certificate can only resolve features coarser than ηℓ, the pair certifies at the first level where ηℓ<∣m∣. The primary efficiency metric is the decoded fraction ϕpair=decoded vertices/(∣r∣+∣s∣) and the certifying depth.
To ensure a fair accounting of decode costs, all compared methods start from the same minimum bounding rectangle (MBR) candidate set, so measured differences arise solely from refinement depth. The byte tally includes everything a method reads, particularly the LOD headers that encode level structure. Two baselines are established: naive-refine decodes all vertices of every MBR survivor and then tests with exact precision, while the Brinkhoff baseline uses a two-level scheme (one coarse approximation followed by exact geometry). Ground truth is always evaluated at full precision, providing a consistent oracle for both verification and benchmark comparisons.
Experiment
The evaluation setup uses real U.S. TIGER water polygon self-joins under translation sweeps plus controlled synthetic and adversarial geometries, with pre-registration and exact Shapely/GEOS oracles. The progressive join decodes far fewer vertices than naive or single-approximation baselines while delivering provably exact results, with the multi-level level-of-detail ladder providing most of the savings. The central qualitative finding is a decode-work law showing that per-pair decoding cost is governed by the signed margin between boundaries, not polygon size — a clean, size-independent relationship on controlled data that becomes directional but weaker on real multi-scale geometry, while adversarial interlocking structures force full decoding. The work candidly identifies limitations, including a rejected pre-registered predictor and the modest predictive power of the margin law on real geometry.
Across real TIGER workloads, the progressive join decodes a median 5.9× fewer vertices than naive decompress-then-refine and 4.9× fewer than a single-approximation Brinkhoff baseline, while decoding only 6–29% of vertices and returning exactly the oracle’s pair set. The multi-level ladder amplifies Brinkhoff’s savings roughly fivefold by focusing decode on the small fraction of near-tangent pairs that a single coarse approximation cannot resolve. Median vertex decode reduction of 5.9× over naive refine and 4.9× over Brinkhoff’s single approximation, with all 31 workloads producing provably exact results. Decoded fraction of vertices spans 0.06 to 0.29, showing that the method avoids decompressing the vast majority of geometry. The multi-level ladder roughly quintuples Brinkhoff’s savings by resolving near-tangent pairs that a single coarse approximation leaves undecided.
The evaluation uses real TIGER workloads to compare progressive join decoding against a naive decompress-then-refine baseline and a single-approximation Brinkhoff baseline. The progressive join decodes only a small fraction of vertices while still returning the exact oracle pair set, demonstrating that it avoids decompressing most geometry without sacrificing correctness. The multi-level ladder further amplifies the savings by focusing decode on the small number of near-tangent pairs that a single coarse approximation cannot resolve.