Efficient Sketches for the Set Query Problem

Eric Price

Introduction

In the fields of compressed sensing and data stream analysis, the challenge is to represent a massive $n$-dimensional vector $x$ using a significantly smaller "sketch" $Ax$. The goal of sparse recovery is to reconstruct the $k$ largest coordinates—the "heavy hitters"—from this compressed representation. While standard algorithms like Count-Sketch or Count-Min require a sketch size of $O(k \log n)$, many real-world signals exhibit structural properties, such as power-law (Zipfian) distributions or block-sparsity, which suggest that more efficient recovery is possible.

The Set Query Problem

A primary bottleneck in current recovery algorithms is the simultaneous requirement to locate heavy hitters and estimate their values. This paper addresses this by isolating the Set Query Problem: if the support $S$ (the indices of the $k$ heavy hitters) is already known, can we estimate their values $x_S$ more efficiently than in the general case? By decoupling location from estimation, the author demonstrates that it is possible to achieve $O(k)$ space and time complexity, effectively breaking the logarithmic barrier for specific signal classes.

The Peeling Algorithm

The core contribution is a recovery scheme based on a sparse binary measurement matrix $A$. In this scheme, each coordinate of the input vector is hashed into $d = O(1)$ buckets. This is a departure from traditional methods that typically require $O(\log k)$ hashes to manage collisions.

The iterative peeling process: (a) initial state, (b-d) identifying nodes, estimating values, and subtracting their contributions from buckets.

The recovery utilizes a "peeling" algorithm:

  1. Identify Uncorrupted Buckets: The algorithm searches for buckets that contain only a single element from the known support $S$.
  2. Estimate and Subtract: It estimates the value of that element and then subtracts its contribution from all other buckets to which it was hashed.
  3. Iterate: This subtraction process clears previously "corrupted" buckets (those containing multiple elements), allowing the algorithm to iteratively recover the entire set $S$.

To handle noise—the "tail" of the signal—the author employs a sophisticated probabilistic tool known as negative association. This technique proves that even though errors across different buckets are technically dependent due to the hashing process, they behave as if they were independent. This ensures that the total estimation error remains low with high probability, providing a robust $\ell_2/\ell_2$ error guarantee.

Key Insights: Head vs. Tail

A critical insight of this work is the distinction between the "head" (the heavy hitters) and the "tail" (the remaining noise). Standard algorithms often struggle when the head is significantly larger than the tail. By effectively "peeling away" the head, this algorithm ensures that the remaining error is dominated only by the tail, leading to much higher accuracy. This allows for a $1+o(1)$ approximation for Zipfian signals, a significant improvement over the standard $1+\epsilon$ approximation.

Key Results

The decoupling strategy leads to several theoretical breakthroughs:

  • Optimal Set Query: Provides $1+\epsilon$ approximation in $O(k)$ space and time.
  • Zipfian Improvement: Achieves $1+o(1)$ approximation using $O(k \log n)$ space for power-law signals where $k \le O(n^{1-\epsilon})$.
  • Block-Sparse Efficiency: Delivers $1+\epsilon$ approximation for block-sparse vectors using $O(k)$ space, outperforming previous state-of-the-art methods in either space efficiency or approximation quality.

Limitations and Future Work

While the "Set Query" result is powerful, it assumes the support $S$ is known or can be found. While the paper shows this is feasible for Zipfian and block-sparse models, extending this to more complex hierarchical or graphical models remains an open challenge. Additionally, the current analysis assumes fully independent columns in the matrix $A$; reducing the required degree of independence is a key area for future practical implementation.

Summary updated

BibTeX
@inproceedings{price2011efficient,
  author = {Eric Price},
  title = {{Efficient Sketches for the Set Query Problem}},
  booktitle = {SODA},
  year = {2011},
  url = {https://openreview.net/forum?id=pXGaV2LfeW},
}
Figure