A Polynomial Space Lower Bound for Diameter Estimation in Dynamic Streams
Sanjeev Khanna, Ashwin Padaki, Krish Singal, Erik Waingarten
TL;DR
This work establishes a polynomial-space lower bound for constant-factor diameter estimation in dynamic streaming, revealing a strong separation from the insertion-only setting. The authors connect dynamic streaming to scale-invariant linear sketches and relate diameter sketches to graph minrank via index-coding-type constructions, deriving a $\tilde{\Omega}\big(n^{1/(2\lceil c\rceil-1)}\big)$ lower bound for a $c$-approximation on $\{0,1\}^n$ inputs, while also giving a matching $n^{O(1/c)}$-space upper bound via diameter embedding into $\ell_\infty$ and $\ell_0$-sampling. The paper further leverages embeddings to low-dimensional $\ell_\infty$ spaces to achieve practical upper bounds and to obtain embedding-distortion tradeoffs, enriching understanding of space–approximation barriers in dynamic geometric streams. Overall, the results delineate a fundamental limit for dynamic-diameter estimation and provide near-optimal strategies for general metrics, with implications for index coding–type hardness and metric embeddings.
Abstract
We study the space complexity of estimating the diameter of a subset of points in an arbitrary metric space in the dynamic (turnstile) streaming model. The input is given as a stream of updates to a frequency vector $x \in \mathbb{Z}_{\geq 0}^n$, where the support of $x$ defines a multiset of points in a fixed metric space $M = ([n], \mathsf{d})$. The goal is to estimate the diameter of this multiset, defined as $\max\{\mathsf{d}(i,j) : x_i, x_j > 0\}$, to a specified approximation factor while using as little space as possible. In insertion-only streams, a simple $O(\log n)$-space algorithm achieves a 2-approximation. In sharp contrast to this, we show that in the dynamic streaming model, any algorithm achieving a constant-factor approximation to diameter requires polynomial space. Specifically, we prove that a $c$-approximation to the diameter requires $n^{Ω(1/c)}$ space. Our lower bound relies on two conceptual contributions: (1) a new connection between dynamic streaming algorithms and linear sketches for {\em scale-invariant} functions, a class that includes diameter estimation, and (2) a connection between linear sketches for diameter and the {\em minrank} of graphs, a notion previously studied in index coding. We complement our lower bound with a nearly matching upper bound, which gives a $c$-approximation to the diameter in general metrics using $n^{O(1/c)}$ space.
