Optimal Algorithms for Augmented Testing of Discrete Distributions
Maryam Aliakbarpour, Piotr Indyk, Ronitt Rubinfeld, Sandeep Silwal
Abstract
We consider the problem of hypothesis testing for discrete distributions. In the standard model, where we have sample access to an underlying distribution , extensive research has established optimal bounds for uniformity testing, identity testing (goodness of fit), and closeness testing (equivalence or two-sample testing). We explore these problems in a setting where a predicted data distribution, possibly derived from historical data or predictive machine learning models, is available. We demonstrate that such a predictor can indeed reduce the number of samples required for all three property testing tasks. The reduction in sample complexity depends directly on the predictor's quality, measured by its total variation distance from . A key advantage of our algorithms is their adaptability to the precision of the prediction. Specifically, our algorithms can self-adjust their sample complexity based on the accuracy of the available prediction, operating without any prior knowledge of the estimation's accuracy (i.e. they are consistent). Additionally, we never use more samples than the standard approaches require, even if the predictions provide no meaningful information (i.e. they are also robust). We provide lower bounds to indicate that the improvements in sample complexity achieved by our algorithms are information-theoretically optimal. Furthermore, experimental results show that the performance of our algorithms on real data significantly exceeds our worst-case guarantees for sample complexity, demonstrating the practicality of our approach.
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.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- 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 Putting the "Learning" into Learning-Augmented Algorithms for Frequency Estimation
- Token-Efficient Change Detection in LLM APIs cites Locally private non-asymptotic testing of discrete distributions is faster using interactive mechanisms
Cited by top-tier papers1
Builds on19
- Learning-Augmented Data Stream AlgorithmsTanqiu Jiang, Yi Li, Honghao Lin, Yisong Ruan et al.ICLR 2020 · 53 citations
- Private Identity Testing for High-Dimensional DistributionsClément L. Canonne, Gautam Kamath, Audra McMillan, Jonathan R. Ullman et al.NeurIPS 2020 · 42 citations
- Locally private non-asymptotic testing of discrete distributions is faster using interactive mechanismsThomas Berrett, Cristina ButuceaNeurIPS 2020 · 41 citations
- Putting the "Learning" into Learning-Augmented Algorithms for Frequency EstimationElbert Du, Franklyn Wang, Michael MitzenmacherICML 2021 · 30 citations
- Triangle and Four Cycle Counting with Predictions in Graph StreamsJustin Y. Chen, Talya Eden, Piotr Indyk, Honghao Lin et al.ICLR 2022 · 29 citations
Related papers
- Optimal testing of discrete distributions with high probabilityIlias Diakonikolas, Themis Gouleakis, Daniel M. Kane, John Peebles et al.STOC 2021 · 1 citation
- Distribution Testing in the Presence of Arbitrarily Dominant Noise with Verification QueriesHadley Black, Christopher YeSODA 2026
- Replicable Distribution TestingIlias Diakonikolas, Jingyi Gao, Daniel Kane, Sihan Liu et al.NeurIPS 2025 · 3 citations
- Nearly-Tight Bounds for Testing Histogram DistributionsClément L. Canonne, Ilias Diakonikolas, Daniel Kane, Sihan LiuNeurIPS 2022 · 9 citations
- On Tolerant Distribution Testing in the Conditional Sampling ModelShyam NarayananSODA 2021 · 2 citations
