# Memory-Sample Tradeoffs for Linear Regression with Small Error

**Authors:** Vatsal Sharan, Aaron Sidford, Gregory Valiant

arXiv: 1904.08544 · 2020-10-13

## TL;DR

This paper establishes fundamental limits on the tradeoff between memory and sample complexity in streaming linear regression, showing that limited memory significantly slows convergence.

## Contribution

It provides the first nontrivial lower bounds for regression with super-linear memory, highlighting the impact of memory constraints on convergence rates.

## Key findings

- Memory-limited algorithms require exponentially more samples to achieve small error.
- Algorithms with subquadratic memory cannot match the convergence rate of unconstrained methods.
- The results reveal a fundamental memory-sample tradeoff in streaming linear regression.

## Abstract

We consider the problem of performing linear regression over a stream of $d$-dimensional examples, and show that any algorithm that uses a subquadratic amount of memory exhibits a slower rate of convergence than can be achieved without memory constraints. Specifically, consider a sequence of labeled examples $(a_1,b_1), (a_2,b_2)\ldots,$ with $a_i$ drawn independently from a $d$-dimensional isotropic Gaussian, and where $b_i = \langle a_i, x\rangle + \eta_i,$ for a fixed $x \in \mathbb{R}^d$ with $\|x\|_2 = 1$ and with independent noise $\eta_i$ drawn uniformly from the interval $[-2^{-d/5},2^{-d/5}].$ We show that any algorithm with at most $d^2/4$ bits of memory requires at least $\Omega(d \log \log \frac{1}{\epsilon})$ samples to approximate $x$ to $\ell_2$ error $\epsilon$ with probability of success at least $2/3$, for $\epsilon$ sufficiently small as a function of $d$. In contrast, for such $\epsilon$, $x$ can be recovered to error $\epsilon$ with probability $1-o(1)$ with memory $O\left(d^2 \log(1/\epsilon)\right)$ using $d$ examples. This represents the first nontrivial lower bounds for regression with super-linear memory, and may open the door for strong memory/sample tradeoffs for continuous optimization.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.08544/full.md

## References

48 references — full list in the complete paper: https://tomesphere.com/paper/1904.08544/full.md

---
Source: https://tomesphere.com/paper/1904.08544