[Paper Review] Recursive Sketching For Frequency Moments
This paper introduces a novel recursive sketching technique for estimating large frequency moments (Fk for k > 2) in data streams with significantly reduced space complexity. By recursively applying a heavy hitters oracle and leveraging only 4-wise independence, the method achieves O(k²ǫ⁻²⁻⁴ᐟᵏ · n¹⁻²ᐟᵏ · log(m) · log(nm) · (log log n)⁴) space, improving prior bounds by nearly a quadratic factor and eliminating the need for full randomness or pseudorandom generators.
In a ground-breaking paper, Indyk and Woodruff (STOC 05) showed how to compute $F_k$ (for $k>2$) in space complexity $O(\mbox{\em poly-log}(n,m)\cdot n^{1-\frac2k})$, which is optimal up to (large) poly-logarithmic factors in $n$ and $m$, where $m$ is the length of the stream and $n$ is the upper bound on the number of distinct elements in a stream. The best known lower bound for large moments is $Ω(\log(n)n^{1-\frac2k})$. A follow-up work of Bhuvanagiri, Ganguly, Kesh and Saha (SODA 2006) reduced the poly-logarithmic factors of Indyk and Woodruff to $O(\log^2(m)\cdot (\log n+ \log m)\cdot n^{1-{2\over k}})$. Further reduction of poly-log factors has been an elusive goal since 2006, when Indyk and Woodruff method seemed to hit a natural "barrier." Using our simple recursive sketch, we provide a different yet simple approach to obtain a $O(\log(m)\log(nm)\cdot (\log\log n)^4\cdot n^{1-{2\over k}})$ algorithm for constant $ε$ (our bound is, in fact, somewhat stronger, where the $(\log\log n)$ term can be replaced by any constant number of $\log $ iterations instead of just two or three, thus approaching $log^*n$. Our bound also works for non-constant $ε$ (for details see the body of the paper). Further, our algorithm requires only $4$-wise independence, in contrast to existing methods that use pseudo-random generators for computing large frequency moments.
Motivation & Objective
- To overcome the longstanding 'barrier' in frequency moment estimation for k > 2, where prior methods failed to reduce poly-logarithmic factors beyond 2006.
- To develop a new algorithmic framework that enables efficient, linear sketching of implicit vectors, particularly for large frequency moments.
- To reduce the space complexity of Fk estimation below the O(log²m · log n · n¹⁻²ᐟᵏ) bound achieved by Bhuvanagiri et al. (2006), approaching the optimal Ω(n¹⁻²ᐟᵏ) lower bound.
- To eliminate reliance on full independence or Nisan’s pseudorandom generators by requiring only 4-wise independence in the sketching process.
Proposed method
- Proposes a recursive sketching algorithm that computes (1±ǫ)-approximations of the L1 norm of an implicit n-dimensional non-negative vector using only a heavy hitters oracle.
- Uses O(log n) pairwise independent random hash functions H₁,…,Hφ to partition the stream into sub-streams D_j = D_{H₁…H_j}.
- Applies a heavy hitters algorithm (e.g., Count-Sketch or AMS variant) in parallel on each sub-stream to estimate contributions of heavy elements.
- Employs a recursive backward computation: Y_j = 2Y_{j+1} - Σ_{i∈Ind(Q_j)} (1 - 2h_i^j) w_{Q_j}(i), starting from the coarsest level.
- Leverages Markov inequality and concentration bounds to ensure constant error probability (≤0.3) across recursive levels.
- Reduces overall space complexity by recursively applying the algorithm on sub-streams with decreasing size, exploiting the fact that F₀(D_φ) ≤ n/log¹⁰(n) with high probability.
Experimental results
Research questions
- RQ1Can the poly-logarithmic overhead in space complexity for Fk estimation be reduced below the O(log²m · log n) factor achieved in prior work?
- RQ2Is it possible to design a linear sketching method for implicit vectors (like Fk) that avoids non-linear operations such as medians or repeated sampling?
- RQ3Can the algorithm be made to work with only 4-wise independent hash functions, eliminating the need for pseudorandom generators or full independence?
- RQ4Can the recursive structure be used to iteratively reduce the problem size and achieve a near-optimal space bound approaching Ω(n¹⁻²ᐟᵏ)?
- RQ5Does the recursive sketching framework generalize to other implicit vector estimation problems beyond frequency moments?
Key findings
- The proposed algorithm achieves O(k²ǫ⁻²⁻⁴ᐟᵏ · n¹⁻²ᐟᵏ · log(m) · log(nm) · (log log n)⁴) space complexity, improving upon Bhuvanagiri et al.’s O(log²m · log(nm) · n¹⁻²ᐟᵏ) bound.
- The bound can be further improved to O(k²ǫ⁻²⁻⁴ᐟᵏ · n¹⁻²ᐟᵏ · log(n) · log(n log m) · g_t(n)) for any constant t, where g_t(n) = log(g_{t-1}(n)) and g_0(n) = n.
- The algorithm requires only 4-wise independence, eliminating the need for full independence or Nisan’s pseudorandom generators.
- The method is robust for non-constant ǫ and supports a recursive refinement that reduces the effective problem size at each level.
- The space complexity nearly matches the known Ω(log n · n¹⁻²ᐟᵏ) lower bound, reducing the gap between upper and lower bounds by nearly a quadratic factor.
- The approach provides a new dimension reduction method via linear transformation to heavy hitters, enabling efficient L1 norm estimation of implicit vectors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.