How fast can you find a good hypothesis?

Anders Aamand, Maryam Aliakbarpour, Justin Y. Chen, Sandeep Silwal

Here is a summary of the paper "How fast can you find a good hypothesis?" formatted for a technical audience.

TL;DR

This paper tackles the computational bottlenecks of the "hypothesis selection" problem, where the goal is to find the best-fitting probability distribution from a set of candidates to match an unknown true distribution. The authors resolve a long-standing open question by proving that outputting a mixture of candidates cannot beat an approximation factor of $3 - 2/n$ without scaling poorly with domain size, and they provide an algorithm that exactly matches this bound. Additionally, they significantly speed up the state-of-the-art algorithm for selecting a single best candidate, reducing the runtime dependence on error and failure probability.

What Problem Does This Paper Address?

Hypothesis selection (also known as density estimation) is a fundamental problem in statistics and machine learning. You are given $n$ candidate distributions (hypotheses) and sample access to an unknown true distribution $P$. The goal is to output a distribution $Q$ whose Total Variation (TV) distance to $P$ is close to the best candidate's distance (denoted as $\text{OPT}$). Specifically, you want $d_{TV}(P, Q) \le C \cdot \text{OPT} + \varepsilon$.

Statistically, this problem is solved: you need $O(\log(n)/\varepsilon^2)$ samples to get $C=3$ if you must pick one of the original candidates (proper learning), or $C=2$ if you can output any distribution (improper learning). Crucially, this sample size is independent of the domain size $|\mathcal{X}|$.

However, the computational landscape is messy:

  1. The Improper Bottleneck: The algorithm achieving $C=2$ takes time polynomial in the domain size $|\mathcal{X}|$. For continuous distributions (infinite domain), it never finishes! A proposed workaround was to output a mixture of the $n$ candidates. Could this achieve $C < 3$ in finite time? This has been an open question since 2008.
  2. The Proper Bottleneck: Algorithms achieving $C=3$ by picking a single candidate traditionally take $O(n^2)$ or $O(n^3)$ time. Recent breakthroughs achieved near-linear time $\tilde{O}(n)$, but at the cost of terrible polynomial dependence on the failure probability $\delta$ and error $\varepsilon$.

Methods

The authors use a mix of information-theoretic lower bounds, linear algebra, and graph theory to tackle these bottlenecks:

  • Lower Bounds via Multi-dimensional Couplings: To prove that mixtures can't achieve $C < 3$, they construct a hard instance of distributions. They generalize Le Cam's two-point method to $n$ distributions using a "multi-dimensional coupling," proving that no algorithm can distinguish between the optimal hypothesis and $n-1$ suboptimal ones without a domain-dependent number of samples.
  • Linear Systems for Mixture Weights: For their mixture upper bound, they define the expected approximation ratio as a system of linear equations based on "semi-distances" (estimates of TV distance using Scheffé sets). They solve this system to find optimal mixture weights and introduce a rounding procedure to ensure the weights form a valid, non-negative probability distribution.
  • Graph-Based Thresholding: To speed up the proper learning algorithm, they model the problem as a "Semi-Distance Threshold Problem." They build a directed graph where edges represent semi-distances exceeding a certain threshold. Using randomized degree-estimation subroutines and binary search over the thresholds, they can rapidly prune bad hypotheses and find a "prompting" hypothesis (a node with high out-degree) in near-linear time.

Datasets

Not discussed in the paper. This is a theoretical computer science paper focused on algorithmic complexity and information-theoretic bounds; no empirical benchmarks were used.

Key Insights and Ideas

  • The Mixture "Cheat Code" is a Dead End: Outputting a mixture of hypotheses seemed like a promising way to get a better approximation ($C < 3$) without the infinite-time penalty of full improper learning. Surprisingly, the authors prove this is impossible for absolute constants: the best you can do is $C = 3 - 2/n$, which approaches 3 as the number of hypotheses $n$ grows.
  • The "High Probability Conundrum": In standard machine learning, if an algorithm succeeds with 51% probability, you can just run it $O(\log(1/\delta))$ times and pick the best result to succeed with $1-\delta$ probability. This fails in hypothesis selection because you cannot validate which output is "best" without a domain-dependent number of samples. Therefore, the algorithm's internal logic must handle $\delta$ directly, which is why recent fast algorithms get bogged down by $1/\delta$ runtime multipliers.
  • Geometric Preprocessing: If you are allowed to preprocess the hypotheses before seeing samples from $P$, you can map the distributions into a lower-dimensional $\ell_2$ space using Johnson-Lindenstrauss embeddings. This allows the use of dynamic diameter data structures to simulate tournament selection, breaking the quadratic time barrier.

Key Results

  • Resolved the Mixture Conjecture: Proved that no algorithm outputting a mixture can achieve $C < 3 - 2/n - o(1/n)$ without domain-dependent sample complexity. They also provided a $\text{poly}(n)$ time algorithm that exactly matches this $3 - 2/n$ expected approximation factor.
  • Faster Proper Algorithm: Improved the runtime of the state-of-the-art proper hypothesis selection algorithm from $\tilde{O}(n/(\delta^3 \varepsilon^3))$ to $\tilde{O}(n/(\delta \varepsilon^2))$, maintaining the optimal $C=3$ approximation and $O(\log(n/\delta)/\varepsilon^2)$ sample complexity.
  • Known OPT: Showed that if the optimal distance ($\text{OPT}$) is known in advance, the runtime can be improved to $\tilde{O}(n \log^3(n/\delta)/\varepsilon^2)$, completely removing the polynomial dependence on $1/\delta$.
  • Subquadratic Preprocessing: Provided an algorithm that uses polynomial preprocessing time to achieve subquadratic query time $\tilde{O}(n^{2-\Omega(\varepsilon)}/\varepsilon^3)$ with high probability.

Limitations and Future Work

  • The $1/\delta$ Barrier: While the authors significantly improved the proper algorithm's runtime, it still has a polynomial dependence on $1/\delta$. Removing this to achieve a true $\log(1/\delta)$ dependence (without knowing OPT in advance) remains a major open question.
  • Beyond Mixtures: Since mixtures cannot achieve an absolute constant $C < 3$ in domain-independent time, the authors ask: what other compact representation classes of output distributions might work?
  • Preprocessing Scope: The subquadratic preprocessing result currently only applies when the domain $\mathcal{X}$ is finite (though the sample size and query time do not depend on $|\mathcal{X}|$). Extending this to continuous domains is an area for future work.

Summary updated

BibTeX
@inproceedings{aamand2026how,
  author = {Anders Aamand and Maryam Aliakbarpour and Justin Y. Chen and Sandeep Silwal},
  title = {{How fast can you find a good hypothesis?}},
  booktitle = {Conference on Learning Theory},
  year = {2026},
}
Figure