English

Approximating Klee's Measure Problem and a Lower Bound for Union Volume Estimation

Computational Geometry 2025-03-26 v2 Computational Complexity Data Structures and Algorithms

Abstract

Union volume estimation is a classical algorithmic problem. Given a family of objects O1,,OnRdO_1,\ldots,O_n \subseteq \mathbb{R}^d, we want to approximate the volume of their union. In the special case where all objects are boxes (also known as hyperrectangles) this is known as Klee's measure problem. The state-of-the-art algorithm [Karp, Luby, Madras '89] for union volume estimation and Klee's measure problem in constant dimension dd computes a (1+ε)(1+\varepsilon)-approximation with constant success probability by using a total of O(n/ε2)O(n/\varepsilon^2) queries of the form (i) ask for the volume of OiO_i, (ii) sample a point uniformly at random from OiO_i, and (iii) query whether a given point is contained in OiO_i. We show that if one can only interact with the objects via the aforementioned three queries, the query complexity of [Karp, Luby, Madras '89] is indeed optimal, i.e., Ω(n/ε2)\Omega(n/\varepsilon^2) queries are necessary. Our lower bound already holds for estimating the union of equiponderous axis-aligned polygons in R2\mathbb{R}^2, and even if the algorithm is allowed to inspect the coordinates of the points sampled from the polygons, and still holds when a containment query can ask containment of an arbitrary (not sampled) point. Guided by the insights of the lower bound, we provide a more efficient approximation algorithm for Klee's measure problem improving the O(n/ε2)O(n/\varepsilon^2) time to O((n+1ε2)logO(d)n)O((n+\frac{1}{\varepsilon^2}) \cdot \log^{O(d)}n). We achieve this improvement by exploiting the geometry of Klee's measure problem in various ways: (1) Since we have access to the boxes' coordinates, we can split the boxes into classes of boxes of similar shape. (2) Within each class, we show how to sample from the union of all boxes, by using orthogonal range searching. And (3) we exploit that boxes of different classes have small intersection, for most pairs of classes.

Keywords

Cite

@article{arxiv.2410.00996,
  title  = {Approximating Klee's Measure Problem and a Lower Bound for Union Volume Estimation},
  author = {Karl Bringmann and Kasper Green Larsen and André Nusser and Eva Rotenberg and Yanheng Wang},
  journal= {arXiv preprint arXiv:2410.00996},
  year   = {2025}
}

Comments

SoCG 2025

R2 v1 2026-06-28T19:04:18.871Z