Skip to main content
QUICK REVIEW

[Paper Review] $\ell_p$ Row Sampling by Lewis Weights

Michael B. Cohen, Richard Peng|arXiv (Cornell University)|Dec 1, 2014
Sparse and Compressive Sensing TechniquesEngineering20 references7 citations
TL;DR

This paper presents the first input-sparsity time algorithms for ℓ_p row sampling using Lewis weights, enabling efficient approximation of matrix-vector products in ℓ_p norms. It achieves optimal sample size of O(d log d) for ℓ₁ and near-optimal bounds for other ℓ_p norms, with runtime dependent on matrix sparsity and matrix multiplication exponent.

ABSTRACT

We give a simple algorithm to efficiently sample the rows of a matrix while preserving the p-norms of its product with vectors. Given an $n$-by-$d$ matrix $\boldsymbol{\mathit{A}}$, we find with high probability and in input sparsity time an $\boldsymbol{\mathit{A}}'$ consisting of about $d \log{d}$ rescaled rows of $\boldsymbol{\mathit{A}}$ such that $\| \boldsymbol{\mathit{A}} \boldsymbol{\mathit{x}} \|_1$ is close to $\| \boldsymbol{\mathit{A}}' \boldsymbol{\mathit{x}} \|_1$ for all vectors $\boldsymbol{\mathit{x}}$. We also show similar results for all $\ell_p$ that give nearly optimal sample bounds in input sparsity time. Our results are based on sampling by "Lewis weights", which can be viewed as statistical leverage scores of a reweighted matrix. We also give an elementary proof of the guarantees of this sampling process for $\ell_1$.

Motivation & Objective

  • To develop the first polynomial-time and input-sparsity time algorithms for ℓ_p row sampling using Lewis weights.
  • To provide a practical and efficient method for approximating matrix-vector products in ℓ_p norms using a small number of rescaled rows.
  • To extend the theoretical guarantees of Lewis weight-based sampling to general ℓ_p norms, particularly ℓ₁, with optimal sample complexity.
  • To reduce the runtime and sample size compared to prior methods, especially for ℓ₁ and ℓ_p with 1 ≤ p ≤ 2.
  • To give a simple iterative algorithm for approximating Lewis weights via repeated computation of statistical leverage scores.

Proposed method

  • Approximate Lewis weights using an iterative algorithm that computes 2-approximate statistical leverage scores of reweighted matrices.
  • Use the approximated Lewis weights as sampling probabilities for rows of the input matrix A.
  • Sample O(d log d ε⁻²) rescaled rows from A to form A′, ensuring ||Ax||_p ≈_{1+ε} ||A'x||_p for all x ∈ ℝ^d.
  • Leverage matrix Chernoff-type bounds and Rademacher complexity to prove concentration of the sampling process.
  • Apply a change-of-density construction via Lewis weights to assign row weights analogous to leverage scores in ℓ_p settings.
  • Use the ellipsoid algorithm for p > 2 and p ≈ 4, though with higher runtime, to maintain theoretical guarantees.

Experimental results

Research questions

  • RQ1Can Lewis weights be computed efficiently in input-sparsity time to enable ℓ_p row sampling?
  • RQ2What is the optimal sample size for ℓ_p row sampling using Lewis weights, particularly for ℓ₁?
  • RQ3Can the runtime of ℓ_p row sampling be reduced to near-input-sparsity time while maintaining near-optimal sample complexity?
  • RQ4How can the theoretical guarantees of Talagrand and Lewis weight-based sampling be made algorithmically effective?
  • RQ5What is the trade-off between sample size and runtime for ℓ_p row sampling across different p values?

Key findings

  • The paper achieves a sample size of O(d log d) for ℓ₁ row sampling, matching the theoretical lower bound up to logarithmic factors.
  • For ℓ₁, the algorithm runs in O(nnz(A) + d^{ω+θ}) time, where ω is the matrix multiplication exponent and θ > 0 is any constant.
  • The method provides the first input-sparsity time algorithm for ℓ₁ row sampling with optimal sample size, improving upon prior O(d^{3.66}) runtime algorithms.
  • For 1 < p < 2, the sample count is O(d log d ε⁻²), and the runtime remains near-input-sparsity time with a d^{ω+θ} term.
  • For p > 2, the sample size grows as d^{p/2(1+θ)+C}, and the runtime increases significantly, especially near and above p = 4, due to ellipsoid algorithm use.
  • The algorithm supports a trade-off to achieve pure input-sparsity time with an additional O(nnz(A) log n) term in the runtime.

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.