计算机科学 > 数据结构与算法
[提交于 2026年11月30日]
标题:Space-Optimal Streaming Algorithms via Efficient Encodings
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study the problem of constructing coresets on data streams: Given a dataset of $n$ points in $\mathbb{R}^d$ arriving sequentially, the goal is to maintain a small weighted subset that accurately approximates the objective values of the entire dataset for a given class of query functions. Previous methods like merge-and-reduce and online sensitivity sampling required more space than the size of an optimal such subset in the offline setting. In this work, we show that such overheads are not necessary by presenting space-optimal streaming algorithms for central high-dimensional optimization problems such as Euclidean $(k,z)$-clustering and $L_p$ subspace embeddings, as well as applications to projection-cost preserving sketches. For $(k,z)$-clustering, our streaming algorithm uses memory independent of the number $n$ of input points (in words of memory) and the aspect ratio $\Delta$, yielding a coreset with an optimal $\widetilde{O}\left(\frac{dk}{\min(\varepsilon^4,\varepsilon^{z+2})}\right)$ words of memory for accuracy parameter $\varepsilon\in(0,1)$. For $L_p$ subspace embeddings, where the rows of matrix $\mathbf{A} \in \mathbb{R}^{n \times d}$ arrive in an insertion-only stream, we achieve an efficient algorithm that uses optimal space for different ranges of $p$: $\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right)$ words for $p\le 2$ and $\widetilde{O}\left(\frac{d^{p/2+1}}{\varepsilon^2}\right)$ words for $p>2$, both independent of the number of rows $n$. Thus, our work shows that streaming algorithms can match offline algorithms in space complexity.
提交历史
来自:Shenghao Xie[v1] 2026年11月30日 星期一 08:15:18 UTC (288 KB)