betaFeedback

WorksPhysics and Astronomy

The Look-Elsewhere Effect in Searches for New Physics: from Classical Methods to Machine Learning

Abstract

The look-elsewhere effect (LEE) arises when the location of an effect in parameter space is not specified in advance: scanning many locations inflates the significance of the largest excess, and the local pp-value must be corrected into a global one. A well-established framework, rooted in the work of Davies and operationalised for particle physics by Gross and Vitells, provides this correction for scans over continuous parameters. Some aspects, however, remain unsettled. The definition of "elsewhere" is ambiguous and ranges from a single distribution to an entire experimental programme. Moreover, the analytical shortcuts of the classical framework do not carry over to searches based on machine learning (ML), which are affected by an implicit post-selection bias that depends on the model's resolution and expressiveness. This review covers the LEE in searches for new physics at colliders, from its statistical foundations to these modern challenges. We discuss the corrections for continuous scans and for multiple discrete tests, illustrated with simple numerical examples, and the interaction between ML and the LEE, which we connect to the broader literature on selective inference. We highlight open problems, including the computational cost of empirical calibration for complex models and the development of analytical shortcuts for ML test statistics, and offer recommendations for reporting discovery significance in both classical and ML-based searches in particle physics.

Introduction

In experimental science, the strength of evidence against a hypothesis is commonly quantified by a pp-value: the probability, under the assumption that the hypothesis is true, of observing data at least as extreme as what was actually observed. A small p-value indicates that the data are unlikely under the hypothesis, and is taken as evidence against it. By convention, the hypothesis being tested is the null hypothesis H0H_0 — typically the prediction of a known theory or the absence of a new effect — and a sufficiently small p-value is interpreted as a discovery: evidence that the null is wrong and something new is present.

When the location of the new effect in some parameter space is known in advance — for example, if theoretical physics predicts a particle at a specific mass — the p-value is computed at that mass location and the interpretation is straightforward. But when the location is not known, the analyst must scan over many possible values. The local pp-value (plocalp_{\mathrm{local}}), computed at the most significant location within the scan, overstates the evidence, because even under the null hypothesis, scanning many locations makes it likely that at least one will produce a small p-value by chance. The global pp-value (pglobalp_{\mathrm{global}}) corrects for this by answering the question: what is the probability, under the null, of finding an excess at least as significant as the one observed anywhere in the scan range?

The problem is known by different names in different communities. Physicists call it the look-elsewhere effect and quantify it through a trial factor. Statisticians frame the same phenomenon as hypothesis testing when a nuisance parameter is present only under the alternative [1, 2] or, more broadly, as selective inference [3, 4]: any situation in which the data are used both to select what to test and to perform the test. The LEE is one instance of this broader class of post-selection problems — the selection being “pick the parameter value that maximises the test statistic.” Other instances arise across the sciences: variable selection in regression (which features are significant? [5]), subgroup analysis in clinical trials (which patient groups benefit from treatment? [6]), model selection (which model fits best? [7]), and region selection in neuroimaging (which brain areas are active? [8]). In all cases the statistical pathology is the same — the more places you look, the more likely you are to find a significant-looking statistical fluctuation — and the solutions (conditioning on the selection, splitting the data, or constraining the selection’s expressiveness) are shared.

In the physical sciences, the problem was first addressed systematically in the context of signal detection. Davies derived sharp bounds on the global p-value in terms of the level crossings of a stochastic process [1, 2], and Gross and Vitells (GV) translated this into a practical recipe for high-energy physics, enabling the trial factor to be estimated from a modest number of pseudo-experiments [9]. These tools are now standard in collider searches for narrow resonances, and variants have been adopted in astrophysics (including searches for dark matter annihilation lines in gamma-ray spectra [10] and, with a two-dimensional extension [11], neutrino point sources in the sky), and in cosmology (including searches for gravitational wave signals from compact object mergers [12], for signatures of inflation in Planck data [13], and for exoplanets [14]). The LEE has been an important part of the statistical discussion surrounding major discoveries: the Higgs boson was reported by both ATLAS [15] and CMS [16] using local significances of 5.9σ5.9\sigma and 5.0σ5.0\sigma respectively, with global p-values quoted separately as supporting information.

Yet the problem is not fully settled, for at least three reasons.

First, the definition of “elsewhere” is ambiguous. A search for a resonance at an unknown mass involves a LEE within a single distribution, but what about a programme of searches across many final states, or across all analyses at a laboratory? Different definitions of the search space lead to different trial factors, and the choice involves scientific judgment as much as statistics. The general searches conducted at the Tevatron [17] and the LHC [18, 19] have confronted this question operationally, scanning hundreds of final states and thousands of kinematic distributions for deviations from the Standard Model. Their solution — running the full analysis pipeline on background-only pseudo-experiments across all channels simultaneously — calibrates the global p-value exactly but at substantial computational cost. The scope of “elsewhere” also has a temporal dimension: as an experiment accumulates data over time, an excess can appear at different times as well as at different locations, a “look-elsewhen” effect that a single scan of the final dataset does not capture. The e-value framework [20, 21] addresses this axis directly, providing inference that remains valid at any stopping time by construction (§ 5).

Second, the classical framework assumes specific structure that may not hold in general. The Davies bound requires the test statistic to be a Gaussian or χ2\chi^2 process; the Gross-Vitells extrapolation relies on the analytical scaling of this process at high significance. When these assumptions hold, the resulting corrections are tight and computationally cheap. When they do not — as is the case for many machine learning-based test statistics — one must fall back on cruder tools such as the Bonferroni correction, which controls the family-wise error rate but is needlessly conservative for correlated tests, or the Benjamini-Hochberg procedure [22] and its Benjamini-Yekutieli extension to arbitrary dependence [23], which control the false discovery rate under weaker assumptions but have seen little adoption in particle physics, where selections are conventionally characterised by signal efficiency and background mis-identification rate rather than by false-discovery control.

Third, machine learning is transforming the way searches are conducted, and it interacts with the post-selection problem in a particularly acute way. Classical searches use a fixed, pre-specified signal template that does not adapt to the data, so the selection (where to look) is independent of the test (how significant is the excess). Signal-agnostic machine learning-based searches break this independence by fitting a flexible model globally to the full phase space in a single pass. The model is richer and potentially more sensitive, but its flexibility means it can overfit to statistical fluctuations anywhere in the data, producing an implicit LEE whose intensity depends on the model’s resolution, regularisation, and architecture, none of which are accounted for by the Davies/GV framework. The standard remedy — calibrating the p-value via pseudo-experiments that run the full pipeline on background-only data — remains valid but becomes computationally expensive when each pseudo-experiment requires retraining the model. Approximations such as train/test splitting and kk-folding have been proposed [24], but their sensitivity cost relative to full calibration has not been established.

This paper reviews the look-elsewhere effect as it arises in searches for new physics at colliders, from its classical statistical foundations through its modern incarnations in multiple testing theory, and signal-agnostic machine learning-based searches. The statistical problem is not specific to particle physics, and throughout the review we point to its counterparts in astrophysics, cosmology, genomics and clinical trials where they clarify the discussion. The conventions, the illustrative examples and the recommendations target the high-energy physics community.

Section 2 discusses the ambiguity of “elsewhere” and the different levels at which the LEE arises. The classical continuous and discrete correction methods are reviewed in Sections 3 and 4. Section 5 then introduces e-values as an alternative framework. We turn in Section 6 to the specific challenges posed by machine learning methods: the implicit LEE that arises when a flexible model is fitted to the data, the role of model resolution, calibration strategies, and the additional LEE incurred when several models are applied to the same data. Section 7 proposes a few illustrative examples of the LEE problem and compares different methods to account for it. Finally, Section 8 collects recommendations and open problems.

Where is ``Elsewhere''?

The look-elsewhere effect corrects for the fact that a signal could have appeared somewhere other than where it was observed. But this immediately raises a question: what counts as “somewhere”? Different choices of the search space lead to different trial factors, and the choice is not always obvious. It is useful to distinguish several nested levels of “elsewhere”, each with different practical implications. Below, we describe just three.

Case (i): within a single distribution

This is the standard Davies/Gross-Vitells setting that will be described in Section 3: one scans a single kinematic distribution (typically an invariant mass spectrum) over a range of values, and the LEE arises from the freedom to find the most significant excess anywhere in that range. Even in this simplest case, the definition of the scan range involves choices that affect the trial factor.

The upper end of the range should be set by where the analysis loses sensitivity. In the Higgs search, a useful criterion is the highest mass at which a 5σ5\sigma peak would still be considered a plausible signal. For a Standard Model Higgs search, this means the mass at which the predicted cross-section becomes too small for the analysis to have any sensitivity.

The lower end raises a different issue: should previously excluded regions contribute to the LEE? For the Higgs boson discovery, the LEP experiments had excluded mH<114.4m_H < 114.4 GeV at 95% confidence. Should the LHC search range start at 114.4 GeV, thereby reducing the trial factor? There is an argument either way. If a significant signal were observed in the LEP-excluded region, most physicists would still want to claim it as a discovery — the LEP exclusion was only at 95%, not 5σ5\sigma. Including the LEP-excluded region in the scan range is therefore the conservative and arguably a better choice. The same logic applies more strongly to previous exclusions from the LHC experiments themselves: using last year’s exclusion to shrink this year’s scan range amounts to ignoring the new data in those mass regions, which is hard to justify. The same question arises in any scan-based search: in a neutrino point-source analysis, should the scan cover the full sky or only the Galactic plane? In a genome-wide association study (GWAS), which tests millions of single-nucleotide polymorphisms (SNPs) — individual positions in the genome where individuals differ by a single DNA base — for association with a trait or disease, should previously tested SNPs be included in the current study’s multiple testing correction?

Case (ii): across multiple analyses

When many analyses are conducted in parallel — for example, all SUSY searches at a given experiment, or searches for the same resonance in different decay channels (diphoton, four-lepton, bbˉb\bar{b}, etc.) — a significant result in any one of them must in principle be penalised for the total number of places where a fluctuation could have appeared. This is a different kind of LEE than case (i): the “elsewhere” is not within a single distribution but across an ensemble of distributions or final states. For searches in different decay channels, this across-channel penalty applies only when the relative signal rates (branching ratios) are unknown and each channel is tested independently; if they are fixed by the signal model, the channels are instead combined in a single fit with their relative normalisations constrained, and there is no multiplicity over channels to correct for.

This is also the setting addressed by the model-independent general searches that have been carried out at the Tevatron and the LHC. The CDF Global Search [17] partitioned high-pTp_T events into 399 exclusive final states and scanned 5036 invariant-mass distributions using three complementary algorithms: Vista (a global comparison of event populations and kinematic shapes), the BumpHunter [25] (a scan for narrow resonances in invariant mass distributions), and SLEUTH [26] (a scan for excesses in the high-∑pT\sum p_T tails). The ATLAS experiment developed a similar strategy [18], where events were classified into 704 exclusive event classes, 686 of which were retained for the statistical analysis, and two kinematic distributions, the effective mass and the total invariant mass, were scanned in each. The CMS MUSiC analysis [19] follows the same philosophy, searching hundreds of final states and multiple kinematic distributions for deviations from the Standard Model prediction.

In all of these analyses, the case-(ii) LEE is handled by the same mechanism as case (i): background-only pseudo-experiments that run the full pipeline across all channels simultaneously. The BumpHunter computes a local p-value for the most significant bump in each mass distribution, then generates pseudo-experiments in which the same scanning algorithm is applied to every distribution, producing a null distribution of the most significant p-value across all channels. The global p-value is read off from the tail of this distribution. MUSiC follows a two-level procedure: for each distribution, a local p-value p~\tilde{p} is computed via O(105)O(10^5) pseudo-experiments that account for the within-distribution LEE (case (i)); then a second layer of pseudo-experiments asks how often any distribution produces a p~\tilde{p} as small as the observed minimum, accounting for the across-distribution LEE (case (ii)).

Choudalakis [25] formalised this nested structure through the concept of “hypertests”: a hierarchy of hypothesis tests in which the test statistic at each level is the most significant result from the level below. The trial factor at each level is estimated by pseudo-experiments at that level. This framework makes explicit that the case-(ii) LEE is not fundamentally different from case (i) — it is simply an additional layer of the same maximisation-over-nuisance-parameters problem, with the “nuisance parameter” being the identity of the channel rather than the mass within a channel.

The computational cost of this approach scales with the number of channels times the number of mass bins times the number of pseudo-experiments. For the CDF search (399 final states, ∼5000\sim5000 mass variables, O(105)O(10^5) pseudo-experiments), this was already demanding; for future searches with ML-based anomaly detection across high-dimensional feature spaces, it may become prohibitive without approximation schemes analogous to the Gross-Vitells extrapolation.

Outside particle physics, the canonical case-(ii) setting is the genome-wide association study, where millions of genetic variants are tested for association with a disease and the LEE spans all variants simultaneously [27].

Case (iii): across all analyses at a laboratory

The more expansive definition of “elsewhere” would include all analyses conducted at a given experiment or laboratory. If an experiment runs hundreds of searches for different new physics scenarios, a 5σ5\sigma fluctuation in any one of them is less surprising than a 5σ5\sigma fluctuation in a single pre-specified search. From a purely statistical standpoint, any anomaly found anywhere in a large experimental programme should be penalised for the total number of places where it could have been found.

In practice, nobody applies a formal LEE at this level. The implicit assumption is that each analysis has a specific physics motivation that distinguishes it from a random scan: a search for stop quarks is not the same as a search for dark photons, even if both scan a mass spectrum. The 5σ5\sigma discovery threshold serves as a large safety margin that implicitly absorbs this unquantified case-(iii) LEE (see § 2.5).

However, model-agnostic ML searches blur the boundary between targeted and untargeted analyses. A ML anomaly detector that scans the full phase space across all observables simultaneously is operationally closer to the case-(iii) extreme than to a single targeted search. It is searching for “anything unusual anywhere”, and the LEE should in principle reflect this. The general searches described in § 2.2 partially address this by scanning many final states, but they still rely on pre-defined event classifications and kinematic variables that are typically analysed in univariate setting. ML methods that learn features directly from multidimensional data go further, scanning an implicitly defined and potentially much larger space of possible anomalies. In this sense, ML-based anomaly detection makes the case-(iii) LEE quantitatively relevant for the first time: the effective search space of a single ML analysis may rival that of an entire programme of targeted searches, and the appropriate trial factor correction is an open problem that we address in § 6.

The difference among the three cases can be understood in terms of whose LEE is being computed. A graduate student performing a single analysis defines “elsewhere” as the scan range of that analysis. The convener of a search programme (e.g., all SUSY searches at CMS) might define it as the union of all analyses in the programme. The spokesperson of the experiment might consider all analyses conducted by the collaboration. The director-general of the laboratory might, in principle, consider all analyses at all experiments. Each of these defines a different and progressively larger search space, leading to a progressively larger trial factor for the same local excess. The same 3σ3\sigma fluctuation that is noteworthy from the graduate student’s perspective may be entirely unremarkable from the spokesperson’s.

In practice, the convention in particle physics is to report the global p-value using the analyst’s own definition of the search range. This is the narrowest and most precisely defined scope, corresponding to case (i) or a well-delineated instance of case (ii). It is reproducible, unambiguous, and directly tied to the analysis as published. Broader corrections — for the full programme of searches, or for the experiment as a whole — are not applied formally, but are implicitly absorbed by the 5σ5\sigma discovery threshold (§ 2.5.1).

What is essential, regardless of the convention adopted, is that the analyst states explicitly which definition of “elsewhere” was used when reporting a global p-value. A global p-value without this specification is incomplete: the reader cannot assess whether the correction is appropriate for their own level of scepticism. This is especially important for ML-based anomaly detection, where the effective search space is typically much larger than in a classical single-channel scan, and the implicit case-(iii) LEE may no longer be negligible.

The time axis: ``look-elsewhen''

The three cases above concern the spatial scope of the search, namely how much of the data space counts as “elsewhere.” A distinct dimension of the LEE arises from the temporal evolution of the analysis. As a collider accumulates data over time, its sensitivity crosses the 5σ5\sigma threshold at different masses at different times. In principle, at each moment when sensitivity reaches 5σ5\sigma for a given mass, there is a chance of a 5σ5\sigma fluctuation right there. The time axis introduces an additional dimension of “elsewhere” that is not accounted for by a single scan of the final dataset.

The issue has been discussed informally within the HEP community — sometimes under the name “keep-looking bias” [28] — motivated by cases where a marginal signal grew to 5σ5\sigma with surprisingly little additional data. It is the classical problem of repeated significance testing, or sequential monitoring, and the theory of sequential analysis quantifies it: by the law of the iterated logarithm (see Ref. [29] for a discussion in the particle-physics context), the maximum significance observed by monitoring a cumulative dataset up to sample size nn grows only as 2log⁡log⁡n\sqrt{2\log\log n}, which is extremely slow. With a 5σ5\sigma discovery threshold, the inflation is therefore modest, consistent with the conclusion reached in internal studies within the CDF and CMS collaborations, and in current practice it is further limited because analyses are performed on a few discrete datasets (“Run 1,” “Run 2”) rather than continuously. The effect is nonetheless nonzero, and it can matter for lower thresholds or for searches where the significance stays near the boundary for extended periods.

Where a correction is needed, the standard solutions come from the clinical trials literature: group sequential methods [30, 31], which pre-specify a small number of interim analyses with adjusted thresholds, and alpha-spending functions [32], which allocate the type I error budget over time without fixing the analysis schedule in advance.

Although the look-elsewhere effect is small in current practice, two developments may make it more relevant. First, ML-based anomaly detection enables continuous monitoring of data streams, opening the path to more systematic sequential searches, in which the number of looks is no longer limited to a few discrete datasets. Second, the e-value framework [33] provides inference that is valid at any stopping time by construction, so the look-elsewhere problem does not arise, without the pre-specified schedule or error budget that the pp-value corrections require. We discuss e-values and their applicability to physics in § 5.

Discovery and exclusion thresholds

The definition of “elsewhere” directly affects how significant an observed excess must be before it is considered a discovery, and whether a correction is needed at all when setting exclusion limits. This subsection discusses the conventions used in particle physics for both cases, and the reasoning behind the asymmetry between them. Throughout, we quote the significance of an excess in two interchangeable ways: as a p-value pp — the probability under H0H_0 of a fluctuation at least as extreme — and as the equivalent Gaussian significance Z=Φ−1(1−p)Z = \Phi^{-1}(1-p), where Φ\Phi is the cumulative distribution function of the standard normal, expressed in units of σ\sigma. Unless stated otherwise, significances are one-sided.

Discovery: the 5σ convention

The 5σ5\sigma threshold for claiming a discovery in particle physics is not derived from first principles; it is a convention that reflects accumulated experience with trial factors and systematic uncertainties. The trial-factor argument goes back to Rosenfeld’s 1968 survey of claimed meson resonances [34], written when new hadrons were sought as bumps in effective-mass histograms from bubble-chamber experiments. Rosenfeld estimated that the field was producing “at least 100,000 potential bumps per year”. Since a one-sided 4σ4\sigma fluctuation has a probability of about 1 in 32,000, one “should expect several 4σ4\sigma and hundreds of 3σ3\sigma fluctuations” every year — enough to account for the many claimed resonances that had failed to be confirmed. The “elsewhere” was the entire output of the community, every histogram of every experiment inspected by eye, and it was further inflated by choices made after looking at the data: a 2σ2\sigma or 3σ3\sigma fluctuation “can easily be amplified to ‘4σ4\sigma’ or ‘5σ5\sigma’; all it takes is a little enthusiasm”. Alvarez made the same point in his Nobel lecture [35], describing G. Lynch’s program GAME, which hid the real histogram among a hundred simulated from a smooth curve fitted to the data: in its first use, the experimenter picked out two of the simulated histograms as significant and dismissed all the others, his own included. Rosenfeld’s conclusion was that the theorist should “wait for nearly 5σ5\sigma effects”, and that for the experimenter “any bump less than about 5σ5\sigma constitutes only a call for a repeat of the experiment”.

In today’s vocabulary, this is a look-elsewhere correction applied to the field as a whole, at the broadest level of our case (iii) (§ 2.3). A local significance of 5σ5\sigma corresponds to a p-value of 2.87×10−72.87 \times10^{-7}: with 10510^5 potential bumps per year, a 5σ5\sigma fluctuation was expected only about once every 35 years. The high threshold was motivated by the asymmetric cost of errors. A false discovery is scientifically catastrophic: a new particle is announced, the community reorganises its theoretical and experimental programme around it, and it turns out to be a fluctuation. In the 60’s the trial factor was understood qualitatively but could not be computed for an individual result, and a large margin on the local significance was the only safeguard available.

Today, the trial factor at a search-level, our case (i) (§ 2.1), can be computed explicitly (see § 3), but the threshold is still applied to the significance prior to this correction, the local significance. At the analysis-level, trial factors of several hundred are common, and 5σ5\sigma local can correspond to 33–4σ4\sigma analysis-level global. For the Higgs discovery, for instance, the ATLAS experiment reported a local significance of 5.9σ5.9\sigma (plocal=1.7×10−9p_{\mathrm{local}} = 1.7 \times10^{-9}) and a global significance of 5.1σ5.1\sigma (pglobal=1.7×10−7p_{\mathrm{global}} = 1.7 \times10^{-7}) over the search range 110–600 GeV [15], corresponding to a trial factor of approximately 100. While the case-(i) LEE can now be controlled, the case-(ii) and case-(iii) have not become smaller or easier to quantify since Rosenfeld’s time, still justifying a 5σ5\sigma threshold after the analysis-level correction is performed. For this reason, we argue in § 9 that the discovery threshold is better applied to the global significance of the analysis, so that the trial factor is corrected explicitly rather than absorbed into the margin, and the margin is the same for every BSM analysis.

Moreover, it is worth noting that the threshold can depend on context. When the existence of a process is already predicted by the Standard Model and the question is whether it has been observed — as in the case of Higgs boson pair production (HH) — a lower threshold may be considered appropriate since there is generally no LEE. Observing HH is confirming a predicted process, not discovering a new particle: the prior expectation that HH exists (given the established Higgs mechanism) is very high, whereas the prior expectation of an arbitrary new resonance at an arbitrary mass is low. For such confirmatory measurements, 3σ3\sigma is often accepted as “evidence” even if a 5σ5\sigma “discovery” has not yet been reached. Even though it is expressed in frequentist language, the distinction is ultimately a Bayesian one, as the threshold reflects a judgment about prior plausibility.

Another case that requires different treatment is anomaly detection, which serves a different scientific function than a targeted search. Anomaly detection is a screening tool, rather than a discovery tool. Its role is to identify anomalies without a signal hypothesis, and to warrant targeted follow-up searches with a pre-specified signal hypothesis. The follow-up is then a standard case-(i) analysis with a well-defined and smaller LEE, performed on independent data3 and held to the usual 5σ5\sigma standard on its global p-value. We return to this two-tier approach in § 9.

The question of which significance level to adopt is not specific to particle physics. Fisher presented the 5% level as a matter of convenience rather than principle [36], and the Neyman–Pearson framework makes the choice of level explicitly a trade-off between the two types of error, with weights that depend on the problem at hand [37]; the American Statistical Association’s 2016 statement on p-values reached the same conclusion and declined to recommend any universal threshold [38].

Exclusion: why 95%, and why no LEE?

Exclusion: why 95%, and why no LEE?

Exclusion limits in particle physics are conventionally set at 95% confidence level, corresponding to 1.645σ1.645\sigma for a one-sided test. This is far less stringent than the 5σ5\sigma required for discovery, and the asymmetry reflects the different consequences of being wrong. A false exclusion — declaring “there is no signal at mass m0m_0” when in fact there is one — is an error of omission: someone else will find the signal later, or the same experiment will find it with more data. The scientific programme is not damaged; one simply needs to look again. The 95% confidence level is not specific to HEP; it is the standard convention across most of experimental science, originating with Fisher’s conventional choice of α=0.05\alpha= 0.05 [39] and long predating the modern limit-setting machinery. The technique used to construct exclusion limits in particle physics is the CLs method of Junk [40] and Read [41], developed at LEP and since used in essentially all collider searches; CLs limits are conventionally reported at 95%, but the method itself is independent of the chosen confidence level.

Importantly, the LEE applies to discovery but not to exclusion. This asymmetry was discussed by Lyons [42] and given a formal treatment by Lockhart [43], who proved that when testing multiple hypotheses, the relevant trial factor is at most kk, where kk is the number of null hypotheses that can be simultaneously true. For a particle that can exist at only one mass, k=1k = 1 and no multiplicity correction arises. The intuition is straightforward: when setting an upper limit at a specific mass m0m_0, one is testing the hypothesis “there is a signal at m0m_0 with cross-section σ\sigma” against the null, and the test is conducted at that specific mass. The fact that the signal could have been at a different mass is irrelevant to the question of whether it is excluded at m0m_0. Each mass point is tested independently, and the resulting exclusion contour does not require a trial factor correction. As Cowan noted in his CERN lectures [44], there is however an analogous issue of “spurious exclusion” (excluding signal models even in the presence of a signal) but this is a distinct problem from the LEE.

This asymmetry sometimes causes confusion: the same analysis may report both a local excess (subject to the LEE) and an exclusion limit (not subject to the LEE) at different mass points, and the two statements carry different statistical meanings. The LEE penalises the discovery claim precisely because the analyst did not specify the mass in advance; the exclusion is valid at each mass individually regardless of what happens elsewhere.

Single search with a scan parameter

The problem: nuisance parameter present only under the alternative

Consider a hypothesis test in which the null hypothesis H0H_0 (e.g., background only) is tested against a family of alternatives indexed by a continuous parameter θ\theta (e.g., the mass of a new resonance). Under H0H_0, the data do not depend on θ\theta, so the parameter is meaningless when no signal is present. Under the alternative, θ\theta specifies where the signal appears. This asymmetry — a parameter that enters the model only under the alternative — is the defining feature of the look-elsewhere problem, first formalised by Davies [1, 2].

If θ\theta were known in advance, one would compute the appropriate test statistic S(θ)S(\theta) and compare it to its known null distribution. For a profile likelihood ratio test, Wilks’ theorem [45] guarantees that S(θ)S(\theta) follows a χ2\chi^2 distribution asymptotically provided standard regularity conditions are met: the nested hypotheses are well-defined, the log-likelihood function is sufficiently smooth, the true parameter values lie in the interior of the parameter space, and the parameters are identifiable under the null. The problem is that θ\theta is unknown: one must scan over all possible values of θ\theta and report the most significant result. The test statistic actually used is therefore the supremum

M=sup⁡{S(θ):L≤θ≤U},(1)M = \sup\{S(\theta) : L \le\theta\le U\}, \tag*{(1)}

where [L,U][L,U] is the range of values over which θ\theta is scanned. The distribution of MM under H0H_0 is not χ2\chi^2, because maximising S(θ)S(\theta) over θ\theta inflates its value relative to any fixed-θ\theta test. Wilks’ theorem does not apply when the parameter being maximised over is unidentifiable under the null: the maximum likelihood estimator of θ\theta has no consistent target under H0H_0 and simply follows the noise.

The naive p-value — treating MM as if θ\theta had been fixed a priori — is the local p-value plocal=P(S(θ0)>M∣H0)p_{\mathrm{local}} = P(S(\theta_0) > M \mid H_0) for some reference point θ0\theta_0. This underestimates the true false positive rate because MM is the maximum of many correlated values. The correct quantity is the global p-value

pglobal=P(sup⁡θS(θ)>M∣H0).(2)p_{\mathrm{global}} = P\left(\sup_{\theta} S(\theta) > M \mid H_0\right). \tag*{(2)}

The look-elsewhere effect is the ratio between the two: pglobal>plocalp_{\mathrm{global}} > p_{\mathrm{local}} whenever the scan range admits more than one effectively independent value of θ\theta.

The Davies bound and the upcrossing formula

Davies [1] derived a sharp upper bound on the global p-value by connecting the problem to the theory of level crossings of stochastic processes. As θ\theta varies continuously over [L,U][L,U], the test statistic S(θ)S(\theta) traces a random curve. Under H0H_0 this curve is a Gaussian process (in the normal case) or a chi-squared process (in the likelihood ratio case). An upcrossing of the level cc occurs each time S(θ)S(\theta) crosses from below cc to above cc as θ\theta increases. Each upcrossing represents an effectively independent chance for a background fluctuation to mimic a signal. The bound is

pglobal≤plocal+⟨N(c)⟩,(3)p_{\mathrm{global}} \le p_{\mathrm{local}} + \langle N(c)\rangle, \tag*{(3)}

where ⟨N(c)⟩\langle N(c)\rangle is the expected number of upcrossings of the level cc by S(θ)S(\theta) over the scan range. The bound is tight for large cc, which is the regime of interest for significance claims.

In the normal case, where S(θ)S(\theta) has a standard normal distribution for each fixed θ\theta, the 1977 paper gives the explicit formula

P(sup⁡θS(θ)>c)≤Φ(−c)+e−c2/22π∫LU−ρ11(θ) dθ,(4)P\left(\sup_{\theta} S(\theta) > c\right) \le\Phi(-c) + \frac{e^{-c^2/2}}{2\pi}\int_L^U \sqrt{-\rho_{11}(\theta)}\,\mathrm{d}\theta, \tag*{(4)}

where Φ\Phi is the standard normal cumulative distribution function, ρ(θ′,θ)=corr⁡[S(θ′),S(θ)]\rho(\theta',\theta) = \operatorname{corr}[S(\theta'),S(\theta)] is the autocorrelation of the process, and ρ11(θ)=[∂2ρ(θ′,θ)/∂θ′2]θ′=θ\rho_{11}(\theta) = [\partial^2\rho(\theta',\theta)/\partial\theta'^2]_{\theta'=\theta} measures how rapidly this correlation decays (i.e., how fast the test statistic changes as θ\theta varies). The integral ∫−ρ11 dθ\int\sqrt{-\rho_{11}}\,\mathrm{d}\theta encodes the total “oscillation budget” of the process over the scan range.

The 1987 paper [2] extends the result to the chi-squared case, where S(θ)=Z12(θ)+⋯+Zs2(θ)S(\theta) = Z_1^2(\theta) + \cdots+ Z_s^2(\theta) is a sum of squared Gaussian components with ss degrees of freedom. The bound takes the same form as (3) but with ⟨N(c)⟩\langle N(c)\rangle expressed in terms of the eigenvalues λ1(θ),…,λs(θ)\lambda_1(\theta),\ldots,\lambda_s(\theta) of a matrix that captures the conditional variability of the derivative of the process given its current value. These eigenvalues generalise −ρ11-\rho_{11} to the vector setting. The 1987 paper also introduces a practical approximation: one can estimate the integral in (4) directly from the observed curve S(θ)S(\theta) by computing its total variation

V=∫LU∣∂S(θ)∂θ∣ dθ=∣S(θ1)−S(L)∣+∣S(θ2)−S(θ1)∣+⋯+∣S(U)−S(θn)∣,(5)V = \int_L^U \left|\frac{\partial S(\theta)}{\partial\theta}\right|\,\mathrm{d}\theta= |S(\theta_1)-S(L)| + |S(\theta_2)-S(\theta_1)| + \cdots+ |S(U)-S(\theta_n)|, \tag*{(5)}

where θ1,…,θn\theta_1,\ldots,\theta_n are the successive turning points of S(θ)S(\theta). The global p-value estimate for the normal case is then

pglobal≈Φ(−M)+Ve−M2/28π,(6)p_{\mathrm{global}} \approx\Phi(-M) + \frac{V e^{-M^2/2}}{\sqrt{8\pi}}, \tag*{(6)}

where MM is the observed maximum of S(θ)S(\theta). This requires no analytical knowledge of the autocorrelation function: one simply evaluates S(θ)S(\theta) on a grid, reads off MM and VV, and plugs them in. Davies verified through simulations that (6) provides an excellent approximation, and that the “naive test” — which ignores the scan and uses standard normal critical values — is catastrophically miscalibrated (e.g., a nominal 5% test produces a 20.8% false positive rate in the two-phase regression example of [2]).

The Gross & Vitells procedure

Gross and Vitells [9] translated Davies’ framework into a practical recipe for HEP bump hunts, where the test statistic is the profile likelihood ratio q(θ)q(\theta) scanned over a mass range. Rather than computing ⟨N(c)⟩\langle N(c)\rangle analytically — which requires knowing the signal template shape and the autocorrelation function of q(θ)q(\theta) — they estimate it empirically at a low reference level c0c_0 from a modest number of background-only pseudo-experiments. For each pseudo-experiment the full analysis is run: the q(θ)q(\theta) curve is computed across the scan range, and the number of upcrossings above c0c_0 is counted. Averaging over O(100)O(100) pseudo-experiments gives a stable estimate of ⟨N(c0)⟩\langle N(c_0)\rangle, because at a low level (Gross and Vitells use c0=0.5c_0 = 0.5) almost every pseudo-experiment has several upcrossings.

The key insight from Davies is that the shape of how ⟨N(c)⟩\langle N(c)\rangle depends on cc is known analytically, even when the normalisation is not. For a χ2\chi^2 process with ss degrees of freedom, the scaling is

⟨N(c)⟩=⟨N(c0)⟩⋅(cc0)(s−1)/2exp⁡(−c−c02).(7)\langle N(c)\rangle= \langle N(c_0)\rangle\cdot\left(\frac{c}{c_0}\right)^{(s-1)/2}\exp\left(-\frac{c-c_0}{2}\right). \tag*{(7)}

This allows extrapolation from the easily estimated ⟨N(c0)⟩\langle N(c_0)\rangle to any higher level cc, including levels corresponding to 5σ5\sigma where direct estimation would require O(107)O(10^7) pseudo-experiments. In the large-cc limit, P(χs+12>c)∝c(s−1)/2e−c/2P(\chi^2_{s+1} > c) \propto c^{(s-1)/2}e^{-c/2}, so one can rewrite Davies’ bound (Eq. (3)) using Eq. (7)4 as

P(q(θ^)>c)≤P(χs2>c)+N⋅P(χs+12>c),(8)P(q(\hat{\theta}) > c) \leq P(\chi^2_s > c) + \mathcal{N} \cdot P(\chi^2_{s+1} > c), \tag*{(8)}

where q(θ^)=max⁡θq(θ)q(\hat{\theta}) = \max_{\theta} q(\theta) over the mass range. Eq. (8) has a simple interpretation. The first term is the local pp-value at a fixed mass, where qq follows a χs2\chi^2_s distribution, with one degree of freedom for each fitted signal parameter. The second term accounts for letting the mass float. Over a mass interval of the order of the signal width, q(θ)q(\theta) varies smoothly, and moving the mass to the position that maximises qq acts, for large qq, like fitting one additional parameter: it adds one more squared standard normal variable to the test statistic, turning χs2\chi^2_s into χs+12\chi^2_{s+1}.¶ Beyond that interval, q(θ)q(\theta) becomes effectively independent of its earlier values, so the scan range contains about N\mathcal{N} such intervals, each offering a separate chance of a large fluctuation. These intervals refer to the set of effectively independent mass hypotheses. In the example presented in Ref. [9], using c0=0.5c_0 = 0.5 and 100 pseudo-experiments gives ⟨N(c0)⟩=4.34±0.11\langle N(c_0)\rangle= 4.34 \pm0.11, corresponding to an effective number of independent search regions N=5.58\mathcal{N} = 5.58. This single number suffices to compute the global p-value at any significance level. Moreover, because for large cc the exponential factor of a χk2\chi_k^2 tail probability is the same for every kk, each additional degree of freedom contributes one more factor of c\sqrt{c}. For s=1s = 1, c=Zlocal\sqrt{c} = Z_{\mathrm{local}}, so the ratio of the second term of Eq. (8) to the first — the trial factor minus one — grows linearly with the local significance:

trial factor≈1+Nπ2 Zlocal(s=1).(9)\text{trial factor} \approx1 + \mathcal{N}\sqrt{\frac{\pi}{2}}\,Z_{\mathrm{local}} \qquad(s = 1). \tag*{(9)}

This linear growth has practical consequences: a 3σ3\sigma local excess requires roughly three times more global correction than a 1σ1\sigma excess. The Higgs boson discovery at the LHC illustrates the procedure: the ATLAS experiment reported a local significance of 5.9σ5.9\sigma at mH≈126m_H \approx126 GeV, which was corrected to a global significance of 5.1σ5.1\sigma over the search range 110–600 GeV, corresponding to a trial factor of roughly 100 [15].

Multi-dimensional searches

Many searches involve more than one unknown parameter. A resonance may have both an unknown mass and an unknown width; an astrophysical source may be located at an unknown position in the two-dimensional sky. Vitells and Gross [11] extended the one-dimensional framework to multi-dimensional search spaces using the theory of random fields and the expected Euler characteristic of excursion sets.

In one dimension, the relevant topological quantity is the number of upcrossings — the number of times the process S(θ)S(\theta) enters the excursion set {S>c}\{S > c\}. In two or more dimensions, the excursion set {S(θ)>c}\{S(\theta) > c\} is a region of the parameter space, and its Euler characteristic ϕ(Ac)\phi(A_c) generalises the upcrossing count: for a χ12\chi_1^2 random field with one degree of freedom in two search dimensions, the expected Euler characteristic takes the form

E[ϕ(Ac)]=P(χ12>c)+e−c/2(N1+c N2),(10)\mathbb{E}[\phi(A_c)] = P(\chi_1^2 > c) + e^{-c/2}\left(N_1 + \sqrt{c}\,N_2\right), \tag*{(10)}

where N1N_1 and N2N_2 are coefficients that encode the geometry of the search region and the correlation structure of the field. A typical example is a search for a resonance X→YHX \to YH, in which the two masses mXm_X and mYm_Y are the scan parameters, undefined under the background-only hypothesis, and the signal strength is the parameter of interest. The test statistic in this case is a χ12\chi_1^2 over a two-dimensional parameter space. When both masses are scanned on a grid finer than the corresponding resolutions, the problem is formally identical to the sky search of Ref. [11] and the Euler-characteristic formula, Eq. (10), applies. When mYm_Y is instead tested only at a few values separated by more than its resolution, the search falls in the partly continuous, partly discrete regime discussed below. Many such searches have been performed at the LHC; in the ATLAS diphoton search with the 2015 data [46], for example, the global significance was evaluated over the full mass–width search region using pseudo-experiments, and cross-checked with the method of Ref. [11]. As in the one-dimensional case, these coefficients can be estimated from a small number of pseudo-experiments — Vitells and Gross use as few as 20 — by computing the Euler characteristic of excursion sets at two low reference levels and solving for N1N_1 and N2N_2. The resulting formula provides the global p-value at arbitrary significance, and was validated against 2×1052 \times10^5 full pseudo-experiments for the IceCube neutrino point-source search [11].

The multi-dimensional extension is relevant to a broad class of searches across experimental physics. In astrophysics, searches for neutrino point sources scan the two-dimensional celestial sphere for an excess above the atmospheric background [11]. In collider physics, searches for long-lived particles (LLPs) provide a natural example of three or more search dimensions: the signal hypothesis is typically parameterised by the mass of the particle produced in the collision that decays into the LLP, the mass of the LLP itself, and its proper decay length cτc\tau, defining a three-dimensional search space. The sensitivity of the analysis varies strongly across this space — different detector subsystems dominate at different lifetimes, and the signal topology changes qualitatively between prompt and highly displaced decays [47]. The LEE must account for the full multi-dimensional search volume, not just each axis independently. Although mass and lifetime are both continuous parameters in principle, LLP analyses in practice often scan the mass continuously while testing only a small discrete set of benchmark cτc\tau values, because signal simulation and reconstruction efficiency vary strongly with lifetime and a continuous signal model across the full range is rarely available. When a continuous parameter is treated as a discrete grid, the trial factor along that axis is bounded between 1 and the number of values tested, whereas the continuously scanned dimensions contribute a Davies/GV-type correction; the joint correction across all dimensions then requires either the Euler characteristic approach of [11] or brute-force pseudo-experiments over the full parameter space. This intermediate regime — partly continuous, partly discrete — is not fully covered by either the Davies/GV framework or standard multiple testing corrections, and represents an open problem. More generally, any search whose signal model involves continuous parameters beyond a single mass — such as width, coupling strength, mixing angle, sky position, or lifetime — faces a multi-dimensional LEE that grows with the dimensionality of the search space.

A Bayesian view of the trial factor

The trial factor, pglobal/plocalp_{\mathrm{global}}/p_{\mathrm{local}}, is a well defined quantity for a given test statistic, scan range and observed significance. However, when the scanned parameter is continuous, there is not a unique way to estimate it: brute-force pseudo-experiments, the Davies bound of Eq. (3), and the Gross–Vitells extrapolation in Eq. (7), are different routes to the same quantity, with different costs and assumptions. Bayer and Seljak [13] adopt a hybrid Bayesian–frequentist approach: they use the Bayesian evidence to define the trial factor of a frequentist test statistic whose global pp-value requires no pseudo-experiments. Bayesian reasoning defines the trial factor as the ratio of prior to posterior volume, but the output is a frequentist pp-value. We outline the main idea in the following.

The Occam factor. A Bayesian compares H1H_1 and H0H_0 through the Bayes factor B10=p(x∣H1)/p(x∣H0)B_{10}=p(x|H_1)/p(x|H_0), the ratio of the probabilities that the two hypotheses assign to the observed data. Unlike the typical frequentist likelihood-ratio, in which each hypothesis is evaluated at its best-fit parameters, here each term is a marginal likelihood, i.e. the likelihood averaged over the prior of all the parameters of that hypothesis. Parameters common to both hypotheses, such as those describing the background, contribute similar factors to numerator and denominator, which approximately cancel in the ratio; the net effect is governed by the parameters present only under H1H_1. Consider one such parameter θ\theta, with a flat prior π(θ)=1/Δ\pi(\theta)=1/\Delta over a range Δ=U−L\Delta=U-L. Then

p(x∣H1)=∫p(x∣θ,H1) π(θ) dθ=1Δ∫LUp(x∣θ,H1) dθ.(11)p(x|H_1)=\int p(x|\theta,H_1)\,\pi(\theta)\,\mathrm{d}\theta=\frac{1}{\Delta}\int_L^U p(x|\theta,H_1)\,\mathrm{d}\theta. \tag*{(11)}

If the data determine θ\theta with a precision σ≪Δ\sigma\ll\Delta, the likelihood is non-negligible only within a narrow peak around its maximum θ^\hat{\theta}, which we approximate by a Gaussian, p(x∣θ,H1)≈p(x∣θ^,H1)e−(θ−θ^)2/2σ2p(x \mid\theta, H_1) \approx p(x \mid\hat{\theta}, H_1)e^{-(\theta-\hat{\theta})^2/2\sigma^2}. The integral is then the area of this peak, 2πσ p(x∣θ^,H1)\sqrt{2\pi}\sigma\,p(x \mid\hat{\theta}, H_1), so that the average is the maximum likelihood multiplied by 2πσ/Δ\sqrt{2\pi}\sigma/\Delta, the fraction of the prior range that the data still allow. In this step, known as the Laplace approximation, the Gaussian is integrated over the whole R\mathbb{R} rather than over the prior [L,U][L,U]; this is accurate when θ^\hat{\theta} lies more than a few σ\sigma inside the range and the likelihood elsewhere in the range is negligible compared with the peak. Writing the maximum likelihood ratio as eZ2/2e^{Z^2/2}, with ZZ the significance of the excess in standard deviations, this gives

ln⁡B10≈Z22−ln⁡Δ2πσ(12)\ln B_{10} \approx\frac{Z^2}{2} - \ln\frac{\Delta}{\sqrt{2\pi}\sigma} \tag*{(12)}

equivalent to Eq. (26) of Ref. [48], where it is derived for a Gaussian prior. The first term rewards the better fit of H1H_1; the second, often called the Occam factor, penalises H1H_1 for the size of the parameter space it had to spread its prior over.

Application to the look-elsewhere effect. In a resonance search, the parameter present only under H1H_1 is the location θ\theta of the signal. Its prior range is the scan range, Δ=U−L\Delta= U-L, and the width σθ\sigma_\theta of the likelihood peak, measured from the peak curvature, is the precision with which the data localise the excess. Treating the signal strength as fixed for the moment, Eq. (12) reads

B10≈eZ2/2NB,NB=U−L2πσθ(13)B_{10} \approx\frac{e^{Z^2/2}}{N_B}, \qquad N_B = \frac{U-L}{\sqrt{2\pi}\sigma_\theta} \tag*{(13)}

The evidence for a signal is the local likelihood ratio divided by NBN_B, the number of peak widths that fit within the scan range. Bayer and Seljak [13] identify NBN_B with the trial factor. NBplocalN_B p_{\mathrm{local}} is then the expected number of background fluctuations, anywhere in the scan range Δ\Delta, at least as large as the observed one. If we divide the range into KK small regions, each with probability NBplocal/KN_B p_{\mathrm{local}}/K of containing such a fluctuation (assumed largely independent of each other), we can compute the Šidák correction as a way to quantify the global pp-value from a scan over discrete regions (see Eq. (17) in Section 4.1): 1−(1−NBplocal/K)K1-(1-N_B p_{\mathrm{local}}/K)^K. Taking the limit for K→∞K \to\infty the latter becomes

pglobal≈1−exp⁡(−NBplocal).(14)p_{\mathrm{global}} \approx1-\exp(-N_B p_{\mathrm{local}}). \tag*{(14)}

Since NBN_B depends on the width σθ\sigma_\theta of the observed peak, and ZZ on its height, Eq. (14) depends on both, and is therefore the pp-value of a statistic combining the two. Bayer and Seljak define this statistic as

qS≡−2ln⁡(NBplocal)=Z2−2ln⁡NB+ln⁡(2πZ2),(15)q_S \equiv-2\ln(N_B p_{\mathrm{local}}) = Z^2 - 2\ln N_B + \ln(2\pi Z^2), \tag*{(15)}

where the second equality uses the asymptotic local pp-value, plocal≈e−Z2/2/(2πZ)p_{\mathrm{local}} \approx e^{-Z^2/2}/(\sqrt{2\pi}Z). Since multiplying a pp-value by NBN_B is equivalent to lowering Z2Z^2 by 2ln⁡NB2\ln N_B, qSq_S is the local test statistic Z2Z^2 penalised by the trial factor; the penalty 2ln⁡NB2\ln N_B is the Occam factor of Eq. (12) in the same units. Substituting NBplocal=e−qS/2N_B p_{\mathrm{local}} = e^{-q_S/2} into Eq. (14) gives pglobal≈1−exp⁡(−e−qS/2)p_{\mathrm{global}} \approx1-\exp(-e^{-q_S/2}). Usually, the global pp-value requires the null distribution of the highest peak, which depends on the scan range and resolution of each search and is obtained with pseudo-experiments. Here, instead, range and resolution enter through NBN_B, inside qSq_S, and the null distribution of qSq_S is the same in every search, so the global pp-value follows from the observed qSq_S alone. When the scan shows several peaks, qSq_S is computed for each from its

What determines the trial factor?

own height and width, and the global pp-value is that of the peak with the largest qSq_S; this need not be the highest peak, since a broader peak has a smaller NBN_B. The width σθ\sigma_\theta measured on the data is set, on average, by how quickly the signal template changes with θ\theta (Section 3.6), and shrinks as the excess becomes more significant, so that NBN_B grows linearly with ZZ, as in Eq. (9); to leading order it coincides with the Davies estimate. The authors verify with background-only pseudo-experiments that the resulting pp-values are calibrated across scan ranges, template widths and up to three scanned dimensions. The method relies on the Laplace approximation (a smooth, approximately Gaussian peak), which typically holds with enough data; by the asymptotic normality of the likelihood. When it does not, the same construction applies with the Bayes factor computed numerically: in exoplanet transit searches, where the Laplace approximation is poor, Robnik and Seljak [49] integrate the evidence around the peak by quadrature and recover pp-values that agree with simulations. Unlike Gross–Vitells, NBN_B takes the width of the observed peak as representative of the whole range, so the resolution should not vary strongly across it. A follow-up study [14] removes even the curvature computation: since the number of noise peaks above a level cc in the observed scan estimates the expected number of upcrossings, the trial factor can be calibrated from the heights of the lower peaks in the same dataset. This is the Gross–Vitells extrapolation of Eq. (7), with the pseudo-experiments that fix ⟨N(c0)⟩\langle N(c_0)\rangle replaced by a count on the data itself, at the cost of a ∼10\sim10–20%20\% statistical uncertainty on pglobalp_{\mathrm{global}}, from the finite number of noise peaks counted in a single dataset, and the assumption that the lower peaks are background fluctuations.

The signal strength μ\mu requires a separate remark. A fully Bayesian treatment also averages over a prior on μ\mu, which produces a second Occam factor of the form of Eq. (12), with Δ\Delta now the prior range of μ\mu and σ\sigma its measurement uncertainty. This factor has no counterpart in the frequentist LEE: it depends on an arbitrary prior choice and, for a sufficiently broad prior, favours H0H_0 whatever the data (the Jeffreys–Lindley paradox). It is the location factor, not this one, that corresponds to the trial factor. For this reason Bayer and Seljak choose the prior on μ\mu so that it introduces no look-elsewhere penalty: its width is set to the fitted signal strength, q σμ≈μ^\sqrt{q}\,\sigma_\mu\approx\hat{\mu}, so that its Occam factor only reproduces the normalisation of the local pp-value. As the authors note, a strict Bayesian could object to a prior that depends on the observed signal; they justify it as the narrowest prior consistent with the measured amplitude. Robnik and Seljak [49] extend this reasoning to searches in which the priors are known for some parameters but not for others, such as the amplitude: the Bayes factor computed with the known priors is used as the test statistic, and its significance is quoted as a frequentist pp-value, which is less sensitive than the Bayes factor itself to the poorly known prior.

An intrinsic property of the search. It is not a coincidence that the Bayesian Occam factor and the frequentist trial factor agree. Indeed, starting from the prior-to-posterior volume of Ref. [13] and counting peaks above a threshold, Ref. [14] recovers the up-crossing extrapolation of Gross and Vitells. The look-elsewhere effect is an intrinsic property of the question being asked—is there a signal somewhere in this range?—and of the experiment’s ability to distinguish one location from another, and it appears across inference frameworks. In both cases the penalty is set by the number of signal hypotheses that the data can tell apart: the scan range divided by the resolution. The frequentist pays it at the end through the distribution of the maximum under H0H_0; the Bayesian pays it at the start, by spreading prior probability over the range. Neither framework can avoid it, and in both the size of the penalty depends on how “elsewhere” is defined (Section 2).

What determines the trial factor?

A point that is often underappreciated in physics analyses is that the trial factor is set by the width of the signal template used in the fit. By template we mean the expected signal shape after detector effects, i.e. the intrinsic line shape convolved with the experimental resolution. Its width determines how rapidly S(θ)S(\theta) decorrelates as θ\theta varies (Eq. (4)): a narrow template produces a rapidly oscillating S(θ)S(\theta), with many upcrossings per unit range of θ\theta, and a wide template a slowly varying one, with fewer. For a narrow resonance, the width is dominated by the experimental mass resolution, so in the most common case the trial factor is effectively a property of the detector and the scan range. Since the resolution usually degrades with increasing mass, fluctuations decorrelate more slowly at high mass, as in the example of Ref. [9]. When the intrinsic width is comparable to or larger than the resolution, or when the width is itself a hypothesis chosen or scanned by the analyst, the trial factor also depends on the signal model: two analyses scanning the same data with different assumed signal widths obtain different trial factors, even though the data and the scan range are identical.

This is sometimes a source of confusion, since the pseudo-experiments used for calibration are generated under the null hypothesis and do not depend on the signal hypothesis. The trial factor nevertheless does, because the signal template defines the test statistic S(θ)S(\theta): it is smaller for a wide resonance not because the background fluctuates less, but because the test is less sensitive to localised fluctuations. In the Gross & Vitells framework this dependence is absorbed into ⟨N(c0)⟩\langle N(c_0)\rangle, since the pseudo-experiments are fitted with the same template. The common shorthand “trial factor ≈ range / resolution” is correct when “resolution” means the width of the signal template, and not the bin width.

This observation becomes central when moving to machine learning-based searches, where the “signal template” is replaced by a flexible, data-adaptive model whose effective resolution is not specified a priori and may not even be known to the analyst. We return to this point in Section 6.

Multiple Searches

In a search over several channels, final states or analyses, the null hypothesis can be written as the intersection of per-channel null hypotheses, “no signal in channel kk”, and rejecting it amounts to rejecting at least one of them. In other words, the signal is present in at least one of the channels. The methods reviewed below provide the corresponding correction when the channels are discrete and approximately independent, a situation in which the continuous-parameter machinery of Davies and GV does not apply.

Whether a multi-channel search allows for multiple sources of signal at all depends on what the signal model fixes. If the relative signal rates across channels are predicted, for example by the branching ratios of the particle being sought, the channels can be combined into a single likelihood with one signal-strength parameter. The result is a single test, and no correction for the number of channels arises, although a scan over unknown parameters such as the mass still requires one. In contrast, if the relative rates are free, either each channel is tested separately and the result is corrected for the number of channels, or all signal strengths are fitted jointly, which gives a single test with more degrees of freedom. In either case, the additional freedom costs significance.

The per-channel formulation becomes essential when a separate decision is required for each channel, i.e. when the question is not only whether the null fails but where. Two features then distinguish the problem from a mass scan. First, several channels can carry a signal at the same time, whereas a single resonance appears at only one mass, so that at most one of the point-nulls of a scan can be false (Section 2.5.2). Second, one must choose which error rate to control across the set of decisions.

That choice depends on where in an analysis the multiple test sits. At an early stage, multiple tests often act as a classifier that selects events or objects for further study, such as jets containing bb hadrons. Some false positives are then expected and acceptable, because the downstream analysis measures and corrects for them; what matters is the fraction of the selected sample that is falsely tagged, which is the quantity controlled by the false discovery rate (§ 4.2).6 At the end of an analysis, the multiple test instead underlies a physics conclusion such as a discovery claim, where the aim is not to be wrong at all. The appropriate criterion is then the probability of any false rejection, the family-wise error rate (Section 4.1).

The methods below are thus the natural tools for case (ii) of § 2.2 and, in the context of machine learning, for combining results from several models applied to the same data (§ 7.1). Applying them to a single continuous scan is an approximation that ignores the correlation between nearby mass points, and is generally inferior to the Davies/GV approach when the latter is applicable.

Bonferroni, Šidák, and family-wise error rate

The simplest multiple testing corrections control the family-wise error rate (FWER): the probability of making at least one false discovery across all NN tests.

The Bonferroni bound uses the union bound: if NN tests are performed and the smallest observed pp-value is pmin⁡p_{\min}, then

pglobal≤N⋅pmin⁡.(16)p_{\mathrm{global}} \le N \cdot p_{\min}. \tag*{(16)}

This is valid under arbitrary dependence between the tests — no assumption about their correlation structure is needed. Its conservatism is the price of this generality: when tests are positively correlated (as they typically are in HEP, where overlapping signal templates induce correlated excesses), the true FWER is much smaller than N⋅pmin⁡N \cdot p_{\min}.

The Šidák correction is the exact result when the tests are independent:

pglobal=1−(1−pmin⁡)N.(17)p_{\mathrm{global}} = 1 - (1-p_{\min})^{N}. \tag*{(17)}

For small pmin⁡p_{\min} (the regime of interest near discovery), the two are numerically indistinguishable: 1−(1−p)N≈Np1-(1-p)^{N} \approx Np when Np≪1Np \ll1. At low significance they differ meaningfully only with many tests, where the Šidák correction is tighter. Since HEP tests are rarely independent — overlapping mass bins, shared systematic uncertainties, correlated channels — the Bonferroni bound is the more broadly applicable of the two, and the Šidák correction should be used only when independence can be justified.

Both corrections are almost always too conservative for HEP searches within a single distribution, for the reasons already noted: the effective number of independent tests is much smaller than NN due to positive correlations, and the Davies/GV framework accounts for this. However, Bonferroni retains value in two situations: (a) when combining genuinely distinct analyses (case (ii), where different final states may be approximately independent), and (b) when the test statistic has a non-standard null distribution, so that the χ2\chi^2 assumptions required by Davies/GV do not hold — as is often the case for ML-based test statistics.

Benjamini-Hochberg and false discovery rate

The Benjamini-Hochberg (BH) procedure [22] was developed to address a problem that arises naturally in fields where thousands of hypotheses are tested simultaneously. The canonical example is the genome-wide association study (GWAS), in which millions of genetic variants are tested for association with a disease [27]. In this setting, some variants are genuinely associated with the disease and many are not, and the goal is to identify as many true associations as possible while controlling the fraction of false positives among those identified. Requiring that no false positive be made (FWER control, as in Bonferroni) is far too conservative when millions of tests are performed: it demands such stringent per-test thresholds that most genuine associations are missed. What is needed instead is a guarantee on the proportion of false positives among the discoveries — a quantity called the false discovery rate (FDR).

Formally, suppose NN tests are performed and RR of them are rejected (declared significant); among those RR rejections, let VV be the number of false rejections (nulls that were actually true). The FDR is defined as FDR =E[V/R]= \mathbb{E}[V/R], with the convention V/R=0V/R = 0 when R=0R = 0. FWER controls P(V≥1)P(V \ge1) — the probability of any mistake. FDR controls E[V/R]\mathbb{E}[V/R] — the expected fraction of mistakes among claims. The distinction matters when RR is large: if 20 hypotheses are rejected and one is a false positive, the FDR is 5% even though the FWER is 100%.

The BH procedure works as follows. Sort the NN p-values in increasing order: p(1)≤p(2)≤⋯≤p(N)p_{(1)} \le p_{(2)} \le\cdots\le p_{(N)}. Find the largest index kk for which

p(k)≤kNα.(18)p_{(k)} \le\frac{k}{N}\alpha. \tag*{(18)}

Then reject the hypotheses corresponding to p(1),…,p(k)p_{(1)},\ldots,p_{(k)}. This controls the FDR at level α\alpha when the tests are independent. Benjamini and Yekutieli [23] proved that the same procedure also controls the FDR under positive dependence (specifically, the positive regression dependence on subsets condition). The same paper also introduced a modified procedure—with the threshold in Eq. (18) rescaled by the harmonic factor c(N)=∑i=1N1/i≈ln⁡Nc(N) = \sum_{i=1}^{N} 1/i \approx\ln N—that controls the FDR under arbitrary dependence, including negatively correlated tests, at the cost of a ln⁡N\ln N loss in power. In GWAS this positive-dependence condition is satisfied because nearby genetic variants on the same chromosome are correlated through linkage disequilibrium; in HEP it is satisfied because overlapping signal templates or shared systematic uncertainties induce positive correlations between test statistics in nearby bins.

The BH procedure has seen widespread adoption in genomics, neuroimaging, and other fields where large-scale multiple testing is routine, but remains rare in particle physics—even though FDR-style reasoning is in fact routine there under other names, as in the measurement and subtraction of fake rates in a selected event sample, where a controlled level of contamination is expected and corrected for rather than eliminated. The reason is partly cultural — the 5σ5\sigma discovery convention targets the FWER, not the FDR — and partly structural: HEP discovery typically involves at most one signal, and the goal is to determine whether it exists at all, which is a question better addressed by FWER control or the Davies/GV framework. In the genomics setting, by contrast, many of the NN nulls are expected to be false (many genes are differentially expressed), and the goal is to identify as many as possible while keeping the false discovery fraction under control—much as, within HEP, the early selection stage tolerates and corrects a controlled false-positive fraction rather than eliminating it.

Where BH becomes natural in HEP is at the screening stage of a large-scale search: when scanning thousands of channels or final states, the question shifts from “is there exactly one signal?” to “which channels are worth following up?” This is structurally the same problem as GWAS — many hypotheses, some fraction expected to be interesting, tolerance for a controlled rate of false leads — and BH provides a principled way to address it.

As discussed at the beginning of this section, the choice between FWER and FDR control reflects where in an analysis the multiple test sits. The same logic recurs for machine-learning searches (§ 6): a signal-agnostic scan is a screening stage suited to FDR control, while the targeted follow-up that produces a discovery claim is held to the stricter FWER-style threshold.

E-values and anytime-valid inference

The methods of Sections 3 and 4 assume that the significance level and the analysis plan are fixed in advance. Examining the data at interim stages, or deciding to collect more after an inconclusive result, invalidates the type I error guarantee unless it is explicitly corrected for, as in the group sequential and α\alpha-spending methods mentioned in Section 2.4. E-values [20, 33, 50, 51] were developed for fields in which this rigidity is costly, such as clinical trials, online A/B testing (randomized controlled experiments) and financial risk monitoring, and they provide inference that remains valid however often the data are examined. They have so far seen little use in fundamental physics. We give only a brief account here, restricted to the aspects that bear on the look-elsewhere effect, and refer to the monograph of Ramdas and Wang [51] for proofs and a systematic treatment.

Definition and basic properties. An e-value for a null hypothesis H0H_0 is a non-negative random variable EE satisfying

E[E∣H0]≤1,(19)\mathbb{E}[E \mid H_0] \le1, \tag*{(19)}

so that large observed values are evidence against the null. The simplest example is the likelihood ratio E=p(x∣H1)/p(x∣H0)E = p(x \mid H_1)/p(x \mid H_0) against a specific alternative H1H_1, whose expectation under H0H_0 is ∫p(x∣H1) dx=1\int p(x \mid H_1)\,dx = 1. Markov’s inequality gives P(E≥1/α∣H0)≤αP(E \ge1/\alpha\mid H_0) \le\alpha, so rejecting when E≥1/αE \ge1/\alpha is a valid level-α\alpha test that requires no knowledge of the null distribution of EE. This threshold is conservative; when the null distribution of EE is known, or can be estimated from background-only pseudo-experiments as is routine in HEP, the threshold can instead be placed at the upper α\alpha-quantile of that distribution, as for any other test statistic [51 §2.2]. Two combination rules follow directly from Eq. (19): the product of independent e-values is an e-value for the intersection of their null hypotheses, and a weighted average ∑iwiEi\sum_i w_i E_i, with wi≥0w_i \ge0 and ∑iwi=1\sum_i w_i = 1, is an e-value under arbitrary dependence between the EiE_i, without any need to model their correlation.

Anytime validity. The property that motivated the framework concerns data that accumulate over time. An e-process is a non-negative sequence (Mt)t≥1(M_t)_{t\ge1} updated as data arrive, such that MtM_t is an e-value for H0H_0 at every stopping time τ\tau; the running product of likelihood-ratio e-values computed on successive independent batches of data is the standard example. In the betting interpretation of Ref. [50], MtM_t is the capital of a gambler wagering against H0H_0 in a game that is fair or unfavourable whenever H0H_0 is true. Ville’s inequality bounds the probability that such a process ever reaches 1/α1/\alpha:

P(sup⁡t≥1Mt≥1/α | H0)≤α.(20)P\left(\sup_{t\ge1} M_t \ge1/\alpha\,\middle|\, H_0\right) \le\alpha. \tag*{(20)}

The process can therefore be inspected after every new batch of data, and the null rejected as soon as Mt≥1/αM_t \ge1/\alpha, with no pre-specified stopping rule and no α\alpha-spending. This is the framework’s answer to the look-elsewhere effect of § 2.4: repeated looks need no correction, because they do not invalidate the test. Conventional fixed-sample p-values do not have this property, although p-values that do can be derived from an e-process as pt=min⁡(1,1/max⁡s≤tMs)p_t = \min(1,1/\max_{s\le t} M_s) [50].

The spatial look-elsewhere effect. Anytime validity removes the temporal axis of the LEE, but not the spatial one. Suppose that for each candidate mass θ∈[L,U]\theta\in[L,U] one has an e-value EθE_\theta for the background-only null, for instance a likelihood ratio against a signal template at mass θ\theta. The maximum sup⁡θEθ\sup_\theta E_\theta is not an e-value, but for any probability density π\pi on [L,U][L,U] chosen in advance the mixture

Eπ=∫LUEθ π(θ) dθ(21)E_\pi= \int_L^U E_\theta\,\pi(\theta)\,\mathrm{d}\theta \tag*{(21)}

is one, since E[Eπ∣H0]=∫LUE[Eθ∣H0]π(θ) dθ≤1\mathbb{E}[E_\pi\mid H_0] = \int_L^U \mathbb{E}[E_\theta\mid H_0]\pi(\theta)\,\mathrm{d}\theta\le1; a weighted sum plays the same role for a discrete set of channels. No correction is applied afterwards. When the EθE_\theta are likelihood ratios, EπE_\pi is the Bayes factor for a signal whose mass has prior π\pi, which connects this construction directly to the hybrid Bayesian-frequentist treatment of the LEE in Ref. [13]. The cost of searching is now carried by π\pi: for a signal near θ^\hat{\theta}, EπE_\pi is approximately Eθ^E_{\hat{\theta}} multiplied by the prior mass that π\pi assigns to the peak of EθE_\theta around θ^\hat{\theta}. For a flat prior the resulting penalty is the ratio of the scan range to the width of that peak, which is set by the signal template and narrows as the signal becomes stronger; the penalty therefore grows with both the number of resolution elements in the scan range and the local significance, as the Gross–Vitells trial factor does (§ 3). Bayer and Seljak [13] relate the trial factor to the ratio of prior to posterior volume. The two accountings differ in when the cost is paid: the classical procedure searches first and corrects afterwards, whereas the e-value procedure commits to a weighting first and never corrects. Because π\pi must be fixed in advance and appears explicitly in EπE_\pi, the construction forces the analyst to state what “elsewhere” means, turning the ambiguity discussed in Section 2 into an explicit choice. Finally, a mixture of e-processes over θ\theta is again an e-process, so Eq. (20) covers the spatial and temporal axes of the LEE at once.

Applicability in physics and open problems. The guarantees above matter where a physics analysis is genuinely sequential: online data-quality monitoring, real-time anomaly detection, and the accumulation of evidence across successive data-taking periods. Two properties are also useful offline: the weighted average combines correlated tests validly without an estimate of their correlation, and the e-BH procedure [21], the e-value analogue of Benjamini–Hochberg (§ 4.2), controls the false discovery rate under arbitrary dependence with no adjustment to the procedure. For a standard analysis of a fixed dataset, calibrated with pseudo-experiments, none of these guarantees is exercised and there is little reason to leave the familiar p-value framework; we do not suggest that e-values replace p-values in such analyses. Two open problems are worth flagging for the searches discussed in this review. First, the e-values best suited to accumulating evidence are those that maximise the expected growth rate E[log⁡E∣H1]E[\log E \mid H_1] against a specified alternative [51], so it is unclear how to construct powerful e-values for signal-agnostic searches, in which H1H_1 is deliberately left unspecified; the mixture of Eq. (21) is only a partial answer, since it requires a parametrised family to mix over. Second, systematic uncertainties make the null hypothesis composite, and a likelihood ratio computed against a single member of the null family need not be an e-value under the others; universal inference [52] and the growth-optimal constructions of Grünwald et al. [20] are the natural starting points.

Machine Learning and the Look-Elsewhere Effect

The LEE in machine learning is not a new statistical problem. It is a specific instance of post-selection inference [3, 4]: using data to select what to test, then testing on the same data. This pattern, and the resulting bias, has been identified independently in several fields (§ 6.1). The classical LEE is itself a post-selection problem: the data select the mass θ^\hat{\theta} that maximises the test statistic, and evaluating the test at θ^\hat{\theta} as if that mass had been fixed in advance gives the local p-value. What makes it tractable is that the selection is explicit and low-dimensional. In an ML-based search, the selection is implicit (embedded in the model’s weights), high-dimensional, and data-adaptive, but the statistical structure is identical.

The implicit LEE grows with how much of the alternative hypothesis a search leaves to be fitted to the data, which places searches on a continuum from the simple hypothesis test at one end to the goodness-of-fit test at the other. At the hypothesis-testing end, the alternative H1H_1 is fully specified: the test has nothing to adapt to the data, and no post-selection bias arises. A classical bump hunt sits near this end, its only data-driven freedom being the mass scan over a fixed family of alternatives. At the goodness-of-fit end, the alternative is not specified by any signal model but is a broad, flexible family (for an ML-based test, the set of functions the model can represent), and the member that best describes the data is selected entirely by the fit. The test can therefore flag departures of any shape anywhere in the phase space. In between lie parametrised models that carry a signal hypothesis but still fit part of their freedom to the data. This is why classical tools transfer cleanly only near the hypothesis-testing end: the Neyman–Pearson optimality and χ2\chi^2 asymptotics behind Davies/GV assume a parametrised alternative, an assumption that weakens as a search moves toward the goodness-of-fit end, where the effective search space grows (the implicit case-(iii) LEE of § 2). The supervised/weakly-supervised distinction that follows is a practical proxy for a search’s position along this continuum, but not a sharp boundary.

Concretely, the supervised mode sits near the hypothesis-testing end: a classifier trained on a specific signal hypothesis is fixed before the test data are examined, so it introduces no post-selection bias and the LEE reduces to the parameter scan of the downstream analysis, where classical tools apply. Weakly supervised and unsupervised modes sit toward the goodness-of-fit end, because the model is trained on the observed data and its selection adapts to the specific fluctuations in the dataset being tested. This is the case both for resonant anomaly detection [24, 53], where a data-driven classifier selects events at each candidate mass (adding an ML-induced LEE on top of the classical mass scan), and for methods that learn the test statistic itself [54, 55, 56] by fitting the full phase space globally — where the model simultaneously selects where the anomaly is, what shape it has, and how significant it is, all from the same data.

The three classical solutions to post-selection inference map directly onto strategies for ML searches: account for the selection in the null distribution [3, 4] corresponds to empirical calibration (Section tion 6.4.1); split the data [57] corresponds to train/test splitting (§ 7.0.3); constrain the selection corresponds to model regularisation (§ 7.0.2). The open question is not what to do but how to do it efficiently for complex, expensive-to-train models. The remainder of this section develops each strategy after examining the structural difference between classical and ML-based searches (§ 6.2) and the role of model resolution (§ 6.3).

The LEE as a post-selection problem

The multiple testing methods of § 4 assume that the set of hypotheses to be tested is fixed in advance. In many practical settings, however, the data are used not only to test hypotheses but also to select which hypotheses to test, a problem known in the statistics literature as post-selection inference or selective inference. This is a more general framework that encompasses both the classical LEE (where the data select the most significant mass point) and the ML-LEE (where the data select the most anomalous region via a trained model).

The dangers of post-selection inference have been recognised for decades. Freedman [5] showed that when a quantity is fitted as a linear combination of many input variables, none of which is actually related to it, keeping only the variables that look promising in a first fit and refitting reliably produces fitted weights that appear statistically significant, a pure artefact of the selection. In particle-physics terms, this is like fitting a distribution with many template shapes, each with a free normalisation, keeping only those whose normalisations look significant, and refitting: the surviving normalisations will appear significant even if the data contain no contribution from any of the templates. In clinical trials, subgroup analysis poses the same problem: a treatment that shows no overall effect may appear effective in a data-selected subgroup, and testing the treatment effect in that subgroup using the same data inflates the significance [6]. In neuroimaging the same circularity is known as “double dipping” [8]. Tukey [58] drew the foundational distinction between exploratory analysis (generating hypotheses from data) and confirmatory analysis (testing hypotheses on independent data), and argued that conflating the two is a fundamental source of irreproducibility.

The oldest and simplest solution is data splitting: use one portion of the data to select, and an independent portion to test [57]. This is exactly the train/test split of § 7.0.3, and it predates machine learning by decades. Its limitation — the loss of statistical power from using only a fraction of the data for each purpose — is the same in both settings.

More recent work has developed formal frameworks for valid inference without data splitting. Berk et al. [4] proposed post-selection inference (PoSI): confidence intervals that are valid after any model selection procedure, at the cost of wider intervals (analogous to the conservatism of Bonferroni). Lee et al. [3] developed conditional selective inference, computing p-values and confidence intervals conditional on the selection procedure — for example, the distribution of the test statistic at mass m^\hat{m}, given that m^\hat{m} was the mass that maximised the test statistic. The global p-value of § 3 takes the first of these routes: Davies’ bound controls the distribution of the maximum over all locations, a simultaneous guarantee closer in spirit to PoSI than to conditional inference.

ML-based goodness-of-fit as a global template fit

Machine learning-based anomaly detection is not categorically different from classical template-based searches — it is a continuous extension of the same idea. Both approaches fit a model to data and test for deviations from a reference; the difference lies in the flexibility of the fitted alternative.

In a classical resonance search, a fixed parametric model, typically a smooth background function plus a signal template of known shape, is fitted to the data, with the background constrained over a wide mass range, often the full spectrum. Only the signal component is localised: its position is scanned across the search range, one hypothesis at a time, while its shape is fixed by the template. Each position is therefore tested against a one-parameter family of alternatives, and the trial factor counts the effectively independent positions within the scan, the quantity N\mathcal{N} estimated by Gross and Vitells.

The structural difference is thus not the extent of the fit but the flexibility of the alternative. A classical template can absorb a fluctuation only if it has the template’s shape, and only at one position at a time, so the resulting miscalibration is fully captured by the scan over that position. An ML-based search can adapt to statistical fluctuations of any shape anywhere in the full phase space in a single training pass. It is parametrically richer, but structurally it is still a template: it approximates the likelihood ratio p(data)/p(reference)p(\mathrm{data})/p(\mathrm{reference}) at every point in the feature space, just as the classical template approximates it within each window.

The single structural difference — local sequential fit versus global simultaneous fit — has a direct statistical consequence. A classical search can overfit at most locally, within the current window; the miscalibration is bounded and correctable window by window. An ML-based search can overfit to statistical fluctuations anywhere in the full phase space in a single training pass. The result is a variant of the LEE that is harder to quantify than in the classical case: the effective number of independent looks depends on how the model’s sensitivity is distributed across the feature space, on the correlation structure of the overfitting, and on the model’s resolution relative to the data’s intrinsic scales. Regularisation techniques promoting sparsity can help control how the model’s sensitivity is distributed in the space. We will return to the topic of regularisation in § 7.0.2.

The role of model resolution

In the Davies framework, the trial factor depends on how rapidly the test statistic decorrelates as the nuisance parameter varies, which is controlled by the signal template shape (Section 3.6). For an ML model, the analog is the model’s intrinsic resolution: how finely it can distinguish features across the phase space. A more expressive model — a narrow kernel, a deep network with little regularisation — probes finer scales and accesses more independent resolution elements across the full space, inflating the effective trial factor. A less expressive model — a wide kernel, a heavily regularised network — probes coarser scales, accesses fewer elements, and is less susceptible to fluctuations but also less sensitive to fine-scale signals.

In principle, there is an optimal model resolution that matches the signal’s characteristic scale: a model that is too coarse misses the signal, while one that is too fine overfits to fluctuations. This is the same logic that governs window-width choice in classical searches. But in the ML setting this matching is obstructed on two fronts. First, for generic ML models such as neural networks and BDTs, resolution is not an explicit or directly tunable parameter — it is an emergent property of the architecture, regularisation scheme, and training dynamics. One cannot simply “set” the resolution to a desired value the way one sets a kernel width. Second, in a signal-agnostic search the signal’s characteristic scale is unknown by construction, so even if the model resolution were controllable there would be no target to match it to.

For kernel-based methods [55], the kernel width σ\sigma is an exception: it is an explicit resolution parameter that can be varied and studied directly. This is precisely what Ref. [59] exploits when studying the correlation structure of tests at different σ\sigma values — the kernel width provides a direct handle on the resolution axis.

Strategies for handling the implicit LEE

The implicit LEE of an ML-based search can be addressed at three distinct strategies: by measuring and correcting for its contamination of the p-value through empirical calibration, by reducing its size through model regularisation, or by avoiding it through data splitting. These strategies are complementary and can be combined.

Measure and correct: empirical calibration

The most direct approach to handling the implicit LEE is to estimate the null distribution of the test statistic empirically and correct for it. The full analysis pipeline — including model training, feature selection, and scoring — is run on many datasets generated under the null hypothesis, and the observed test statistic is compared to the resulting distribution. This absorbs whatever LEE the model produces, automatically, because each null dataset undergoes the same implicit search as the real data. Three methods for generating the null datasets are available, each with different assumptions and domains of applicability.

Pseudo-experiments (toys). The most common approach in HEP is to generate synthetic datasets from a known or estimated model of the background process, typically using Monte Carlo simulation. The full pipeline is run on each synthetic dataset, producing a null distribution of the test statistic. The p-value is defined as the fraction of pseudo-experiments that produce a test statistic at least as large as the observed one:

pglobal=1∣TR∣∑t∈TR1[t>tobs],(22)p_{\mathrm{global}} = \frac{1}{\lvert\mathcal{T}_{R} \rvert} \sum_{t \in\mathcal{T}_{R}} \mathbb{1}[t > t_{\mathrm{obs}}], \tag*{(22)}

where TR\mathcal{T}_{R} is the set of test statistic values from pseudo-experiments generated under the reference hypothesis. This is exactly what Gross and Vitells do when they count upcrossings in background-only toys, and for ML anomaly detection it has been used in the NPLM methodology from its inception [54, 60, 55]. The method requires a reliable generative model of the background. In HEP this comes from Monte Carlo simulation or, more often for searches, from a background model fitted to the data; such a model is not always available in other fields.

Permutation tests. When the hypothesis test takes the form of a two-sample comparison the null hypothesis is that the two samples are drawn from the same distribution. Under this null, the sample labels are exchangeable: any permutation of the labels produces an equally valid dataset. The null distribution of the test statistic can therefore be estimated by repeatedly permuting the labels, recomputing the test statistic for each permutation, and comparing the observed value to this permutation distribution. This is the approach taken by MMDAgg [61] and MMD-FUSE [62] for kernel-based two-sample tests. The method requires no generative model and no simulation — the observed data themselves provide the null reference — and it is exact (not approximate) under the exchangeability assumption. Its limitation is that exchangeability may not hold when nuisance parameters (such as systematic uncertainties) break the symmetry between the two samples, or when the reference sample is generated from simulation rather than drawn from the same source as the data.

Bootstrap. When neither a generative model nor an exchangeability assumption is available, the null distribution can be approximated by resampling the observed data with replacement. This is the parametric or nonparametric bootstrap, depending on whether a model is fitted to the data probability distribution before resampling. The bootstrap does not require simulation and is broadly applicable, but it has a conceptual limitation in the hypothesis testing context: it assumes the observed data are representative of the null hypothesis, which is problematic if a signal is present. In practice, a common approach is to fit the null model (background only) to the data and then resample from the fitted model — a parametric bootstrap [63] that is closely related to the pseudo-experiment approach but uses the data-driven fit rather than an independent simulation as the generative model.

When to use which. The choice among these methods depends on what is available:

  • If a reliable model of the background is available, pseudo-experiments drawn from it give the most direct calibration. Simulation alone is often not accurate enough for this, so in practice the model is usually constrained by the data, for example a smooth functional form fitted to the spectrum or an estimate from control regions, with systematic uncertainties included as nuisance parameters. The calibration is only as good as this model.

  • If the test is a two-sample comparison and the two samples are exchangeable under the null, permutation tests are preferred: they are exact, require no additional simulation.

  • If neither simulation nor exchangeability is available, the bootstrap provides a fallback, with the caveat that the null model must be estimated from the data and the resulting calibration is approximate.

In all three cases the null distribution absorbs the full implicit LEE, regardless of the model complexity or the dimensionality of the search, and the method uses all the data for both training and scoring, avoiding the power loss from data splitting.

Computational cost. Each pseudo-experiment, permutation, or bootstrap replicate requires retraining the ML model, which can be expensive for large networks. This is the genuinely new challenge that ML introduces relative to the classical setting — not the conceptual problem of miscalibration (which is the same as it has always been) but the computational cost of the remedy. The Gross-Vitells trick of estimating ⟨N(c0)⟩\langle N(c_0)\rangle at a low level and extrapolating analytically (Eq. (7)) cannot be applied here, because the null distribution of the ML test statistic is generally not χ2\chi^2 and the analytical scaling does not hold. Full tail sampling is therefore needed, and at 5σ5\sigma this requires O(107)O(10^7) pseudo-experiments — each with a full retraining — which is prohibitive for most current models.

The cost of generating each toy depends further on the dimensionality of the search. For a low-dimensional test — even an ML-based one applied to a single observable or a handful — toys can be drawn cheaply by resampling a fitted background model, exactly as in a classical bump hunt. When the search is genuinely high-dimensional and no low-dimensional background surrogate is available, each toy instead requires a full synthetic event sample through the simulation chain, a cost that compounds with the per-toy retraining discussed below. The same high dimensionality thus acts twice: it enlarges the effective trial factor (§ 6.3) and it raises the cost of the calibration needed to correct for it.

Reduce: model regularisation

Regularisation constrains the model’s capacity, namely the complexity of the function it can learn from the data, and thereby controls the number of independent statistical fluctuations the model can capture. A more regularised model probes fewer structures in the feature space, which reduces the implicit trial factor at the cost, sometimes, of sensitivity to very localised signals. Several forms of regularisation are relevant:

  • Smoothness constraints. Weight decay (L2 penalty), weight clipping, and spectral normalisation all limit the magnitude or variation of the learned function, preventing the model from fitting sharp, localised fluctuations. In the NPLM framework, Ref. [60] introduced weight clipping as a means of enforcing Lipschitz continuity of the learned density ratio, which bounds the sensitivity of the test to pointwise fluctuations and provides a connection to robust hypothesis testing: a smoother density ratio corresponds to a test that is less powerful against highly localised alternatives but more robust against statistical noise.

  • Sparsity constraints. Loss penalties, pruning, and architectural bottlenecks limit the number of active parameters or features, restricting the directions in the feature space that the model can probe simultaneously. Ref. [64] introduced an anomaly detection model based on self-organising ensembles of a small number of Gaussian kernels, enforcing an aggressive sparsity constraint. This design effectively bounds the implicit LEE by construction: with only a handful of kernels, each covering a localised region of the feature space, the model cannot resolve more independent regions than it has kernels. The model was shown to perform powerful tests in problems with thousands of input dimensions, suggesting that sparsity can mitigate the resolution inflation that would otherwise make high-dimensional searches intractable.

  • Early stopping. Halting training before convergence prevents the model from fitting fine-scale noise in the later stages of optimisation. This is an implicit form of regularisation whose effect on the resolution is harder to quantify than explicit constraints, but it is widely used in practice.

Generally, all forms of regularisation reduce the model’s effective resolution, which reduces the implicit trial factor. The cost is always a loss of sensitivity to signals whose characteristic scale is finer than the regularised resolution. The optimal regularisation strength is therefore signal-dependent — and in a signal-agnostic search, unknown. Moreover, it should not be assumed that all regularisation methods are equally effective at mitigating the implicit LEE. Different forms of regularisation constrain the model in different ways — smoothness, sparsity, capacity — and their effect on the number of independent directions the model can probe may differ substantially from their effect on standard measures of generalisation performance. A systematic study of which regularisation strategies most effectively reduce the implicit trial factor, and at what cost to sensitivity across different signal morphologies, is an important open problem.

Avoid: train/test splitting and kk-folding

A different strategy is to ensure that the LEE does not contaminate the global p-value. Train/test splitting and kk-folding achieve this by separating the data used for the search (training) from the data used for evaluation (testing). The model is free to be as expressive as it wants on its training set — it may overfit aggressively, producing a large implicit LEE — but the test statistic is computed on held-out data that the model has never seen, so the overfitting does not inflate the reported significance.

Ref. [24] studies this approach for weakly supervised resonant anomaly detectors in the CWoLa framework. The paper compares two strategies: (a) train/test splitting, which restores calibration by ensuring independence between the search and the scoring but uses only half the data for each; and (b) kk-folding, which splits the data into kk parts and, for each part, trains a model on the other k−1k-1 and uses it to score the held-out part. Every event is thus scored by a model that did not see it during training, and the scored events from all folds are pooled, so that the test statistic is computed on the full dataset. Since the kk models share most of their training data, their training and final configuration are not independent and as a result the kk-fold p-values remain slightly biased. The authors apply an empirical calibration fit to correct the residual bias. This correction is feasible because the kk-fold bias is mild and smooth — amenable to fitting with a moderate number of pseudo-experiments. In the original non calibrated test, the bias is too severe for the same approach: the test statistic is so data-specific that a smooth calibration function cannot capture it without direct tail sampling.

It is important to recognise that splitting and kk-folding do not reduce the LEE — they prevent it from affecting the evaluation by ensuring that the scored data is independent of the search. The implicit trial factor of the model may still be large; it simply does not contaminate the test statistic on the held-out fold. The cost is a reduction in the data available for scoring: a 50/50 split uses only half the data for evaluation, and even with kk-folding each fold scores on only 1/k1/k of the data. This leads to a loss of statistical power relative to using the full dataset.

Calibration versus power

The strategies described above should be evaluated on two independent axes: calibration (are the p-values correct under the null?) and power (can the method detect a real signal after the LEE correction?). A method that produces perfectly calibrated p-values but has very low power is statistically valid but scientifically useless — it never finds anything.

The three strategies occupy different positions in this two-dimensional space. Pseudo-experiment calibration is exact (the null distribution absorbs the full LEE by construction) and retains maximum power, because all the data are used for both training and scoring — the test statistic is evaluated on the same data that defined the search, and the calibration corrects for whatever bias this introduces. Train/test splitting is also exact (the test data are independent of the search) but sacrifices power, because only a fraction of the data are used for scoring. kk-folding interpolates: it uses more data for scoring than a single split, but the calibration is approximate and requires an empirical bias correction whose reliability at high significance has not been established. Regularisation operates on a different axis entirely: it does not calibrate the p-value but reduces the implicit LEE by constraining the model. This helps power when the signal’s characteristic scale is at least as coarse as the finest scale the regularised model can resolve: the signal is still captured, while the null distribution of the test statistic is lowered, and the threshold for a global significance with it. It hurts power when the signal is finer than that scale, since the model can no longer resolve it.

This framing clarifies why pseudo-experiment calibration should be regarded as the gold standard when computationally feasible: it is the only strategy that achieves exact calibration without sacrificing power. The sensitivity cost of the alternatives — how much power kk-folding or splitting loses relative to full calibration, and how this cost depends on the signal morphology and the dataset size — is one of the most important open questions in this area.

Combining strategies

The three strategies are complementary and can be combined to mutual advantage. Regularisation reduces the size of the implicit LEE, making the null distribution of the test statistic less heavy-tailed and therefore cheaper to calibrate via pseudo-experiments. This is essentially the approach taken by weight clipping a MLP model in [60]: the hard cut on the values that the trainable weights can take keeps the implicit LEE manageable, and the pseudo-experiment calibration makes the p-values exact. The combination is both cheaper (fewer pseudo-experiments needed because the tail falls faster) and more powerful (all the data is used for scoring) than splitting or kk-folding alone.

In practice, the choice among strategies depends on the computational budget and the model complexity. For lightweight models where retraining is cheap (e.g., small networks, Boosted Decision Trees or Nyström subsampled kernel methods), pseudo-experiment calibration is the gold standard and should be used directly. For expensive models where retraining is prohibitive (e.g., large transformers, deep generative models), kk-folding with empirical bias correction may be the only feasible option — but it should be understood as an approximation whose sensitivity cost relative to full calibration has not been systematically established. In all cases, regularisation should be as strong as the signals of interest allow. It reduces the difficulty of whichever calibration method is used downstream, but once the model can no longer resolve the finest signal scale the search aims to be sensitive to, further regularisation only costs power. In a signal-agnostic search, that scale is itself a choice the analyst must state (§ 6.3).

Multiple ML tests on the same data

A different facet of the LEE arises when multiple ML models — differing in hyperparameters, architecture, or training procedure — are applied to the same dataset. Each model defines a different test, but all tests act on the same data, so the test statistics are correlated. Reporting the most significant result across all models without correction inflates the false positive rate, just as scanning over mass does in a classical search.

Multiple tests via hyper-parameter scan. The problem of combining multiple kernel-based tests on the same data has been studied both in the statistics and in the HEP literature, with closely related but independently developed solutions.

In the statistics literature, the problem arises in two-sample tests based on the maximum mean discrepancy (MMD), a kernel-based measure of the difference between two distributions. The kernel bandwidth σ\sigma sets the scale of the differences the test is sensitive to, so a single bandwidth can miss a signal at another scale. MMD-Agg [61] addresses this by running one test per bandwidth and rejecting if any of them rejects. The threshold of each test is set from the permutation distribution of its statistic, and the thresholds are calibrated jointly so that the combined test has the desired overall level. Because the permuted datasets go through the same multi-bandwidth computation as the real data, the correlation between bandwidths is accounted for automatically. MMD-FUSE [62] replaces the “any test rejects” rule with a smooth combination of the normalised MMD values, a weighted soft maximum, again calibrated by permutations; the kernels can themselves be chosen from the data, without data splitting, in a way that keeps the permutation calibration valid. In both cases, the power adapts to the unknown scale of the signal without a Bonferroni-like penalty for the number of bandwidths.

In the HEP literature, Ref. [59] studies the same problem in the context of NPLM, where different choices of the kernel width σ\sigma define different tests on the same data. A key observation is that σ\sigma directly controls the model’s intrinsic resolution: tests with similar σ\sigma values are highly correlated (they probe the same scales), while tests with well-separated σ\sigma values are less correlated (they probe different scales). In the resonant anomaly detection setting, Ref. [53] applies a related strategy: NPLM tests with several kernel widths and selection thresholds are run at each candidate resonance mass, and their results are combined to achieve sensitivity that is uniform across signal morphologies. The mass scan thus adds a continuous LEE on top of a discrete multiple-testing LEE, since only a small set of widths is used, each requiring its own training and calibration; the two must be corrected jointly. Both Ref. [59] and Ref. [53] handle multiple testing by calibrating each kernel configuration individually via pseudo-experiments, and Ref. [53] finally corrects for the mass scan using the standard Gross–Vitells machinery.

Several features of these frameworks are worth highlighting. First, in NPLM each test is individually calibrated via pseudo-experiments before any combination is attempted: each test is converted to a calibrated p-value (or z-score) using its own null distribution estimated from pseudo-experiments, and then the combination is applied at the p-value level. This step is necessary since the combined tests follow in general different null distributions, and therefore the raw test statistics cannot be compared directly across configurations. Conversely, the MMD approaches calibrate the combined statistic directly as the tests all live in the same domain and are therefore comparable. The two routes are complementary: permutation-based calibration (MMDAgg, MMD-FUSE) is computationally cheaper but requires exchangeability of the samples; pseudo-experiment calibration (NPLM) is more expensive but applies to any test statistic, including those with nuisance parameters that break exchangeability. Second, the achieved sensitivity is more uniform across signal types than any single test, approaching that of the best-performing configuration without requiring it to be known a priori — a property shared by all three methods (MMDAgg, MMD-FUSE, NPLM combination).

Illustrative experiments

To illustrate the concepts discussed in the previous sections, we present a set of simple but physically motivated examples that highlight the main strategies for handling the LEE in searches for new physics. Their purpose is educational. They are aimed at readers who are not yet familiar with these methods, and are kept deliberately basic, so that each step can be followed and reproduced without specialised software or large computing resources. Despite their simplicity, they retain the essential features of the LEE in a realistic collider search. Readers already familiar with the methods may skip this section, although the examples also bring out practical aspects that are easy to overlook, such as the dependence of the Gross–Vitells estimate on the granularity of the scan (§ 8.1.2), and of the trial factor on the width of the signal template (§ 8.1.3).1 Further details and cross-checks of the examples are collected in Appendix A.

We divide the experiments into two main categories: single-channel bump-hunt (§ 8.1), which illustrates the continuous-scan corrections of § 3, and multi-channel searches (§ 8.2), which illustrate the multiple-testing corrections of § 4.

Single channel bump-hunt

This example illustrates the LEE in a single-channel bump hunt: the search for a narrow Gaussian resonance on top of a smoothly falling background. Events are distributed in an observable x∈[0,10]x \in[0,10] according to the density

f(x∣μ,m,ν;ω)=(1−μ)νe−νx1−e−10ν+μ g(x∣m,ω),(23)f(x \mid\mu,m,\nu;\omega)=(1-\mu)\frac{\nu e^{-\nu x}}{1-e^{-10\nu}}+\mu\,g(x\mid m,\omega), \tag*{(23)}

where μ≥0\mu\ge0 is the signal fraction, g(x∣m,ω)g(x\mid m,\omega) is a Gaussian density of mean mm and width ω\omega normalised on [0,10][0,10], and ν\nu is the decay rate of the exponential background. Each pseudo-dataset contains Nev=100kN_{\mathrm{ev}}=100\mathrm{k} events, binned in 70 bins of width 0.14. The signal width is assumed known and is fixed to ω=0.2\omega=0.2 in the fit. The location mm is unknown and is scanned over the full range [0,10][0,10], and the background decay rate ν\nu is a free parameter. Figure 1 shows an example pseudo-dataset generated with ν=0.5\nu= 0.5 and a signal injected at m=3m = 3 with μ=0.02\mu= 0.02. All other results in this section are obtained from background-only pseudo-experiments (toys), generated with μ=0\mu= 0.

Figure 1. Example pseudo-dataset of Nev=100kN_{\mathrm{ev}} = 100\mathrm{k} events (with Poisson uncertainties) generated from Eq. (23) with a signal injected at m=3m = 3, ω=0.2\omega= 0.2 and μ=0.02\mu= 0.02. The lines show the true background-only (dashed black line) and signal-plus-background (solid red line) densities, scaled to the number of events.

With this setup, the experiment falls within the framework introduced in § 3, where H0H_0 is now the exponential background and the continuous parameter θ\theta that labels the family of alternative hypotheses is the resonance mass mm.

Test statistic and p-values

As test statistic we use the profile likelihood ratio for the discovery of a positive signal at location mm [65],

q(m)={−2ln⁡L(μ=0,ν^)L(μ^m,ν^m;m)μ^m≥0,0μ^m<0.(24)q(m) = \begin{cases} -2\ln\frac{\mathcal{L}(\mu= 0,\hat{\nu})}{\mathcal{L}(\hat{\mu}_m,\hat{\nu}_m;m)} & \hat{\mu}_m \ge0,\\ 0 & \hat{\mu}_m < 0. \end{cases} \tag*{(24)}

where ν^\hat{\nu} is the maximum-likelihood estimate of ν\nu under the background-only hypothesis, and μ^m\hat{\mu}_m and ν^m\hat{\nu}_m are the joint maximum-likelihood estimates of μ\mu and ν\nu at fixed mm. Setting q(m)=0q(m) = 0 when μ^m<0\hat{\mu}_m < 0, which is equivalent to constraining μ≥0\mu\ge0 in the fit, restricts the test to excesses.

Because the location of the peak is unknown, we effectively perform one hypothesis test for each value of mm, which is the origin of the LEE. The test statistic of the scan is the maximum

q(m^)=max⁡m∈[0,10]q(m),(25)q(\hat{m}) = \max_{m \in[0,10]} q(m), \tag*{(25)}

which corresponds to MM in Eq. (1), with S→qS \to q and θ→m\theta\to m. At a mass m0m_0 fixed in advance, the null distribution of q(m0)q(m_0) is asymptotically 12δ(q)+12χ12\frac{1}{2}\delta(q) + \frac{1}{2}\chi_1^2 [65]. We refer to this distribution as 12χ12\frac{1}{2}\chi_1^2 in the following. No such closed form exists for q(m^)q(\hat{m}). Its null distribution must either be sampled with pseudo-experiments or approximated with the methods of § 3, as we do in § 8.1.2.

The left panel of Figure 2 compares the distributions of q(m0)q(m_0), with m0=3m_0 = 3, and of q(m^)q(\hat{m}) in background-only pseudo-experiments with the asymptotic 12χ12\frac{1}{2}\chi^2_1 prediction. The right panel shows the pp-values obtained by evaluating both statistics with the same asymptotic tail probability. For q(m0)q(m_0) this gives a valid pp-value for a test at a pre-specified mass. For q(m^)q(\hat{m}) it gives the local pp-value plocalp_{\mathrm{local}} of § 3, which treats the best-fit mass as if it had been fixed in advance. Under the null hypothesis, a calibrated pp-value satisfies P(p≤α)=αP(p \le\alpha) = \alpha; with the one-sided definition of Eq. (24), this holds for all α<12\alpha< \frac{1}{2}, which covers every level of interest. The fixed-mass pp-value satisfies this condition, whereas plocalp_{\mathrm{local}} is strongly biased towards small values.

Figure 2. Left: distribution of the test statistic in background-only pseudo-experiments, evaluated at a fixed mass, q(m0)q(m_0) with m0=3m_0 = 3 (10510^5 pseudo-experiments), and at the best-fit mass, q(m^)=max⁡mq(m)q(\hat{m}) = \max_m q(m) (3×1053 \times10^5 pseudo-experiments, scan over 350 mass points), compared with the asymptotic 12χ12\frac{1}{2}\chi^2_1 density. The first bin includes the entries with q=0q = 0. Right: pp-values obtained from the asymptotic 12χ12\frac{1}{2}\chi^2_1 tail probability for the fixed-mass statistic and for the local pp-value plocalp_{\mathrm{local}} up to the level of interest p<0.5p < 0.5. The dashed line shows the uniform density expected for a calibrated pp-value.

Trial factor estimation

The trial factor is the ratio pglobal/plocalp_{\mathrm{global}}/p_{\mathrm{local}}, where pglobal=P(q(m^)>c∣H0)p_{\mathrm{global}} = P(q(\hat{m}) > c \mid H_0) and plocal=12P(χ12>c)p_{\mathrm{local}} = \frac{1}{2}P(\chi^2_1 > c) for an observed value cc of q(m^)q(\hat{m}). Estimating pglobalp_{\mathrm{global}} directly from pseudo-experiments is computationally expensive when cc is large. A global significance of 5σ5\sigma requires O(107)O(10^7) toys. The Gross–Vitells (GV) procedure of § 3.3 avoids this. It counts the upcrossings of a low reference level c0c_0 by q(m)q(m), whose expected number ⟨N(c0)⟩\langle N(c_0)\rangle can be estimated from a small number of toys, and extrapolates to the level of interest with Eq. (7). Since the test statistic of Eq. (24) is sensitive only to positive signals, the first term of Eq. (8) must be replaced by the corresponding local pp-value defined above. With one fitted signal parameter (s=1s = 1), this gives

pglobal≈plocal+⟨N(c0)⟩e−(c−c0)/2.(26)p_{\mathrm{global}} \approx p_{\mathrm{local}} + \langle N(c_0)\rangle e^{-(c-c_0)/2}. \tag*{(26)}

The left panel of Figure 3 shows the upcrossings of c0=0.5c_0 = 0.5 in a background-only toy. Although this pseudo-dataset contains no signal, its largest excursion, at m=7.0m = 7.0, reaches q≈4.5q \approx4.5, a local significance of 2.1σ2.1\sigma; once the look-elsewhere effect is accounted for with Eq. (26), no significant excess remains (global pp-value ≈0.65\approx0.65).

Figure 3. Left: a background-only pseudo-dataset with the fit of f(x∣μ,m,ν)f(x\mid\mu,m,\nu) at the best-fit mass m^=7.02\hat{m}=7.02 (top), and the corresponding test statistic q(m)q(m) on the 350-point grid (bottom). The GV procedure is illustrated by showing the upcrossings (circles) of the reference level c0=0.5c_0=0.5 (dashed red line): four in this pseudo-dataset, compared with ⟨N(c0)⟩≈4.6\langle N(c_0)\rangle\approx4.6 on average; a similar illustration is given in Ref. [9]. Right: trial factor at c=10c=10 as a function of the number NgridN_{\mathrm{grid}} of equally spaced mass points in the scan, for the Bonferroni bound (=Ngrid=N_{\mathrm{grid}}), for the GV procedure with c0=0.5c_0=0.5 and c0=7.5c_0=7.5, and for the discrete scan, estimated directly from the fraction of pseudo-experiments with max⁡iq(mi)≥c\max_i q(m_i)\ge c (open diamonds). The signal width ω=0.2\omega=0.2 matches the grid spacing for Ngrid=51N_{\mathrm{grid}}=51 points. All estimates use the same 10410^4 background-only pseudo-experiments.

The right panel of Figure 3 shows how the trial factor depends on the number NgridN_{\mathrm{grid}} of equally spaced mass points in the scan. Two different quantities must be distinguished here. The first is the trial factor of the discrete scan, P(max⁡i=1,…,Ngridq(mi)>c∣H0)/plocalP\left(\max_{i=1,\ldots,N_{\mathrm{grid}}}q(m_i)>c\mid H_0\right)/p_{\mathrm{local}}, which is the relevant one for an analysis that evaluates q(m)q(m) only at the NgridN_{\mathrm{grid}} grid points. It grows with NgridN_{\mathrm{grid}} but, since pglobal≤Nplocalp_{\mathrm{global}}\le Np_{\mathrm{local}} for any NN tests, it never exceeds the Bonferroni value. The second is the trial factor of the continuous scan, defined as the limit of the first as the grid becomes infinitely dense; this is the quantity the GV procedure is designed to estimate. Pseudo-experiments analysed on the NgridN_{\mathrm{grid}}-point grid estimate the discrete-scan trial factor (open diamonds in the figure). The GV procedure, applied to the same grid, approaches the continuous-scan trial factor instead, and becomes independent of NgridN_{\mathrm{grid}} once the grid is dense enough to resolve every upcrossing of c0c_0. Depending on the grid spacing, two regimes can therefore be distinguished:

  • Coarse grid. When the grid spacing is larger than the width of the peaks of q(m)q(m), which is set by the width ω\omega of the signal template, the scanned points are effectively independent tests. The discrete-scan trial factor is then close to NgridN_{\mathrm{grid}}, and the Bonferroni value is an accurate estimate of it. The GV estimate, on the other hand, is not: the extrapolation in Eq. (26) assumes a smooth process, whose tail falls more slowly with cc than that of a set of independent points. As a result, the GV estimate overestimates the discrete-scan trial factor, and the overestimate grows with the distance between c0c_0 and cc. At small NgridN_{\mathrm{grid}}, the c0=0.5c_0=0.5 curve lies about a factor of two above the Bonferroni line, whereas for c0=7.5c_0=7.5 the extrapolation is short and the GV estimate stays close to the Bonferroni value (Appendix § 11.§ 1).

  • Dense grid. When the grid spacing is smaller than both the distance between consecutive upcrossings and the width of the excursions above c0c_0, every upcrossing is resolved and counted.

The GV estimate no longer depends on NgridN_{\mathrm{grid}} and estimates the continuous-scan trial factor, which is much smaller than the Bonferroni value. The value of NgridN_{\mathrm{grid}} needed to reach this regime depends on c0c_0. The excursions above c0c_0 become narrower as c0c_0 increases (left panel of Figure 3), so a higher reference level requires a denser grid. In this example, the GV estimate is within 5% of its dense-grid value once the grid spacing is below about 1 ω1\,\omega for c0=0.5c_0 = 0.5, and below about 0.6 ω0.6\,\omega for c0=7.5c_0 = 7.5.

When cc is large, the GV procedure has two practical advantages. First, ⟨N(c0)⟩\langle N(c_0)\rangle is estimated at a low reference level, where almost every toy contributes, so far fewer pseudo-experiments are needed than when probing the tail at cc directly. Second, the intervals of mm in which q(m)q(m) exceeds a low level c0c_0 are wider than those in which it exceeds a high level cc, since only the tips of the tallest peaks rise above cc. A coarser grid is therefore enough to resolve them, and the GV estimate stabilises at a smaller NgridN_{\mathrm{grid}} than any method that works directly at cc.

Table 1 quantifies both advantages at c=10c = 10. It compares three estimates of the trial factor obtained from the same pseudo-experiments: the Davies bound of Eq. (3), with ⟨N(c)⟩\langle N(c)\rangle obtained by counting upcrossings directly at cc; the GV estimate of Eq. (26) with c0=0.5c_0 = 0.5; and the fully empirical estimate, given by the fraction of pseudo-experiments with q(m^)>cq(\hat{m}) > c. The table also reports the Bayer–Seljak estimate, which requires no pseudo-experiments and is discussed at the end of this section.

MethodNtoysN_{\mathrm{toys}}NgridN_{\mathrm{grid}}
Davies, Eq. (3)3×1053 \times10^{5}48.36±0.4548.36 \pm0.4550.81±0.4650.81 \pm0.46
GV, Eq. (26), c0=0.5c_0 = 0.53×1053 \times10^{5}51.56±0.0251.56 \pm0.0252.08±0.0252.08 \pm0.02
Fully empirical3×1053 \times10^{5}47.76±0.4447.76 \pm0.4450.24±0.4550.24 \pm0.45
Bayer–Seljak, Eq. (27)–51.36±0.0651.36 \pm0.06 (±10\pm10)52.24±0.0652.24 \pm0.06 (±10\pm10)

Table 1. Trial factor at c=10c = 10 estimated with four methods on two grids of equally spaced mass points. The first three use the same 3×1053 \times10^{5} background-only pseudo-experiments. The Davies and fully empirical estimates refer to the discrete scan on each grid, and the GV estimate to the continuous scan (see text). Their uncertainties are statistical: for the Davies and GV values they are propagated from the uncertainty on the mean number of upcrossings, and for the empirical value they are binomial, from the fraction of pseudo-experiments with q(m^)≥cq(\hat{m}) \ge c. The Bayer–Seljak estimate (Eq. (27) and Appendix § 11.§ 2) is computed separately for each dataset, from the height and width of its highest peak. To compare it with the other methods at c=10c = 10, we use the pseudo-experiments whose highest peak has 8<q(m^)<128 < q(\hat{m}) < 12, rescale the width of each peak to q(m^)=10q(\hat{m}) = 10 using σm∝1/q(m^)\sigma_m \propto1/\sqrt{q(\hat{m})}, and give the mean trial factor with its statistical uncertainty. The value in brackets is the standard deviation between datasets; it reflects the dependence of the estimate on the width of the observed peak (Appendix § 11.§ 2), not a statistical uncertainty of the method.

On the 350-point grid (spacing ω/7\omega/7), the Davies and empirical estimates agree to within 1.5%, which shows that the discrete scan is already close to the continuous limit. The GV estimate is a few per cent higher. This is because, between c0c_0 and cc, the expected number of upcrossings falls slightly faster than the asymptotic factor e−(c−c0)/2e^{-(c-c_0)/2} of Eq. (26), so the extrapolation is slightly conservative in this example.

On the 100-point grid (spacing ω/2\omega/2), the GV estimate changes by only about 1% with respect to the 350-point value, whereas the Davies and empirical estimates both drop by about 5%, because the coarser grid does not fully resolve the narrow peaks of q(m)q(m) above cc. Since the empirical estimate is, in effect, the trial factor of the 100-point discrete scan itself, it is the appropriate reference for an analysis performed on that grid; relative to it, the GV estimate is conservative by about 8%. The GV estimate is also the most precise: with the same pseudo-experiments, its statistical uncertainty is about twenty times smaller than that of the Davies and empirical estimates. This is mainly because the reference level c0c_0 is crossed more than once in each pseudo-experiment, whereas cc is crossed only N(c)≈0.04N(c) \approx0.04 times on average.

An estimate without pseudo-experiments. Section 3.5 described how Bayer and Seljak [13] use the Bayesian evidence to define the trial factor of a frequentist test statistic, as the ratio of prior to posterior volume of the signal location. In this example the prior range is the scan range, U−L=10U-L=10, and the posterior width σm\sigma_m is the precision with which the data localise the largest excess, which follows from the curvature of q(m)q(m) at its maximum, −12q′′(m^)=1/σm2-\frac{1}{2}q''(\hat{m}) = 1/\sigma_m^2. The trial factor, the test statistic and the global pp-value are then

NB=U−L2π σm,qS=q(m^)−2ln⁡NB+ln⁡(2πq(m^)),pglobal≈1−exp⁡(−e−qS/2)=1−exp⁡(−NBe−q(m^)/22πq(m^)).(27)\begin{aligned} N_B &= \frac{U-L}{\sqrt{2\pi}\,\sigma_m}, \\ q_S &= q(\hat{m}) - 2\ln N_B + \ln\bigl(2\pi q(\hat{m})\bigr), \\ p_{\mathrm{global}} &\approx1-\exp\left(-e^{-q_S/2}\right) = 1-\exp\left(-N_B\frac{e^{-q(\hat{m})/2}}{\sqrt{2\pi q(\hat{m})}}\right). \tag*{(27)} \end{aligned}

where, as in [13], the local pp-value is used in its asymptotic form. Both quantities are computed from the observed dataset alone: no pseudo-experiments are needed. Applied to each of the background-only pseudo-experiments of Table 1, the Bayer–Seljak trial factor at c=10c = 10 agrees on average with the GV estimate to within 1% on both grids. Near a high peak, NBN_B reproduces the leading term of the Davies bound, and both estimate the same oscillation rate of the process. Since NBN_B depends on the width of the observed peak, the Bayer–Seljak pp-value is that of a different test statistic, qSq_S, and its trial factor differs from the GV one by about 20% from one dataset to the next. This corresponds to a shift of less than 0.1σ0.1\sigma in the global significance at the discovery level, and the resulting global pp-value is correctly calibrated as a test (Appendix § 11.§ 2). The method relies on the Laplace approximation of § 3.5, i.e. on a smooth, approximately Gaussian likelihood peak, and, like the GV procedure, on an explicit parametrisation of the signal, so it does not apply directly to the machine-learning test statistics of § 6.

Dependence on the signal-template width

The width of the signal template used in the fit sets how rapidly q(m)q(m) varies with mm, and therefore how many upcrossings of a given reference level occur over the scan range. Figure 4 shows the GV trial factor at c=10c = 10 as a function of the template width ω\omega. Since the pseudo-experiments are background-only, their distribution does not depend on the width: only the template used in the fit changes. Broader templates produce q(m)q(m) curves that vary more slowly with mm, with fewer upcrossings and hence a smaller trial factor. This matches the intuition that the effective number of independent tests scales roughly as the ratio of the scan range to the template width. For widths comparable to the scan range, the signal templates at different masses overlap almost entirely. The tests at different masses are then strongly correlated, the scan behaves almost like a single test, and the trial factor approaches one.

Figure 4. Trial factor at c=10c = 10 as a function of the width ω\omega of the signal template used in the fit, from the GV procedure with c0=0.5c_0 = 0.5 applied to 1000 background-only pseudo-experiments on a grid of 350 mass points, with the background slope fitted (filled points) or fixed to its true value (open points). The red dashed line shows the narrow-template approximation of Eq. (29). The solid lines show the analytical Davies prediction with the correlation of Eq. (41), with the background slope fitted (black) or fixed (blue). The grey dashed line marks a trial factor of one. The solid lines and the open points are discussed in Appendix § 11.§ 3.

We can quantify this intuition with the analytical Davies bound of § 3.2. It applies to the signed square root of the likelihood ratio, Z(m)Z(m), which is positive for excesses and negative for deficits, satisfies q(m)=Z(m)2q(m) = Z(m)^2 when Z(m)>0Z(m) > 0, and is asymptotically a Gaussian process with unit variance under the null hypothesis (Appendix § 11.§ 3). Evaluated at the level c\sqrt{c} over the scan range [L,U]=[0,10][L, U] = [0, 10], the first term of Eq. (4) is then plocalp_{\mathrm{local}}, and the second the expected number of upcrossings, ⟨N(c)⟩=Ne−c/2\langle N(c) \rangle= \mathcal{N}e^{-c/2}, with N=12π∫LU−ρ11(m) dm\mathcal{N} = \frac{1}{2\pi}\int_L^U \sqrt{-\rho_{11}(m)}\,\mathrm{d}m. For a Gaussian template, and neglecting the edges of the range and the fit of the background normalisation and slope, the correlation of the process is ρ(m′,m)=exp⁡[−(m′−m)2/4ω2]\rho(m',m) = \exp[-(m'-m)^2/4\omega^2], independently of the exponential background, so that ρ11=−1/(2ω2)\rho_{11} = -1/(2\omega^2) and

N=U−L22 π ω.(28)\mathcal{N} = \frac{U-L}{2\sqrt{2}\,\pi\,\omega}. \tag*{(28)}

This is the functional form of Eq. (26), except that ⟨N(c0)⟩\langle N(c_0) \rangle is now computed analytically. For ω=0.2\omega= 0.2, Eq. (28) gives N≈5.6\mathcal{N} \approx5.6 and ⟨N(c0=0.5)⟩≈4.4\langle N(c_0=0.5) \rangle\approx4.4, compared with 4.6 measured with toys, and a trial factor of about 49 at c=10c = 10, about 5% below the GV estimate on the dense grid in Table 1. More generally, Eqs. (26) and (28) give the trial factor at any level cc,

pglobalplocal≈1+κ(c)U−Lω,κ(c)=e−c/222 πΦ(−c).(29)\frac{p_{\mathrm{global}}}{p_{\mathrm{local}}} \approx1+\kappa(c)\frac{U-L}{\omega}, \qquad\kappa(c) = \frac{e^{-c/2}}{2\sqrt{2}\,\pi\Phi(-\sqrt{c})}. \tag*{(29)}

This makes the familiar rule of thumb that the trial factor is the ratio of the scan range to the template width more quantitative. The rule captures the dependence on ω\omega, while the prefactor κ\kappa grows with the local significance c\sqrt{c}, as in Eq. (9). For local significances of 33, 44 and 5σ5\sigma, κ≈0.93\kappa\approx0.93, 1.21.2 and 1.51.5, so the rule is numerically accurate only around 3σ3\sigma and underestimates the trial factor at the discovery level.

Figure 4 compares Eq. (29) at c=10c = 10 with the GV estimates. The approximation is accurate for narrow templates, within 1% at ω=0.1\omega= 0.1 and 5% at ω=0.2\omega= 0.2. This is the regime of most resonance searches, in which the template is much narrower than both the scan range and the scale over which the background varies. For broader templates, the GV points lie up to 50% above the approximation, and fall below it only for ω≳4.2\omega\gtrsim4.2, after a sharp drop. The discrepancy does not come from the GV procedure but from the two simplifications behind Eq. (28): the fit of the background absorbs part of the signal template, and the templates are truncated at the edges of the range. Once both effects are included in the correlation of the process (Appendix § 11.§ 3), the analytical Davies prediction (solid black line) agrees with the GV estimates to within 4% for all widths, including the sharp drop. The Davies/GV framework therefore describes the trial factor accurately for all widths, once the correlation of the process is computed for the actual fit; Eq. (29) is a useful approximation for templates much narrower than the scan range and than the scale of the background.

This example shows explicitly that the LEE is not determined by the search range alone, but also by the signal model used in the scan (Section 3.6). In many high-energy physics searches, the width of the template is set by the detector resolution, so the trial factor is set by the ratio of the scan range to the resolution. In other cases, such as resonances of unknown intrinsic width, the width becomes a free parameter, and the scan extends over an additional dimension, which further increases the LEE (§ 3.4). Since the trial factor grows as 1/ω1/\omega, such a scan is dominated by its narrowest templates, and the lower end of the width range should be motivated physically, for example by the detector resolution, rather than chosen for convenience.

Multi-channel search

Many searches in high-energy physics involve several channels, for example different decay modes of the same particle, or event categories defined by detector region or by the number of reconstructed objects. In these cases, the LEE arises not only from the scan over the signal parameters within each channel, but also from the number of channels considered, which is case (ii) of § 2.2. In this section, we present two simple examples of multi-channel searches, and illustrate how the multiple-testing corrections of § 4 handle this additional layer.

Decay channels of a new particle

We consider a resonance that decays into Nch=6N_{\mathrm{ch}} = 6 channels with unknown branching ratios. Each channel is modelled as in § 8.1, by Eq. (23) with its own background and signal fraction μi\mu_i. The resonance mass is unknown but common to all channels, while the width of the Gaussian signal template differs from channel to channel, reflecting the different detector resolution of each final state. The resonance is narrow, with an intrinsic width Γ=0.02\Gamma= 0.02 much smaller than the channel resolutions ωi∈[0.15,0.40]\omega_i \in[0.15, 0.40], so the observed signal in channel ii is a Gaussian of width Γ2+ωi2≈ωi\sqrt{\Gamma^2 + \omega_i^2} \approx\omega_i, and each channel is fitted with a template of width ωi\omega_i. A signal at m=3m = 3 is injected in three channels, two with a strong and one with a weak signal, with signal fractions chosen to give an expected local significance of 4.5σ4.5\sigma in channels 1 and 6 and of 3.5σ3.5\sigma in channel 3;7 the remaining three contain background only. The parameters of each channel, together with the results of the per-channel scans in one pseudo-experiment, are listed in Table 2.

ChannelNevN_{\mathrm{ev}}ν\nuω\omegaμ\mum^\hat{m}q(m^)q(\hat{m})pGVp_{\mathrm{GV}}
110510^50.500.150.00373.0426.41.5×10−51.5 \times10^{-5}
210510^50.300.2501.632.91.00
310510^50.400.200.00353.185.50.39
410510^50.200.4000.202.60.92
510510^50.600.3006.915.40.29
610510^50.350.350.00623.0438.11.9×10−81.9 \times10^{-8}

Table 2. Setup and results for the multi-channel example. For each channel, the first four columns give the number of events, the background decay rate, the template width (equal to the detector resolution) and the injected signal fraction. The remaining columns show the results for one pseudo-experiment: the best-fit mass, the maximum of the test statistic, and the GV-corrected global pp-value (clipped at one).

We first treat each channel separately and ask which channels contain a signal. This is the per-channel formulation of § 4, appropriate when a separate decision is required for each channel.

The analysis has two levels, as in the hierarchical searches of § 2.2. Within each channel, the scan over the resonance mass is corrected with the GV procedure, which gives one global pp-value per channel. The expected number of upcrossings ⟨N(c0)⟩\langle N(c_0)\rangle is estimated separately for each channel, from 5000 background-only pseudo-experiments generated with the background of that channel and fitted with its template; it ranges from 6.0 for the narrowest template (ω=0.15\omega= 0.15) to 2.5 for the broadest (ω=0.40\omega= 0.40), following the dependence on the template width discussed in § 8.1.3. Across channels, the LEE from the multi-channel search is accounted for by correcting the threshold applied to these pp-values, rather than the pp-values themselves. For this second level, we compare the Bonferroni and Šidák corrections, which control the family-wise error rate (Section 4.1), with the Benjamini–Hochberg (BH) procedure (§ 4.2), which controls the false discovery rate. The first two replace the nominal level α\alpha by a per-channel threshold, α/Nch\alpha/N_{\mathrm{ch}} for Bonferroni and 1−(1−α)1/Nch1 - (1 - \alpha)^{1/N_{\mathrm{ch}}} for Šidák. BH instead uses rank-dependent thresholds kα/Nchk\alpha/N_{\mathrm{ch}} for the kk-th smallest pp-value. Since the channels are statistically independent, the Šidák threshold is exact here. For illustration, we use a level α=0.05\alpha= 0.05 throughout, much looser than a discovery threshold in high energy physics.

Figure 5 shows the global pp-value of each channel after the GV correction for the scan over the resonance mass, sorted in increasing order, together with the uncorrected level α\alpha and the per-channel thresholds of the three multi-channel procedures. The background-only channels have large pp-values, between 0.29 and 1, as expected for background fluctuations once the look-elsewhere effect within each channel is accounted for. The two channels with a strong signal, 1 and 6, lie below every threshold and are identified by all three procedures, and no background-only channel is selected. The weak signal of channel 3 is missed by all of them: in this pseudo-experiment it fluctuates downwards, to q(m^)=5.5q(\hat{m}) = 5.5 (2.35σ2.35\sigma local, against 3.5σ3.5\sigma expected), and its GV-corrected pp-value, 0.39, is comparable to those of the background-only channels, whereas channel 6 fluctuates upwards (6.2σ6.2\sigma local, against 4.5σ4.5\sigma expected).

Figure 5. Global pp-values of the six channels in one pseudo-experiment, corrected with the GV procedure for the scan over the resonance mass, using 5000 background-only toys per channel, but not for the number of channels. The pp-values are sorted in increasing order and labelled by channel number. Stars mark channels with an injected signal, and circles background-only channels. The horizontal lines show the per-channel thresholds without correction (α=0.05\alpha= 0.05), and with the Bonferroni and Sidák corrections, which are indistinguishable on this scale. The rising line shows the BH threshold kα/Nchk\alpha/N_{\rm ch}. The error rates of the three procedures over many pseudo-experiments are given in Table 3.

The figure also shows why the three procedures lead to the same decisions here. For six channels, the Bonferroni and Šidák thresholds, 8.33×10−38.33 \times10^{-3} and 8.51×10−38.51 \times10^{-3}, agree to first order in α\alpha and coincide on the scale of the figure. The BH threshold starts at the Bonferroni value and rises linearly with the rank kk, up to the uncorrected level α\alpha at k=Nchk = N_{\mathrm{ch}}, so that BH identifies more channels than Bonferroni only if, for some k>1k > 1, the kk-th smallest pp-value lies between α/Nch\alpha/N_{\mathrm{ch}} and kα/Nchk\alpha/N_{\mathrm{ch}}. Here, channels 1 and 6 lie below α/Nch\alpha/N_{\mathrm{ch}} and all the other channels above α\alpha, so that no pp-value falls in such an interval. The procedures differ substantially only when many channels do, as in the screening regime of § 4.2, which we illustrate in § 8.2.2.

A single pseudo-experiment cannot show the error rates that the procedures control, which are averages over repeated experiments. Table 3 reports them for 5000 pseudo-experiments generated with the same configuration. Without a correction for the number of channels, at least one of the three background-only channels is selected in 15% of the pseudo-experiments, close to 1−(1−α)31-(1-\alpha)^3. The Bonferroni and Sidák corrections reduce this to 2.5% since only N0=3N_0=3 of the six null hypotheses are true, hence the bound on the FWER is N0α/Nch=0.025N_0\alpha/N_{\rm ch}=0.025 rather than α\alpha. BH controls the FDR at the same level, N0α/Nch=0.025N_0\alpha/N_{\rm ch}=0.025, which it reaches here, but lets the FWER rise to 9%, above α\alpha. In exchange, it identifies the weak signal of channel 3 in 65% of the pseudo-experiments, compared with 52% for Bonferroni, and the strong signals in about 90% instead of 85%. This is the trade-off discussed in § 4.2, FWER control is the appropriate criterion for a discovery claim, and FDR control for a screening stage in which a controlled fraction of false leads is acceptable.

The example also shows where most of the correction comes from. For channel 1, with q(m^)=26.4q(\hat{m})=26.4, the trial factor of the mass scan is about 100, much larger than the factor Nch=6N_{\rm ch}=6 across channels, so the look-elsewhere effect inside each channel dominates the total correction. The trial factor also differs between channels: for channel 6, whose template is more than twice as broad, it is about 60, even though its q(m^)=38.1q(\hat{m})=38.1 is larger; at the q(m^)q(\hat{m}) of channel 1 it would be about 50.

More fundamentally, these procedures answer the question of which channels contain a signal, whereas claiming the discovery of a single resonance requires a single global pp-value. The most common approach in high-energy physics is a combined likelihood, given by the product of the likelihoods of the individual channels, with a single mass mm shared by all channels. Because mm is shared, the scan, and hence the look-elsewhere correction, is performed only once, on max⁡mqcomb(m)\max_m q_{\rm comb}(m). On the other hand, since the branching ratios are unknown, each channel keeps its own free signal fraction μi≥0\mu_i \ge0. The combination gains sensitivity because channels with weak individual excesses contribute if they occur at the same mass, but it pays for its additional degrees of freedom, as anticipated in Section 4.

ProcedureFWERFDRIdentification rate
ch. 1ch. 3ch. 6Mean
No correction0.1460.0430.920.740.960.87
BH0.090<u>0.026</u>0.880.650.920.82
Bonferroni<u>0.025</u>0.0080.820.520.880.74
Šidák<u>0.026</u>0.0090.820.530.880.74

Table 3. Error rates and identification probabilities of the multi-channel procedures at α=0.05\alpha= 0.05, from 5000 pseudo-experiments of the six-channel example. The family-wise error rate (FWER) and false discovery rate (FDR) are shown, in addition to the fraction of pseudo-experiments in which each signal channel is identified, and their mean. The statistical uncertainties are below 0.005 for the FWER, 0.002 for the FDR and 0.007 for the identification probabilities. The values controlled by each method are underlined.

Screening many event classes

The previous example is typical of a targeted search: a few channels, one hypothesised particle, and a correction for the number of channels that is small compared with the look-elsewhere effect within each channel. A different regime arises in model-independent general searches, which partition the selected events into many exclusive classes according to their final-state content and scan each class for deviations from the Standard Model prediction (case (ii) in Section 2.2). Such searches have been performed at HERA [66], at the Tevatron, with 399 exclusive final states [17], and at the LHC, with several hundred event classes per analysis [18, 19], and some targeted searches for supersymmetry report their results in more than a hundred exclusive signal regions [67]. A general search is primarily a screening tool, whose role is to identify classes that deserve a dedicated follow-up analysis (Section 8). A false lead then costs only the effort of a follow-up study, and the natural criterion is the false discovery rate rather than the family-wise error rate (Section 4.2). Moreover, a new particle would typically contribute to several final states at once, so several classes may contain a genuine signal. This is the regime in which BH and the family-wise procedures differ most.

We illustrate this regime with a scaled-down general search with Nch=50N_{\mathrm{ch}} = 50 classes, an order of magnitude fewer than in the searches above. Each class is modelled as in Section 7.1, with its own background slope and detector resolution, drawn once from uniform distributions in [0.2,0.6][0.2, 0.6] and [0.15,0.40][0.15, 0.40], respectively, and the mass scan within each class is corrected with the GV procedure as in Section 7.2.1. A narrow resonance at m=3m = 3 is injected in 10 classes, chosen at random, with signal fractions that give expected local significances evenly spaced between 2.5σ2.5\sigma and 4.5σ4.5\sigma, mimicking a new particle that contributes to several final states with different branching ratios. We compare the Bonferroni, Šidák and BH procedures at α=0.05\alpha= 0.05 over 3000 pseudo-experiments, treating the classes as statistically independent; further details of the setup, and a discussion of correlations between classes, are given in Appendix A.4.

Figure 6 shows one pseudo-experiment. Without a correction for the number of classes, 11 classes have a global pp-value below α\alpha, 3 of which contain background only. The Bonferroni and Šidák corrections, whose threshold is now α/Nch=10−3\alpha/N_{\mathrm{ch}} = 10^{-3}, select 5 classes, all with a signal. BH selects the same 5 and one more signal class, whose pp-value of 3.5×10−33.5 \times10^{-3} lies above the Bonferroni threshold but below the BH line at rank 6, 6α/Nch=6×10−36\alpha/N_{\rm ch} = 6 \times10^{-3}; the next signal class, at rank 7, misses it narrowly (7.9×10−37.9 \times10^{-3} against 7×10−37 \times10^{-3}). Here the BH threshold rises enough to matter, because several classes have small pp-values, as anticipated in § 4.2.

Figure 6. GV-corrected global pp-values of the 50 classes in one pseudo-experiment, sorted in increasing order, with the per-class thresholds without correction (α=0.05\alpha= 0.05), with the Bonferroni and Šidák corrections, which coincide on this scale, and the BH threshold kα/Nchk\alpha/N_{\rm ch}. Stars mark classes with an injected signal, and circles background-only classes.

The averages over the 3000 pseudo-experiments are given in Table 4 (Appendix § 11.§ 4). Without a correction, at least one background-only class is selected in 85% of the pseudo-experiments, and one in five selected classes is a false lead. The Bonferroni and Šidák corrections keep the FWER at 4%, consistent with the bound N0α/Nch=0.04N_0\alpha/N_{\rm ch} = 0.04 for N0=40N_0 = 40 background-only classes, but identify on average only 3.4 of the 10 signal classes. BH keeps the FDR at 4.1%, consistent with the same bound, and identifies on average 4.9 signal classes, 42% more, at the price of a FWER of 22%, well above α\alpha.

ProcedureFWERFDRcl. 3cl. 10cl. 16cl. 19cl. 22cl. 24cl. 29cl. 32cl. 46cl. 47Mean
No correction0.8540.1990.940.910.360.590.430.790.660.900.590.870.70
BH0.2200.0410.800.750.150.330.200.560.400.720.320.640.49
Bonferroni0.0430.0110.660.600.070.200.090.370.250.540.180.460.34
Šidák0.0430.0110.660.600.070.200.090.380.250.550.190.470.34

Table 4. Table 4: Error rates and identification probabilities of the multi-channel procedures at α=0.05\alpha= 0.05, from 3000 pseudo-experiments of the 50-class general search. The family-wise error rate (FWER) and false discovery rate (FDR) are shown, in addition to the fraction of pseudo-experiments in which each of the 10 signal classes is identified, and its average over the signal classes. The statistical uncertainties are below 0.008 for the FWER, 0.002 for the FDR and 0.01 for the identification probabilities. The values controlled by each method are underlined.

BH is the more useful procedure for a screening search, where a few false leads per hundred selected classes is an acceptable price for following up about 40% more genuine signals. A discovery claim requires the family-wise criterion, and the classes selected at the screening stage are confirmed with a dedicated analysis (§ 9).

Summary and recommendations

The look-elsewhere effect is a single statistical phenomenon: the inflation of significance when a test statistic is optimised by looking at the data multiple times. However, it manifests differently depending on the structure of the search, the tools used, and the scope of “elsewhere.” This article has traced the problem from its classical foundations to its modern incarnations in machine learning, and several overarching themes have emerged.

The LEE depends on both data and model. A recurring point throughout this review, already present in Davies’ original formulation but often overlooked, is that the trial factor is not a property of the data alone. It depends jointly on the search range (a property of the data and the experimental design), on the resolution at which the search is conducted (a property of the signal template or the ML model), and on the correlation structure of the test statistic across the search space (mainly a property of the experimental resolution when searching for narrow resonances). Two analyses on identical data can have very different trial factors if they use different signal templates or ML models with different effective resolutions. This observation is central to understanding both the classical framework (Section 3.6) and the ML-specific challenges (§ 6.3).

“Elsewhere” is not uniquely defined. The definition of the search space involves scientific judgment, and different choices lead to different trial factors for the same observed excess (§ 2). The three nested cases presented in § 2—within a single distribution (case (i)), across multiple analyses (case (ii)), and across an entire experimental programme (case (iii))—represent different possible levels of scepticism, from the graduate student’s to the laboratory director’s. No single definition is universally correct; what matters is that the definition is stated explicitly and that the reader can assess the correction for themselves.

Different problems require different tools. The methods reviewed in this paper address distinct statistical problems, and applying the wrong tool leads either to overcorrection (loss of sensitivity) or to conceptual confusion:

  • Single search with a scan parameter (§ 3). One null hypothesis, one test statistic maximised over a nuisance parameter θ\theta. The correction is for the implicit optimisation over θ\theta. The appropriate tool is Davies/GV, which exploits the χ2\chi^2 structure and correlation of the process q(θ)q(\theta). This is the standard setting for resonance searches.

  • Multiple independent or quasi-independent searches (§ 4). Many null hypotheses, each tested separately. The correction is for the multiplicity of tests. Bonferroni controls the FWER under arbitrary dependence, Sidák under independence; BH controls the FDR and is appropriate for screening. This is the natural setting for case (ii): combining results across multiple final states or analyses.

  • Sequential monitoring (§ 5). Data arrive over time and the analyst wishes to assess significance repeatedly without penalty. E-values and e-processes provide anytime-valid inference without a pre-specified stopping rule or significance level. Their natural home is in online monitoring and evidence accumulation across successive data-taking periods, rather than in standard offline analyses where properly calibrated p-values remain more powerful.

  • ML-based searches (§ 6). These can fall into any of the above categories depending on the setup. A single ML model scanning the full phase space is closest to the first setting (one test, implicit scan), but with the complication that the χ2\chi^2 assumptions of Davies/GV typically fail and the effective resolution is emergent rather than specified. Multiple ML models with different hyperparameters on the same data are closer to the second setting (multiple correlated tests). The implicit LEE of an ML model can be addressed by reducing it (regularisation), avoiding its contamination of the test (data splitting), or measuring and correcting for it (pseudo-experiment calibration). These strategies are complementary, and their relative merits depend on the computational budget and the model complexity.

Calibration is the central challenge for ML. The conceptual problem posed by ML-based searches is not new — it is the same local-versus-global p-value confusion that Davies identified in 1977, now occurring inside the model’s optimisation rather than in an explicit parameter scan. What is new is the computational cost of the standard remedy. Pseudo-experiment calibration, which absorbs the full LEE by construction, requires retraining the ML model for each toy — an expense that scales with model complexity and can be prohibitive for large networks. The Gross-Vitells extrapolation trick, which makes classical calibration cheap, does not apply because the null distribution of the ML test statistic is generally not χ2\chi^2. Developing analogous shortcuts for ML test statistics — or designing ML models whose calibration is cheap by construction (e.g., through aggressive regularisation or sparsity constraints) — is one of the most important open problems in this area.

Screening and discovery should be separated. Signal-agnostic ML searches serve a fundamentally different scientific function from targeted analyses: they identify anomalies for follow-up, rather than standalone physics discoveries. A two-tier approach — screening at a lower threshold with a properly calibrated global p-value, followed by targeted confirmation on fresh data at the standard discovery threshold — separates the two scientific functions and applies the appropriate statistical standard to each. We note that, for the screening tier to be useful in practice, the screening method must do more than return a global significance: it must offer some handle on why a region was flagged. Concretely, the ability to localise where in feature space an anomaly manifests, and to quantify how much of it can be absorbed by systematic-uncertainty, is what allows uninteresting flags — those attributable to background mismodelling rather than new physics — to be triaged and discarded without committing to a full targeted follow-up. Methods that incorporate systematic uncertainties [68] and help characterising the detected anomaly [69, 54, 70, 64] provide exactly this kind of information. Screening is therefore most effective when paired with interpretable test statistics: interpretability is not a peripheral feature but a prerequisite for the two-tier strategy, since it determines whether the follow-up stage is applied only to genuinely promising anomalies or squandered on modelling artefacts.

Scope. We wish to bring to the reader’s attention that, while extensive, this article does not cover all the literature that connects with the LEE problem. We do not include any discussion about whether extra penalties should be imposed on analyses that are dominated by systematics and/or are not blind analyses. This is a topic worthy of further consideration. We also touch the look “elsewhen” effect only briefly, and we leave an in-depth exposition of anytime valid statistics to future work.

Based on these considerations, we offer the following recommendations for community discussion. They are intended as starting points, not settled standards, and may need to be adapted to the circumstances of a particular search.

Recommendations for the High Energy Physics community

  1. Define and report elsewhere. The trial factor can be quantified at the level of a single analysis, and every analysis should report a global p-value at that level alongside the local p-value for discovery claims, making the cost of the search explicit and comparable across analyses. The global p-value should be accompanied by the definition of “elsewhere” used to compute it: what was scanned (parameters, ranges, channels or ML configurations) and why.

  2. Adapted discovery threshold convention. We recommend changing the convention on the significance threshold to reflect the difference between two main classes of statistical analyses:

  • BSM Discovery. The convention of reporting 5σ5\sigma on the local p-value for discovery claims ignores the analysis-level LEE correction. We propose a threshold of 5σ5\sigma on the global p-value reported by an analysis.8

  • SM confirmation. Analyses which merely confirm SM predictions (e.g. HH production or rare H decay modes) might be technically very impressive, but are not “discoveries”. For most of these cases, global and local p-value are usually the same. As such, we propose a 3.5σ3.5\sigma global threshold.

  • Screening. Signal-agnostic searches that operate like Goodness-of-Fit tests of the SM identify statistical anomalies for follow-up, not stand-alone physics discoveries, and should be treated as such. We recommend a two-step approach: (a) screening, where the search reports the analysis-level global p-value, and anomalies above a threshold of 3σ3\sigma global significance are flagged for targeted follow-up9; (b) confirmation, where a dedicated analysis on a fresh set of data using a specific signal hypothesis motivated by the anomaly is held to the threshold of a “BSM discovery”. Screening-stage detections should be publicly reported to the community to enable follow-up, but no stand-alone discovery claim should be based solely on a screening search without targeted confirmation.

3. Calibrate and interpret ML-based searches appropriately. ML-based strategies whose model is trained on, or otherwise adapted to, the observed data introduce an implicit LEE and require calibration of the null distribution. This ranges from signal-dependent methods, such as weakly supervised resonant anomaly detection, to signal-agnostic methods, such as ML-based goodness-of-fit tests.

  • GOF tests return a global p-value. Model-agnostic searches that operate like Goodness-of-Fit tests of the SM return a global p-value that, after proper calibration, is already corrected for the look-elsewhere effect within the space of input features analysed.

  • Multiple tests. Running several ML strategies on the same data — differing in algorithm, architecture, or hyperparameter choices — amounts to performing several distinct searches, and the significance of the most anomalous result must be corrected for this multiplicity. When feasible, we recommend that analyses combining multiple ML strategies report a single global p-value calibrated by running all strategies on the same background-only pseudo-experiments, which accounts for the correlation automatically. When the strategies are themselves scanned over a physics parameter (e.g. the resonance mass in ML-enhanced bump hunting), the discrete multiplicity and the continuous scan LEE compound and must be corrected jointly.

  • Train/test splitting controls contamination. Where retraining on many toys is prohibitive, train/test splitting ensures the score function is independent of the search data, removing the post-selection bias at the cost of scoring on just a fraction of the data. For statistics with an analytic null on the held-out fold this yields a toy-free route; for intractable-null statistics it reduces but does not eliminate the calibration burden (kk-folding leaves a residual bias whose tail reliability is unestablished).

4. Additional parameters of interest. A signal may be characterised by parameters beyond its mass, notably its width or lifetime. How these enter the LEE depends on a prior physics decision: whether the additional parameter is itself a parameter of interest or a nuisance parameter. Both mass and any continuous companion parameter should be sampled on a sufficiently fine scale.

  • Continuous parameter, profiled (default). When the extra parameter is continuous, present only under the signal hypothesis (e.g. width or lifetime), and not itself of interest, we recommend treating it as a nuisance parameter profiled at each mass point.

  • Joint parameters of interest. When both mass and the additional parameter are of interest, the LEE is defined over a 2-D region of parameter space and should be evaluated by toys or by the multi-dimensional Vitells–Gross method.

  • Widely-separated discrete values. When the parameter takes a small number of physically distinct, well-separated values analysed independently (e.g. lifetime regimes probed by different detector subsystems in LLP searches), these are better treated as separate searches, with the correction following the multiple-testing prescriptions of § 4.

Acknowledgments

The authors are grateful to the members of the CMS Statistics Committee—in particular Bob Cousins, Francisco Matorras, Louis Moureaux, and Nicholas Wardle—for their valuable input and insightful discussions. We also thank Richard Lockhart for helpful conversations on discovery thresholds, To-bias Golling for his insights on online anomaly detection, and Aaditya Ramdas for his extremely helpful feedback on e-values. We are further grateful to David Bailey, Wolfgang Rolke, Phil Harris, Adrian Bayer and Roberto Trotta for valuable discussions, and to the CMS Physics Coordinators and the conveners of the Higgs, Exotica, and SUSY physics analysis groups for their support and feedback. G.G. is supported by the National Science Foundation under Cooperative Agreement PHY-2019786 (The NSF AI Institute for Artificial Intelligence and Fundamental Interactions, http://iaifi.org/). S.R.B. is supported by the Spanish Research Agency (Agencia Estatal de Investigación) through projects PID2022-142545NB-C21, PID2025-168810NB-I00, CEX2020-001007-S, CEX2025-001574-S (research lines BSM, Quantum) and grant PRE2022-101860 funded by MCIN/AEI/10.13039/501100011033.

Additional details on the illustrative experiments

This appendix collects details and cross-checks of the examples of § 8 that complement the discussion in the main text but are not needed to follow it.

Grid granularity and the Gross–Vitells estimate

This section complements the discussion of the right panel of Figure 3 and of Table 1 in § 8.1.2. On a coarse grid, where the scanned points are effectively independent tests, the trial factor of the discrete scan is close to NgridN_{\mathrm{grid}}. The GV estimate is not, because the extrapolation in Eq. (26) assumes a smooth process: near a peak of a smooth q(m)q(m), maximising over mm adds one degree of freedom, which is the origin of the χs+12\chi^2_{s+1} term in Eq. (8). A set of independent points lacks this extra degree of freedom, so its tail falls faster with cc than the extrapolation assumes. Because the GV procedure measures the upcrossing rate at c0c_0 and rescales it to cc, this mismatch grows with the gap between the two levels: the further cc lies above c0c_0, the more the GV estimate overshoots the trial factor of the discrete scan. For independent points, about 18% of the steps of the scan upcross c0=0.5c_0 = 0.5, and extrapolating this rate to c=10c = 10 gives an estimate of about 1+2Ngrid1 + 2N_{\mathrm{grid}}, roughly twice the trial factor of the discrete scan. This is the behaviour of the c0=0.5c_0 = 0.5 curve at small NgridN_{\mathrm{grid}}, which lies above the Bonferroni line. For c0=7.5c_0 = 7.5 the extrapolation is short, and the GV estimate follows the Bonferroni value, but it requires a denser scan in order to correctly approximate the trial factor of the continuous scan.

The Bayer–Seljak estimate

This section gives the details of the Bayer–Seljak estimate of Eq. (27), summarised at the end of § 8.1.2. As in [13], the local pp-value in Eq. (27) is used in its asymptotic form. With this form, NBN_{\mathrm{B}} times the local pp-value equals the second term of the Davies bound, Eq. (4), in which the oscillation rate of the process is estimated from the curvature of the observed peak. With the exact local pp-value, 12P(χ12>c)\frac{1}{2}P(\chi^2_1 > c), the estimate at c=10c = 10 would be about 8% lower. We compute q′′(m^)q''(\hat{m}) by repeating the fit at m^±0.02\hat{m} \pm0.02, so that the estimate does not depend on the spacing of the scan.

To test it, we apply Eq. (27) to each of the background-only pseudo-experiments of Table 1. On average, the Bayer–Seljak trial factor at c=10c = 10 agrees with the GV estimate to within 1% on both grids, and, like it, lies a few per cent above the Davies and empirical estimates on the 350-point grid. The agreement with GV is expected. Near a high peak of local significance ZZ, the posterior width is σm=1/(Z−ρ11)\sigma_m = 1/(Z\sqrt{-\rho_{11}}), so that NBN_{\mathrm{B}} reproduces the leading term of the Davies bound, and both estimate the same oscillation rate of the process: the value of −ρ11\sqrt{-\rho_{11}} inferred from the curvature of the peaks, 3.67, agrees to within 2% with that inferred from the upcrossing rate measured in the GV procedure, 3.73.

The two approaches differ in the test statistic. The GV and Davies estimates give the pp-value of q(m^)q(\hat{m}), whereas the Bayer–Seljak pp-value is a function of qSq_{\mathrm{S}}, in which NBN_{\mathrm{B}} is estimated from the single observed peak, whose curvature fluctuates from one dataset to the next. The left panel of Figure 7 shows the trial factor as a function of the local significance. The Bayer–Seljak estimate follows the growth with ZlocalZ_{\mathrm{local}} of the GV extrapolation and of the pseudo-experiments for local significances between 2.52.5 and 4σ4\sigma, and at fixed ZlocalZ_{\mathrm{local}} it differs from the GV value by about 20% from one dataset to the next. Below about 2.5σ2.5\sigma it also follows the pseudo-experiments, where the GV formula, an approximation for the tail, overestimates the trial factor. The reason is that Eq. (27) has the form of a Šidák correction, so the global pp-value it gives saturates at one, while the GV estimate, based on the expected number of upcrossings, can exceed one. The right panel compares, dataset by dataset, the estimated global pp-values with those of q(m^)q(\hat{m}) obtained from the full set of pseudo-experiments. The GV pp-value is a fixed function of q(m^)q(\hat{m}) and lies on a single curve, whereas the Bayer–Seljak pp-values scatter around the diagonal. This scatter is not an error of the estimate: qSq_{\mathrm{S}} and q(m^)q(\hat{m}) are different test statistics, whose pp-values need not agree dataset by dataset even when both are exact. The relevant check is the calibration: in background-only pseudo-experiments, p<αp < \alpha occurs in a fraction 0.051 of cases for α=0.05\alpha= 0.05 and 0.010 for α=0.01\alpha= 0.01, so that it is correctly calibrated as a test.10 in most datasets this is the highest peak.

Figure 7. Comparison of the Bayer–Seljak estimate, Eq. (27), computed from each dataset without pseudo-experiments, with the GV procedure and with the pseudo-experiments, for the 350-point scan. Left: trial factor as a function of the local significance of the highest peak, Zlocal=q(m^)Z_{\mathrm{local}} = \sqrt{q(\hat{m})}, from the fraction of pseudo-experiments above each level (open diamonds), from the GV extrapolation with c0=0.5c_0 = 0.5 (red line), and from the Bayer–Seljak estimate of each dataset (median and central 68% of the datasets in bins of ZlocalZ_{\mathrm{local}}, blue). Right: global pp-value of each dataset estimated with the Bayer–Seljak method (one point per dataset) and with the GV procedure (red line), as a function of the global pp-value of q(m^)q(\hat{m}) obtained from the full set of pseudo-experiments; the dashed line marks equality. Since the Bayer–Seljak pp-value belongs to a different statistic, qSq_S, individual points are not expected to lie on the diagonal. Both panels use 3×1053 \times10^5 background-only pseudo-experiments.

The Bayer–Seljak estimate thus provides, from a single fit around the observed excess, a correctly calibrated global pp-value; its trial factor differs from the GV one by about 20% dataset by dataset, which corresponds to a shift of less than 0.1σ0.1\sigma in the global significance at the discovery level.11 In addition to the requirements listed in § 8.1.2, the method uses the width of the observed peak to represent the whole scan range, which becomes inaccurate if the resolution varied strongly across the range.

Trial factor for broad signal templates

This section gives the derivation of the analytical Davies prediction of § 8.1.3 and explains the behaviour of the trial factor for broad templates in Figure 4.

To apply the analytical Davies bound of § 3.2, we write the test statistic in terms of the signed square root of the likelihood ratio,

Z(m)=sign⁡(μ^m)−2ln⁡L(μ=0,ν^)L(μ^m,ν^m;m)(30)Z(m)=\operatorname{sign}(\hat{\mu}_m)\sqrt{-2\ln\frac{\mathcal{L}(\mu=0,\hat{\nu})}{\mathcal{L}(\hat{\mu}_m,\hat{\nu}_m;m)}} \tag*{(30)}

in which the likelihood ratio of Eq. (24) is evaluated for either sign of μ^m\hat{\mu}_m. Excesses give Z(m)>0Z(m)>0 and deficits Z(m)<0Z(m)<0, and the two statistics are related by q(m)=Z(m)2q(m)=Z(m)^2 when Z(m)>0Z(m)>0 and q(m)=0q(m)=0 otherwise. Under the null hypothesis, Z(m)Z(m) follows a standard normal distribution at each mass and, as a function of mm, is asymptotically a Gaussian process with unit variance. It therefore plays the role of S(θ)S(\theta) in Eq. (4), with θ→m\theta\to m and [L,U]=[0,10][L,U]=[0,10]. Since q(m^)>cq(\hat{m})>c exactly when max⁡mZ(m)>c\max_m Z(m)>\sqrt{c}, Eq. (4) is evaluated at the level c\sqrt{c}. Its first term then becomes Φ(−c)=12P(χ12>c)=plocal\Phi(-\sqrt{c})=\frac{1}{2}P(\chi_1^2>c)=p_{\mathrm{local}}, and its second term the expected number of upcrossings, ⟨N(c)⟩=Ne−c/2\langle N(c)\rangle=\mathcal{N}e^{-c/2}, with N=12π∫LU−ρ11(m) dm\mathcal{N}=\frac{1}{2\pi}\int_L^U\sqrt{-\rho_{11}(m)}\,\mathrm{d}m.

The only model-dependent ingredient of N\mathcal{N} is ρ11(m)\rho_{11}(m). It is defined from the correlation between the values of ZZ at two different masses, ρ(m′,m)=corr⁡[Z(m′),Z(m)]\rho(m',m)=\operatorname{corr}[Z(m'),Z(m)], as

ρ11(m)=∂2ρ(m′,m)∂m′2∣m′=m,\rho_{11}(m)=\left.\frac{\partial^2\rho(m',m)}{\partial m'^2}\right|_{m'=m},

and it measures how fast the correlation drops when m′m' moves away from mm: the faster it drops, the more upcrossings. In general ρ11\rho_{11} depends on mm, which is why it is integrated in N\mathcal{N}. We derive ρ\rho for a Gaussian template g(x∣m,ω)g(x\mid m,\omega), first neglecting the edges of the range and the fit of the background normalisation and slope; in that case ρ11\rho_{11} turns out to be independent of mm.

Step 1: Z(m)Z(m) as a score. Divide the xx range into narrow bins ii, and let nin_i be the number of observed events in each. Let bib_i be the expected number of background events in bin ii, and gi=gi(m)g_i=g_i(m) the expected number of signal events for μ=1\mu=1 with the template of mass mm and width ω\omega. The log-likelihood of the signal strength is then Poissonian,

ln⁡L(μ)=∑i[niln⁡(bi+μgi)−(bi+μgi)]+const.(31)\ln\mathcal{L}(\mu)=\sum_i\left[n_i\ln(b_i+\mu g_i)-(b_i+\mu g_i)\right]+\mathrm{const}. \tag*{(31)}

Under the null hypothesis μ=0\mu=0 the estimate μ^m\hat{\mu}_m is small, so we expand ln⁡L\ln\mathcal{L} to second order around μ=0\mu=0:

ln⁡L(μ)≃ln⁡L(0)+μu(m)−12μ2I(m),(32)\ln\mathcal{L}(\mu)\simeq\ln\mathcal{L}(0)+\mu u(m)-\frac{1}{2}\mu^2I(m), \tag*{(32)}

with

u(m)=∂ln⁡L∂μ∣μ=0=∑igini−bibi,I(m)=−∂2ln⁡L∂μ2∣μ=0≃∑igi2bi.(33)u(m)=\left.\frac{\partial\ln\mathcal{L}}{\partial\mu}\right|_{\mu=0}=\sum_i g_i\frac{n_i-b_i}{b_i},\qquad I(m)=-\left.\frac{\partial^2\ln\mathcal{L}}{\partial\mu^2}\right|_{\mu=0}\simeq\sum_i\frac{g_i^2}{b_i}. \tag*{(33)}

Here uu is the score, the standard name for the derivative of the log-likelihood with respect to a parameter, evaluated at its null value: it is the slope of ln⁡L\ln\mathcal{L} at μ=0\mu=0, and measures how strongly the data pull μ\mu away from zero. For II, the Fisher information, the observed value ∑igi2ni/bi2\sum_i g_i^2n_i/b_i^2 has been replaced by its expectation under the null hypothesis, where ⟨ni⟩=bi\langle n_i\rangle=b_i. The maximum of the parabola is at μ^m=u/I\hat{\mu}_m=u/I, where ln⁡L(μ^m)−ln⁡L(0)=u2/2I\ln\mathcal{L}(\hat{\mu}_m)-\ln\mathcal{L}(0)=u^2/2I. The likelihood ratio in Eq. (30) is therefore −2ln⁡[L(0)/L(μ^m)]=u2/I-2\ln[\mathcal{L}(0)/\mathcal{L}(\hat{\mu}_m)]=u^2/I, and

Z(m)=u(m)I(m)(34)Z(m)=\frac{u(m)}{\sqrt{I(m)}} \tag*{(34)}

since μ^m\hat{\mu}_m and uu have the same sign.

To find the distribution of Z(m)Z(m) under the null hypothesis, note that the events follow a Poisson process, so the nin_i are independent Poisson variables with mean and variance

⟨ni⟩=Var⁡[ni]=bi.(35)\langle n_i\rangle= \operatorname{Var}[n_i] = b_i. \tag*{(35)}

The score is therefore a linear combination of independent variables with zero mean, u=∑igi(ni−bi)/biu = \sum_i g_i\left(n_i-b_i\right)/b_i. Then ⟨u(m)⟩=0\langle u(m)\rangle= 0 and, since the cross terms vanish by independence,

Var⁡[u(m)]=∑igi2bi2bi=∑igi2bi=I(m).(36)\operatorname{Var}[u(m)] = \sum_i \frac{g_i^2}{b_i^2}b_i = \sum_i \frac{g_i^2}{b_i} = I(m). \tag*{(36)}

The variance of the score is thus the Fisher information, and Z(m)=u(m)/I(m)Z(m) = u(m)/\sqrt{I(m)} has zero mean and unit variance. In addition, when the expected number of events is large, u(m)u(m) is a sum of many independent contributions, so by the central limit theorem it is asymptotically Gaussian, as stated above. The same holds jointly for any set of masses, since all the u(m)u(m) are linear in the same nin_i, which makes Z(m)Z(m) a Gaussian process.

Step 2: correlation. The same argument gives the covariance of the scores at two masses. With gi′=gi(m′)g_i' = g_i(m'), only the terms with the same bin survive,

cov⁡[u(m′),u(m)]=∑igi′gibi2bi=∑igi′gibi.(37)\operatorname{cov}[u(m'),u(m)] = \sum_i \frac{g_i'g_i}{b_i^2}b_i = \sum_i \frac{g_i'g_i}{b_i}. \tag*{(37)}

Dividing by the normalisations I(m′)I(m)\sqrt{I(m')I(m)} gives

ρ(m′,m)=⟨g(m′),g(m)⟩∥g(m′)∥∥g(m)∥,⟨v,v′⟩=∑ivivi′bi,(38)\rho(m',m) = \frac{\langle g(m'),g(m)\rangle}{\lVert g(m')\rVert\lVert g(m)\rVert}, \qquad\langle v,v'\rangle= \sum_i \frac{v_i v_i'}{b_i}, \tag*{(38)}

where g(m)g(m) denotes the vector of the gi(m)g_i(m), and ∥v∥=⟨v,v⟩1/2\lVert v\rVert= \langle v,v\rangle^{1/2}. This is Eq. (41) below, without the projections that account for the background fit. For narrow bins, bi=b(xi) Δxb_i = b(x_i)\,\Delta x and gi=g(xi∣m,ω) Δxg_i = g(x_i\mid m,\omega)\,\Delta x, the common factor Δx\Delta x cancels in ρ\rho and the sums become integrals,

ρ(m′,m)=∫g(x∣m′,ω)g(x∣m,ω)b(x)−1 dxI(m′)I(m),I(m)=∫g(x∣m,ω)2b(x) dx,(39)\rho(m',m) = \frac{\int g(x\mid m',\omega)g(x\mid m,\omega)b(x)^{-1}\,\mathrm{d}x}{\sqrt{I(m')I(m)}}, \qquad I(m) = \int\frac{g(x\mid m,\omega)^2}{b(x)}\,\mathrm{d}x, \tag*{(39)}

where now b(x)b(x) is the background density.

Step 3: Gaussian template and exponential background. For b(x)∝e−νxb(x) \propto e^{-\nu x}, the product of the two templates is g(x∣m′,ω)g(x∣m,ω)∝exp⁡[−(x−mˉ)2/ω2]exp⁡[−(m′−m)2/4ω2]g(x\mid m',\omega)g(x\mid m,\omega) \propto\exp[-(x-\bar{m})^2/\omega^2]\exp[-(m'-m)^2/4\omega^2], with mˉ=(m+m′)/2\bar{m}=(m+m')/2. Multiplying by 1/b∝eνx1/b \propto e^{\nu x} and integrating over xx gives, in the numerator, exp⁡[−(m′−m)2/4ω2]\exp[-(m'-m)^2/4\omega^2] times a factor eνmˉ+ν2ω2/4e^{\nu\bar{m}+\nu^2\omega^2/4}. Setting m′=mm'=m shows that I(m′)I(m)\sqrt{I(m')I(m)} contains the same factor, with the same constants. The dependence on the background therefore cancels, leaving

ρ(m′,m)=exp⁡[−(m′−m)24ω2],ρ11=−12ω2,(40)\rho(m',m) = \exp\left[-\frac{(m'-m)^2}{4\omega^2}\right], \qquad\rho_{11} = -\frac{1}{2\omega^2}, \tag*{(40)}

independently of the slope ν\nu. Inserting ρ11\rho_{11} in NN gives Eq. (28).

As noted in § 8.1.3, for broad templates the GV points in Figure 4 deviate from the narrow-template prediction of Eq. (29), because Eq. (28) neglects two effects. First, the background fit absorbs the part of the signal template that mimics a change in the background normalisation or slope. For broad templates, the part that remains varies more rapidly with mm than the full template, which shortens the correlation length and increases the number of upcrossings relative to Eq. (29). Second, templates near the edges of the range are truncated, which reduces the number of upcrossings. The two effects act in opposite directions, and both are accounted for when the correlation function of Z(m)Z(m) is computed directly from the binned templates, with the background fit included,

ρ(m′,m)=⟨g~(m′),g~(m)⟩∥g~(m′)∥∥g~(m)∥,⟨v,v′⟩=∑ivivi′bi,(41)\rho(m',m) = \frac{\langle\widetilde{g}(m'),\widetilde{g}(m)\rangle}{\lVert\widetilde{g}(m')\rVert\lVert\widetilde{g}(m)\rVert}, \qquad\langle v,v'\rangle= \sum_i \frac{v_i v_i'}{b_i}, \tag*{(41)}

where bib_i is the background in bin ii, and the template g(m)g(m) of Step 2 is replaced by g~(m)\widetilde{g}(m), the part of it that the background fit cannot mimic. To see which part this is, regard the expected counts in all bins as a vector, (b1,b2,…)(b_1,b_2,\ldots). To first order, a small change δA\delta A of the background normalisation and δν\delta\nu of the slope change the expected counts by

δbi≃δAAbi+δν∂bi∂ν.(42)\delta b_i \simeq\frac{\delta A}{A}b_i+\delta\nu\frac{\partial b_i}{\partial\nu}. \tag*{(42)}

A change of normalisation thus rescales all bins in proportion to bib_i itself, and a change of slope tilts the spectrum, moving events between low and high xx in proportion to ∂bi/∂ν\partial b_i/\partial\nu. The background fit can therefore reproduce any small excess or deficit with the shape of a combination of these two vectors, and any such component of the signal template is absorbed by the fit and carries no evidence for a signal. Accordingly, g~(m)\widetilde{g}(m) is the template minus its projection onto the two vectors bib_i and ∂bi/∂ν\partial b_i/\partial\nu, with the same inner product; equivalently, it is the residual of a weighted least-squares fit of gi(m)g_i(m) by bib_i and ∂bi/∂ν\partial b_i/\partial\nu, with weights 1/bi1/b_i. For a narrow template the projection is negligible, g~(m)≃g(m)\widetilde{g}(m)\simeq g(m), and Step 2 is recovered.

Evaluating N\mathcal{N} numerically with this correlation function gives the solid black line in Figure 4, which agrees with the GV estimates to within 4% for all widths, including the sharp drop near ω≈4\omega\approx4. This drop arises because, for 2≲ω≲42\lesssim\omega\lesssim4, there is a mass inside the scan range at which the template is almost entirely absorbed by the background fit. Around this mass the residual shape changes rapidly with mm, which adds upcrossings. As ω\omega increases, this mass moves towards the lower edge of the range and leaves it just above ω=4\omega=4, so its contribution to N\mathcal{N} disappears. Repeating the GV procedure with the background slope fixed to its true value (open points) removes the drop; the points agree with the corresponding Davies prediction, in which only the normalisation is projected out (solid blue line), to within 5% for ω≲2.5\omega\lesssim2.5, and lie up to 14% above it for broader templates.

Screening search: setup details and identification rates

This section complements the screening example of § 8.2.2. The mass scan within each class is corrected with the GV procedure, with ⟨N(c0)⟩\langle N(c_0)\rangle estimated for each class from 2000 background-only pseudo-experiments; it ranges from 2.5 to 5.7, depending on the template width. For each procedure we record the family-wise error rate, the false discovery rate, and the fraction of pseudo-experiments in which each signal class is identified, which are given in Table 4.

The classes are treated as statistically independent. In a real general search they are exclusive, but their predictions share systematic uncertainties, and migrations between neighbouring classes, for example in jet multiplicity, can anti-correlate them. BH is guaranteed to control the false discovery rate under positive dependence, while the Benjamini–Yekutieli variant does so under arbitrary dependence, at a cost in power (§ 4.2).

On average, BH selects 0.26 background-only classes per pseudo-experiment. In return, it identifies more of the genuine signals, and the relative gain over Bonferroni is largest for the weakest ones: a class with an expected local significance of 2.5σ2.5\sigma is identified in 15% of the pseudo-experiments by BH and in 7% by Bonferroni. Even the strongest signals, at 4.5σ4.5\sigma, are identified in only 80% (BH) and 66% (Bonferroni) of the pseudo-experiments. This is because, once the look-elsewhere effect within each class and across the 50 classes is included, a Bonferroni-corrected discovery at α=0.05\alpha= 0.05 requires a local significance of about 4.1σ4.1\sigma.

Notation and abbreviations

This appendix collects the mathematical symbols (Table 5) and the abbreviations (Table 6) used in the paper. Symbols are grouped by the part of the paper in which they are introduced, and the last column gives the section or equation where each is defined. The general discussion is written in terms of a generic scan parameter θ\theta. In the illustrative experiments the scan parameter is the mass mm, and the quantities defined for θ\theta are used with θ→m\theta\to m, e.g. q(m)q(m) and m^\hat{m}. A few letters, notably σ\sigma, cc, kk, MM, NN, VV, λ\lambda, ss and tt, carry different meanings in different parts of the paper; each meaning is listed in the group where it is used, and the intended one is clear from the context.

SymbolMeaningDefined in
General statistical notation
H0H_0, H1H_1Null hypothesis (typically background only) and alternative hypothesis (signal present).Sec. 3
xx; p(x∣H)p(x \mid H)Observed data; probability density of the data under the hypothesis HH, which is a marginal likelihood when the parameters of HH are averaged over their prior.Secs. 3.5, 5
ppp-value: probability under H0H_0 of a result at least as extreme as the one observed.Sec. 2.5
plocalp_{\mathrm{local}}Local p-value: p-value of the most significant point of a scan, computed as if that point had been fixed in advance.Sec. 3
pglobalp_{\mathrm{global}}Global p-value: probability under H0H_0 of an excess at least as significant anywhere in the search range.Eq. (2)
pglobal/plocalp_{\mathrm{global}}/p_{\mathrm{local}}Trial factor.Sec. 3.5
ZZ; ZlocalZ_{\mathrm{local}}, ZglobalZ_{\mathrm{global}}Gaussian significance, Z=Φ−1(1−p)Z = \Phi^{-1}(1-p), one-sided unless stated otherwise and quoted in units of σ\sigma; local and global significance.Sec. 2.5
Φ\PhiCumulative distribution function of the standard normal distribution.Sec. 2.5
α\alphaSignificance level (type I error rate); in multiple testing, the target family-wise error rate or false discovery rate.Secs. 2.5.2, 4.2
χs2\chi_s^2Chi-squared distribution with ss degrees of freedom.Eq. (8)
12δ(q)+12χ12\frac{1}{2}\delta(q) + \frac{1}{2}\chi_1^2Shorthand for the mixture 12δ(q)+12χ12\frac{1}{2}\delta(q) + \frac{1}{2}\chi_1^2, with δ\delta the Dirac delta: the asymptotic null distribution of the one-sided test statistic at a fixed mass.Sec. 7.1
P(⋅)P(\cdot); E[⋅]\mathbb{E}[\cdot]Probability; expectation value.–
Var, cov, corrVariance, covariance and correlation.–
1[⋅]\mathbf{1}[\cdot]Indicator function: 1 if the condition holds and 0 otherwise.Eq. (22)
μ\mu; μ^\hat{\mu}Signal strength and its maximum-likelihood estimateSec. 3.5, Eq. (23), Sec. 7.2.1
Scope of the search and discovery thresholds
mHm_HMass of the Higgs boson.Sec. 2.1
SymbolMeaningDefined in
pTp_T; ∑pT\sum p_TTransverse momentum; scalar sum of the transverse momenta of the objects in an event.§ 2.2
p~\tilde{p}Local p-value of one distribution in a general search, already corrected for the scan within that distribution.§ 2.2
kkNumber of null hypotheses that can be simultaneously true; it bounds the trial factor relevant for exclusion limits.Sec. 2.5.2
m0m_0Mass at which an exclusion limit is set.Sec. 2.5.2
σ\sigmaSignal cross-section, in the context of exclusion limits.Sec. 2.5.2
Single search with a scan parameter
θ\thetaScan parameter defined only under the alternative hypothesis, such as the mass of a resonance.§ 3
θ0\theta_0Value of the scan parameter fixed in advance, used as the reference point of the local p-value.§ 3
θ^\hat{\theta}Value of the scan parameter at which the test statistic is maximal.Eq. (8)
[L,U][L,U]Range over which the scan parameter is scanned.Eq. (1)
S(θ)S(\theta)Test statistic at fixed θ\theta, as a function of θ\theta; under H0H_0, a Gaussian or chi-squared process.§ 3
q(θ)q(\theta)Profile likelihood ratio test statistic, as a function of the scan parameter.§ 3.3
MM; q(θ^)q(\hat{\theta})Supremum of S(θ)S(\theta) over the scan range, which is the test statistic of the scan; for the profile likelihood ratio, q(θ^)=max⁡θq(θ)q(\hat{\theta})=\max_{\theta}q(\theta).Eqs. (1), (8)
ccLevel of the test statistic at which upcrossings are counted: a level of the Gaussian process S(θ)S(\theta) in Eq. (4), and of the chi-squared statistic qq from Eq. (7) on, so that the corresponding Gaussian level is c\sqrt{c} for s=1s=1. When a result is assessed, the observed value of q(θ^)q(\hat{\theta}).§ 3.2, Eq. (7)
c0c_0Low reference level of the Gross–Vitells procedure, typically c0=0.5c_0=0.5.§ 3.3
⟨N(c)⟩\langle N(c)\rangleExpected number of upcrossings of the level cc by S(θ)S(\theta) over the scan range.Eq. (3)
⟨N(c0)⟩\langle N(c_0)\rangleExpected number of upcrossings of the reference level c0c_0, estimated from pseudo-experiments.Eq. (7)
ρ(θ′,θ)\rho(\theta',\theta)Correlation of the process at two values of the scan parameter, corr⁡[S(θ′),S(θ)]\operatorname{corr}[S(\theta'),S(\theta)].Eq. (4)
ρ11(θ)\rho_{11}(\theta)Second derivative of ρ(θ′,θ)\rho(\theta',\theta) with respect to θ′\theta' at θ′=θ\theta'=\theta; −ρ11-\rho_{11} sets how fast the process decorrelates.Eq. (4)
ssNumber of degrees of freedom of a chi-squared process, equal to the number of fitted signal parameters.§ 3.2
Z1,…,ZsZ_1,\ldots,Z_sGaussian components of a chi-squared process, S=Z12+⋯+Zs2S=Z_1^2+\cdots+Z_s^2.§ 3.2

Table 5. Mathematical symbols used in the paper.

AbbreviationMeaning
BDTBoosted decision tree
BHBenjamini–Hochberg (procedure)

Table 6. Abbreviations used in the paper.

SymbolMeaningDefined in
λ1(θ),…,λs(θ)\lambda_1(\theta),\ldots,\lambda_s(\theta)Eigenvalues that generalise −ρ11-\rho_{11} to a chi-squared process.Sec. 3.2
VVTotal variation of the observed curve S(θ)S(\theta).Eq. (5)
θ1,…,θn\theta_1,\ldots,\theta_nSuccessive turning points of S(θ)S(\theta).Eq. (5)
NNEffective number of independent search regions in the scan range: coefficient of the asymptotic Gross–Vitells formula; for s=1s=1, ⟨N(c)⟩=Ne−c/2\langle N(c)\rangle= N e^{-c/2}.Eqs. (8), (28)
Z(θ)Z(\theta)Signed square root of the likelihood ratio: under H0H_0, a Gaussian process of unit variance, with q=Z2q=Z^2 for excesses (s=1s=1).Sec. 3.3
Z′,Z′′;λ;δZ', Z''; \lambda; \deltaFirst and second derivatives of Z(θ)Z(\theta); λ=Var⁡[Z′]\lambda=\operatorname{Var}[Z']; shift of the scan parameter around the maximum.Sec. 3.3, footnote
AcA_cExcursion set {θ:S(θ)>c}\{\theta:S(\theta)>c\} of a multi-dimensional search.Sec. 3.4
ϕ(Ac)\phi(A_c)Euler characteristic of the excursion set AcA_c.Eq. (10)
N1,N2N_1,N_2Coefficients of the expected Euler characteristic, set by the geometry of the search region and the correlation of the field.Eq. (10)
mX,mYm_X,m_YMasses of the particles XX and YY in a two-dimensional search for X→YHX\to YH.Sec. 3.4
cτc\tauProper decay length of a long-lived particle.Sec. 3.4
Bayesian view of the trial factor
B10B_{10}Bayes factor, p(x∣H1)/p(x∣H0)p(x\mid H_1)/p(x\mid H_0): ratio of the marginal likelihoods of the two hypotheses.Sec. 3.5
π(θ)\pi(\theta)Prior density of the scan parameter, flat (1/Δ)(1/\Delta) in Section 3.5; in the e-value framework, the weighting density over the scan range, fixed in advance, that defines a mixture e-value.Sec. 3.5, Eq. (21)
Δ\DeltaPrior range of a parameter: the scan range U−LU-L for θ\theta, or the prior range of μ\mu.Sec. 3.5
σθ\sigma_\thetaWidth of the likelihood peak in the scan parameter, i.e. the precision with which the data localise the excess (written σ\sigma in Eq. (12)).Eq. (12), Sec. 3.5
σμ\sigma_\muMeasurement uncertainty of the signal strength, with μ^≈q σμ\hat{\mu}\approx\sqrt{q}\,\sigma_\mu; Bayer and Seljak set the width of the prior on μ\mu from it.Sec. 3.5
NBN_BBayer–Seljak trial factor, (U−L)/(2π σθ)(U-L)/(\sqrt{2\pi}\,\sigma_\theta): the number of peak widths in the scan range.Sec. 3.5, Eq. (27)
qSq_STest statistic whose global p-value is given by the Bayer–Seljak formula, qS=Z2−2ln⁡NB+ln⁡(2πZ2)q_S=Z^2-2\ln N_B+\ln(2\pi Z^2).Sec. 3.5, Eq. (27)
Multiple searches
NNNumber of tests (hypotheses, channels or grid points).Eq. (16)
pmin⁡p_{\min}Smallest of the NN observed p-values.Eq. (16)
p(1)≤⋯≤p(N)p_{(1)}\le\cdots\le p_{(N)}Observed p-values sorted in increasing order.Eq. (18)

Table ?.

SymbolMeaningDefined in
kkRank of a p-value in the Benjamini–Hochberg procedure; index of a channel.Sec. 4, Eq. (18)
RRNumber of rejected null hypotheses (discoveries).Sec. 4.2
VVNumber of false rejections, i.e. of true null hypotheses that were rejected.Sec. 4.2
c(N)c(N)Harmonic factor ∑i=1N1/i≈ln⁡N\sum_{i=1}^{N} 1/i \approx\ln N of the Benjamini–Yekutieli procedure.Sec. 4.2
ϵs,ϵb\epsilon_s, \epsilon_bSignal efficiency, P(tag∣signal)P(\mathrm{tag} \mid\mathrm{signal}), and background mis-identification rate, P(tag∣background)P(\mathrm{tag} \mid\mathrm{background}), of a tagger.Sec. 4
Ns/NbN_s/N_bRatio of signal to background objects in a sample.Sec. 4
E-values and anytime-valid inference
EEE-value: non-negative random variable with E[E∣H0]≤1\mathbb{E}[E \mid H_0] \le1.Eq. (19)
Ei;wiE_i; w_iE-values and the non-negative weights, with ∑iwi=1\sum_i w_i = 1, of their weighted average.Sec. 5
(Mt)t≥1(M_t)_{t \ge1}E-process: sequence of e-values updated as data arrive; the capital of a gambler betting against H0H_0.Eq. (20)
t;τt; \tauTime (batch) index; stopping time.Eq. (20)
ptp_tAnytime-valid p-value, min⁡(1,1/max⁡s≤tMs)\min(1, 1/\max_{s \le t} M_s).Sec. 5
Eθ;EπE_\theta; E_\piE-value for the background-only hypothesis against a signal at θ\theta; mixture e-value ∫Eθ π(θ) dθ\int E_\theta\,\pi(\theta)\,d\theta.Eq. (21)
E[log⁡E∣H1]\mathbb{E}[\log E \mid H_1]Expected growth rate of an e-value under the alternative hypothesis.Sec. 5
Machine learning
t;tobst; t_{\mathrm{obs}}Value of the test statistic in a pseudo-experiment; observed value.Eq. (22)
TR\mathcal{T}_RSet of test-statistic values from pseudo-experiments generated under the reference hypothesis.Eq. (22)
σ\sigmaKernel width (bandwidth) of a kernel-based test, an explicit resolution parameter.Secs. 6.3, 6.5
kkNumber of folds in kk-folding.Sec. 6.4.3
Illustrative experiments
xxObservable, x∈[0,10]x \in[0, 10].Eq. (23)
mmMass of the resonance, i.e. the location of the Gaussian signal: the scan parameter θ\theta of the experiments. Quantities defined for θ\theta are used with θ→m\theta\to m, e.g. m^\hat{m}, q(m)q(m), Z(m)Z(m) and σm\sigma_m.Eq. (23), Sec. 7.1
μ;μ^\mu; \hat{\mu}Signal fraction and its maximum-likelihood estimateSec. 3.5, Eq. (23), Sec. 7.2.1
f(x∣μ,m,ν;ω)f(x \mid\mu, m, \nu; \omega)Probability density of the toy model: exponential background plus Gaussian signal.Eq. (23)
g(x∣m,ω)g(x \mid m, \omega)Gaussian signal template of mean mm and width ω\omega, normalised on [0,10][0, 10].Eq. (23)

Table 55.

SymbolMeaningDefined in
ν\nuDecay rate (slope) of the exponential background.(23)
ω;ωi\omega; \omega_iWidth of the signal template; template width (detector resolution) of channel ii.Secs. 7.1, 7.2.1
Γ\GammaIntrinsic width of the resonance.Sec. 7.2.1
L(μ,ν;m)\mathcal{L}(\mu,\nu;m)Likelihood of the toy model.(24)
ν^\hat{\nu}Maximum-likelihood estimate of ν\nu under the background-only hypothesis.(24)
μ^m,ν^m\hat{\mu}_m, \hat{\nu}_mJoint maximum-likelihood estimates of μ\mu and ν\nu at fixed mm.(24)
NevN_{\mathrm{ev}}Number of events per pseudo-dataset.Sec. 7.1
NgridN_{\mathrm{grid}}Number of equally spaced mass points in the scan.Sec. 7.1.2
NtoysN_{\mathrm{toys}}Number of pseudo-experiments.Table 1
NchN_{\mathrm{ch}}Number of channels or event classes.Sec. 7.2.1
N0N_0Number of true null hypotheses (background-only channels).Sec. 7.2.1
pGVp_{\mathrm{GV}}Global p-value of a channel, corrected with the Gross–Vitells procedure for the scan over the mass.Table 2
qcomb(m)q_{\mathrm{comb}}(m)Test statistic of the combined likelihood of all channels, with a common mass.Sec. 7.2.1
κ(c)\kappa(c)Prefactor of the narrow-template approximation of the trial factor.(29)
ni;bin_i; b_iObserved number of events and expected number of background events in bin ii.App. A.3
gi(m);g(m)g_i(m); g(m)Expected number of signal events in bin ii for μ=1\mu=1 and a template at mass mm; vector of these numbers.App. A.3
b(x)b(x)Background density.App. A.3
u(m)u(m)Score: derivative of ln⁡L\ln\mathcal{L} with respect to μ\mu at μ=0\mu=0.App. A.3
I(m)I(m)Fisher information for μ\mu at μ=0\mu=0, equal to the variance of the score.App. A.3
⟨v,v′⟩;∥v∥\langle v,v'\rangle; \lVert v\rVertInner product ∑ivivi′/bi\sum_i v_i v_i'/b_i of two vectors of bin contents; associated norm.App. A.3
g~(m)\tilde{g}(m)Part of the template g(m)g(m) that the fit of the background cannot mimic.(41)
A;δA,δνA; \delta A, \delta\nuBackground normalisation; small variations of the normalisation and of the slope.App. A.3
mˉ;Δx\bar{m}; \Delta xMean mass (m+m′)/2(m+m')/2; bin width.App. A.3

Table 7 (PDF p. 56).

AbbreviationMeaning
BSMBeyond the Standard Model
CLsModified frequentist method for exclusion limits, based on the ratio of the confidence levels of the signal-plus-background and background-only hypotheses
CWoLaClassification without labels
e-BHE-value analogue of the Benjamini–Hochberg procedure
FDRFalse discovery rate
FWERFamily-wise error rate
GOFGoodness of fit
GVGross–Vitells (procedure)
GWASGenome-wide association study
HEPHigh-energy physics
HERAHadron–Elektron–Ringanlage (electron–proton collider at DESY)
HHHiggs boson pair production
LEELook-elsewhere effect
LEPLarge Electron–Positron collider
LHCLarge Hadron Collider
LLPLong-lived particle
MLMachine learning
MLPMultilayer perceptron
MMDMaximum mean discrepancy
MUSiCModel Unspecific Search in CMS
NPLMNew Physics Learning Machine
PoSIPost-selection inference (in the sense of Berk et al.)
SMStandard Model
SNPSingle-nucleotide polymorphism
SUSYSupersymmetry

Table 8.

References

  1. [1]R. B. Davies, “Hypothesis testing when a nuisance parameter is present only under the alternative,” Biometrika, vol. 64, no. 2, pp. 247–254, 1977.
  2. [2]R. B. Davies, “Hypothesis testing when a nuisance parameter is present only under the alternatives,” Biometrika, vol. 74, no. 1, pp. 33–43, 1987.
  3. [3]J. D. Lee, D. L. Sun, Y. Sun, and J. E. Taylor, “Exact post-selection inference, with application to the lasso,” 2016.DOI
  4. [4]R. Berk, L. Brown, A. Buja, K. Zhang, and L. Zhao, “Valid post-selection inference,” The Annals of Statistics, pp. 802–837, 2013.DOI
  5. [5]D. A. Freedman, “A note on screening regression equations,” The American Statistician, vol. 37, no. 2, pp. 152–155, 1983.DOI
  6. [6]S. F. Assmann, S. J. Pocock, L. E. Enos, and L. E. Kasten, “Subgroup analysis and other (mis)uses of baseline data in clinical trials,” The Lancet, vol. 355, no. 9209, pp. 1064–1069, 2000.pubmed.ncbi.nlm.nih.gov/10744093
  7. [7]K. P. Burnham and D. R. Anderson, Model selection and multimodel inference: a practical information-theoretic approach. Springer, 2002.
  8. [8]N. Kriegeskorte, W. K. Simmons, P. S. Bellgowan, and C. I. Baker, “Circular analysis in systems neuroscience: the dangers of double dipping,” Nature neuroscience, vol. 12, no. 5, pp. 535–540, 2009.DOI
  9. [9]E. Gross and O. Vitells, “Trial factors for the look elsewhere effect in high energy physics,” Eur. Phys. J. C, vol. 70, pp. 525–530, 2010.DOI
  10. [10]S. Algeri, J. Conrad, D. A. van Dyk, and B. Anderson, “On methods for correcting for the look-elsewhere effect in searches for new physics,” JINST, vol. 11, no. 12, p. P12010, 2016.DOI
  11. [11]O. Vitells and E. Gross, “Estimating the significance of a signal in a multi-dimensional search,” Astropart. Phys., vol. 35, pp. 230–234, 2011.DOI
  12. [12]B. P. Abbott, R. Abbott, T. Abbott, M. Abernathy, F. Acernese, K. Ackley, C. Adams, T. Adams, P. Addesso, R. Adhikari, et al., “Gw150914: First results from the search for binary black hole coalescence with advanced ligo,” Physical Review D, vol. 93, no. 12, p. 122003, 2016.DOI
  13. [13]A. E. Bayer and U. Seljak, “The look-elsewhere effect from a unified Bayesian and frequentist perspective,” JCAP, vol. 10, p. 009, 2020.DOI
  14. [14]A. E. Bayer, U. Seljak, and J. Robnik, “Self-calibrating the look-elsewhere effect: fast evaluation of the statistical significance using peak heights,” Mon. Not. Roy. Astron. Soc., vol. 508, no. 1, pp. 1346–1357, 2021.DOI
  15. [15]G. Aad et al., “Observation of a new particle in the search for the Standard Model Higgs boson with the ATLAS detector at the LHC,” Phys. Lett. B, vol. 716, pp. 1–29, 2012.
  16. [16]S. Chatrchyan et al., “Observation of a New Boson at a Mass of 125 GeV with the CMS Experiment at the LHC,” Phys. Lett. B, vol. 716, pp. 30–61, 2012.
  17. [17]T. Aaltonen et al., “Global Search for New Physics with 2.0 fb−1 at CDF,” Phys. Rev. D, vol. 79, p. 011101, 2009.DOI
  18. [18]M. Aboud et al., “A strategy for a general search for new phenomena using data-derived signal regions and its application within the ATLAS experiment,” Eur. Phys. J. C, vol. 79, no. 2, p. 120, 2019.
  19. [19]A. M. Sirunyan et al., “MUSiC: a model-unspecific search for new physics in proton–proton collisions at √s = 13 TeV,” Eur. Phys. J. C, vol. 81, no. 7, p. 629, 2021.DOI
  20. [20]P. Grünwald, R. de Heide, and W. M. Koolen, “Safe testing,” in 2020 Information theory and applications workshop (ITA), pp. 1–54, IEEE, 2020.arxiv.org/abs/1906.07801
  21. [21]R. Wang and A. Ramdas, “False discovery rate control with e-values,” Journal of the Royal Statistical Society Series B: Statistical Methodology, vol. 84, no. 3, pp. 822–852, 2022.arxiv.org/abs/2009.02824
  22. [22]Y. Benjamini and Y. Hochberg, “Controlling the false discovery rate: A practical and powerful approach to multiple testing,” Journal of the Royal Statistical Society. Series B (Methodological), vol. 57, no. 1, pp. 289–300, 1995.DOI
  23. [23]Y. Benjamini and D. Yekutieli, “The control of the false discovery rate in multiple testing under dependency,” Annals of statistics, pp. 1165–1188, 2001.DOI
  24. [24]M. Hein, B. Nachman, and D. Shih, “Look everywhere effects in anomaly detection,” 2025.arxiv.org/abs/2512.13787
  25. [25]G. Choudalakis, “On hypothesis testing, trials factor, hypertests and the BumpHunter,” in PHYSTAT 2011, 1 2011.arxiv.org/abs/1101.0390
  26. [26]B. Knuteson, “Sleuth: A quasi-model-independent search strategy for new physics,” arXiv preprint hep-ex/0105027, 2001.DOI
  27. [27]J. D. Storey and R. Tibshirani, “Statistical significance for genomewide studies,” Proceedings of the National Academy of Sciences, vol. 100, no. 16, pp. 9440–9445, 2003.pubmed.ncbi.nlm.nih.gov/12883005
  28. [28]T. Dorigo, “The keep-looking bias.” Blog post, A Quantum Diaries Survivor, Science 2.0, September 2010.
  29. [29]L. Demortier and L. Lyons, “Testing hypotheses in particle physics: Plots of p_{-}{0} versus p_{-}{1},” arXiv preprint arXiv:1408.6123, 2014.arxiv.org/abs/1408.6123
  30. [30]S. J. Pocock, “Group sequential methods in the design and analysis of clinical trials,” Biometrika, vol. 64, no. 2, pp. 191–199, 1977.DOI
  31. [31]P. C. O’Brien and T. R. Fleming, “A multiple testing procedure for clinical trials,” Biometrics, pp. 549–556, 1979.pubmed.ncbi.nlm.nih.gov/497341
  32. [32]K. G. Lan and D. L. DeMets, “Discrete sequential boundaries for clinical trials,” Biometrika, pp. 659–663, 1983.DOI
  33. [33]V. Vovk and R. Wang, “E-values: Calibration, combination and applications,” The Annals of Statistics, vol. 49, no. 3, pp. 1736–1754, 2021.DOI
  34. [34]A. H. Rosenfeld, “Are there any far-out mesons or baryons?,” 1968.
  35. [35]L. W. Alvarez, “Recent developments in particle physics,” Science, vol. 165, no. 3898, pp. 1071–1091, 1969.pubmed.ncbi.nlm.nih.gov/17779795
  36. [36]R. A. Fisher, Statistical methods for research workers. No. 5, Oliver and Boyd, 1930.
  37. [37]J. Neyman and E. S. Pearson, “Ix. on the problem of the most efficient tests of statistical hypotheses,” Philosophical Transactions of the Royal Society of London. Series A, Containing papers of a mathematical or physical character, vol. 231, no. 694-706, pp. 289–337, 1933.DOI
  38. [38]R. L. Wasserstein and N. A. Lazar, “The asa statement on p-values: context, process, and purpose,” 2016.
  39. [39]R. A. Fisher, “Statistical methods for research workers,” in Breakthroughs in statistics: Methodology and distribution, pp. 66–70, Springer, 1970.
  40. [40]T. Junk, “Confidence level computation for combining searches with small statistics,” Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, vol. 434, no. 2-3, pp. 435–443, 1999.DOI
  41. [41]A. L. Read, “Presentation of search results: the cls technique,” Journal of Physics G: Nuclear and Particle Physics, vol. 28, no. 10, pp. 2693–2704, 2002.
  42. [42]L. Lyons, “Comments on ‘Look Elsewhere Effect.’” Unpublished notes, https://users.physics.ox.ac.uk/LEE_Feb7_2010.pdf, 2010.
  43. [43]R. Lockhart, “Note on look elsewhere effect in exclusion testing.” Contribution to the BIRS Workshop “Statistical Issues Relevant to Significance of Discovery Claims” (10w5068), Banff, Canada, 2010.
  44. [44]G. Cowan, “Statistics for HEP: Lecture 3.” CERN Academic Training Lectures, 2012.
  45. [45]S. S. Wilks, “The large-sample distribution of the likelihood ratio for testing composite hypotheses,” The annals of mathematical statistics, vol. 9, no. 1, pp. 60–62, 1938.DOI
  46. [46]M. Aaboud et al., “Search for resonances in diphoton events at √s=13 TeV with the ATLAS detector,” JHEP, vol. 09, p. 001, 2016.
  47. [47]J. Alimena et al., “Searching for long-lived particles beyond the Standard Model at the Large Hadron Collider,” J. Phys. G, vol. 47, no. 9, p. 090501, 2020.DOI
  48. [48]R. Trotta, “Bayes in the sky: Bayesian inference and model selection in cosmology,” Contemporary Physics, vol. 49, no. 2, pp. 71–104, 2008.DOI
  49. [49]J. Robnik and U. Seljak, “Statistical significance testing for mixed priors: A combined bayesian and frequentist analysis,” Entropy, vol. 24, no. 10, 2022.DOI
  50. [50]A. Ramdas, P. Grünwald, V. Vovk, and G. Shafer, “Game-theoretic statistics and safe anytime-valid inference,” Statistical Science, vol. 38, no. 4, pp. 576–601, 2023.arxiv.org/abs/2210.01948
  51. [51]A. Ramdas and R. Wang, “Hypothesis testing with e-values,” Foundations and Trends in Statistics, vol. 1, pp. 1–390, 07 2025.DOI
  52. [52]L. Wasserman, A. Ramdas, and S. Balakrishnan, “Universal inference,” Proceedings of the National Academy of Sciences, vol. 117, no. 29, pp. 16880–16890, 2020.DOI
  53. [53]G. Grosso, D. Sengupta, T. Golling, and P. Harris, “Robust resonant anomaly detection with NPLM,” The European Physical Journal C, vol. 85, no. 9, p. 1074, 2025.arxiv.org/abs/2501.01778
  54. [54]R. I. D’Agnolo and A. Wulzer, “Learning New Physics from a Machine,” Phys. Rev. D, vol. 99, no. 1, p. 015014, 2019.DOI
  55. [55]M. Letizia, G. Losapio, M. Rando, G. Grosso, A. Wulzer, M. Pierini, M. Zanetti, and L. Rosasco, “Learning new physics efficiently with nonparametric methods,” Eur. Phys. J. C, vol. 82, no. 10, p. 879, 2022.DOI
  56. [56]G. Grosso, M. Letizia, M. Pierini, and A. Wulzer, “Goodness of fit by neyman-pearson testing,” SciPost Physics, vol. 16, no. 5, p. 123, 2024.DOI
  57. [57]D. R. Cox, “A note on data-splitting for the evaluation of significance levels,” Biometrika, vol. 62, no. 2, pp. 441–444, 1975.DOI
  58. [58]J. W. Tukey et al., Exploratory data analysis, vol. 2. Springer, 1977.
  59. [59]G. Grosso and M. Letizia, “Multiple testing for signal-agnostic searches for new physics with machine learning,” The European Physical Journal C, vol. 85, no. 1, p. 4, 2025.
  60. [60]R. T. d’Agnolo, G. Grosso, M. Pierini, A. Wulzer, and M. Zanetti, “Learning multivariate new physics,” The European Physical Journal C, vol. 81, no. 1, p. 89, 2021.arxiv.org/abs/1912.12155
  61. [61]A. Schrab, I. Kim, M. Albert, B. Laurent, B. Guedj, and A. Gretton, “MMD aggregated two-sample test,” Journal of Machine Learning Research, vol. 24, no. 194, pp. 1–81, 2023.
  62. [62]F. Biggs, A. Schrab, and A. Gretton, “MMD-fuse: Learning and combining kernels for two-sample testing without data splitting,” Advances in Neural Information Processing Systems, vol. 36, pp. 75151–75188, 2023.arxiv.org/abs/2306.08777
  63. [63]A. C. Davison and D. V. Hinkley, Bootstrap methods and their application. No. 1, Cambridge university press, 1997.
  64. [64]G. Grosso, S. S. R. Hindupur, T. Fel, S. Bright-Thonney, P. Harris, and D. Ba, “Sparse, self-organizing ensembles of local kernels detect rare statistical anomalies,” arXiv preprint arXiv:2511.03095, 2025.arxiv.org/abs/2511.03095
  65. [65]G. Cowan, K. Cranmer, E. Gross, and O. Vitells, “Asymptotic formulae for likelihood-based tests of new physics,” Eur. Phys. J. C, vol. 71, p. 1554, 2011. [Erratum: Eur.Phys.J.C 73, 2501 (2013)].DOI
  66. [66]F. D. Aaron, C. Alexa, V. Andreev, B. Antunovic, S. Aplin, A. Asmone, A. Astvatsatourov, S. Backovic, A. Baghdasaryan, E. Barrelet, et al., “A general search for new phenomena at hera,” Physics Letters B, vol. 674, no. 4-5, pp. 257–268, 2009.
  67. [67]A. M. Sirunyan, A. Tumasyan, W. Adam, F. Ambrogi, T. Bergauer, J. Brandstetter, M. Dragicevic, J. Erö, A. Escalante Del Valle, M. Flechl, et al., “Search for supersymmetry in proton-proton collisions at 13 tev in final states with jets and missing transverse momentum,” Journal of High Energy Physics, vol. 2019, no. 10, p. 244, 2019.
  68. [68]R. T. d’Agnolo, G. Grosso, M. Pierini, A. Wulzer, and M. Zanetti, “Learning new physics from an imperfect machine,” Eur. Phys. J. C, vol. 82, no. 3, p. 275, 2022.arxiv.org/abs/2111.13633
  69. [69]P. Chakravarti, M. Kuusela, J. Lei, and L. Wasserman, “Model-Independent Detection of New Physics Signals Using Interpretable Semi-Supervised Classifier Tests,” 2 2021.arxiv.org/abs/2102.07679
  70. [70]P. Cappelli, G. Grosso, M. Letizia, H. Reyes-González, and M. Zanetti, “Learning to validate generative models: a goodness-of-fit approach,” Mach. Learn. Sci. Tech., vol. 7, no. 4, p. 045011, 2026.arxiv.org/abs/2511.09118

Paper details

vlnc:W_nwudc39t
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents