TL;DR
This paper introduces significantly faster and more space-efficient streaming algorithms for estimating matrix Schatten $p$-norms. By exploring multi-pass and row-order streaming models alongside a novel bilinear sketching technique, the authors break previous memory lower bounds of single-pass models and achieve optimal $O(1)$ update times.
What Problem Does This Paper Address?
Data stream algorithms traditionally focus on vectors (e.g., counting frequent items or estimating vector frequencies). Extending these techniques to large matrices presented as streams—where we want to estimate functions of their singular values, like Schatten $p$-norms—is much harder. Schatten $p$-norms generalize familiar metrics: $p=1$ is the nuclear norm, $p=2$ is the Frobenius norm, and $p=\infty$ is the spectral norm.
Previous streaming algorithms for matrix norms suffered from high memory requirements, slow update times per incoming item, or slow query times. This paper addresses these efficiency bottlenecks by introducing multi-pass capabilities, analyzing the practical "row-order" stream model (where data arrives row by row), and designing algorithms with dramatically improved runtimes.
Methods
The authors introduce a novel unbiased estimator for $\text{Tr}(A^p)$, which equals the $p$-th power of the Schatten $p$-norm for positive semidefinite (PSD) matrices or even integers $p$. Instead of using a single sketching matrix like previous work, they use a sequence of independent random matrices $G_1, \dots, G_p$ to form a bilinear sketch:
$$X = \text{Tr}(G_1 A G_2^T G_2 A G_3^T \dots G_p A G_1^T)$$
To make this practical, they employ two main flavors of sketching matrices:
- Column-normalized Gaussian matrices: Provide strong theoretical guarantees and reduce query time to matrix multiplication time ($O(n^\omega)$).
- Sparse ZD-sketches: A variant of sparse Johnson-Lindenstrauss transforms (JLT) with only one non-zero entry per column. This drops the update time per stream item to a blazing $O(1/\epsilon^2)$.
For multi-pass streams, they alter the dimensions (making $G_1$ a single row) to iteratively compute left and right vector-matrix products across $\lceil p/2 \rceil$ passes, drastically saving space. For the row-order model, they leverage precision sampling and reservoir sampling to process sparse matrices on the fly.
Datasets
The paper is purely theoretical and does not evaluate its algorithms on empirical datasets or introduce new empirical benchmarks. It relies on mathematical proofs and hard distributions derived from communication complexity (like multiparty SET-DISJOINTNESS) to prove lower bounds.
Key Insights and Ideas
- Power of Multiple Passes: In vector streaming, allowing multiple passes doesn't significantly reduce the space needed to estimate $L_p$ norms. Surprisingly, for matrix Schatten norms, moving from 1 pass to $\lceil p/2 \rceil$ passes drops the required space from sub-quadratic ($n^{2-4/p}$) to sub-linear ($n^{1-1/(p-1)}$).
- Decoupling via Sparsity: Replacing dense Gaussian matrices with sparse sketches usually breaks rotational invariance, making variance analysis incredibly difficult. The authors bypassed this by using a decoupling technique (injecting independent Bernoulli variables) inspired by the Hanson-Wright inequality to successfully bound the variance.
- Row-Order Advantage: Processing a sparse matrix row-by-row allows the algorithm to compute $A^T A$ "on the fly" using minimal space, reducing a complex matrix norm problem to a simpler turnstile streaming problem.
Key Results
The paper establishes new upper and lower bounds for streaming matrix norms:
- Runtimes: One-pass update time is reduced from polynomial in $n$ to $O(1/\epsilon^2)$, and query time drops from $O(n^{p-2})$ to $O(n^{(1-2/p)\omega})$.
- Space Savings: For a PSD matrix, the $\lceil p/2 \rceil$-pass algorithm requires only $\tilde{O}(n^{1-1/(p-1)})$ space compared to the previous $O(n)$ benchmark.
- Row-Order Model: For sparse matrices in row-order streams, they achieve a near-complete characterization of space complexity, matching upper and lower bounds tightly for $p \equiv 0 \pmod 4$.
Limitations and Future Work
- PSD/Even $p$ Restrictions: The most efficient algorithms require the matrix to be positive semidefinite (PSD) or $p$ to be an even integer. Extending these ultra-fast, low-memory algorithms to general matrices with odd or non-integer $p$ remains an open challenge.
- Polynomial Gap: For the row-order model where $p \equiv 2 \pmod 4$, there remains a slight polynomial gap between the algorithm's space complexity $\tilde{O}(n^{1-4/(p+2)})$ and the lower bound $\Omega(n^{1-4/p})$.
Summary updated