A Matrix Factorization Approach in Turnstile Streaming

📅 2026-07-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work studies the $M$-point query problem defined by a fixed matrix $M$ in the turnstile streaming model, with a focus on quantile estimation supporting deletions. By factorizing $M$ as $AB$, the authors introduce a unified matrix decomposition framework that generalizes and simplifies the dyadic CountSketch method. Leveraging operator norm analysis—specifically $\|\cdot\|_{2\to\infty}$ and $\|\cdot\|_{1\to1}$—the proposed algorithm achieves additive error $\varepsilon\|x\|_1$ with memory complexity $O(\varepsilon^{-1}\|A\|_{2\to\infty}\|B\|_{1\to1} + (\varepsilon^{-1}\|A\|_{\infty\to\infty}\|B\|_{1\to1})^{2/3})$. The paper establishes the first $\Omega(\varepsilon^{-1}\log U)$ memory lower bound for quantile estimation with deletions and demonstrates that the proposed approach is nearly optimal within the class of factorization-based algorithms.
📝 Abstract
We define the $M$-point query problem in data streams. Given a fixed matrix $M$, the goal is to maintain a vector $x$ under turnstile updates and answer each query $u$ with an estimate $\widehat{y}_u$ satisfying $|y_u-\widehat{y}_u| \leq \varepsilon \|x\|_1$, where $y=Mx$. We show that if $M$ admits a factorization $M=AB$, where $A$ and $B$ have space-efficient representations, then there is a streaming algorithm using $O(\varepsilon^{-1}\|A\|_{2\rightarrow\infty}\|B\|_{1\rightarrow 1}+(\varepsilon^{-1}\|A\|_{\infty\rightarrow\infty}\|B\|_{1\rightarrow 1})^{2/3})$ words of memory. An important special case is the lower-triangular all-ones matrix, which corresponds to the quantiles problem with additive error $\pm \varepsilon n$, where $n$ is the database size. Our framework generalizes the dyadic approach of Cormode and Muthukrishnan (J. Algorithms, 2005) for turnstile quantiles, and simplifies and improves the analysis of the state-of-the-art dyadic CountSketch algorithms of Wang et al. (SIGMOD, 2013) and Luo et al. (VLDB, 2016). Our approach is also related to the matrix mechanism of Li et al. (VLDB J., 2015) in differential privacy: given a database $x\in\mathbb{R}^U$ and a matrix $M$, the mechanism outputs a private approximation to $Mx$, with the privacy-error tradeoff governed by a matrix factorization norm of $M$. We also improve the prior lower bound for quantiles with deletions, showing a memory lower bound of $Ω(\varepsilon^{-1}\log U)$ words. We also show any factorization has $\|A\|_{2\rightarrow\infty}\|B\|_{1\rightarrow 1} = Ω((\log^{1.5} U) / \log\log U)$. This lower bound is new, and shows that for quantiles, the dyadic CountSketch is nearly optimal amongst factorization-based approaches.
Problem

Research questions and friction points this paper is trying to address.

Matrix Factorization
Turnstile Streaming
M-point Query
Quantiles Problem
Data Stream
Innovation

Methods, ideas, or system contributions that make the work stand out.

Matrix Factorization
Turnstile Streaming
Quantiles Estimation
Dyadic CountSketch
Streaming Lower Bounds