arXiv:2610.08210stat.MLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.08210

Anytime-valid simulation-based hypothesis testing

Patrick Forré, Lydia Brenner

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

For a given data distribution (Xt)t∈N∼i.i.d.Q(X_t)_{t\in\mathbb{N}} \stackrel{\mathrm{i.i.d.}}{\sim} Q, 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 simulations (Zt0)t∈N∼i.i.d.P0(Z_t^0)_{t\in\mathbb{N}} \stackrel{\mathrm{i.i.d.}}{\sim} P_0 and (Zt1)t∈N∼i.i.d.P1(Z_t^1)_{t\in\mathbb{N}} \stackrel{\mathrm{i.i.d.}}{\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.

1 Introduction

Experimental particle physics generally focuses on distinguishing between competing hypotheses about the underlying processes responsible for the observed data. Often this is done in the form of testing an alternate hypothesis H1H_1 versus the so called Standard Model (SM) of particle physics, which acts as the null hypothesis H0H_0. At the Large Hadron Collider (LHC), this is done both for searches for new phenomena and in precision measurements of the Standard Model. The observed events are the result of a complex sequence of stochastic processes, particle interactions with the detector, and the reconstruction of measurable quantities. Statistical hypothesis testing then provides the framework through which theoretical predictions are tested based on actual experimental observations x=(xn)n∈[N]x = (x_n)_{n\in[N]} that originated from the underlying true physical distribution QQ.

In particle physics, the alternative hypothesis H1H_1 usually consists only of a single model P1P_1 that arises as an extended version of the Standard Model P0P_0. In such a setting, where one only has a simple null hypothesis H0:Q=P0H_0: Q = P_0 and a simple alternative H1:Q=P1H_1: Q = P_1, the standard way of testing H0H_0 versus H1H_1 is through the likelihood ratio:

Λ(x):=p1(x)p0(x),(1)\Lambda(x):=\frac{p_{1}(x)}{p_{0}(x)}, \tag{1}

where p1p_1 and p0p_0 are the corresponding probability densities of H1H_1 and H0H_0, respectively. The reason for this lies in the Neyman-Pearson lemma, which states that, for the simple-vs-simple setting, a test based on a threshold applied to the likelihood ratio Λ(x)\Lambda(x) is the most powerful test at each fixed significance level α∈(0,1]\alpha \in (0,1], see [NP33, FC98].

For example, in the LHC experiments such as ATLAS [ATL08] and CMS [CMS08], in the search for the Higgs boson, which was discovered in 2012, see [ATL12, CMS12], a likelihood ratio was used between the null-hypothesis H0H_0 of “no Higgs boson present” and the alternate hypothesis H1H_1 of the “existence of a Higgs boson” in the data. In collider analyses, related likelihood-ratio and profile-likelihood constructions form the basis of widely used procedures for hypothesis testing, parameter estimation, and the treatment of nuisance parameters, see [CCGV11, CER11].

However, in realistic LHC analyses, the probability densities p0p_{0} and p0p_{0} entering the likelihood ratio Λ\Lambda are rarely available in analytic or closed form. The mapping from the underlying theory parameters to the reconstructed detector-level data involves multiple stages of particle production and detector response, making direct evaluation of the high-dimensional likelihood ratio computationally difficult or intractable, see [BC20]. Monte Carlo simulation therefore plays a central role in modern collider physics. Event generators model the underlying particle interactions and subsequent evolution of the event, while detailed detector simulations model the propagation of particles through the experimental apparatus and its response. The resulting simulated events provide samples from the distributions predicted by a given physical hypothesis and allow theoretical models to be compared with data at the level at which measurements are actually performed. In consequence, simulations are used not only for estimating signal and background distributions but also for modelling detector efficiencies and acceptance, validating analysis procedures, and evaluating systematic uncertainties. The connection between likelihood-ratio optimality and simulation is particularly relevant when the likelihood itself cannot be evaluated explicitly. If independent samples can be generated under competing hypotheses, the problem of distinguishing them can instead be formulated directly in terms of the simulated distributions.

With more modern methods, such as deep learning, a classifier can be trained to distinguish samples drawn from P0P_0 and P1P_1, under appropriate conditions and with sufficient capacity and training data, to learn an approximation Λ^\hat{\Lambda} of the likelihood ratio Λ\Lambda, which then can be used as a surrogate in the testing procedure and which allows to calculate p-values as a measure of significance.

However, the classical hypothesis testing approach based on p-values has further drawbacks, especially when the sample size needed for a targeted effect size is a priori unknown. The test is generally only valid for a chosen sample size fixed in advance: no “peeking”, no optional stopping or optional continuation is allowed. In addition, one can not easily aggregate evidence against the null hypothesis H0H_{0} from different experiments, or conduct multiple hypothesis tests at once, etc. As a remedy, the anytime-valid sequential testing procedure testing by betting was recently developed, see [SSVV11, VW21, GdHK20, WRB20, HZ21, RGVS23, RW25]. Also in this framework, the standard approaches require, in the simple-vs-simple setting, the likelihood ratio Λ\Lambda, which we do not have in the density-free, simulation-based context.

In this paper, we want to address both points at once: 1.) the density-free/simulation-based hypothesis testing setting (without analytic densities p1p_1, p0p_0), and: 2.) building an anytime-valid sequential hypothesis testing procedure. Our construction will result in a sequential test, which comes with anytime-valid type-I error guarantees, approximate growth optimality, geometrically decaying type-II error bounds and asymptotic power one. We also show that the test statistics will implicitly approximate the likelihood ratio Λ\Lambda.

References (48)