Skip to main content
QUICK REVIEW

[Paper Review] Time-Space Trade-Offs for Predecessor Search

Mihai Pǎtraşcu, Mikkel Thorup|ArXiv.org|Mar 10, 2006
Complexity and Algorithms in GraphsComputer Science11 references6 citations
TL;DR

This paper establishes tight time-space trade-offs for static predecessor search using a novel cell-probe elimination lemma, breaking the communication complexity barrier. It proves that van Emde Boas' data structure is optimal for polynomial universes and near-linear space, resolving long-standing open questions in static data structure complexity.

ABSTRACT

We develop a new technique for proving cell-probe lower bounds for static data structures. Previous lower bounds used a reduction to communication games, which was known not to be tight by counting arguments. We give the first lower bound for an explicit problem which breaks this communication complexity barrier. In addition, our bounds give the first separation between polynomial and near linear space. Such a separation is inherently impossible by communication complexity. Using our lower bound technique and new upper bound constructions, we obtain tight bounds for searching predecessors among a static set of integers. Given a set Y of n integers of l bits each, the goal is to efficiently find predecessor(x) = max{y in Y | y <= x}, by representing Y on a RAM using space S. In external memory, it follows that the optimal strategy is to use either standard B-trees, or a RAM algorithm ignoring the larger block size. In the important case of l = c*lg n, for c>1 (i.e. polynomial universes), and near linear space (such as S = n*poly(lg n)), the optimal search time is Theta(lg l). Thus, our lower bound implies the surprising conclusion that van Emde Boas' classic data structure from [FOCS'75] is optimal in this case. Note that for space n^{1+eps}, a running time of O(lg l / lglg l) was given by Beame and Fich [STOC'99].

Motivation & Objective

  • To overcome the communication complexity barrier in proving cell-probe lower bounds for static data structures.
  • To establish tight time-space trade-offs for the static predecessor search problem in the cell-probe model.
  • To resolve the optimality of van Emde Boas' data structure in the important regime of polynomial universe size and near-linear space.
  • To develop a new lower-bound technique—cell-probe elimination lemma—that surpasses existing communication-based methods.
  • To demonstrate a separation between polynomial and near-linear space complexity for an explicit data structure problem.

Proposed method

  • Introduces the cell-probe elimination lemma as a new technique to prove lower bounds in the cell-probe model, bypassing communication complexity reductions.
  • Applies the lemma to predecessor search on a set $ Y $ of $ n $ integers of $ \\/ell $ bits, using $ S $ words of space with word length $ w $.
  • Derives a tight upper bound on query time as a function of $ n $, $ \ell $, $ w $, and $ S $, expressed through four competing terms involving logarithmic and ratio expressions.
  • Designs a recursive data structure using 2-level hash tables over carefully chosen prefixes and character sets to manage cardinality and length reduction subproblems.
  • Employs a recursive decomposition based on a subset $ Z \subset Y $ of size $ q^{2h} $, where $ h $ is a parameter controlling the trade-off.
  • Uses two types of subproblems: cardinality-reduced (for keys not in $ Z $) and length-reduced (for keys with common prefixes not in $ Z $), each stored with minimal space.

Experimental results

Research questions

  • RQ1Can a new lower-bound technique surpass the communication complexity barrier in proving cell-probe bounds for static data structures?
  • RQ2What are the tight time-space trade-offs for static predecessor search in the cell-probe model?
  • RQ3Is van Emde Boas' data structure optimal for polynomial universes and near-linear space?
  • RQ4Can a separation between polynomial and near-linear space be achieved for an explicit data structure problem?
  • RQ5Does the cell-probe elimination lemma enable direct analysis of data structure complexity beyond communication-based reductions?

Key findings

  • The paper establishes a new cell-probe lower bound technique—the cell-probe elimination lemma—that breaks the communication complexity barrier, enabling the first separation between polynomial and near-linear space for an explicit problem.
  • For $ w = \ell = \gamma \lg n $ with $ \gamma > 1 $, and space $ S = n \cdot \lg^{O(1)}n $, the optimal query time is $ \Theta(\lg \ell) $, proving van Emde Boas' structure is optimal in this regime.
  • The tight query time is given by the minimum of four competing expressions involving $ \lg n $, $ \ell $, $ w $, and $ a = \lg(S/n) + \lg w $, capturing different trade-off regimes.
  • In external memory ($ w > \ell $), the optimal strategy is either standard B-trees or a RAM algorithm ignoring block size, showing no benefit from larger words.
  • The total space used by the data structure is $ O((q^{2h} + m)\ell) $, where $ m = |Z| + |V| $, and the construction achieves the claimed space and time bounds via recursive cardinality and length reduction.
  • The analysis shows that the total number of keys in length-reduced subproblems is bounded by $ |Z| + |V| $, ensuring the space bound holds and the recursion terminates correctly.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.