Lune

NeurIPS2024Top-tier venue

Optimal Hypothesis Selection in (Almost) Linear Time

Maryam Aliakbarpour, Mark Bun, Adam Smith

Abstract

Hypothesis selection, also known as density estimation, is a fundamental problem in statistics and learning theory. Given a sample set from an unknown distribution P and a finite class of candidate distributions (hypotheses) H := H 1 , H 2 , . . . , H n , the goal is to design an algorithm that selects a distribution ˆ H from H that best describes P . The accuracy of the algorithm is measured by the distance between ˆ H and P , compared to the distance between the closest distribution in H and P (denoted by OPT ). Specifically, we aim for ∥ ˆ H − P ∥ TV to be at most α · OPT + ϵ for some small ϵ and α . While the value of ϵ can be reduced with an increasing number of samples, α is an inherent characteristic of the algorithm. Achieving α < 3 is impossible, even with only two candidate hypotheses, unless the number of samples is proportional to the domain size of P [Bousquet, Kane, Moran ’19]. Finding a computationally efficient algorithm that achieves the optimal α has been a primary focus of research since the early work of [Devroye, Lugosi ’01]. Before our work, the algorithms achieving α < 5 required time Ω( n 2 ) . We present the first algorithm that operates in almost linear time ( ˜ O ( n/ϵ 3 ) ) and achieves α = 3 . This result improves upon a long line of hypothesis selection research. Previously known algorithms had either worse time complexity, a larger α factor, or additional assumptions about the problem setting. Additionally, we provide another (almost) linear-time algorithm with better dependency on the additive accuracy parameter ϵ , albeit with a slightly worse accuracy parameter of α = 4 .

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.

3 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

  • Fast and Near-Optimal Algorithms for Private Hypothesis Selection cites Hypothesis Selection with Memory Constraints
  • Fast and Near-Optimal Algorithms for Private Hypothesis Selection cites Query-Efficient Locally Private Hypothesis Selection via the Scheffe Graph
  • Fast and Near-Optimal Algorithms for Private Hypothesis Selection cites Nearly-Linear Time Private Hypothesis Selection with the Optimal Approximation Factor
  • Fast and Near-Optimal Algorithms for Private Hypothesis Selection cites Statistically Near-Optimal Hypothesis Selection
  • Hypothesis Selection with Memory Constraints cites Nearly-Tight Bounds for Testing Histogram Distributions
  • Hypothesis Selection with Memory Constraints cites Statistically Near-Optimal Hypothesis Selection
  • Hypothesis Selection with Memory Constraints cites Data Structures for Density Estimation
  • Query-Efficient Locally Private Hypothesis Selection via the Scheffe Graph cites Hypothesis Selection with Memory Constraints
  • Nearly-Linear Time Private Hypothesis Selection with the Optimal Approximation Factor cites Hypothesis Selection with Memory Constraints
  • Nearly-Linear Time Private Hypothesis Selection with the Optimal Approximation Factor cites Statistically Near-Optimal Hypothesis Selection
  • Nearly-Linear Time Private Hypothesis Selection with the Optimal Approximation Factor cites Data Structures for Density Estimation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Fast and Near-Optimal Algorithms for Private Hypothesis SelectionHilal Asi, Hongjie ChenICML 2026
  2. Query-Efficient Locally Private Hypothesis Selection via the Scheffe GraphGautam Kamath, Alireza F. Pour, Matthew Regehr, David P. WoodruffNeurIPS 2025
  3. Nearly-Linear Time Private Hypothesis Selection with the Optimal Approximation FactorMaryam Aliakbarpour, Zhan Shi, Ria Stevens, Vincent X. WangNeurIPS 2025

Builds on4

  1. Nearly-Tight Bounds for Testing Histogram DistributionsClément L. Canonne, Ilias Diakonikolas, Daniel Kane, Sihan LiuNeurIPS 2022 · 9 citations
  2. Hypothesis Selection with Memory ConstraintsMaryam Aliakbarpour, Mark Bun, Adam SmithNeurIPS 2023 · 6 citations
  3. Data Structures for Density EstimationAnders Aamand, Alexandr Andoni, Justin Y. Chen, Piotr Indyk et al.ICML 2023 · 6 citations
  4. Statistically Near-Optimal Hypothesis SelectionOlivier Bousquet, Mark Braverman, Gillat Kol, Klim Efremenko et al.FOCS 2021

Related papers

  1. TURF: Two-Factor, Universal, Robust, Fast Distribution Learning AlgorithmYi Hao, Ayush Jain, Alon Orlitsky, Vaishakh RavindrakumarICML 2022
  2. Statistical-Computational Trade-offs for Density EstimationAnders Aamand, Alexandr Andoni, Justin Y. Chen, Piotr Indyk et al.NeurIPS 2024 · 2 citations
  3. Product Distribution Learning with Imperfect AdviceArnab Bhattacharyya, Davin Choo, Philips George John, Themis GouleakisNeurIPS 2025 · 3 citations
  4. Data Amplification: Instance-Optimal Property EstimationYi Hao, Alon OrlitskyICML 2020 · 23 citations
  5. Optimal Algorithms for Augmented Testing of Discrete DistributionsMaryam Aliakbarpour, Piotr Indyk, Ronitt Rubinfeld, Sandeep SilwalNeurIPS 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines