cs.LGOct 21, 2026

Asymmetric Likelihood-Free Hypothesis Testing

Authors: Gunjan Kumar, Yash Pote, Jonathan Scarlett

Organizations: IIT Kanpur · National University of Singapore

Abstract

In likelihood-free hypothesis testing (LFHT), given samples from two unknown distributions P,QP,Q on [n][n] with dTV(P,Q)≥ε\mathrm{d_{TV}}(P,Q)\geq\varepsilon, and from a third distribution D∈{P,Q}D\in\{P,Q\}, the goal is to identify whether D=PD=P or D=QD=Q. We study asymmetric likelihood-free hypothesis testing, where the sample budgets sPs_P and sQs_Q for PP and QQ may differ, and characterize the feasible triples (sP,sQ,sD)(s_P,s_Q,s_D) up to logarithmic factors. We establish that unequal reference budgets can give a polynomial saving. For instance, for constant separation, nn samples from PP and n3/4n^{3/4} from QQ allow testing with O~(n1/4)\widetilde O(n^{1/4}) samples from DD, whereas both existing baselines---symmetric LFHT and unequal-sample closeness testing---require Ω(n)Ω(\sqrt n) samples from DD. We further apply our results to non-adaptive distribution 2-clustering, where the sample allocation among kk distributions must be fixed before observing any data. We obtain matching upper and lower bounds for this problem up to logarithmic factors in terms of the domain size, number of distributions, smaller cluster size, and separation, both with one cluster distribution known and with both unknown. Comparing with known bounds for adaptive sample allocation gives a worst-case adaptivity gap of Θ~(k1/4)\widetildeΘ(k^{1/4}).

Figures & tables

Explore similar work

May 22, 2026

Entropy Equivalence Testing

We introduce the problem of entropy equivalence testing for probability distributions, a relaxation of the well-studied closeness testing problem, where the distribution testing algorithm is now only required to distinguish, given samples from two unknown distributions p,qp,q and a parameter ε∈(0,1/2]\varepsilon \in(0,1/2], between p=qp=q and ∣H(p)−H(q)∣≥ε|H(p)-H(q)| \geq \varepsilon (where HH denotes the Shannon entropy). We provide a time- and sample-efficient algorithm for this task, showing that the optimal sample complexity for this task can be significantly lower than that of closeness testing. As an application, we leverage this result to provide the first non-trivial testing algorithm for (standard) closeness of low-degree Bayesian networks, which significantly improves on either the sample or time complexity of a baseline based on full learning.
Jun 7, 2026

LOTTERY: Learning from Reference-Only Samples in Two-Sample Testing under Size Asymmetry

Data-adaptive two-sample testing assesses if two samples come from the same distribution, using a discrepancy learned from the data (e.g., via kernel-based feature representations). Such methods typically rely on data splitting to decouple learning from testing and control type I error. However, this paradigm is ill-suited to few-shot settings with severe sample-size imbalance: abundant reference samples are available, while only a handful of query samples arrive. In this paper, we show how this imbalance can be leveraged constructively. Using abundant reference data, we learn reference-dependent representations that summarize salient structure of the reference distribution and provide informative signals for detecting departures. We incorporate a collection of representation families that capture both global and local structure, and adaptively weight them using only reference samples via an uncertainty-guided principle. Theoretically, we establish permutation-based type I error control and show consistency of the aggregated test: as the sample sizes grow, the test power converges to one whenever the representation set contains at least one consistent representation. Empirically, our aggregation achieves strong performance across a range of benchmarks while retaining type I error control.
Oct 6, 2026

Anytime-valid simulation-based hypothesis testing

For a given data distribution (Xt)t∈N∼Q(X_t)_{t \in \mathbb{N}} \sim Q i.i.d., we investigate the hypothesis testing problem: H0:Q=P0H_0: Q = P_0 vs. H1:Q=P1H_1: Q = P_1, for two different model probability distributions P0P_0 and P1P_1. In contrast to the standard setting, where analytic densities p0p_0 and p1p_1 are given, here, we consider the density-free setting, where we only have access to i.i.d. simulations (Zt0)t∈N∼P0(Z^0_t)_{t \in \mathbb{N}} \sim P_0 and (Zt1)t∈N∼P1(Z^1_t)_{t \in \mathbb{N}} \sim P_1. For this simulation-based hypothesis testing setting, we construct an e-test martingale, resulting in a sequential test with anytime-valid type-I error guarantees, approximate growth optimality, geometrically decaying type-II error bounds, and asymptotic power one. Most ingredients used in our constructions are variants of well known concepts. The value of this paper lies in the compact presentation of an effective, anytime-valid solution for the density-free simulation-based sequential hypothesis testing case.