Lune

SODA2022顶会

Better Sum Estimation via Weighted Sampling

Lorenzo Beretta, Jakub Tetek

摘要

Given a large set U where each item a ∈ U has weight w(a), we want to estimate the total weight W = a∈U w(a) to within factor of 1 ± ε with some constant probability > 1/2. Since n = |U | is large, we want to do this without looking at the entire set U . In the traditional setting in which we are allowed to sample elements from U uniformly, sampling Ω(n) items is necessary to provide any non-trivial guarantee on the estimate. Therefore, we investigate this problem in different settings: in the proportional setting we can sample items with probabilities proportional to their weights, and in the hybrid setting we can sample both proportionally and uniformly. These settings have applications, for example, in sublinear-time algorithms and distribution testing.

Sum estimation in the proportional and hybrid setting has been considered before by Motwani, Panigrahy, and Xu [ICALP, 2007]. In their paper, they give both upper and lower bounds in terms of n. Their bounds are near-matching in terms of n, but not in terms of ε. In this paper, we improve both their upper and lower bounds. Our bounds are matching up to constant factors in both settings, in terms of both n and ε. No lower bounds with dependency on ε were known previously. In the proportional setting, we improve their Õ( √ n/ε 7/2 ) algorithm to O( √ n/ε). In the hybrid setting, we improve Õ( 3 √ n/ε 9/2 ) to O( 3 √ n/ε 4/3 ). Our algorithms are also significantly simpler and do not have large constant factors.

We then investigate the previously unexplored scenario in which n is not known to the algorithm. In this case, we obtain a O( √ n/ε + log n/ε 2 ) algorithm for the proportional setting, and a O( √ n/ε) algorithm for the hybrid setting. This means that in the proportional setting, we may remove the need for advice without greatly increasing the complexity of the problem, while there is a major difference in the hybrid setting. We prove that this difference in the hybrid setting is necessary, by showing a matching lower bound.

Our algorithms have applications in the area of sublinear-time graph algorithms. Consider a large graph G = (V, E) and the task of (1 ± ε)-approximating |E|. We consider the (standard) settings where we can sample uniformly from E or from both E and V . This relates to sum estimation as follows: we set U = V and the weights to be equal to the degrees. Uniform sampling then corresponds to sampling vertices uniformly. Proportional sampling can be simulated by taking a random edge and picking one of its endpoints at random. If we can only sample uniformly from E, then our results immediately give a O( |V |/ε) algorithm. When we may sample both from E and V , our results imply an algorithm with complexity O( 3 |V |/ε 4/3 ). Surprisingly, one of our subroutines provides an (1 ± ε)-approximation of |E| using Õ(d/ε 2 ) expected samples, where d is the average degree, under the mild assumption that at least a constant fraction of vertices are non-isolated. This subroutine works in the setting where we can sample uniformly from both V and E. We find this remarkable since it is O(1/ε 2 ) for sparse graphs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Sublinear-Time Opinion Estimation in the Friedkin-Johnsen ModelStefan Neumann, Yinhao Dong, Pan PengWWW 2024 · 11 次引用
  2. Fast Query of Biharmonic Distance in NetworksChangan Liu, Ahad N. Zehmakan, Zhongzhi ZhangKDD 2024 · 3 次引用
  3. Approximating High-Dimensional Earth Mover's Distance as Fast as Closest PairLorenzo Beretta, Vincent Cohen-Addad, Rajesh Jayaram, Erik WaingartenFOCS 2025 · 2 次引用
  4. FLOWS: Balanced MRC Profiling for Heterogeneous Object-Size CacheXiaojun Guo, Hua Wang, Ke Zhou, Hong Jiang 等EuroSys 2024 · 1 次引用
  5. Faster Estimation of the Average Degree of a Graph Using Random Edges and Structural QueriesLorenzo Beretta, Deeparnab Chakrabarty, C. SeshadhriSODA 2026

相关 Paper

  1. Beating Greedy Matching in Sublinear TimeSoheil Behnezhad, Mohammad Roghani, Aviad Rubinstein, Amin SaberiSODA 2023 · 5 次引用
  2. Worst-Case Analysis for Randomly Collected DataJustin Y. Chen, Gregory Valiant, Paul ValiantNeurIPS 2020 · 4 次引用
  3. Approximating Sumset SizeAnindya De, Shivam Nadimpalli, Rocco A. ServedioSODA 2022 · 1 次引用
  4. Average-Case Subset Balancing ProblemsXi Chen, Yaonan Jin, Tim Randolph, Rocco A. ServedioSODA 2022 · 2 次引用
  5. Approximating a Distribution Using Weight QueriesNadav Barak, Sivan SabatoICML 2021
黄昏的海面,两侧是细线勾勒的悬崖