English

A Polynomial Space Lower Bound for Diameter Estimation in Dynamic Streams

Data Structures and Algorithms 2025-10-07 v1 Computational Complexity Computational Geometry

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 xZ0nx \in \mathbb{Z}_{\geq 0}^n, where the support of xx defines a multiset of points in a fixed metric space M=([n],d)M = ([n], \mathsf{d}). The goal is to estimate the diameter of this multiset, defined as max{d(i,j):xi,xj>0}\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(logn)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 cc-approximation to the diameter requires nΩ(1/c)n^{\Omega(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 cc-approximation to the diameter in general metrics using nO(1/c)n^{O(1/c)} space.

Keywords

Cite

@article{arxiv.2510.04918,
  title  = {A Polynomial Space Lower Bound for Diameter Estimation in Dynamic Streams},
  author = {Sanjeev Khanna and Ashwin Padaki and Krish Singal and Erik Waingarten},
  journal= {arXiv preprint arXiv:2510.04918},
  year   = {2025}
}

Comments

FOCS 2025

R2 v1 2026-07-01T06:19:17.934Z