English

Universal Streaming of Subset Norms

Data Structures and Algorithms 2020-04-07 v3

Abstract

Most known algorithms in the streaming model of computation aim to approximate a single function such as an p\ell_p-norm. In 2009, Nelson [\url{https://sublinear.info}, Open Problem 30] asked if it possible to design \emph{universal algorithms}, that simultaneously approximate multiple functions of the stream. In this paper we answer the question of Nelson for the class of \emph{subset 0\ell_0-norms} in the insertion-only frequency-vector model. Given a family of subsets S2[n]\mathcal{S}\subset 2^{[n]}, we provide a single streaming algorithm that can (1±ϵ)(1\pm \epsilon)-approximate the subset-norm for every SSS\in\mathcal{S}. Here, the subset-p\ell_p-norm of vRnv\in \mathbb{R}^n with respect to set S[n]S\subseteq [n] is the p\ell_p-norm of vector vSv_{|S} (which denotes restricting vv to SS, by zeroing all other coordinates). Our main result is a near-tight characterization of the space complexity of every family S2[n]\mathcal{S}\subset 2^{[n]} of subset-0\ell_0-norms in insertion-only streams, expressed in terms of the "heavy-hitter dimension" of S\mathcal{S}, a new combinatorial quantity that is related to the VC-dimension of S\mathcal{S}. In contrast, we show that the more general turnstile and sliding-window models require a much larger space usage. All these results easily extend to 1\ell_1. In addition, we design algorithms for two other subset-p\ell_p-norm variants. These can be compared to the Priority Sampling algorithm of Duffield, Lund and Thorup [JACM 2007], which achieves additive approximation ϵv\epsilon\|{v}\| for all possible subsets (S=2[n]\mathcal{S}=2^{[n]}) in the entry-wise update model. One of our algorithms extends this algorithm to handle turnstile updates, and another one achieves multiplicative approximation given a family S\mathcal{S}.

Keywords

Cite

@article{arxiv.1812.00241,
  title  = {Universal Streaming of Subset Norms},
  author = {Vladimir Braverman and Robert Krauthgamer and Lin F. Yang},
  journal= {arXiv preprint arXiv:1812.00241},
  year   = {2020}
}
R2 v1 2026-06-23T06:27:59.297Z