Skip to content

Tight Lower Bounds for Value-Dynamic Retrieval

Yang S. Hu, William Kuszmaul, Jingxun Liang, Renfei Zhou

cs.DS

Abstract

In the value-dynamic retrieval problem, a data structure stores a function f:S→[2b]f : S \to [2^b] on a fixed set SS of nn keys from a universe [U][U], and must support queries and updates to ff (without being required to give meaningful answers for keys outside of SS). The classical solution, which stores the values in an array indexed by a minimal perfect hash function, uses nb+nlog⁡e+o(n)nb + n \log e + o(n) bits. We prove a matching lower bound, showing that for b=ω(1)b = ω(1) and U=ω(n)U = ω(n), a space bound of nb+nlog⁡e−o(n)nb + n \log e - o(n) bits is necessary. We also consider a partially-dynamic version of the problem in which only n/kn/k of the keys have dynamic values. Intuitively, one might expect the space bound in this case to drop to something like nb+Θ(n/k)nb + Θ(n/k) bits, averaging to O(1)O(1) bits of redundancy per dynamic value. Our second result says that this is not the case; instead, for k=ω(1)k = ω(1) and 2n≤U≤2poly(n)2n \le U \le 2^{\text{poly}(n)}, the optimal space bound becomes nb+Θ(nlog⁡k/k)nb + Θ(n \log k / k), meaning that any solution must pay the asymptotic cost of encoding which n/kn/k keys (out of the nn) have dynamic values. All of our lower bounds are information-theoretic, and are proven via one-way communication arguments.

Create a lesson

Metadata

Comments
27 pages