betaFeedback

WorksPhysics and Astronomy

Neural-network-powered new-physics searches by predictive goodness of fit

Abstract

Model-independent searches for new physics test whether data agree with a Reference model with unknown nuisance parameters. Because the shape and location of a signal are not specified, these tests call for flexible learners (fitting procedures such as neural networks), and a likelihood ratio maximized over a neural network falls outside the standard asymptotic theory, making the calibration a major challenge. We propose a predictive alternative: the departure from the Reference is fitted on part of the data and its likelihood gain over the fitted Reference is evaluated on the rest, cross-fitted over several folds to preserve sample efficiency. The nuisance estimation error is propagated into the variance of the test statistic to first order, in the spirit of Neyman's C(alpha) test, so that the test need not be recalibrated at each nuisance value. The randomness in the fitted departure is treated by a central limit theorem for cross-validated statistics under algorithmic stability, plus a variance correction when stability is not achieved. The calibration is analytic, and no pseudo-experiments are needed. On established one-dimensional and five-dimensional (dilepton) benchmarks, the false-positive rate always stays within Monte Carlo error of nominal across different nuisances and the learners' tuning. The test's power relative to existing learned tests is mixed: higher for some signals and lower for others, depending on how well the fitted departure captures the signal.

Introduction

Modern searches for physics beyond the Standard Model (SM) ask a broad question: is the observed data set compatible with the SM prediction at all? Statistically this is a goodness-of-fit test for a Reference model known only up to nuisance parameters that are constrained by noisy auxiliary measurements. A useful test for this task must meet two requirements: (i) it must be sensitive to departures whose location and shape are not specified in advance, which in practice means fitting a flexible model of the departure; and (ii) its false-positive rate must be controlled when the nuisance parameters are estimated.

The New Physics Learning Machine (NPLM) [1, 2, 3] meets the first requirement by fitting the departure with a neural network whose loss is the negative logarithm of the likelihood ratio, and the test statistic tt is twice the maximized log-likelihood ratio, with the nuisances profiled against their auxiliary likelihoods. The second requirement is met through Wilks’ theorem: tt is expected to follow a χ2\chi^2 distribution whose number of degrees of freedom equals the number of network parameters. Our comparisons are with its implementation with nuisances, Ref. [3].

This calibration has two weaknesses. The first is that the conditions of Wilks’ theorem are unlikely to hold for the neural network fit. The theorem describes the maximized likelihood ratio of a regular parametric family: the parameters must be identifiable, the true value must lie in the interior of the parameter space, the likelihood must be well approximated by a quadratic around its maximum, and the number of parameters must be small compared with the information in the data. A neural network violates each of these: for example, at the null hypothesis its hidden-layer parameters have no effect on the likelihood, the situation in which the likelihood ratio is known not to follow Wilks’ χ2\chi^2 [4, 5], and weight clipping places parameters on the boundary of the allowed region [6, 7]. Departures from the χ2\chi^2 law were noted from the start: the original NPLM paper [1] reports them in a two-dimensional example, attributes one to “insufficient training”, and remarks that the agreement it does observe “is not a consistency check”. The χ2\chi^2 law is enforced empirically: the weight-clipping bound is selected on Reference-only pseudo-experiments (toys) so that the distribution of tt matches the target. This calibration is also fragile. In the multivariate benchmark of Ref. [3], clipping values that differ from the selected one at the second digit give distributions of tt appreciably different from the target. This leads to the second weakness: the regularization of the learner is also its calibration. The same knob (e.g., weight clipping) decides how well the network can describe a signal and whether the reported pp-value is correct. This limits the freedom to choose a learner for the best power.

In this paper we address both issues by comparing predictions on held-out data. The departure is still fitted with a flexible learner (any fitting procedure, such as a penalized regression or a neural network), but it is fitted on one part of the data and evaluated on the other, so that the statistic measures how much better the fitted alternative predicts events it has not seen than the fitted null does. Overfitting then lowers the statistic instead of inflating it, and its null distribution no longer depends on the learner being in a χ2\chi^2 regime. Such split-sample comparisons have been used before [8, 9], but used as they are they lose power in two ways. Our two main methodological contributions remove these losses.

  • Cross-fitting. A single split spends events on the fit that are then not evaluated. Ref. [10] argued that “the fit (i.e., the training) must be performed with the very same data used to test” and found that a 50/50 split costs NPLM as much power as discarding half the data. We cross-fit over KK folds, so that every event is used for both fitting and evaluation and none is discarded.

  • Adaptive null centering. A held-out statistic compared with a fixed threshold, as in the split likelihood-ratio test of Ref. [8], ignores that its null mean is negative for any fitted alternative, as Ref. [10] observed for NPLM evaluated on held-out data. We center it at its expectation under the fitted null, which adapts to the unknown null distribution, and studentize it.

The resulting statistic is calibrated analytically, with a normal limiting distribution under the null hypothesis: its centering and variance are computed from the fitted null, with explicit corrections for the estimation of the nuisance parameters, for the finite Reference sample, and for the randomness of the fits themselves.

The conditions behind this calibration are also weaker than those of Wilks’ theorem. The starting point is a central limit theorem for cross-validated statistics [11, 12, 13], whose main requirement on the learner is stability: moving a single training event should change the fitted departure by a small amount [14, 15]. This is a genuine condition on the learner, but one that is agnostic about how the learner is parametrized and how its optimization is carried out. Its parameters need not be identifiable or lie in the interior of a parameter space, its fit need not reach a maximum of the likelihood, and the number of parameters is not counted, so clipped, penalized and early-stopped fits are covered as they are. Regularization still matters for the calibration, but through stability, which it improves, rather than by restricting the learner to a narrow regime. The witness, our name for the fitted departure, can then be chosen for power, and we use two very different ones: a penalized dictionary of smooth functions and Gaussian bumps, and the same small neural networks as NPLM. Whether a given learner is stable enough depends on the learner and on the data. The precise conditions are stated in § 3.5. In our experiments the stability condition did not hold under the null hypothesis: with no departure to learn, the learner fits noise alone, so the fitted witness varies from fit to fit by as much as its own size. To address this, we add an explicit first-order variance correction for the randomness of the fits, estimated from the fits themselves. Asymptotic theory for this regime is yet to be developed, and the validity of the corrected test is demonstrated in numerical experiments.

We test the method on the benchmarks of Ref. [3]: a one-dimensional exponential Reference with three signal types, and the five-dimensional dilepton final state with a Z′Z' resonance and an effective-field-theory (EFT) deformation, both with normalization and scale nuisances. Two findings organize the results. First, the false-positive rate stays close to its nominal value across true nuisance values one standard deviation away from the central value, across the tuning of the learner (weight clipping, training length, penalty strength), and across the two kinds of witness. Second, the power depends on how well the witness captures the signal: in the dilepton benchmark our network is less sensitive than NPLM to the narrow Z′Z' resonance and more sensitive to the broad EFT deformation.

The paper is organized as follows. Section 2 states the problem in NPLM’s notation. Section 3 describes the test and its calibration, and summarizes its guarantees and assumptions. Section 4 describes the two witnesses. Sections 5 and 6 present the benchmarks, and Section 7 discusses limitations and extensions. The appendices collect the calibration formulas, the statements of the limit theorems with proof sketches, implementation details, and additional results.

Statistical setup

We use the notation of Ref. [3] wherever possible; Table 1 lists the correspondence.

quantitythis paperRef. [3]
data set, number of eventsD,N\mathcal{D}, ND,ND\mathcal{D}, N_{\mathcal{D}}
Reference intensity at nuisance ν\nun(x∣Rν)n(x \mid\mathcal{R}_{\nu})n(x∣Rν)n(x \mid\mathcal{R}_{\nu})
expected events at the central valueN0N_0N(R0)N(\mathcal{R}_0)
Reference sample, size, event weightR,M,r=N0/M\mathcal{R}, M, r = N_0/MR,NR,we\mathcal{R}, N_{\mathcal{R}}, w_e
nuisances (normalization, scale)ν=(νn,νs)\nu= (\nu_n,\nu_s)ν=(νN,νS)\nu= (\nu_N,\nu_S)
auxiliary data, estimate, uncertaintyA,ν^A,σn,s\mathcal{A}, \hat{\nu}_{\mathcal{A}}, \sigma_{n,s}A,ν^,σN,S\mathcal{A}, \hat{\nu}, \sigma_{N,S}
nuisance log-ratio (learned approximation)h(x;ν)h(x;\nu) (δ^1,2\hat{\delta}_{1,2}, Eq. (5))log⁡r(x;ν)\log r(x;\nu) (log⁡r^\log\hat{r})
fitted departurewitness ϕk\phi_k, fitted on all folds but kknetwork f(x;w)f(x;\mathbf{w}), fitted on D\mathcal{D}
test statisticstandardized ZZt=τ−Δt = \tau- \Delta

Table 1. Notation used here and in Ref. [3].

Data. The data set D={X1,…,XN}\mathcal{D} = \{X_1,\ldots,X_N\} consists of events with features xx in a sample space X\mathcal{X}, modeled as a Poisson process with intensity n(x)n(x): the number of events, NN, is Poisson with mean ∫n\int n and, given NN, the events are independent with density n/∫nn/\int n. The Reference (Standard Model) hypothesis predicts the intensity n(x∣Rν)n(x \mid\mathcal{R}_\nu) up to a vector of nuisance parameters ν\nu, with ν=0\nu= 0 the central value and N0=∫n(⋅∣R0)N_0 = \int n(\cdot\mid\mathcal{R}_0) the expected number of events there. The construction applies to any finite set of nuisances; for concreteness we write it for the two that are most common, ν=(νn,νs)\nu= (\nu_n, \nu_s): νn\nu_n, a log-normalization of the number of events produced, and νs\nu_s, a log-scale of the measured features.

Auxiliary measurements. The nuisances are constrained by an independent auxiliary measurement AA, summarized by an estimator ν^A∼N(ν∗,ΣA)\hat{\nu}_A \sim N(\nu^*, \Sigma_A) centered at the true value ν∗\nu^*, with ΣA=diag⁡(σn2,σs2)\Sigma_A = \operatorname{diag}(\sigma_n^2, \sigma_s^2). Its log-likelihood is

ℓA(ν)=−12(ν−ν^A)TΣA−1(ν−ν^A).(1)\ell_A(\nu) = -\frac{1}{2}(\nu- \hat{\nu}_A)^\mathsf{T}\Sigma_A^{-1}(\nu- \hat{\nu}_A). \tag*{(1)}

The size of ΣA\Sigma_A sets how much the data themselves must be used to determine ν\nu: as ΣA→0\Sigma_A \to0 the Reference intensity is known exactly, and as ΣA→∞\Sigma_A \to\infty the nuisances are determined by the data alone.

Access to the Reference model. We distinguish two ways in which the Reference model can be available, and the test is built to need only the weaker one.

  • Oracle access: the intensity n(x∣Rν)n(x \mid R_\nu) is known in analytical form for every ν\nu, and every expectation under the null can be computed by numerical integration.

  • Sample access: the intensity is defined by a simulation chain and is available only through a Reference sample R\mathcal{R} of MM simulated events Xe′X'_e at ν=0\nu= 0, each carrying weight r=N0/Mr = N_0/M, so that R\mathcal{R} reproduces the expected count N0N_0. The scale nuisance acts on simulated events through a known transformation TνsT_{\nu_s} (for example a rescaling of measured momenta), and the normalization multiplies the weights by eνne^{\nu_n}, so samples at any ν\nu are available.

Oracle access is the limit of sample access with an infinitely large Reference sample, and the construction below is written so that the same formulas cover both.

Hypotheses and validity. The null hypothesis is that the data follow the Reference model at some value of the nuisances,

H0:n(⋅)=n(⋅∣Rν∗) for some ν∗,(2)H_0:\quad n(\cdot) = n(\cdot\mid R_{\nu^*}) \text{ for some } \nu^*, \tag*{(2)}

where ν∗\nu^* is also the value around which ν^A\hat{\nu}_A is distributed. The alternative is any other intensity; no form of the departure is assumed. A test at nominal level α∈(0,1)\alpha\in(0,1) is valid if its rejection rate under H0H_0, over repetitions of the data, the Reference sample and the auxiliary measurement, is at most α\alpha for every value of ν∗\nu^*.

The test

Cross-fitting and the fits on the training folds

The data events are assigned at random to KK folds D1,…,DK\mathcal{D}_1,\ldots,\mathcal{D}_K whose sizes differ by at most one, and with sample access the Reference sample is partitioned independently into folds R1,…,RK\mathcal{R}_1,\ldots,\mathcal{R}_K. In our derivation we assume the fold sizes are equal for simplicity. For a function uu of xx and a nuisance value ν\nu we write

Eν[u]=∫n(⋅∣Rν)u,Ek,ν[u]=1KEν[u],Ek,νtr[u]=K−1KEν[u]\mathbb{E}_{\nu}[u] = \int n(\cdot\mid\mathcal{R}_{\nu})u,\qquad\mathbb{E}_{k,\nu}[u] = \frac{1}{K}\mathbb{E}_{\nu}[u],\qquad\mathbb{E}^{\mathrm{tr}}_{k,\nu}[u] = \frac{K-1}{K}\mathbb{E}_{\nu}[u]

for the expected sum of uu over all data events, over the held-out events of fold kk and over its training events, when the nuisances take the value ν\nu. With oracle access they are computed by numerical integration; with sample access they are estimated by weighted sums over the Reference events transformed by TνsT_{\nu_s}, over Rk\mathcal{R}_k for Ek,ν\mathbb{E}_{k,\nu} and over R−k\mathcal{R}_{-k} for Ek,νtr\mathbb{E}^{\mathrm{tr}}_{k,\nu} (Appendix A.4).

For each fold kk, two fits are made on the other K−1K-1 folds, D−k\mathcal{D}_{-k} and R−k\mathcal{R}_{-k}, together with the auxiliary measurement: first the nuisances ν^(−k)\hat{\nu}^{(-k)}, which determine the fitted null intensity n^k(x)=n(x∣Rν^(−k))\hat{n}_k(x)=n(x\mid R_{\hat{\nu}^{(-k)}}), and then a departure from it, the witness. The witness for fold kk is a log intensity ratio between a fitted alternative and the fitted null:

ϕk(x)=log⁡nkalt(x)n^k(x).(3)\phi_k(x)=\log\frac{n_k^{\mathrm{alt}}(x)}{\hat{n}_k(x)}. \tag*{(3)}

The held-out fold is then used only to evaluate the witness (§ 3.2). Cross-fitting over all KK folds uses every event both to fit and to evaluate, which matters when the signal is rare.

Witness fit. Any learner may produce ϕk\phi_k, and its form and tuning may be chosen from the training folds and the auxiliary measurement. The calibration of Section 3.3 conditions on the realized witness and uses it only as a fixed function, except through the fitting-randomness term V^fit\hat{V}_{\mathrm{fit}}, which needs the learner’s first-order response to its training events. Section 4 details the training loss and the two learners we use.

Null fit. Let ψ\psi be a vector of estimating functions, one component per nuisance. Our nuisance fits are estimating-equation (or MM-) estimators: ν^(−k)\hat{\nu}^{(-k)} solves the estimating equations

∑i∈D−kψ(Xi)=Ek,νtr[ψ]+ΣA−1(ν−ν^A),(4)\sum_{i\in\mathcal{D}_{-k}}\psi(X_i)=\mathbb{E}^{\mathrm{tr}}_{k,\nu}[\psi]+\Sigma_A^{-1}(\nu-\hat{\nu}_A), \tag*{(4)}

which set the training sum of ψ\psi equal to its expected value under the null model at ν\nu, corrected by the auxiliary term. The fits differ only in the choice of ψ\psi, and Appendix A treats them together through this form (Eq. (22)).

References

  1. [1]Raffaele Tito D’Angolo and Andrea Wulzer. Learning new physics from a machine. Phys. Rev. D, 99(1):015014, 2019. doi: 10.1103/PhysRevD.99.015014.DOI
  2. [2]Raffaele Tito D’Agnolo, Gaia Grosso, Maurizio Pierini, Andrea Wulzer, and Marco Zanetti. Learning multivariate new physics. Eur. Phys. J. C, 81(1):89, 2021. doi: 10.1140/epjc/s10052-021-08853-y.DOI
  3. [3]Raffaele Tito D’Agnolo, Gaia Grosso, Maurizio Pierini, Andrea Wulzer, and Marco Zanetti. Learning new physics from an imperfect machine. Eur. Phys. J. C, 82(3):275, 2022. doi: 10.1140/epjc/s10052-022-10226-y.DOI
  4. [4]Robert B. Davies. Hypothesis testing when a nuisance parameter is present only under the alternative. Biometrika, 74(1):33–43, 1987. doi: 10.1093/biomet/74.1.33.DOI
  5. [5]Eilam Gross and Ofer Vitells. Trial factors for the look elsewhere effect in high energy physics. Eur. Phys. J. C, 70:525–530, 2010. doi: 10.1140/epjc/s10052-010-1470-8.DOI
  6. [6]Herman Chernoff. On the distribution of the likelihood ratio. Ann. Math. Statist., 25(3):573–578, 1954. doi: 10.1214/aoms/1177728725.DOI
  7. [7]Steven G. Self and Kung-Yee Liang. Asymptotic properties of maximum likelihood estimators and likelihood ratio tests under nonstan- dard conditions. J. Amer. Statist. Assoc., 82(398):605, 1987. doi: 10.1080/01621459.1987.10478472.
  8. [8]Larry Wasserman, Aaditya Ramdas, and Sivaram Balakrishnan. Universal inference. Proc. Natl. Acad. Sci. USA, 117(29):16880–16890, 2020. doi: 10.1073/pnas.1922664117.DOI
  9. [9]Purvasha Chakravarti, Mikael Kousela, Jing Lei, and Larry Wasserman. Model-independent detection of new physics signals using interpretable semi-supervised classifier tests. Ann. Appl. Stat., 17(4):2759–2795, 2023. doi: 10.1214/22-AOAS1722.DOI
  10. [10]Gaia Grosso, Marco Letizia, Maurizio Pierini, and Andrea Wulzer. Goodness of fit by Neyman-Pearson testing. SciPost Phys., 16(5):123, 2024. doi: 10.21468/SciPostPhys.16.5.123.DOI
  11. [11]Jing Lei. A modern theory of cross-validation through the lens of stability. Found. Trends Stat., 1(3-4):391–548, 2025. doi: 10.1561/3600000005.DOI
  12. [12]Morgane Austern and Wenda Zhou. Asymptotics of cross-validation, 2020.
  13. [13]Pierre Bayle, Alexandre Bayle, Lucas Janson, and Lester Mackey. Cross-validation confidence intervals for test error, 2020.arxiv.org/abs/2007.12671
  14. [14]Michael Kearns and Dana Ron. Algorithmic stability and sanity-check bounds for leave-one-out cross-validation. Neural Comput., 11(6):1427–1453, 1999. doi: 10.1162/089976699300016304.DOI
  15. [15]Olivier Bousquet and André Elisseeff. Stability and generalization. J. Mach. Learn. Res., 2:499–526, 2002.
  16. [16]Jerzy Neyman. Optimal asymptotic tests of composite statistical hypotheses. In Ulf Grenander, editor, Probability and Statistics: The Harald Cramér Volume, pages 213–234. Almqvist & Wiksell, Stockholm, 1959.
  17. [17]Yoshua Bengio and Yves Grandvalet. No unbiased estimator of the variance of K-fold cross-validation. J. Mach. Learn. Res., 5:1089–1105, 2004.
  18. [18]Robert Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B, 58(1):267–288, 1996. doi: 10.1111/j.2517-6161.1996.tb02080.x.DOI
  19. [19]Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations (ICLR), 2015.
  20. [20]G. Grosso, R. T. D’Agnolo, M. Pierini, A. Wulzer, and M. Zanetti. NPLM: learning multivariate new physics, 2021.arxiv.org/abs/1912.12155
  21. [21]Bin Yu and Karl Kumbier. Veridical data science. Proc. Natl. Acad. Sci. USA, 117(8):3920–3929, 2020. doi: 10.1073/pnas.1901326117.DOI
  22. [22]Bin Yu and Rebecca L. Barter. Veridical Data Science: The Practice of Responsible Data Analysis and Decision Making. MIT Press, 2024.
  23. [23]Bin Yu. Stability. Bernoulli, 19(4):1484–1500, 2013. doi: 10.3150/13-BEJSP14.DOI
  24. [24]Marco Letizia, Gianvito Losapio, Marco Rando, Gaia Grosso, Andrea Wulzer, Maurizio Pierini, Marco Zanetti, and Lorenzo Rosasco. Learning new physics efficiently with nonparametric methods. Eur. Phys. J. C, 82(10):879, 2022. doi: 10.1140/epjc/s10052-022-10830-y.DOI
  25. [25]J. F. C. Kingman. Poisson Processes, volume 3 of Oxford Studies in Probability. Oxford University Press, Oxford, 1992. ISBN 9780198536932. doi: 10.1093/oso/9780198536932.001.0001.DOI

Paper details

vlnc:W_cbprztqk
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