English

Static Retrieval Revisited: To Optimality and Beyond

Data Structures and Algorithms 2025-10-22 v1

Abstract

In the static retrieval problem, a data structure must answer retrieval queries mapping a set of nn keys in a universe [U][U] to vv-bit values. Information-theoretically, retrieval data structures can use as little as nvnv bits of space. For small value sizes vv, it is possible to achieve O(1)O(1) query time while using space nv+o(n)nv + o(n) bits -- whether or not such a result is possible for larger values of vv (e.g., v=Θ(logn)v = \Theta(\log n)) has remained open. In this paper, we obtain a tight lower bound (as well as matching upper bounds) for the static retrieval problem. In the case where values are large, we show that there is actually a significant tension between time and space. It is not possible, for example, to get O(1)O(1) query time using nv+o(n)nv + o(n) bits of space, when v=Θ(logn)v = \Theta(\log n) (and assuming the word RAM model with O(logn)O(\log n)-bit words). At first glance, our lower bound would seem to render retrieval unusable in many settings that aim to achieve very low redundancy. However, our second result offers a way around this: We show that, whenever a retrieval data structure D1D_1 is stored along with another data structure D2D_2 (whose size is similar to or larger than the size of D1D_1), it is possible to implement the combined data structure D1D2D_1 \cup D_2 so that queries to D1D_1 take O(1)O(1) time, operations on D2D_2 take the same asymptotic time as if D2D_2 were stored on its own, and the total space is nv+Space(D2)+n0.67nv + \mathrm{Space}(D_2) + n^{0.67} bits.

Keywords

Cite

@article{arxiv.2510.18237,
  title  = {Static Retrieval Revisited: To Optimality and Beyond},
  author = {Yang Hu and William Kuszmaul and Jingxun Liang and Huacheng Yu and Junkai Zhang and Renfei Zhou},
  journal= {arXiv preprint arXiv:2510.18237},
  year   = {2025}
}

Comments

28 pages, in FOCS 2025

R2 v1 2026-07-01T06:56:58.380Z