Streaming Algorithms For ℓp Flows and ℓp Regression

Amit Chakrabarti, Jeffrey Jiang, David P. Woodruff, Taisuke YasudaICLR 2025

This paper provides the first comprehensive look at streaming algorithms for underdetermined $\ell_p$ regression—a fundamental problem that underpins everything from compressed sensing to network flow optimization. The authors establish sharp upper and lower bounds for both estimating the minimum cost and outputting an approximate solution vector, revealing that while some cases allow for efficient "sketching," others are surprisingly memory-intensive.

The Challenge of Underdetermined Systems in a Stream

In many modern data scenarios, we encounter "underdetermined" linear systems ($Ax=b$) where we have far more variables ($d$) than constraints ($n \ll d$). To find a unique, useful solution, we typically minimize a specific $\ell_p$ norm:

  • $p=1$ (Basis Pursuit): Used in compressed sensing to find sparse solutions.
  • $p=2$ (Least Squares): The classic approach for minimum-energy solutions.
  • $p=\infty$ (Max Flow): When $A$ is a graph's incidence matrix, this relates to finding the maximum flow.

The core challenge addressed by this paper is that the matrix $A$ is often too large to store in memory. The authors ask: Can we solve these problems in a "streaming" fashion? Specifically, if the columns of $A$ arrive one by one and we can only make a single pass, how much memory (space complexity) do we need to either estimate the minimum cost or find an approximate solution vector $x$?

Methodology

The authors employ a mix of convex duality and advanced dimensionality reduction techniques to tackle this problem:

  1. Flow Sparsifiers via Online Lewis Weights: To estimate the minimum cost, the authors use Strong Duality. They show that the primal $\ell_p$ minimization is equivalent to a dual problem involving an $\ell_q$ norm (where $1/p + 1/q = 1$). By using Online Lewis Weight Sampling, they can select a small, representative subset of columns that preserves the dual norm, effectively "sketching" the problem into a much smaller space.
  2. Well-Conditioned Spanning Subsets: Outputting the actual vector $x$ is harder because $x$ lives in a massive $d$-dimensional space. The authors use a streaming version of the Löwner-John ellipsoid algorithm to identify a "basis" of columns that can approximately represent all other columns with small coefficients.
  3. Communication Complexity: To prove lower bounds (demonstrating that a problem cannot be solved with less space), the authors reduce the regression problems to the INDEX problem in communication complexity, showing that certain approximations would require sending almost the entire input.

Key Results and Complexity Maps

The paper provides a detailed "map" of the complexity of $\ell_p$ regression, separated into two distinct tasks: estimating the cost and outputting the vector.

1. Estimating the Minimum Cost

For cost estimation, the authors map out the space complexity across different ranges of $p$.

Summary of space complexity bounds for estimating the minimum cost.

Key Insights on Cost Estimation: * The $p=2$ "Floor": Even for the simplest case (least squares), you need $\Omega(n^2)$ bits of space. You cannot escape the quadratic dependence on the number of constraints. * The $p=1$ Barrier: Estimating the cost for $\ell_1$ (basis pursuit) is remarkably difficult in a stream. The authors prove you cannot even get an $o(\sqrt{n})$-approximation using polynomial space in $n$.

2. Outputting the Solution Vector $x$

Outputting the actual vector requires navigating a strict trade-off between the approximation factor (distortion) and the required memory.

Summary of space complexity bounds for outputting an approximate solution vector.

Key Insights on Outputting $x$: * Crucially, while achieving $(1+\epsilon)$ accuracy for the solution vector requires linear space ($\Omega(d)$), you can achieve sublinear space if you are willing to accept a larger approximation factor $\beta$. * The "Online Condition Number" ($\kappa^{OL}$): The memory required depends heavily on how "stable" the matrix is as columns arrive. If the matrix's properties swing wildly as new data points are added, more memory is needed to keep track.

Limitations and Future Work

While this paper establishes a strong theoretical foundation, several open questions remain:

  • Closing the Gap: There is still a gap between the upper and lower bounds for the "large distortion" regime (when we want a rough approximation of $x$ using very little space).
  • Multi-pass Algorithms: This work focuses strictly on one-pass streaming. Exploring how much memory is saved by allowing 2 or 3 passes remains an open question.
  • Graph-Specific Bounds: While the paper discusses flows, the bounds are for general matrices. Specialized algorithms for specific graph topologies (like planar graphs) might yield even better results.
  • Condition Number Dependence: Finding ways to remove or reduce the dependence on the online condition number would make these algorithms more robust for ill-conditioned, real-world data.

Summary updated

BibTeX
@inproceedings{chakrabarti2025streaming,
  author = {Amit Chakrabarti and Jeffrey Jiang and David P. Woodruff and Taisuke Yasuda},
  title = {{Streaming Algorithms For ℓp Flows and ℓp Regression}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
}
Figure