Skip to content
Preprint

Fast Perfect $L_2$ Sampling

Oct 2026 · 0 citations · 49 references
Computer Science

TL;DR

A perfect L_2 sampler is presented that achieves an expectedpolylog(n) update time while maintaining an optimal $\tilde{\mathcal{O}}(\log^3 n)$ bits of space.

Abstract

Perfect $L_2$ sampling is a powerful primitive for turnstile data streams, allowing algorithms to extract an index with probability proportional to its squared frequency, with applications to dynamic join size estimation, query optimization, heavy-hitters, sampling from self-joins, and real-time monitoring of evolving datasets. The setting $p=2$ is also the largest $p$ for which $L_p$ sampling can be achieved in polylogarithmic space. However, existing space-optimal perfect samplers rely on explicit polynomial duplication, requiring inefficient polynomial update times per stream arrival. Resolving a open question left by Swartworth, Woodruff, and Zhou [FOCS 2025], we present a perfect $L_2$ sampler that achieves an expected $\text{polylog}(n)$ update time while maintaining an optimal $\tilde{\mathcal{O}}(\log^3 n)$ bits of space.

View source

Similar papers

Preprint Nov 2026

Subpolynomial-Query Proximal Sampling Beyond Log-Concavity

This work implements its observation chain using the high-order noisy conditional sampler of [OpenAI 2026], obtaining improved dimension dependence under functional inequalities and obtaining a corresponding guarantee from a warm start with a known bound on its R\'enyi divergence.

Wei Guo, Bo Yuan, Ye He et al. · 0 citations
Preprint Oct 2026

A Nearly Optimal Min-Cut Algorithm for Dynamic Streams

We give an $\tilde{O}(n/\varepsilon)$-space algorithm for the minimum cut problem in dynamic streams, resolving the space complexity of streaming min-cut up to polylogarithmic factors. Ding, Garces, Li, Lin, Nelson, Shah, and Woodruff (ITCS 2025) obtained the same $\tilde{O}(n/\varepsilon)$ space bound for insertion-on...

Yang P. Liu, Hoai-An Nguyen, Vihan Shah et al. · 1 citation
Preprint Nov 2026

Pure Differentially Private Query Release via Laplace Input Smoothing

We study the offline release of a public family of $k$ statistical queries on a database of $N$ records from a public universe of size $d$, under pure $\varepsilon$-differential privacy. We give an efficient algorithm that, with probability at least $1-\beta$, answers all queries simultaneously to error $$O\left(\min\l...

Zong-Rui Zou · 0 citations
Sep 2026

Scalable Triangle Counting: The Threshold Algorithm

We study one-pass triangle counting on random-order edge streams. We present a remarkably simple algorithm---read edges from the stream until $Q$ triangles are observed in the prefix, then output $Q\,(m/S)^3$ where $S$ is the stopping length---and prove that, when the maximum number of triangles incident to any edge sa...

Asaf Etgar, A. Gilbert, Quan-Quan C. Liu et al. · 0 citations
#machine learning Preprint Oct 2026

KL Before and After Mixing: A Round-Complexity Separation in Parallel Sampling

A parallel sampler can choose at random which coordinates to generate together. For a target $p$ and the output law $q_U$ of a schedule $U$ drawn afresh for each output, we compare the schedule-averaged divergence $\mathbb{E}_U D_{\mathrm{KL}}(p\|q_U)$ with the output-law divergence $D_{\mathrm{KL}}(p\|\mathbb{E}_U q_U...

Tian-Yi Wu · 3 citations
Sep 2026

A sampling Lovász Local Lemma

We give an approximately uniform sampler for satisfying assignments of constraint satisfaction problems that satisfy $4\mathrm e p(\Delta+1)^2\le1$, where $p$ is the largest constraint-violation probability under the uniform product distribution, and $\Delta$ is the maximum degree of the dependency graph. The algorithm...

D. Achlioptas · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.