Abstract
In this note we provide and analyze a simple method that given an $n \times d$ matrix, outputs approximate $\ell_p$-Lewis weights, a natural measure of the importance of the rows with respect to the $\ell_p$ norm, for $p \geq 2$. More precisely, we provide a simple post-processing procedure that turns natural one-sided approximate $\ell_p$-Lewis weights into two-sided approximations. When combined with a simple one-sided approximation algorithm presented by Lee (PhD thesis, '16) this yields an algorithm for computing two-sided approximations of the $\ell_p$-Lewis weights of an $n \times d$-matrix using $\mathrm{poly}(d,p)$ approximate leverage score computations. While efficient high-accuracy algorithms for approximating $\ell_p$-Lewis had been established previously by Fazel, Lee, Padmanabhan and Sidford (SODA '22), the simple structure and approximation tolerance of our algorithm may make it of use for different applications.
Introduction
In the fields of data science and optimization, identifying the most "important" rows of a large matrix $A \in \mathbb{R}^{n \times d}$ is a fundamental task. For standard least-squares ($\ell_2$) problems, leverage scores serve as the standard metric, quantifying the influence of each row on the overall fit. However, for problems involving the $\ell_p$-norm—such as $\ell_p$-regression or certain interior point methods for linear programming—the more general Lewis weights are required.
Lewis weights provide a natural measure of row importance with respect to the $\ell_p$ norm, but their computation is significantly more complex than that of leverage scores. They are defined implicitly via a fixed-point equation: a vector $w$ represents the Lewis weights of $A$ if it equals the leverage scores of a specifically reweighted version of $A$. While leverage scores are relatively easy to compute using randomized linear algebra, Lewis weights present a significant challenge, particularly for $p \ge 4$. Existing approaches have typically been either simple but "weak" (providing only one-sided lower bounds) or complex and computationally expensive (requiring high precision that scales with the number of rows $n$).
The Proposed Method: 1-to-2 Sided Conversion
The core contribution of this work is a simple transformation function, $T_p(w)$, that bridges the gap between rough estimates and robust approximations. The authors propose a "1-to-2 sided" conversion process:
- Start with a one-sided estimate: The process begins with a one-sided $\epsilon$-approximation $w$, which can be obtained using existing algorithms (e.g., Lee, 2016). This $w$ acts as a rough lower bound on the true Lewis weights.
- The Fixed-Point Step: The authors demonstrate that a single additional iteration of the Lewis weight definition is sufficient. By taking this $w$ and passing it through one iteration of the Lewis weight definition—specifically calculating $v_i = w_i \cdot (\sigma_i / w_i)^{p/2}$, where $\sigma_i$ are approximate leverage scores—the resulting vector $v$ becomes a two-sided approximation.
- Stability Analysis: The paper provides a mathematical proof that this single step is stable. Crucially, even if the leverage scores used are themselves only approximations, the final Lewis weight estimate remains accurate within a factor depending only on $d$ and $p$, independent of the number of rows $n$.
Key Insights and Results
- The Power of One Iteration: Surprisingly, one iteration of the fixed-point update is enough to correct the deficiencies of a one-sided approximation. Iterating to full convergence is not necessary for a useful two-sided bound.
- Independence from $n$: By showing that low-precision leverage scores suffice, the authors prove that Lewis weights can be computed without the precision requirements growing as the matrix becomes "taller" ($n \to \infty$). This is a vital property for big data applications.
- Theoretical Performance: The authors prove that a two-sided $\epsilon$-approximation of $\ell_p$-Lewis weights can be computed using $\tilde{O}(pd/\epsilon)$ approximate leverage score computations. The required precision is $O(\epsilon/(pd))$, which is significantly coarser and cheaper than the $poly(1/n)$ precision required by previous methods.
- Quantum Utility: This algorithm is particularly relevant for quantum implementations of interior point methods, where multiplicative (two-sided) estimates are strictly required to achieve speedups in linear programming.
Limitations and Future Work
While the algorithm is simple in structure, the analysis is specifically tailored for $p \ge 2$. While Lewis weights exist for $p < 2$, the techniques used here rely on properties of leverage scores and the specific $p/2$ exponent designed for the $p \ge 2$ regime. Additionally, as a theoretical work, the paper does not provide empirical benchmarks against existing libraries. Future work could involve testing how the constant factors in the $O(\cdot)$ notation behave in practice and extending the results to the $p < 2$ case.
Summary updated