English

Optimal Succinct Rank Data Structure via Approximate Nonnegative Tensor Decomposition

Data Structures and Algorithms 2019-04-08 v2

Abstract

Given an nn-bit array AA, the succinct rank data structure problem asks to construct a data structure using space n+rn+r bits for rnr\ll n, supporting rank queries of form rank(x)=i=0x1A[i]\mathtt{rank}(x)=\sum_{i=0}^{x-1} A[i]. In this paper, we design a new succinct rank data structure with r=n/(logn)Ω(t)+n1cr=n/(\log n)^{\Omega(t)}+n^{1-c} and query time O(t)O(t) for some constant c>0c>0, improving the previous best-known by Patrascu [Pat08], which has r=n/(lognt)Ω(t)+O~(n3/4)r=n/(\frac{\log n}{t})^{\Omega(t)}+\tilde{O}(n^{3/4}) bits of redundancy. For r>n1cr>n^{1-c}, our space-time tradeoff matches the cell-probe lower bound by Patrascu and Viola [PV10], which asserts that rr must be at least n/(logn)O(t)n/(\log n)^{O(t)}. Moreover, one can avoid an n1cn^{1-c}-bit lookup table when the data structure is implemented in the cell-probe model, achieving r=n/(logn)Ω(t)r=\lceil n/(\log n)^{\Omega(t)}\rceil. It matches the lower bound for the full range of parameters. En route to our new data structure design, we establish an interesting connection between succinct data structures and approximate nonnegative tensor decomposition. Our connection shows that for specific problems, to construct a space-efficient data structure, it suffices to approximate a particular tensor by a sum of (few) nonnegative rank-11 tensors. For the rank problem, we explicitly construct such an approximation, which yields an explicit construction of the data structure.

Keywords

Cite

@article{arxiv.1811.02078,
  title  = {Optimal Succinct Rank Data Structure via Approximate Nonnegative Tensor Decomposition},
  author = {Huacheng Yu},
  journal= {arXiv preprint arXiv:1811.02078},
  year   = {2019}
}

Comments

A preliminary version of this paper will appear in STOC 2019

R2 v1 2026-06-23T05:05:22.277Z