Likelihood-Free Hypothesis Testing (LFHT)
- Likelihood-Free Hypothesis Testing (LFHT) is a suite of simulation-based techniques for testing hypotheses when direct likelihood evaluations are intractable.
- LFHT methods leverage classifier-derived ratios, divergence estimators, and kernel discrepancies to approximate likelihood ratios and control error rates.
- These approaches are applied in diverse fields such as physics and population genetics, offering calibrated tests with near-optimal power in complex settings.
Searching arXiv for relevant papers on likelihood-free hypothesis testing and related methods. Likelihood-Free Hypothesis Testing (LFHT) denotes hypothesis-testing procedures in settings where the likelihood is unavailable or intractable, but forward simulation from the model is possible. Across the literature, LFHT replaces explicit likelihood evaluation by test statistics learned or estimated from simulated data, including classifier-derived likelihood-ratio surrogates, odds-ratio estimators, divergence estimators, and kernel discrepancies. In the formulation developed from likelihood-free inference by ratio estimation, the central object is a density ratio between distributions of summary statistics, estimated by logistic regression and then repurposed as a log-likelihood-ratio test statistic (Thomas et al., 2016). In a more explicitly frequentist formulation, LFHT is the construction of level- tests and confidence sets in simulator-based models by replacing the classical likelihood ratio test with an estimated odds-ratio statistic and calibrating rejection thresholds or p-values from simulation (Dalmasso et al., 2020). Related lines of work show that LFHT can also be implemented by divergence estimation (Wilkinson et al., 2024), kernel-based testing (Gerber et al., 2023), optimal-statistic learning in the presence of nuisance parameters (Heinrich, 2022), and classification-based discrepancy measures (Gutmann et al., 2014).
1. Conceptual formulation
LFHT addresses binary or composite hypothesis testing when one can sample from model-implied distributions but cannot evaluate or the corresponding likelihood in closed form. In the frequentist setting, the objective is to construct tests that control size, attain high power, and yield confidence sets with nominal coverage without requiring explicit likelihood evaluations (Dalmasso et al., 2020).
A common setup uses summary statistics computed from raw data . In the ratio-estimation formulation, the marginal distribution of summaries is
with a prior and induced by the simulator via . The key target is the marginal ratio
which yields posterior inference through
0
This same density-ratio machinery can be redirected toward hypothesis testing by replacing the marginal denominator 1 with a competing hypothesis distribution 2 or 3 (Thomas et al., 2016).
In the explicit LFHT formulation for two hypotheses, the test statistic is the estimated log-likelihood ratio on summaries,
4
where 5 is the logit of a trained classifier discriminating simulated summaries from 6 and 7, and 8 are class priors (Thomas et al., 2016).
The classical baseline remains the likelihood ratio test. For composite hypotheses,
9
the log-likelihood ratio statistic is
0
LFHT seeks to reconstruct this object, or an equivalent decision rule, without direct access to 1 (Dalmasso et al., 2020).
2. Ratio estimation and classifier-based likelihood ratios
A central insight of LFHT is that likelihood ratios can be recovered from classification. In the LFIRE construction, one defines a binary classification problem in which samples from 2 are labeled 3 and samples from the marginal 4 are labeled 5. The Bayes-optimal logit satisfies
6
Thus an estimate 7 implies
8
The paper emphasizes logistic regression with a linear logit 9, fitted by minimizing a penalized logistic loss with an 0 penalty for automatic summary-statistic selection (Thomas et al., 2016).
For LFHT, the same derivation applies directly to hypothesis discrimination. If one trains a classifier between 1 and 2, the Bayes-optimal logit is
3
so the classifier learns the log-likelihood ratio up to a known constant (Thomas et al., 2016).
ACORE makes the same connection in a parametrized form. It introduces the odds
4
where 5 indicates whether 6 came from 7 or from a reference distribution 8. By Bayes’ rule,
9
Taking odds ratios cancels the reference: 0 This exactly equals the likelihood ratio at 1, and allows a single parametrized classifier 2 to amortize likelihood-ratio estimation across 3 (Dalmasso et al., 2020).
Balanced two-class sampling yields the canonical classifier identity
4
which links optimal classification and likelihood ratios directly (Dalmasso et al., 2020). The same identity appears in classification-based likelihood-free inference more broadly: with equal priors,
5
and
6
This provides a direct route from classifier outputs to likelihood-ratio-type test statistics (Gutmann et al., 2014).
3. Statistical constructions and calibration
LFHT procedures differ mainly in the form of the test statistic and in how the rejection threshold is calibrated. ACORE defines, for a simple null 7,
8
and for a composite null,
9
Under perfect odds estimation, ACORE proves Fisher consistency: 0 so the learned statistic equals the classical likelihood ratio test statistic (Dalmasso et al., 2020).
The rejection threshold for the simple null is the conditional 1-quantile
2
For a composite null, one uses
3
which ensures size 4 (Dalmasso et al., 2020). ACORE estimates 5 by quantile regression of the test statistic on 6, then constructs confidence regions by inversion: 7 Under quantile-regression consistency and finite 8, the learned cutoffs converge in probability to valid level-9 thresholds, irrespective of odds-estimation quality (Dalmasso et al., 2020).
LF2I generalizes this amortized calibration principle. It treats the test statistic distribution, critical value 0, p-value, and coverage as conditional functionals that vary smoothly in 1. Given a learned statistic 2, it fits 3 by quantile regression, yielding tests of the form: reject 4 if 5. Confidence sets follow by inversion,
6
or equivalently through p-values (Dalmasso et al., 2021). This modular view permits ACORE and BFF statistics to be embedded in a single frequentist construction with empirical coverage diagnostics (Dalmasso et al., 2021).
An alternative route uses direct Monte Carlo calibration of the null statistic. In the LFIRE-derived LFHT construction, one simulates 7, computes 8, sets 9 as the 0-quantile, and rejects 1 when 2 (Thomas et al., 2016). This is conceptually simple and separates statistic learning from size control.
4. Major methodological families
LFHT is not a single algorithm but a family of procedures united by simulation access and lack of explicit likelihoods. The major families represented in the literature differ in what they estimate.
| Family | Core object | Representative paper |
|---|---|---|
| Ratio / odds estimation | Log-likelihood ratio via classifier logits or odds ratios | (Thomas et al., 2016, Dalmasso et al., 2020) |
| Classification discrepancy | Accuracy, AUC, or log-loss as discrepancy statistic | (Gutmann et al., 2014, Gerber et al., 2023) |
| Divergence estimation | 3-divergence or IPM estimated from samples | (Wilkinson et al., 2024, Corander et al., 2022) |
| Kernel testing | MMD-based test statistics for LFHT or mixed LFHT | (Gerber et al., 2023) |
| Learned optimal statistic | Neural statistic optimized for average power | (Heinrich, 2022) |
Classifier-based discrepancy methods treat the distinguishability of observed and simulated samples as the test statistic itself. With equal priors, Bayes accuracy satisfies
4
so under 5, no classifier can exceed chance, while under 6, higher classification performance indicates greater discrepancy (Gutmann et al., 2014). This supports tests based on cross-validated accuracy, ROC-AUC, or negative log-loss, calibrated by permutation or simulation-based nulls (Gutmann et al., 2014).
The CAT framework sharpens this view by showing that classifier/classification-accuracy testing can achieve near-minimax or minimax sample complexity for goodness-of-fit, two-sample testing, and LFHT in several nonparametric classes (Gerber et al., 2023). Its test statistic is the empirical difference
7
where 8 is a separating set learned from training data (Gerber et al., 2023). The paper’s contribution is not merely classifier use, but the proof that appropriately designed classifiers and thresholds recover minimax sample-complexity behavior.
Divergence-based LFHT replaces the likelihood ratio by a discrepancy 9 satisfying 0 and 1 iff 2. The 2024 divergence-based framework emphasizes 3-divergences such as KL, JS, TV, Hellinger, and Rényi, as well as IPMs such as MMD and Wasserstein, all estimated from samples by variational objectives optimized over neural critics (Wilkinson et al., 2024). In this view, a large estimated divergence 4 becomes the test statistic, and calibration is performed by permutation or bootstrap (Wilkinson et al., 2024).
For categorical simulator outputs, Jensen–Shannon divergence yields a particularly direct asymptotic theory. If 5 is the empirical distribution and 6 the model-implied category probabilities, then under 7,
8
In the symmetric case,
9
This yields asymptotically calibrated LFHT without repeated null resampling, and can be adapted to simulator-only access via large synthetic samples and bias correction (Corander et al., 2022).
Kernel-based LFHT uses maximum mean discrepancy. In the balanced two-class setting, one observes simulated 0, 1, and unlabeled 2, with the classical LFHT problem
3
The proposed MMD statistic is
4
with threshold
5
and decision rule
6
For classic LFHT, 7, and the test reduces to choosing the closer class in MMD (Gerber et al., 2023).
5. Theory, optimality, and sample complexity
Several strands of theory justify LFHT. In the LFIRE setting, the minimizer of the logistic regression loss converges to
8
and more generally to the log density ratio between any two distributions represented as the classifier classes (Thomas et al., 2016). This supports asymptotically valid likelihood-ratio approximation for testing as simulation budgets grow.
ACORE strengthens this connection with explicit frequentist guarantees. If 9 for all 00, then its test statistic equals the exact log-likelihood ratio statistic (Dalmasso et al., 2020). A theorem on cutoff consistency shows that, under quantile-regression consistency and finite 01, the learned critical value converges in probability to a valid level-02 threshold, so type-I error is controlled asymptotically regardless of odds-estimation error (Dalmasso et al., 2020). A separate power theorem states that when classifier posteriors converge and cutoffs converge appropriately, the rejection probabilities of the ACORE test converge to those of the likelihood ratio test (Dalmasso et al., 2020).
The learned-optimal-statistic approach addresses nuisance parameters from a different angle. For nested hypotheses 03 free, it trains a neural statistic 04 by classification between null samples and mixtures of alternatives lying on surfaces of equal Fisher distance from 05. Under standard regularity conditions, minimizing average cross-entropy over these surfaces yields a statistic that is a monotone transform of the profile likelihood ratio, hence asymptotically equivalent to the classical optimal test statistic (Heinrich, 2022). This establishes a route to profile-likelihood-ratio-type LFHT without explicit profiling of the nuisance parameter in the likelihood.
Another theoretical axis concerns minimax sample complexity. Gerber and Polyanskiy formulate LFHT as
06
where 07 and 08 are accessed only through 09 simulated samples each, the test batch 10 has size 11, and 12 (Gerber et al., 2022). For regular nonparametric classes, they show the feasible region
13
where 14 is the minimax goodness-of-fit sample complexity (Gerber et al., 2022). The key implication is that LFHT can avoid full density estimation when 15, but cannot circumvent estimation difficulty when 16 is minimal.
CAT closes the high-probability version of this picture in several classes. For bounded discrete, Hölder-smooth, and Gaussian-sequence families, it proves minimax high-probability LFHT sample complexity of the same form, with 17, 18, and 19 scaling according to the underlying goodness-of-fit complexity (Gerber et al., 2023). For unrestricted discrete distributions, the rates are near-minimax within polylogarithmic factors (Gerber et al., 2023).
The Gaussian-sequence analysis refines these tradeoffs geometrically. For quadratically convex 20, the LFHT feasibility region is characterized, up to constants, by
21
where 22 is the Kolmogorov dimension (Jia et al., 22 Jul 2025). For 23, new simulator–observation tradeoffs arise via an effective dimension 24, showing that the simple ellipsoidal rule 25 does not extend verbatim to non–quadratically-convex classes (Jia et al., 22 Jul 2025). This suggests that LFHT sample complexity is sensitive not only to separation 26 but to the geometry of the hypothesis class.
Kernel-based LFHT adds another theoretical layer: in mixed LFHT, where the unlabeled batch may be a mixture 27, the MMD-based test achieves total error 28 under explicit upper bounds of the form
29
with matching lower bounds up to constants and logs (Gerber et al., 2023). The asymmetric 30 dependence formalizes the simulation–experimentation tradeoff.
6. Applications, empirical illustrations, and limitations
Empirical studies of LFHT span canonical low-dimensional examples and challenging nonlinear simulators. LFIRE demonstrates Gaussian mean estimation, ARCH(1), Lorenz ’96 with stochastic parametrization, and a cell spreading model with 291 summaries. In these examples, penalized logistic regression recovers relevant summary terms, improves posterior approximation relative to synthetic likelihood, and remains robust to irrelevant summaries (Thomas et al., 2016). The LFHT reinterpretation of this machinery naturally extends to model discrimination and parameter-level tests in these same settings (Thomas et al., 2016).
ACORE evaluates toy Poisson and Gaussian mixture models, along with a high-energy physics signal-detection problem. In the toy examples, smaller cross-entropy loss corresponds to higher power and smaller confidence sets, while all constructed confidence sets achieve nominal 90% coverage by diagnostics (Dalmasso et al., 2020). In the HEP application, selected deep classifiers and deep quantile regression produce confidence regions closely matching exact likelihood-ratio sets, and diagnostics identify undercoverage regions for suboptimal calibrators (Dalmasso et al., 2020).
LF2I broadens the empirical scope to Gaussian mixtures, Poisson counting with nuisance parameters, and 31-dimensional muon-energy images. It shows that Wilks-type asymptotics can under-cover in finite samples, while amortized quantile-regressed cutoffs recover nominal coverage without per-32 Monte Carlo (Dalmasso et al., 2021). In the Poisson-nuisance example, h-ACORE is conservative and h-BFF yields tighter intervals with localized undercoverage, illustrating the value of explicit coverage diagnostics (Dalmasso et al., 2021).
The exchangeable-neural-network framework in population genetics presents a summary-statistic-free version of LFHT. A classifier 33 yields the approximate likelihood ratio
34
with thresholds calibrated by null simulations (Chan et al., 2018). Applied to recombination hotspot testing, the method substantially outperforms LDhot under realistic recombination maps, while respecting permutation invariance across haplotypes through the network architecture (Chan et al., 2018). This suggests that LFHT can be carried out directly on structured raw data when suitable inductive biases are available.
Divergence-based LFHT shows that high-dimensional alternatives invisible to low-order marginals can still be detected through learned variational critics. In a 9-dimensional parity-asymmetry example, KL divergence estimated by a neural critic yields a lower bound of approximately 35, providing strong evidence of a difference between the simulated and reference distributions despite matching one- and two-dimensional marginals (Wilkinson et al., 2024).
Several limitations recur across methods. Summary-statistic approaches remain vulnerable to misspecified or uninformative summaries; if 36 cannot discriminate 37 from 38, power collapses (Thomas et al., 2016). Classifier-based methods can lose power when the classifier family is inadequate, miscalibrated, or overfit, although correct threshold calibration can still preserve validity (Dalmasso et al., 2020). Variational divergence estimators can be optimistically biased if evaluated on training data, and KL-type objectives may be numerically unstable because of exponential terms (Wilkinson et al., 2024). Kernel methods depend strongly on kernel choice and bandwidth, and theoretical guarantees for learned kernels remain incomplete (Gerber et al., 2023). In nuisance-parameter settings, profiling tends to be conservative while marginalization can under-cover in specific regions (Dalmasso et al., 2021).
A frequent misconception is that LFHT is merely approximate Bayesian computation applied to testing. The literature points instead to a broader landscape. ABC uses acceptance thresholds and discrepancy measures tied to summary statistics, whereas LFHT often targets the likelihood-ratio principle directly through odds-ratio estimation, divergence duality, or explicit minimax constructions (Dalmasso et al., 2020). Another misconception is that classifier-based testing is inherently heuristic. The Neyman–Pearson linkage, the Fisher-consistency results for ACORE, the asymptotic profile-likelihood equivalence in nuisance settings, and the minimax sample-complexity theorems for CAT all show that classification-based LFHT can be theoretically aligned with optimal testing, provided the classifier is embedded in a calibrated testing procedure (Dalmasso et al., 2020, Heinrich, 2022, Gerber et al., 2023).
Taken together, these developments position LFHT as a simulator-native reformulation of hypothesis testing. Its core principle is stable across implementations: when explicit likelihoods are unavailable, one can still learn or estimate a decision statistic from simulations, calibrate it under the null, and recover valid frequentist or Neyman–Pearson-style inference. The differences among LFIRE, ACORE, LF2I, divergence-based methods, kernel tests, and classification-accuracy tests concern not the objective itself, but the representation of the discriminating signal and the mechanism used to control error.