Person:

Nelson, Jelani

Loading...
Profile Picture

Email Address

AA Acceptance Date

Birth Date

Research Projects

Organizational Units

Job Title

Last Name

Nelson

First Name

Jelani

Name

Nelson, Jelani

Search Results

Now showing 1 - 7 of 7
  • Publication

    Fast Manhattan sketches in data streams

    (ACM, 2010) Nelson, Jelani; Woodruff, David P.

    The ℓ1-distance, also known as the Manhattan or taxicab distance, between two vectors x, y in R n is Pn |xi − yi|. i=1 Approximating this distance is a fundamental primitive on massive databases, with applications to clustering, nearest neighbor search, network monitoring, regression, sampling, and support vector machines. We give the first 1-pass streaming algorithm for this problem in the turnstile model with O ∗ (ε −2) space and O ∗ (1) update time. The O ∗ notation hides polylogarithmic factors in ε, n, and the precision required to store vector entries. All previous algorithms either required Ω(ε −3) space or Ω(ε −2) update time and/or could not work in the turnstile model (i.e., support an arbitrary number of updates to each coordinate). Our bounds are optimal up to O ∗ (1) factors.

  • Publication

    On the Exact Space Complexity of Sketching and Streaming Small Norms

    (Society for Industrial and Applied Mathematics, 2010) Kane, Daniel M.; Nelson, Jelani; Woodruff, David P.

    We settle the 1-pass space complexity of ((1 \pm \epsilon))-approximating the (L_p) norm, for real p with 1 ≤ p ≤ 2, of a length-n vector updated in a length-m stream with updates to its coordinates. We assume the updates are integers in the range [–M, M]. In particular, we show the space required is (\Theta(\epsilon^{−2} log(mM) + log log(n))) bits. Our result also holds for 0 < p < 1; although (L_p) is not a norm in this case, it remains a well-defined function. Our upper bound improves upon previous algorithms of [Indyk, JACM ‘06] and [Li, SODA ‘08]. This improvement comes from showing an improved derandomization of the (L_p) sketch of Indyk by using k-wise independence for small k, as opposed to using the heavy hammer of a generic pseudorandom generator against space-bounded computation such as Nisan's PRG. Our lower bound improves upon previous work of [Alon-Matias-Szegedy, JCSS ‘99] and [Woodruff, SODA ‘04], and is based on showing a direct sum property for the 1-way communication of the gap-Hamming problem.

  • Publication

    On Deterministic Sketching and Streaming for Sparse Recovery and Norm Estimation

    (Elsevier, 2014) Nelson, Jelani; Nguyẽn, Huy L.; Woodruff, David P.

    We study classic streaming and sparse recovery problems using deterministic linear sketches, including (\ell_1/\ell_1) and (\ell_{\infty}/\ell_1) sparse recovery problems (the latter also being known as ℓ1ℓ1-heavy hitters), norm estimation, and approximate inner product. We focus on devising a fixed matrix (A \epsilon \mathbb{R}^{m \times n}) and a deterministic recovery/estimation procedure which work for all possible input vectors simultaneously. Our results improve upon existing work, the following being our main contributions:

    • A proof that (\ell_{\infty}/\ell_1) sparse recovery and inner product estimation are equivalent, and that incoherent matrices can be used to solve both problems. Our upper bound for the number of measurements is (m=O(\varepsilon^{-2}min{log n,(log n/log(1/\varepsilon))^2})). We can also obtain fast sketching and recovery algorithms by making use of the Fast Johnson–Lindenstrauss transform. Both our running times and number of measurements improve upon previous work. We can also obtain better error guarantees than previous work in terms of a smaller tail of the input vector.

    • A new lower bound for the number of linear measurements required to solve (\ell_1/\ell_1) sparse recovery. We show (\Omega(k/\varepsilon^2+k log(n/k)/\varepsilon)) measurements are required to recover an x′ with (‖x-x′‖1\leq(1+\varepsilon)‖x{tail(k)}‖1), where (x{tail(k)}) is x projected onto all but its largest k coordinates in magnitude.

    • A tight bound of (m=\theta(\varepsilon^{-2}log(\varepsilon^2n))) on the number of measurements required to solve deterministic norm estimation, i.e., to recover (‖x‖_2\pm\varepsilon‖x‖_1).

    For all the problems we study, tight bounds are already known for the randomized complexity from previous work, except in the case of (\ell_1/\ell_1) sparse recovery, where a nearly tight bound is known. Our work thus aims to study the deterministic complexities of these problems. We remark that some of the matrices used in our algorithms, although known to exist, currently are not yet explicit in the sense that deterministic polynomial time constructions are not yet known, although in all cases polynomial time Monte Carlo algorithms are known.

  • Publication

    Fast Moment Estimation in Data Streams in Optimal Space

    (ACM, 2011) Kane, Daniel M.; Nelson, Jelani; Porat, Ely; Woodruff, David P.

    We give a space-optimal streaming algorithm with update time (O(log^2(1/\epsilon)loglog(1/\epsilon))) for approximating the pth frequency moment, 0 < p < 2, of a length-n vector updated in a data stream up to a factor of (1 \pm \epsilon). This provides a nearly exponential improvement over the previous space optimal algorithm of [Kane-Nelson-Woodruff, SODA 2010], which had update time (\Omega(1/\epsilon^2)). When combined with the work of [Harvey-Nelson-Onak, FOCS 2008], we also obtain the first algorithm for entropy estimation in turnstile streams which simultaneously achieves near-optimal space and fast update time.

  • Publication

    An Optimal Algorithm for the Distinct Elements Problem

    (ACM, 2010) Kane, Daniel M.; Nelson, Jelani; Woodruff, David P.

    We give the first optimal algorithm for estimating the number of distinct elements in a data stream, closing a long line of theoretical research on this problem begun by Flajolet and Martin in their seminal paper in FOCS 1983. This problem has applications to query optimization, Internet routing, network topology, and data mining. For a stream of indices in {1,...,n}, our algorithm computes a ((1 \pm \epsilon))-approximation using an optimal (O(1/\epsilon^{-2} + log(n))) bits of space with 2/3 success probability, where (0<\epsilon<1) is given. This probability can be amplified by independent repetition. Furthermore, our algorithm processes each stream update in O(1) worst-case time, and can report an estimate at any point midstream in O(1) worst-case time, thus settling both the space and time complexities simultaneously. We also give an algorithm to estimate the Hamming norm of a stream, a generalization of the number of distinct elements, which is useful in data cleaning, packet tracing, and database auditing. Our algorithm uses nearly optimal space, and has optimal O(1) update and reporting times.

  • Publication

    BPTree: An ℓ2 Heavy Hitters Algorithm Using Constant Memory

    (2017) Braverman, Vladimir; Chestnut, Stephen R.; Ivkin, Nikita; Nelson, Jelani; Wang, Zhengyu; Woodruff, David P.

    The task of finding heavy hitters is one of the best known and well studied problems in the area of data streams. One is given a list i1,i2,...,im∈[n] and the goal is to identify the items among [n] that appear frequently in the list. In sub-polynomial space, the strongest guarantee available is the l2 guarantee, which requires finding all items that occur at least ε||ƒ||2 times in the stream, where the vector ƒ∈Rn is the count histogram of the stream with ith coordinate equal to the number of times i appears ƒi:=#{jε[m]:ij=i. The first algorithm to achieve the l2 guarantee was the CountSketch of [11], which requires O(ε-2log n) words of memory and O(log n) update time and is known to be space-optimal if the stream allows for deletions. The recent work of [7] gave an improved algorithm for insertion-only streams, using only O(ε-2logε-1log log n) words of memory. In this work, we give an algorithm BPTree for l2 heavy hitters in insertion-only streams that achieves O(ε-2logε-1) words of memory and O(logε-1) update time, which is the optimal dependence on n and m. In addition, we describe an algorithm for tracking ||ƒ||2 at all times with O(ε-2) memory and update time. Our analyses rely on bounding the expected supremum of a Bernoulli process involving Rademachers with limited independence, which we accomplish via a Dudley-like chaining argument that may have applications elsewhere.

  • Publication

    Optimal Approximate Matrix Product in Terms of Stable Rank

    (2015) Cohen, Michael B.; Nelson, Jelani; Woodruff, David P.

    We prove, using the subspace embedding guarantee in a black box way, that one can achieve the spectral norm guarantee for approximate matrix multiplication with a dimensionality-reducing map having m=O(r̃ /ε2) rows. Here r̃ is the maximum stable rank, i.e. squared ratio of Frobenius and operator norms, of the two matrices being multiplied. This is a quantitative improvement over previous work of [MZ11, KVZ14], and is also optimal for any oblivious dimensionality-reducing map. Furthermore, due to the black box reliance on the subspace embedding property in our proofs, our theorem can be applied to a much more general class of sketching matrices than what was known before, in addition to achieving better bounds. For example, one can apply our theorem to efficient subspace embeddings such as the Subsampled Randomized Hadamard Transform or sparse subspace embeddings, or even with subspace embedding constructions that may be developed in the future. Our main theorem, via connections with spectral error matrix multiplication shown in prior work, implies quantitative improvements for approximate least squares regression and low rank approximation. Our main result has also already been applied to improve dimensionality reduction guarantees for k-means clustering [CEMMP14], and implies new results for nonparametric regression [YPW15]. We also separately point out that the proof of the "BSS" deterministic row-sampling result of [BSS12] can be modified to show that for any matrices A,B of stable rank at most r̃ , one can achieve the spectral norm guarantee for approximate matrix multiplication of ATB by deterministically sampling O(r̃ /ε2) rows that can be found in polynomial time. The original result of [BSS12] was for rank instead of stable rank. Our observation leads to a stronger version of a main theorem of [KMST10].