Fast Regression for Structured Inputs

Raphael A Meyer, Cameron N Musco, Christopher P Musco, David Woodruff, Samson Zhou

Standard algorithms for $\ell_p$ regression suffer from a "curse of dimensionality" where runtime scales exponentially with $p$. This makes high-norm problems, such as $\ell_\infty$ regression, computationally intractable for large datasets. This paper demonstrates how to break that curse for common structured inputs—like Vandermonde and low-rank matrices—by achieving polynomial dependence on $p$, providing the first efficient dimensionality reduction for $\ell_\infty$ regression with provable guarantees.

The Problem with High-Norm Regression

In linear regression, the goal is to find a vector $x$ that minimizes the error $\|Ax - b\|_p$. When the number of data points ($n$) is massive, researchers often rely on "sketch-and-solve" methods: they subsample a small number of rows from the matrix $A$ to create a much smaller problem that is faster to solve.

The gold standard for this subsampling is Lewis weight sampling. However, for general matrices, the number of rows needed to get a good approximation grows as $d^{\mathcal{O}(p)}$ (where $d$ is the number of features). If you want to solve $\ell_{10}$ regression, or approximate $\ell_\infty$ regression (which requires $p \approx \log n$), the number of rows becomes prohibitively large. The authors ask a critical question: Can we leverage the inherent structure of real-world data matrices to make high-norm regression efficient?

Methodological Innovations

The authors introduce two primary innovations to bypass the exponential dependence on $p$:

1. The "Rank of Regression" Concept

They prove that for "structured" matrices—such as Vandermonde matrices (used in polynomial fitting), low-rank matrices, or sparse matrices—the $\ell_p$ loss function can be represented by a much smaller number of variables than a general matrix. For a Vandermonde matrix, this "regression rank" is only $\mathcal{O}(dp)$, a massive improvement over the general $d^{\mathcal{O}(p)}$.

2. The Rounding and Truncating Trick (RoundTrunc)

A major hurdle in $\ell_p$ regression is that the response vector $b$ can have $n$ unique values, preventing the use of low-rank properties. The authors develop a technique called RoundTrunc. They first find a coarse approximate solution, compute the residual $b' = b - A\tilde{x}$, and then round the entries of this residual to the nearest power of $(1+\epsilon)$. This groups the rows into a small number of sets ($\mathcal{O}(\log n / \epsilon)$) where the target values are identical, allowing them to apply their structured sampling theorems.

3. A Practical General Algorithm

For $p \ge 4$, standard Lewis weight sampling requires solving complex convex programs. The authors provide a simpler algorithm that uses tensor products to reduce the problem to $\ell_q$ sampling where $q \in [2, 4)$, which can be solved with fast, standard iterative methods.

Key Insights

  • Structure Beats the Curse: The exponential dependence on $p$ isn't a fundamental law of regression; it is a consequence of assuming the worst possible input matrix. By identifying the "regression rank," the authors show that many common data types are naturally "low-dimensional" in high-norm spaces.
  • Residual Rounding: You cannot round the original vector $b$ without losing too much information. However, rounding the residual after a coarse first pass preserves the structure of the optimal solution while drastically simplifying the problem.
  • $\ell_\infty$ is Finally Reachable: Because $\ell_\infty$ can be approximated by $\ell_p$ where $p = \log n$, and their algorithm is polynomial in $p$, they achieve the first sublinear-size coreset for $\ell_\infty$ polynomial regression.

Key Results

The theoretical breakthroughs translate to massive improvements in sample complexity and runtime for structured matrices.

Comparison of sample complexities
  • Sample Complexity: As shown in the table above, for structured matrices like Vandermonde matrices, the authors reduce the required samples from $d^{\mathcal{O}(p)}$ to roughly $dp^2 \text{poly}(\log n, 1/\epsilon)$. This polynomial dependence crucially enables the $\ell_\infty$ regression sample complexity to drop from $n$ to $d \text{poly}(\log n, 1/\epsilon)$.
  • Vandermonde Speedup: They provide an algorithm for Vandermonde $\ell_p$ regression that runs in $\mathcal{O}(n \log^3 n + (dp^2)^{0.5+\omega} \cdot \text{polylog}\, n)$ time (where $\omega$ is the exponent of matrix multiplication). Previous best methods were exponential in $p$.
  • Empirical Validation: Using synthetic datasets designed to mimic difficult regression scenarios (e.g., $n=25,000$ and $d=20$), experiments show that their Lewis weight sampling method has a logarithmic error dependence on $p$, confirming the theoretical polynomial bound and significantly outperforming uniform sampling.

Limitations and Future Work

While a significant step forward, the paper notes a few limitations. The RoundTrunc procedure is essential for the theoretical proof of "worst-case" inputs, but the authors omitted it in their practical experiments because it wasn't necessary for their synthetic data. Additionally, while the polynomial dependence on $p$ is much better than exponential, it still involves high powers in some theorems (e.g., $1/\epsilon^5$), which might be optimized in future work. Finally, exploring other common structures in deep learning or signal processing could yield further benefits from similar "regression rank" analysis.

Summary updated

BibTeX
@inproceedings{meyer2022fast,
  author = {Raphael A Meyer and Cameron N Musco and Christopher P Musco and David Woodruff and Samson Zhou},
  title = {{Fast Regression for Structured Inputs}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=gNp54NxHUPJ},
}
Figure