Almost Optimal Relative Error Streaming Quantiles with Full Mergeability
Abstract
Quantile summaries provide a scalable way to estimate the distribution of individual attributes in large datasets that are often distributed across multiple machines or generated by sensor networks. The state-of-the-art summaries with \emph{relative error guarantees} of , offering increasingly higher accuracy towards the distribution's tails, are ReqSketch (Cormode et al., JACM 2023) and the recent streaming algorithm by Gribelyuk et al. (SODA 2025). For inputs of size and probability of exceeding the error bound, ReqSketch achieves space of memory words, and offers \emph{full mergeability}, allowing distributed or parallel processing of datasets. In contrast, the latter algorithm exceeds the lower bound of from (Cormode \& Veselý, PODS 2020) only by a factor of , but it lacks the mergeability property, is substantially more involved than ReqSketch, and has unclear practical performance. Both of these data structures consist of relative compactors from ReqSketch that subsample the stream in a structured way and work well in the streaming setting but are difficult to analyze under mergeability. We design a new relative-error quantile summary that achieves full mergeability and also improves the state-of-the-art streaming space bound to which is substantially closer to the lower bound. At the same time, our data structure is simpler than the algorithm from (Gribelyuk et al., SODA 2025) and therefore more suitable for implementation.
Create a lesson
Metadata
- Comments
- To appear in SODA 2027; this paper is reuses some parts of the earlier manuscript at arXiv:2511.17396
Related papers
Near-Optimal Almost-Ramsey Spanning Tree Covers, via Layered Clusterings
Shared title terminologycs.DSMichael Elkin, Idan Shabat
Space-Optimal Spanning Tree Algorithms in Bounded-Deletion Streams
Shared title terminologycs.DSTsun-Ming Cheung, Yu Hsiang, Shang-En Huang et al.
Space-Optimal Streaming Algorithms via Efficient Encodings
Shared title terminologycs.DSLiudeng Wang, David P. Woodruff, Shenghao Xie et al.
Almost Optimal Constant-Round Approximation of Dominating Set in Graph Classes with Excluded Minors
Shared title terminologycs.DSSaeed Amiri, Sebastian Siebertz
Almost Instance Optimal Sum and Moment Estimation Using Weighted Sampling
Shared title terminologycs.DSAnup Bhattacharya, Suryendu Mondal, Pinki Pradhan
Randomized Online MAX-SAT Cannot Beat 3/4 Even with Full Clause Information
Shared title terminologycs.DSAli Karim Lalani