Skip to content

A Good Way to Find Good Hypotheses

Anders Aamand, Maryam Aliakbarpour, Justin Y. Chen, Sandeep Silwal, Ria Stevens, Liang-Yu Zou

cs.DS

Abstract

In the hypothesis selection problem, we are given sample and density access to a finite set of known hypotheses H={h1,…,hn}\mathcal{H}=\{h_1,\ldots,h_n\}, and samples from an unknown distribution pp, all over a possibly infinite domain X\mathcal{X}. The goal is to output a distribution qq whose total variation distance to pp is comparable to that of the best hypothesis in H\mathcal{H}, while minimizing the number of samples used from pp: letting OPT=min⁡iTV(p,hi)\mathsf{OPT}=\min_i\mathrm{TV}(p, h_i), we seek a guarantee of TV(p,q)≤C⋅OPT+ε\mathrm{TV}(p,q)\le C\cdot\mathsf{OPT}+\varepsilon with probability at least 1−δ1-δ. It is known that the optimal approximation factors are 33 when q∈Hq \in \mathcal{H} (proper), 3−2/n3-2/n when qq is a mixture of the hypotheses, and 22 when qq is unconstrained (improper) \cite{BousquetKS19, aamand26a}, all with Θ~(ε−2log⁡(n/δ))\tildeΘ(\varepsilon^{-2}\log(n/δ)) samples required from pp. The computational efficiency of algorithms achieving these results is in a puzzling state of affairs. For proper selection, the fastest algorithms (with near-linear dependence on nn) have polynomial dependence on 1/δ1/δ, and standard boosting tricks incur C>3C > 3. For improper selection, prior algorithms have running times that scale with ∣X∣|\mathcal{X}|, rendering them useless for real-valued distributions. We present algorithms achieving all three optimal approximation factors using the optimal O(ε−2log⁡(n/δ))O(\varepsilon^{-2}\log(n/δ)) samples from pp and near linear running time O(nε−2log⁡(n/δ))O(n\varepsilon^{-2}\log(n/δ)). In the improper setting, our output is an efficient sampler for qq, where each sample takes domain independent running time and no further samples from pp. The three results are achieved by a common approach which uses multiplicative weights to maintain a set of unnormalized densities ρρ which, on average, are at a similar distance to the hypotheses H\mathcal{H} as pp.

Create a lesson

Metadata

Categories
cs.DS, cs.LG, stat.ML