Lune

Abstract

We consider the problem of estimating the number of distinct elements in a large data set (or, equivalently, the support size of the distribution induced by the data set) from a random sample of its elements. The problem occurs in many applications, including biology, genomics, computer systems and linguistics. A line of research spanning the last decade resulted in algorithms that estimate the support up to ±εn \pm \varepsilon n from a sample of size O(log⁡2(1/ε)⋅n/log⁡n)O(\log^2(1/\varepsilon) \cdot n/\log n), where nn is the data set size. Unfortunately, this bound is known to be tight, limiting further improvements to the complexity of this problem. In this paper we consider estimation algorithms augmented with a machine-learning-based predictor that, given any element, returns an estimation of its frequency. We show that if the predictor is correct up to a constant approximation factor, then the sample complexity can be reduced significantly, to  log⁡(1/ε)⋅n1−Θ(1/log⁡(1/ε)).\ \log (1/\varepsilon) \cdot n^{1-Θ(1/\log(1/\varepsilon))}. We evaluate the proposed algorithms on a collection of data sets, using the neural-network based estimators from Hsu et al, ICLR'19 as predictors. Our experiments demonstrate substantial (up to 3x) improvements in the estimation accuracy compared to the state of the art algorithm.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Faster Fundamental Graph Algorithms via Learned Predictions cites Learning-Augmented Data Stream Algorithms
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Learning-Augmented k-means Clustering
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Learning Space Partitions for Nearest Neighbor Search
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Putting the "Learning" into Learning-Augmented Algorithms for Frequency Estimation
  • Learning-Augmented k-means Clustering cites Learning-Augmented Data Stream Algorithms
  • Learning-Augmented k-means Clustering cites Learning Space Partitions for Nearest Neighbor Search
  • Putting the "Learning" into Learning-Augmented Algorithms for Frequency Estimation cites Learning-Augmented Data Stream Algorithms
  • Triangle and Four Cycle Counting with Predictions in Graph Streams cites Learning-Augmented Data Stream Algorithms
  • Triangle and Four Cycle Counting with Predictions in Graph Streams cites Learning Space Partitions for Nearest Neighbor Search
  • Triangle and Four Cycle Counting with Predictions in Graph Streams cites Putting the "Learning" into Learning-Augmented Algorithms for Frequency Estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Faster Fundamental Graph Algorithms via Learned PredictionsJustin Y. Chen, Sandeep Silwal, Ali Vakilian, Fred ZhangICML 2022 · 58 citations
  2. Learning-Augmented kk-means ClusteringJon C. Ergun, Zhili Feng, Sandeep Silwal, David P. Woodruff et al.ICLR 2022 · 50 citations
  3. Online Algorithms with Multiple PredictionsKeerti Anand, Rong Ge, Amit Kumar, Debmalya PanigrahiICML 2022 · 39 citations
  4. Putting the "Learning" into Learning-Augmented Algorithms for Frequency EstimationElbert Du, Franklyn Wang, Michael MitzenmacherICML 2021 · 30 citations
  5. Triangle and Four Cycle Counting with Predictions in Graph StreamsJustin Y. Chen, Talya Eden, Piotr Indyk, Honghao Lin et al.ICLR 2022 · 29 citations

Builds on2

  1. Learning Space Partitions for Nearest Neighbor SearchYihe Dong, Piotr Indyk, Ilya P. Razenshteyn, Tal WagnerICLR 2020 · 104 citations
  2. Learning-Augmented Data Stream AlgorithmsTanqiu Jiang, Yi Li, Honghao Lin, Yisong Ruan et al.ICLR 2020 · 53 citations

Related papers

  1. Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal et al.NeurIPS 2023 · 16 citations
  2. Optimal Prediction of the Number of Unseen Species with MultiplicityYi Hao, Ping LiNeurIPS 2020 · 9 citations
  3. Data Amplification: Instance-Optimal Property EstimationYi Hao, Alon OrlitskyICML 2020 · 23 citations
  4. Composable Sketches for Functions of Frequencies: Beyond the Worst CaseEdith Cohen, Ofir Geri, Rasmus PaghICML 2020 · 17 citations
  5. Testing Support Size More Efficiently Than Learning HistogramsRenato Ferreira Pinto Jr., Nathaniel HarmsSTOC 2025
Dusk over the sea between two cliffs drawn in fine vertical lines