stat.MLNov 23, 2026

Statistically Optimal and Near Linear Time Hypothesis Selection

Authors: Satyen Kale, Amirreza Shaeiri, Kunal Talwar

Organizations: Apple · Purdue University

Abstract

In hypothesis selection we are given nn distributions q1,…,qnq_1,\dots,q_n on a countable domain X\mathcal{X} and samples from an unknown distribution pp. The goal is a distribution qq with TV(p,q)≤αmin⁡iTV(p,qi)+ε\mathrm{TV}(p,q)\leα\min_i\mathrm{TV}(p,q_i)+ε. The factor α=2α=2 is optimal for algorithms using a number of samples from pp that is independent of ∣X∣|\mathcal{X}|, and in general only improper learners achieve it. We give a learner that achieves α=2α=2 with O(log⁡(n/δ)/ε2)O(\log(n/δ)/ε^2) samples of pp, with probability at least 1−δ1-δ. This matches the sample complexity of Yatracos's factor-33 estimator, and it removes the logarithmic factors in the factor-22 bound of Bousquet et al. (FOCS 2021). The learner accesses the qiq_i only through sampling and pointwise comparisons. We measure its running time by its oracle complexity, the number of oracle calls. In expectation it makes O((nε−2+ε−4log⁡(1/ε))log⁡(n/δ))O((nε^{-2}+ε^{-4}\log(1/ε))\log(n/δ)) oracle calls, independent of X\mathcal{X}. It runs multiplicative weights over the constraints TV(q,qi)≤TV(p,qi)\mathrm{TV}(q,q_i)\le\mathrm{TV}(p,q_i) and uses at most one sample of pp per round.

Figures & tables

Explore similar work

Oct 14, 2026

Hypothesis Selection via Weighted Medians

Given nn distributions (hypotheses) H={H1,…,Hn}\mathcal H=\{H_1,\ldots,H_n\} and samples from an unknown target distribution PP, proper hypothesis selection seeks a distribution whose total variation distance to PP is close to the best achievable within the known distributions. We give an algorithm that, using O(ε−2log⁡(n/δ))O(\varepsilon^{-2}\log(n/δ)) target samples, running in O(nε−2log⁡(n/δ))O(n\varepsilon^{-2}\log(n/δ)) time, with probability at least 1−δ1-δ, returns Hi^H_{\hat i} satisfying dTV(P,Hi^)≤3min⁡i∈[n]dTV(P,Hi)+ε.d_\mathrm{TV}(P,H_{\hat i})\leq 3\min_{i\in[n]}d_\mathrm{TV}(P,H_i)+\varepsilon. The algorithm achieves the optimal approximation factor and sample complexity. The running time improves the dependence on the failure probability from polynomial to logarithmic in the state-of-the-art bound O~(nε−2δ−1)\tilde{O}(n\varepsilon^{-2}δ^{-1}) of Aamand, Aliakbarpour, Chen, and Silwal (COLT 2026), thereby answering their Question~2.
Oct 11, 2026

Sample-Optimal Multi-Group Learning with an ERM Oracle

In multi-group learning, a single predictor must perform nearly as well as the best hypothesis in a class on every group in a rich, possibly infinite and overlapping, collection of subpopulations. The known algorithms with the optimal sample complexity keep track of every pair of a group and a hypothesis, which is impossible for the large classes of interest, and the known oracle-based algorithms have a worse rate. We ask whether the optimal rate can be attained by a learner that accesses the classes only through an empirical risk minimization (ERM) oracle. We give an algorithm that uses O~((dG+dH)/ε2)\tilde{O}((d_G+d_H)/\varepsilon^2) samples and polynomially many calls to a weighted ERM oracle over pairs of a group and a hypothesis, where dGd_G and dHd_H are the VC dimensions of the group and hypothesis classes and ε\varepsilon bounds the excess risk on every group, weighted by its probability. We also show a matching lower bound of Ω((dG+dH)/ε2)Ω((d_G+d_H)/\varepsilon^2) samples for every learner even with unlimited computation, so oracle efficiency costs no additional samples. We also consider a natural special case in which every input belongs to at most kk groups and these groups can be listed. In this case, an ERM oracle for the hypothesis class alone suffices, with O~((dH+log⁡k)/ε2)\tilde{O}((d_H+\log k)/\varepsilon^2) samples in the agnostic setting and O~((dH+log⁡k)/ε)\tilde{O}((d_H+\log k)/\varepsilon) samples when every group has a hypothesis that is correct on it.
Jul 27, 2026

Learning Distributions from Multiple Data Providers

Motivated by learning from heterogeneous and overlapping data providers, we study a stylized model of distribution learning from restricted conditional samples. The goal is to learn an unknown distribution pp on a finite domain [n][n]. The learner is given a fixed family of queryable sets S⊆2[n]\mathscr{S} \subseteq 2^{[n]}, and each query to S∈SS \in \mathscr{S} returns an independent sample from the conditional distribution p(⋅∣S)p(\cdot \mid S). Learnability is governed by the co-occurrence graph associated with S\mathscr{S}: two domain elements are adjacent if they appear together in some queryable set. Pointwise consistency is achievable when this graph is connected on the target support. PAC learning requires more: it is possible when the co-occurrence graph is complete. The optimal sample complexity of PAC learning ranges from nearly linear to quadratic. Every query family with complete co-occurrence graph admits sample complexity O~(n2/ε2)\widetilde O(n^2/ε^2), and this bound is tight in the worst case. On the other hand, if [n][n] is queryable then ordinary sampling improves the bound to Θ(n/ε2)Θ(n/ε^2), and this cannot be improved further even if every set is queryable. More generally, we identify hierarchical comparabilityas a sufficient structural condition on S\mathscr S under which the optimal complexity is nearly linear, Θ~(n/ε2)\widetilde Θ(n/ε^2), with pairwise query families as a canonical example. Finally, the full range of polynomial rates between linear and quadratic is attainable: for every α∈(1,2)α\in (1,2), there exists a query family with optimal PAC rate Θ~(nα/ε2)\widetilde Θ(n^α/ε^2).