TL;DR
This paper reviews and proposes advanced density estimation techniques, including Gaussian processes and neural networks, to improve the treatment of instrumental effects in amplitude analyses of hadron decays.
Contribution
It introduces novel applications of machine learning models for background estimation and efficiency correction in multidimensional amplitude analyses.
Findings
Gaussian processes and neural networks effectively estimate densities in complex phase spaces
Proposed methods improve background modeling accuracy in amplitude analyses
Neural network-based density estimation offers flexible, model-assisted solutions
Abstract
Amplitude analysis is a powerful technique to study hadron decays. A significant complication in these analyses is the treatment of instrumental effects, such as background and selection efficiency variations, in the multidimensional kinematic phase space. This paper reviews conventional methods to estimate efficiency and background distributions and outlines the methods of density estimation using Gaussian processes and artificial neural networks. Such techniques see widespread use elsewhere, but have not gained popularity in use for amplitude analyses. Finally, novel applications of these models are proposed, to estimate background density in the signal region from the sidebands in multiple dimensions, and a more general method for model-assisted density estimation using artificial neural networks.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39
Figure 40| Model parameter | Value |
|---|---|
| events2 | |
| events2 | |
| events |
| Model parameter | Value |
|---|---|
| events2 | |
| events2 | |
| events2 | |
| events |
| Model parameter | Range | True value | Reconstructed value |
|---|---|---|---|
| Track cut (GeV) | 0.4 | ||
| Track cut (GeV) | 3.0 | ||
| cut (GeV) | 2.0 | ||
| max cut (GeV) | 1.0 | ||
| sum cut (GeV) | 3.0 |
| Model parameter | Range | True value | Reconstructed value |
|---|---|---|---|
| Mean (GeV) | 0.3 | ||
| Mean (GeV) | 0.6 | ||
| Mean (GeV) | 2.0 | ||
| Mean (GeV) | 2.0 | ||
| fraction | 0.1 | ||
| fraction | 0.2 | ||
| Track cut (GeV) | 0.3 | ||
| Track cut (GeV) | 3.0 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Efficient description of experimental effects in amplitude analyses
Abhijit Mathad1,2
1 Physik-Institut, Universität Zürich, Zürich, Switzerland
2 Department of Physics, University of Warwick, Coventry, United Kingdom
3 INFN Sezione di Bologna, Bologna, Italy
4 Aix Marseille Univ, CNRS/IN2P3, CPPM, Marseille, France
Daniel O’Hanlon3 Now at H.H. Wills Physics Laboratory, University of Bristol, Bristol, United Kingdom 1 Physik-Institut, Universität Zürich, Zürich, Switzerland
2 Department of Physics, University of Warwick, Coventry, United Kingdom
3 INFN Sezione di Bologna, Bologna, Italy
4 Aix Marseille Univ, CNRS/IN2P3, CPPM, Marseille, France
Anton Poluektov2,4 Corresponding author. E-mail address: [email protected] 1 Physik-Institut, Universität Zürich, Zürich, Switzerland
2 Department of Physics, University of Warwick, Coventry, United Kingdom
3 INFN Sezione di Bologna, Bologna, Italy
4 Aix Marseille Univ, CNRS/IN2P3, CPPM, Marseille, France
Raul Rabadan4
1 Physik-Institut, Universität Zürich, Zürich, Switzerland
2 Department of Physics, University of Warwick, Coventry, United Kingdom
3 INFN Sezione di Bologna, Bologna, Italy
4 Aix Marseille Univ, CNRS/IN2P3, CPPM, Marseille, France
Abstract
Amplitude analysis is a powerful technique to study hadron decays. A significant complication in these analyses is the treatment of instrumental effects, such as background and selection efficiency variations, in the multidimensional kinematic phase space. This paper reviews conventional methods to estimate efficiency and background distributions and outlines the methods of density estimation using Gaussian processes and artificial neural networks. Such techniques see widespread use elsewhere, but have not gained popularity in use for amplitude analyses. Finally, novel applications of these models are proposed, to estimate background density in the signal region from the sidebands in multiple dimensions, and a more general method for model-assisted density estimation using artificial neural networks.
Contents
1 Introduction
Amplitude analysis of hadron decays is a powerful technique employed in many flavour physics studies, such as measurements of violation, searches for effects beyond the Standard Model, spectroscopic studies of excited hadrons, and searches for previously unobserved hadronic states. In this kind of analysis, multidimensional kinematic distributions of the decay products of a parent particle are studied to reveal the dynamical structure of the decay amplitude [1]. In addition to the decay dynamics, the kinematic distributions are in general affected by non-uniform acceptance, or detection efficiency, and background density, which need to be accounted for in the fit.
In this paper we briefly review the conventional approaches, recall a few already known but rarely used methods, and, finally, propose new techniques to model non-uniform acceptance and background distributions. The proposed techniques not only offer more accurate descriptions of these distributions, but also provide improved avenues to control the systematic uncertainties arising from conventional approaches. Furthermore, the ability to make efficient use of expensive detailed simulation will be of key importance in the future, when data rates are expected to grow faster than the availability of computing resources [2]
A simple, yet typical example of an amplitude analysis is the study of the two-dimensional distribution of a three-body decay of a (pseudo)scalar meson into three (pseudo)scalar mesons: Dalitz plot analysis [1, 3]. This is the simplest case where the decay has internal degrees of freedom, yet the amplitude is a function of only two kinematic variables. In more complicated cases, such as decays involving non-spin-zero states or decays with greater than three particles in the final state, one is required to analyse kinematic distributions in more than two dimensions. Here we focus on the simple two-dimensional case, however the approaches presented here can be easily generalised to the cases with higher dimensionality.
We deliberately avoid any quantitative direct comparisons of the performance for the illustrated techniques: the optimal technique for each individual analysis depends on many factors, such as the size of the data sample; dimensionality of the kinematic phase space; requirements on statistical and systematic uncertainties; complexity of the amplitude model; signal selection procedure; or structure of the background contributions. As such, it is important to investigate a variety of complementary approaches.
The structure of the paper is as follows: the formalism of multidimensional maximum-likelihood fits is recalled in Section 2 and non-parametric methods to deal with background and acceptance are presented. The samples used to illustrate the background and acceptance parameterisation techniques are described in Section 3. Conventional techniques to parametrise the acceptance distribution are illustrated in Section 4. Further, two rarely used but yet efficient approaches are presented: a technique using Gaussian processes (Section 5) and density estimation with artificial neural networks (Section 6). Finally, two novel approaches are proposed: the technique for inter- or extrapolation of background density from the sidebands using one of the methods above (Section 7), and a model-assisted parameterisation of background or acceptance density using neural networks (Section 8).
2 Formalism of amplitude analyses
A typical amplitude analysis in flavour physics deals with the distribution of kinematic observables that characterise the multibody decay. The goal is to determine the unknown parameters that characterise the amplitude of the decay . Given a set of decay candidates characterised by a vector of observables () obtained in an experiment, an unbinned maximum-likelihood fit is performed to infer the model parameters . The negative logarithm of the likelihood, , minimised in the fit, is of the form
[TABLE]
where is the size of sample being fit, is the normalised probability density of the decay that depends on the model , with a normalisation term , the acceptance and the normalised probability density function for the background events ,
[TABLE]
and are the relative fractions of signal and background contributions, respectively. Another instrumental effect that needs to be taken into account in the fit, particularly if the amplitude contains narrow resonant states, is the finite resolution of the kinematic observables . This effect is beyond the scope of this paper and is not considered.
The contribution of background events is typically obtained by analysing the distribution of selection variables, . In the simplest case, is a single variable that is taken to be the combined invariant mass of the final state particles, which typically peaks at the mass of the parent particle for the signal events, and is distributed more uniformly for the background. However, other parameters of the event can also be included in the background selection. Alternatively, instead of treating the background contribution explicitly as shown in Eq. (2), one can also assign to each candidate in the data sample a weight , such that the background contribution is statistically subtracted. This procedure will be discussed in more detail in Section 2.2.
While the amplitude is driven by the model of the decay dynamics and is the primary object under study, the experimental effects of background and non-uniform acceptance exist as “nuisance” objects that, nevertheless, have to be modelled accurately for correct interpretation of the results. Their description, especially in the case of the multidimensional kinematic phase space of the decay, often presents a major difficulty in an analysis. Below we review several conventional techniques employed in amplitude analyses to deal with effects of background and non-uniform acceptance.
2.1 Treatment of non-uniform acceptance
Non-uniform acceptance is usually handled either explicitly, using a parametric or non-parametric model of the decay density as shown in Eq. (2), or in an implicit way, by including its effect in the normalisation term of the likelihood. In the latter case, the scattered data from simulation can be directly used, and no functional representation of the acceptance is required.
To demonstrate the implicit approach, let us consider Eq. (1) that is being minimised in the unbinned fit (the background contribution has been omitted for simplicity):
[TABLE]
Here the normalisation term is calculated by taking the mean of the values of the density function on a uniformly distributed sample () in a volume . The constant terms that do not depend on the parameters of the model can be omitted, which leads to the following expression:
[TABLE]
The second term in the above equation can be seen as the sum of calculated over the sample distributed uniformly over the decay phase space, where each event enters with the weight . The weight of each event can also be interpreted as the probability of that event passing the detector acceptance. Such an interpretation hints at a way to prepare the normalisation sample: one has to generate the decays uniformly in the decay phase space, and then simulate the reconstruction and selection of the events. The retained events will serve as a normalisation sample for the likelihood and no further corrections to the acceptance are required. In a real analysis, however, additional weighting of the normalisation sample may be needed to account for the imperfections in the simulated sample.
With this approach, no explicit parameterisation of the acceptance distribution is needed, and therefore it is often used in amplitude analyses with more degrees of freedom than the two-dimensional Dalitz plot, such as [4], [5], or [6] decays where the amplitudes are described in a five- or six-dimensional phase space. This method is, however, statistically sub-optimal, since it does not exploit the fact that the acceptance distribution can be assumed to be at least locally smooth. As a result, these analyses usually require simulation data sizes several times larger than the real data samples.
Explicit modelling of the acceptance function is more typically used in two-dimensional Dalitz-plot analyses. The techniques often used are two-dimensional polynomials with the parameters obtained from fitting a simulated data sample [7], two-dimensional histograms smoothed with cubic splines [8, 9], and kernel density estimation [10, 11, 12]. Analyses in more than two dimensions do sometimes also use an explicit acceptance parameterisation, albeit with assumptions on the factorisation of the acceptance in some variables [4] to reduce the dimensionality.
2.2 Treatment of background contributions
As in the case of acceptance, backgrounds can also be treated in the amplitude analyses either in an explicit or implicit fashion. The implicit inclusion of the background into the likelihood fit can be performed using the sPlot technique [13, 14], where each event is assigned a weight that depends on the value of the selection variables . These weights are positive in the signal-dominated regions of the selection variables and negative in the background-dominated regions, and as such the contribution of the background events can be statistically subtracted from the likelihood.
This procedure does not require explicit parameterisation of the background density, however, it suffers some drawbacks. Firstly, it assumes that the kinematic observables are uncorrelated with the selection variables , which as will be demonstrated in Section 7, is an assumption that in general is not well motivated. The presence of correlations will thus introduce bias in the fit results, especially if the background level is large. Secondly, since the procedure does not make any assumptions on the functional form of the background density, it results in larger statistical uncertainties on the results than when a reasonable functional form is assumed.
3 Illustrative simulated samples
For the purposes of illustration, the decay is considered in this paper. As this is a three-body decay with scalar particles in both the initial and final states, its dynamics are fully characterised by two kinematic variables. This decay is also convenient as all the final states of the decay are charged tracks, which makes the selection easier to be implemented in a simplified Monte-Carlo simulation framework. There are no identical particles in the final state, avoiding any need to deal with Bose symmetrisation of the kinematic phase space. Finally, being a singly Cabibbo-suppressed decay, it is interesting from a physics point of view, since it can exhibit significant violation.
Here we choose to parametrise the phase space in terms of the two square Dalitz-plot observables [15], defined as
[TABLE]
where is the invariant mass of the combination, and are the minimum and maximum values of variations, and are the masses of and mesons, respectively [16], and is the helicity angle of the combination (the angle between the resonance and the lone hadron, in the resonance rest frame). While the square Dalitz plot was proposed for analyses of mesons in order to give more weight to the interference regions between different two-body combinations that predominantly occur in the corners of the conventional Dalitz plot, in our case it is used purely to avoid complications related to the curved boundaries of the conventional Dalitz plot.
Although the three-body Dalitz-plot analysis is the simplest case for the techniques considered here, they scale well with dimensionality of the kinematic phase space, and can be applied for more complicated amplitude analyses. Similarly, the exact definition of the kinematic phase space (conventional or square Dalitz plots, or various representations for four-body kinematics) is not a limitation for the techniques under study.
3.1 Efficiency distribution for
The sample of decays is simulated using a simplified Monte-Carlo technique, where only kinematic properties of the initial and final state particles are considered. The production of mesons and reconstruction of decay products is inspired by the conditions of LHCb experiment [17], however the numerical values of the parameters used in the simulation are largely arbitrary and differ from those at LHCb.
For the initial mesons, the transverse momentum (the component of momentum perpendicular to the –axis, which in the case of a proton-proton collider corresponds to the direction of the beams) is generated according to an exponential distribution with a mean of 1$$\mathrm{\,Ge\kern-0.90005ptV}.111Natural units with are used in this paper The angle , which is the angle between the direction of momentum and the –axis, is generated such that the pseudorapidity, , is distributed uniformly in the range from 2 to 5 (which roughly corresponds to the fiducial volume of LHCb). Assuming that the decay is spherically symmetric, the momenta of the final state products are generated such that they are uniform in the square Dalitz-plot variables and . These momenta in the rest frame are then boosted to the laboratory frame.
To simulate the selection of candidates in the experiment, only the candidates that satisfy certain kinematic criteria are retained: the total momentum and the transverse momentum of each track are required to exceed and 0.4$$\mathrm{\,Ge\kern-0.90005ptV}, respectively; the of at least one of the final state tracks is required to be greater than 1.0$$\mathrm{\,Ge\kern-0.90005ptV}; the of the candidate is required to be greater than 2.0$$\mathrm{\,Ge\kern-0.90005ptV}; and the sum of transverse momenta of the three tracks is required to exceed 3.0$$\mathrm{\,Ge\kern-0.90005ptV}.
The square Dalitz-plot distribution for the retained candidates is shown in Fig. 1. Since we are only interested in relative variations of the efficiency, it is normalised such that its average over the full kinematic phase space equals . The same applies to other generated and estimated two-dimensional efficiency and background distributions presented in this paper. The plot in Fig. 1 uses a high-statistics sample of events after selection, where a smaller sample of selected candidates is used in the examples presented elsewhere in this paper to estimate this distribution.
3.2 Combinatorial background density for
The simulated combinatorial background contribution to the decays contain purely random combinations of three tracks, as well as the combinations of or with a or a , respectively. The kaon and pion tracks, as well as the and resonances, are generated uniformly in pseudorapidity, , and with an exponential distribution (with a mean of 0.3$$\mathrm{\,Ge\kern-0.90005ptV}, 0.6$$\mathrm{\,Ge\kern-0.90005ptV} and 2.0$$\mathrm{\,Ge\kern-0.90005ptV} for pions, kaons and resonances, respectively). The fractions of and in the combinations before applying selection cuts are set to be % and %, respectively. The invariant masses of the and resonances are generated according to the relativistic Breit-Wigner distribution, with masses and widths equal to their world-average values [16], and their decay products are generated assuming that the resonances are unpolarised (i.e. they are isotropic in the resonance rest frame and are uncorrelated with the third track).
In a second stage, the three charged tracks are combined to form the candidate. Only the tracks with greater than 0.4$$\mathrm{\,Ge\kern-0.90005ptV} and total momentum greater than 3$$\mathrm{\,Ge\kern-0.90005ptV} are used to make the candidates. Finally, a kinematic fit is performed which adjusts the momenta of the final state tracks in such a way that the invariant mass of the three-body combination is coincident with the world-average mass [16]. The three-dimensional distribution of the invariant mass, , of the three particles before the kinematic fit, and the square Dalitz-plot variables and after the kinematic fit, are used to extract the density of the background events in the signal region.
The distributions of each variable with the definition of signal and sideband regions are shown in Fig. 2. To clearly show the features of the background density, the two-dimensional projections in Fig. 2(a,b,c) are obtained with the high-statistics Monte-Carlo sample of events satisfying the selection requirements. The examples of background density estimation in this paper, as well as the one-dimensional projections in Fig. 2(d,e,f) use the smaller sample of candidates. The following examples assume that the background density is estimated only using the sideband regions of the distribution, defined as (lower sideband) and (upper sideband), where the aim is to estimate the density in the signal region (see Fig. 2(d)).
As seen in Fig. 2(e,f), background densities in the signal and sideband regions are clearly different, with the positions of the peaking structures due to and resonances shifted in the sidebands with respect to the signal region. In this particular case, it is purely explained by the kinematic fit procedure applied to the background sample. In a real analysis, this can also be caused by dependence of background production properties on the selection variable, .
4 Conventional acceptance parameterisations
In this section, we present the estimation of the acceptance variation over the amplitude fit variables using conventional methods that involve use of Legendre polynomials and cubic splines. These methods use histograms to estimate the local density of events before and after a selection requirements, and then interpolate the efficiency value between the bin centres of the histogram.
Numerous analyses use multidimensional orthogonal Legendre polynomials[7, 18, 19, 20] to parameterise the variation of the acceptance. In dimensions these consist of the product of -order polynomials, where can be different for each dimension, that describe the form of the acceptance. As such, the number of free parameters in this method are , exhibiting the power-law growth in the number of dimensions. The coefficients of these polynomials are then extracted in a maximum-likelihood fit. As the optimal order of each of these polynomials is a priori unknown, often cross-validation and/or regularisation is used to prevent overfitting.
Another method commonly used is interpolation between the histogram bin centres via cubic splines [8, 21, 22]. Here, the scale of the variation over the phase-space is determined by the initial histogram bin size, and therefore to avoid overfitting the size and location of bins are optimised before the spline function is calculated. Unlike in the case for the Legendre polynomials, no free parameters exist for the spline functions (except for the values at the bin centres). Therefore these are particularly susceptible to over-fitting, as they simply “connect” the points.
In Figure 3, we show the results of these two conventional approaches [23, 24]. For the Legendre polynomial fit, additive and regularisation terms were included into the likelihood to reduce overfitting and improve likelihood fit stability [25]:
[TABLE]
with
[TABLE]
and
[TABLE]
where are the coefficients of the polynomials and and are regularisation parameters. A cross-validation procedure was performed to determine the optimal degree of the Legendre polynomials (set to be equal in each dimension for simplicity), as well as the magnitude of each of the and terms. This resulted in a polynomial degree of in each dimension, an regularisation parameter , and an regularisation parameter . The reduced for this fit is calculated using an independent test set, and the number of effective degrees of freedom is calculated using bootstrap resampling, and yields a value of .
For the fit with cubic splines, a binning in is used, and is chosen ad hoc such that the bin size is similar to the smallest structure size in these variables (), but not so fine as to exhibit dramatic overfitting if these are compared to the underlying distribution. Here the reduced is calculated using the number of bins in the test () minus the number of points fitted by the spline (), and a value of is obtained.
5 Gaussian processes
A Gaussian process [26] is a statistical model which associates each point in the input space with a normally distributed random variable. The joint distribution of these random variables is also a normal distribution, yielding a closed-form expression for the model at any arbitrary point the space. Fortunately, to avoid having to fit for the parameters of an infinite number of normal distributions, Gaussian processes are completely determined by parameterising the covariance matrix using a covariance function. As such, it is possible to obtain model estimates in a large number of dimensions with relatively few parameters, which can then be used to extrapolate the behaviour of the model with reliable estimates of the uncertainty. Furthermore, these parameters can be robustly extracted directly from the data, which gives Gaussian processes an advantage over other “non-parametric” models, such as kernel density estimates or piece-wise spline interpolation. A pedagogical introduction to Gaussian processes can be found in Ref. [27], and other applications in high-energy physics can be found in Refs. [28, 29]
Given some input data vector , of length (where the elements can themselves be vectors of arbitrary dimension), the output, , of a Gaussian process is defined as
[TABLE]
where is a multivariate normal distribution with zero mean, and the covariance matrix, , given by
[TABLE]
Here is a covariance function, with hyperparameter vector , that is defined between any two input points, , that are elements of . For a new input point , the conditional probability of predicting an output that is equal to the true unknown value , given the previously observed outputs, , follows a normal distribution,
[TABLE]
where , and . The best estimate of the true value, , is equal to the mean of the above probability distribution,
[TABLE]
and the uncertainty is the square-root of the variance,
[TABLE]
The negative logarithm of the likelihood for this construction is given by
[TABLE]
The vector of hyperparameters of the covariance function can then be inferred by minimising the negative logarithm of the likelihood (Eq. 14), or obtained via marginalisation using suitable priors and Markov chain Monte-Carlo.
One such covariance function is the Matérn function,
[TABLE]
where is the scaled distance between two points in the input space, is the gamma function, is the modified Bessel function of the second kind, is a vector of length scales, is a non-negative parameter, and controls the absolute magnitude of the covariance. The Matérn function is defined in terms of the distance between two points, rather than the location of each point, and therefore describes a stationary distribution. For half-integer values of , this can be expressed as a product of an exponential function and a polynomial of order . The parameters can be thought of as controlling the smoothness of the function, and when , the Matérn function converges to the squared-exponential covariance function
[TABLE]
Here we use the Matérn function with throughout, as this provides a good balance between replicating and smoothing the observed structures, however the parameter values, and the best model choice in general, depends on the data in question. These are ideally selected using cross-validation, or a similar procedure, and can be considered as a source of systematic uncertainty on the final distribution.
In reality, one would also want to describe distributions that are non-stationary (i.e., where the mean in Eq. (9) is non-zero). However, due to the linearity of the model, this represents a simple subtraction of the mean function from the observed data, and therefore there is no loss in generality due to this description. Specific assumptions on the mean distribution will be discussed for the applications described in Sections 5.1 and 7.
5.1 Acceptance parameterisation
The dataset described in Section 3 parameterises the acceptance in terms of the square Dalitz-plot variables, and . As the Gaussian process does not estimate the density directly (although there are modifications that would permit this [30]), the density in -space is estimated first by a uniformly binned histogram, with bins in each axis. The location of the centres of these bins are then the input points, , defined above, where . As these were generated uniformly in -space, the acceptance probability in each bin is simply the reciprocal of the bin content, which is the output, , of the Gaussian process. Therefore for each input there is an associated output . As the acceptance is positive definite everywhere, the resulting Gaussian process does not represent a stationary process, and as such, a mean function constant in is added to the Gaussian process to account for this scaling.
An advantage of the Gaussian process is that it is relatively robust to statistical fluctuations due to low sample sizes, as the uncertainty at each point is estimated directly. As such, the aforementioned binning can be considerably finer than in other methods, provided that the assumption of normally distributed uncertainties holds (processes where the likelihood is replaced with a Poisson distribution can also be used, however this is less computationally tractable than in the Gaussian case, as Poisson distributions are not closed under linear combination).
Here, Gaussian processes are implemented using the GPy package [31] (and the functionality described in this section and Section 7.1 can be obtained with the package in Ref. [32]), and the resulting acceptance model as a function of and can be seen in Figure 4. The parameters of this model are the overall scale of the Matérn function, , the overall scale of the constant mean function , the characteristic length scale over which points covary for each dimension, and , and a term describing the additive Gaussian noise at each point, . This fit was performed using a maximum-likelihood approach, and the resulting parameter values can be found in Table 1.
The per number of degrees of freedom of this acceptance model with respect to the data is evaluated using an independent dataset of simulated decays. Here, the effective number of degrees of freedom is calculated approximately as the number of bins in the test (), minus the number of model parameters (), and a value of is obtained. This indicates that the model reproduces the underlying distribution very well, where the smallness of the value compared to the values reported in Section 4 is mostly due to the fact that this reproduction can be achieved with a small number of parameters.
As the only parameters that scale with dimensionality are the characteristic length scale of the Matérn function, the increase in the number of parameters is linear in the dimensionality. Furthermore, the time complexity of Gaussian processes is also linear in the dimensionality, making these very efficient in high dimensions compared to other parameterisations. Unfortunately however, the complexity is cubic in the input data size, due to the dependence on a matrix inversion, and therefore these do not scale well with large data sizes. Nevertheless, methods exist to mitigate this, such as the use of binned data in the strategies described here, or by selection of a small number of “pseudo” inputs [33].
6 Density estimation with neural networks
Multivariate techniques such as artificial neural networks (ANNs) or boosted decision trees provide an alternative approach to parametrise multidimensional probability density from scattered data [34, 35]. The approach involving ANNs exploits a property of neural networks, where a “feed forward” network (when layers of neurons are arranged in a non-cyclical structure), with smooth activation functions can approximate any continuous function. Here, the parameters of the ANN are treated as free parameters in a maximum-likelihood fit to the unbinned data, performed by treating the negative logarithm of the likelihood as a custom loss function. Since this technique does not require binning the input data, and in general ANNs have successfully shown their ability for multivariate generalisation, we expect that density estimation approach using ANNs can become useful for multidimensional amplitude analyses. This approach is demonstrated below for the parameterisation of the two-dimensional acceptance of the decay, described in Section 3.
The outputs of the neuron of the layer in the ANN is given by
[TABLE]
where is the matrix of weights, is the vector of biases for layer, and is a non-linear activation function. For the estimated density to be smooth, it is convenient to use a smooth differentiable activation function such as a sigmoid function,
[TABLE]
In this structure, the first layer of neurons is the input layer, and accepts kinematic variables as inputs, while the output neuron return a single scalar, the density estimate
Density estimation can be performed by treating the weights and biases of the ANN as free parameters, and minimising the negative logarithm of the likelihood,
[TABLE]
where () are data points, and () is a uniformly distributed sample used for normalisation. The function (19) is used as the loss function to train the ANN given the training sample .
As in many applications of machine learning techniques, special care needs to be taken to avoid overfitting, where the model configuration or parameters become too specialised to the training dataset, and therefore fail to generalise properly. In the case of density estimation with ANN, overfitting manifests itself as isolated peaks of the PDF around training data points. Regularisation techniques, where the likelihood is explicitly penalised to promote smoothness or sparsity, are thus essential to control overfitting.
It was found that regularisation which penalises large neuron weights (and therefore those that result in large gradients of the density function) works well in the typical cases when density is expected to be smooth. Specifically, an regularisation term of the form
[TABLE]
is added to the loss function (19), where is the regularisation parameter that ultimately controls the smoothness of the PDF.
Additional constraints can be imposed by the choice of the input variables. For example, in the case of a decay process where angular observables are necessary to describe it, the periodicity of the density as a function of angles can be enforced by using two variables, and , as the input variables for the ANN instead of a single angular variable . Similarly, if the density is expected to be an even function of a kinematic observable (e.g. cosine of a helicity angle), the square of this might be a better choice as an input to the ANN.
The density estimation of the decay acceptance is performed with an ANN consisting of four hidden layers with the number of neurons, from the first to fourth layer, equalling 32, 64, 32, and 8. The regularisation parameter is chosen to be equal to 0.1. Normalisation is performed with events distributed uniformly over the space of inputs, the square Dalitz plot. The likelihood minimisation is performed using the TensorFlow framework [36] and the Adam optimiser [37] with learning rate of . The resulting estimate of the density after 30 000 training epochs (passes through the data) is shown in Fig. 5. The value obtained for the fit with these conditions for bins equals 2418.3. It is difficult to estimate the effective number of degrees of freedom for a training with regularisation. By varying the regularisation parameter one can obtain a broad range of values, both lower (which might indicate overtraining) and higher (indicating a bias in density estimation). Cross-validation can be used to obtain the optimal value for the parameter and control overtraining.
The code used to produce the results in this paper with ANNs is available at Ref. [38]. This package uses the TensorFlowAnalysis and AmpliTF libraries [39, 40] for the implementation of the functions related to flavour physics analyses within TensorFlow framework.
7 Extrapolation of background density from sidebands
As highlighted in Section 2.2, the conventional methods that either use sideband distributions or the sPlot technique to determine the combinatorial background contribution can in general introduce systematic biases, since they ignore correlations between the amplitude fit variables and the selection variables (such as the combined invariant mass of the final state particles ). The bias can become pronounced if only one of the sidebands can be used to estimate the background (e.g. due to presence of specific peaking backgrounds in the other sideband as often happens in meson decays). The sPlot procedure also introduces additional statistical uncertainty compared to the parametric approach due to the lack of any assumptions on the behaviour of the background.
To overcome these issues, one can add the selection variables to the background parameterisation. For example, in the case of Dalitz-plot analysis, a 3D fit can be performed to obtain the probability density function , which can then be used to extrapolate the desired combinatorial PDF in the signal region. We present in this section two such approaches, one using a Gaussian process [41], and another using an ANN [42], to extrapolate the combinatorial background PDF from both the upper and lower sidebands of to the signal region. To illustrate the performance of both of these approaches, simulated combinatorial background of decay is used, as described in Section 3.
7.1 Gaussian process background fit
In the Gaussian process method, the fit variables () and selection variable () taken from the sideband sample are first binned to obtain a local estimate of the density, and the parameters of the covariance function are then inferred by fitting the model using the location of the bin centres and their respective yields. As mentioned in Section 5, the model is fairly robust to variations in the choice of the location and size of these bins, providing that they capture sufficient variation in the input variables.
Here, the lower, , and upper, , sideband described in Section 3.2 are separated into three bins of each, for a total of six bins in . In each of these bins, the square Dalitz plot is separated into uniform bins (with bin size ), for a total of inputs to the Gaussian process.
The Gaussian process uses the Matérn kernel, defined in Section 5, with , along with a constant mean function in , and a linear mean function in . Results of the estimation of the background density in the sideband regions of variable are presented in Fig. 6. Here it can be seen specifically that the Gaussian process model estimates well the variation in the resonance structure in as a function of due to the kinematical constraints, permitting accurate estimation of this background structure in the unobserved signal region. The corresponding kernel parameters that are extracted from the data can be seen in Table 2.
The distribution of the background in the signal region is obtained by querying the Gaussian process at , the results of which can be seen in Figure 7. While the resulting density somewhat smears the narrow structure seen in distribution (Fig. 7(b)), the bias of the distribution is clearly smaller than that obtained from the simple projections of the distribution in the sidebands.
7.2 Neural network background fit
If there are no narrow structures in the background, one can consider a background PDF that is positive-definite, reasonably smooth in , and is sufficiently generic in square Dalitz-plot variables, such as
[TABLE]
where are the functions modelled with ANN. One can then perform an unbinned fit of to sideband data, with regularisation to avoid overtraining, with the weights and biases of ANN functions and as the free parameters. The background in the signal region can then be extrapolated using the trained model as .
In the presence of narrow structures in the amplitude that vary as a function of (such as the resonant and contributions in the sample, see Fig. 2), the approximation shown in Eq.(21) may not work well. As ANN density estimation can be performed in multiple dimensions, one can estimate the background density in the selection variable in addition to that in the Dalitz-plot variables, and . Therefore, as an alternative to the PDF of the form (21), the full three-dimensional ANN can be used to parametrise the background as a function of square Dalitz-plot variables and , where additional regularisation has to be applied to ensure continuity as a function of the selection variable . The latter can be done by adding an extra penalty term in the likelihood which penalises configurations where the neurons in the input layer have large weights corresponding to variable. Such regularisation will effectively result in the ANN where the first input layer consists of features that are slowly varying as a function of .
The fit in the sideband regions to the simulated combinatorial background of the decay using the ANN is shown in Fig. 8. For the neurons in the first layer that take the dimension as input, the regularisation parameter is set equal to , while for the other neurons this is equal to . In Fig. 9, the predicted combinatorial background density in the signal region using ANN approach is shown, where the ANN is trained using Adam optimised for epochs with the learning rate of 0.0002. The value for bins equals .
8 Model-assisted density parameterisation with neural networks
In the training of the ANN, it is often difficult to replicate specific features of the resulting density, especially in the case of limited training data. The only handles on the generic ANN training are the topology of the network and the generic regularisation terms, and careful tuning of these is needed to obtain a reasonable description of the density.
The procedure of parameterising the background or acceptance using only the input data, without any external knowledge of the processes that govern the features of the distributions, is not the most optimal approach. In general, it is known, for instance, that the acceptance function should be relatively smooth with a fall–off at the boundaries of the phase space due to kinematic selection requirements, or that the combinatorial background should contain contributions from certain two-body resonances. The implication of this is that the behaviour is constrained much more than conventional parameterisation techniques assume, and an ideally efficient procedure should take this prior information into account. For example, one can introduce a simplified model of these processes, and extract only the parameters of this simplified model from the training data samples.
In the case of background and efficiency distributions, even a simple analytical model for this would be difficult to express. Instead, here we propose a technique to perform nonparametric estimation of these distribution, using the formalism described in Section 6, with the assumption that the complex observed behaviour explicitly depends only on a few underlying parameters that are sufficient to describe the efficiency or background behaviour in the region of interest. The values of these latent parameters can then be inferred from the observed data, or detailed simulation in the case of a description for the acceptance, in order to parameterise the distributions.
This way, the features of the resulting density are controlled by the simplified model, which leverages prior information on the correlations between the model parameters and kinematic observables. This results in more stable training of the ANN, as only data for the simplified parameters are required, rather than resource-intensive detailed simulation, and therefore larger sample sizes can be generated. Crucially, reliance on a few latent parameters also results in a an ad hoc regularisation effect, and as such the density obtained via this procedure is less sensitive to statistical fluctuations when obtaining the values of the simplified parameters. A similar technique has recently been independently proposed that utilises generative adversarial networks [43].
8.1 Implementation
In the initial stage, an estimate of the joint probability distribution , is constructed, in terms of the kinematic observables , in which the background or efficiency description is required, and the latent parameters on which the background or efficiency depend, . The variables could comprise the (square) Dalitz-plot variables, such as in the examples in this paper, but could also be anything else that is required to be parameterised in a physics analysis, such as the invariant mass of the reconstructed particle, or its decay time. The parameters are those that directly control physical constraints on the system, and influence via their correlations. These parameters necessarily vary between analyses, but it is likely that these would include, e.g., effective threshold values on the final state particle momenta, parameters that describe the shape of these momentum distributions, or fractions of potential background contributions.
An estimate of the joint probability distribution is parameterised using an ANN, obtained via the probability density estimation technique described in Section 6. The ANN is trained using a sample of simulated data, , that encapsulates dependencies between the kinematic observables, , and the latent parameters . These data are required to span the space of possible model parameter values, however accurate description of any specific configuration of or is not required (that is, there is no requirement for the set of input data points in this initial construction to overlap with the set of eventual evaluation points, due to the model smoothing). Effectively, the ANN parametrisation obtained at this stage will represent the functional representation of the model that is implemented using simulation.
Secondly, an estimate of the specific values of the latent parameters, , that correspond to the background data or detailed simulation, , is obtained. This is done by fixing the weights of the ANN obtained at the first stage, and performing a maximum-likelihood fit for these values, treating the ANN output as the probability of the latent parameters conditioned on the known vector of kinematic observables, , such that .
Lastly, again using the ANN as a joint probability function, the sample is drawn from the distribution , to obtain the probability density of kinematic observables. This approach is illustrated below for the estimation of the acceptance and combinatorial background distributions of the decay, described in Section 3.
It is worth noting that, whilst these latent parameters should in principle comprise the set of features on which the parameters of interest depend strongly upon, this set need not be exhaustive. Providing that the included parameters are at least reasonably correlated with any additional parameters that are not considered, yet influence the kinematic distributions, an “effective” value of these parameters can be obtained in the maximum likelihood fit stage. As such, these latent parameters can differ from those that can be calculated directly from the dataset that the model is evaluated on, in such a way that the efficiency or background distribution can nevertheless be correctly parameterised using these.
8.2 Acceptance parameterisation
To demonstrate the feasibility of the model-assisted approach for the parameterisation of acceptances, the same model as the one described in Section 3.1 is used, however the requirements on the reconstructed mesons and their decay products are varied in the generation of the training sample used to construct the ANN, as in step one above. The range of the variations for each of the five parameters of the model is given in Table 3, where the entire sample consists of events that satisfy the selection requirements. Since the efficiency model is relatively simple, generation of the training sample takes only a few minutes, and therefore this can be arbitrarily large. Since the events that do not satisfy the selection requirements are rejected during generation, the initial uniform distributions of the model parameters can become significantly non-uniform for the accepted events in the training sample. To compensate for this effect, the model parameters are sampled from non-uniform prior distributions (exponential in our case), where the parameters of the prior distributions are tuned to ensure that the distribution of model parameters for the accepted events are roughly uniform.
The functional form of the efficiency model, a -dimensional probability density function , where is the vector of parameters listed in Table 3, is obtained by the ANN density estimation procedure described in Section 6. The ANN topology and training parameters are the same as those highlighted in that Section 6, with the exception that here the regularisation parameter is taken to be . The projections of the result of the ANN training after epochs in the square Dalitz-plot variables, as well as the correlations between the Dalitz-plot variables and the latent model parameters, are given in Appendix A.
An unbinned maximum likelihood fit is then performed to obtain the effective model parameters for a test sample corresponding to that described in Section 3.1. The results of the fit are presented in Fig. 10, and the model parameters, both the true generated values and the values obtained from the fit, are given in Table 3. The maximum likelihood fit is performed using iminuit [44], and the interface between the ANN implemented in TensorFlow and iminuit is provided by TensorFlowAnalysis package [39].
Since the same underlying model is used to generate both the test samples and the samples used for the ANN training, one should expect the reconstructed parameters to be statistically consistent with the true generated ones. Certain tension is observed between the parameters in Table 3, which may indicate some deficiency or ambiguities in the ANN model. Nevertheless, this gets corrected by the maximum likelihood fit to the test dataset, and a good-quality parameterisation of the distribution results is obtained with the fit quality calculated with binning equal to . In the case of estimating the acceptance distribution from the detailed simulation, the quality of the parameterisation will depend on how well the simplified efficiency model approximates the experimental selection.
8.3 Background parameterisation
The estimation of the combinatorial background density is performed in a similar way to that of the acceptance parameterisation, except that the ANN training sample also includes the full range of the selection variable, , and the test sample only contains the events in the sidebands (defined in Section 7) to reproduce a more realistic analysis scenario. As in the case of the acceptance parameterisation, the background model from Section 3.2 is used to both generate samples for the initial joint density estimation by the ANN, and the test dataset for the subsequent maximum likelihood fit. The list of generated parameters of the model, with ranges of their variation, is given in Table 4, where the size of the training sample is events. Here, the topology of the ANN is unchanged from that described in Section 7, and the penalty factor in the regularisation term is taken to be . The projections of ANN variables, after training epochs, in the , and variables, as well as the correlations of these variables with each other and with the model parameters, are shown in Appendix B.
The projections of the resulting background density estimation are shown in Fig. 11, and the true and reconstructed values of the model parameters are given in Table 4. The values of the reconstructed parameters are consistent with the true values within their uncertainties, which indicates a good quality of the -dimensional ANN parameterisation of the background model. The fit quality calculated with binning is .
9 Conclusion
Techniques have been proposed here to efficiently parameterise background and acceptance variations that are an essential component to multidimensional fits of hadronic decay amplitudes. Often, treatments of the acceptance variations are sub-optimal, as they either do not exploit rudimentary assumptions of local smoothness, and require large quantities of computationally expensive simulated data, or a sizeable systematic uncertainty results from the use of an inefficient parameterisation. For the background description, assumptions often have to be made on the functional form of specific backgrounds, or on the validity of an extrapolation into the signal region. These assumptions are difficult to validate, and therefore in these cases, the background can be a considerable source of systematic uncertainty.
Here, several new applications of Gaussian processes and neural networks are proposed that attempt to mitigate these issues, by utilising a more efficient parameterisation, or imposing regularisation constraints on a model with a large number of degrees of freedom. Additionally, a method is proposed that utilises a neural network to extract latent dependencies on physics parameters, which permits a more physically motivated way of imposing constraints on the resulting probability density.
The techniques proposed in this paper reduce the overall systematic uncertainty from the aforementioned effects by providing a more efficient, regularised description of the acceptance variations. Furthermore, by doing this they also reduce the computational burden of generating sufficient simulated data to obtain robust results.
These approaches also mitigate biases in the estimation of the background contributions due to correlations with selection variables; permit extrapolation into the signal region of backgrounds that, for example, are not constant throughout the control variables due to decay kinematics or kinematical constraints; and scale efficiently with increasing dimensionality.
Acknowledgements
The authors would like to thank their colleagues from the LHCb collaboration (Tim Gershon, Thomas Latham, Mark Whitehead, Sneha Malde, Maurizio Martinelli, and others) for fruitful discussions. This work is supported by the Science and Technology Facilities Council (United Kingdom).
Appendices
Appendix A Neural network efficiency model
The results of the ANN training to estimate the -dimensional density of a generated efficiency model, as a function of a set of effective model parameters, is shown in Fig. 12. These plots show the projections of the and variables (top row, two leftmost plots), as well as the normalised two-dimensional distributions for the correlations between and (top row, two rightmost plots) and correlations between or and the model parameters. The plots marked as “Data” show the training data distributions, those marked with “Fit” show the high-statistics distributions generated from the result of the ANN training. As in the rest of the paper, the two-dimensional distributions are normalised in such a way that the average of the projected distribution equals .
Appendix B Neural network background model
The results of the ANN training to estimate the -dimensional density of generated combinatorial background model as a function of model parameters are shown in Fig. 13–15. These plots show the projections of the , and variables (Fig. 13, top row), as well as the normalised two-dimensional distributions for the correlations between each pair of , and variables (Fig. 13, second row and the two leftmost plots in the third row) and correlations between , , or , and the model parameters. The plots marked as “Data” show the training data distributions, those marked with “Fit” show the high-statistics distributions generated from the result of the ANN training. As in the rest of the paper, the two-dimensional distributions are normalised in such a way that the average of the projected distribution equals .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. H. Dalitz, On the analysis of tau-meson data and the nature of the tau-meson , Phil. Mag. 44 (1953) 1068 · doi ↗
- 2[2] C. Bozzi, LH Cb Computing Resources: 2020 requests and preview of the subsequent years , Tech. Rep. LH Cb-PUB-2019-003. CERN-LH Cb-PUB-2019-003, CERN, Geneva, Feb, 2019
- 3[3] J. Back et al. , Laura ++ : A Dalitz plot fitter , Comput. Phys. Commun. 231 (2018) 198 , ar Xiv:1711.09854 · doi ↗
- 4[4] LH Cb collaboration, R. Aaij et al. , Observation of J / ψ p 𝐽 𝜓 𝑝 {{J\mskip-3.0mu/\mskip-2.0mu\psi\mskip 2.0mu}}{p} resonances consistent with pentaquark states in Λ b 0 → J / ψ p K − → subscript superscript Λ 0 𝑏 𝐽 𝜓 𝑝 superscript 𝐾 {{\mathchar 28931\relax}^{0}_{b}}\rightarrow{{J\mskip-3.0mu/\mskip-2.0mu\psi\mskip 2.0mu}}{p}{{K}^{-}} decays , Phys. Rev. Lett. 115 (2015) 072001 , ar Xiv:1507.03414 · doi ↗
- 5[5] LH Cb collaboration, R. Aaij et al. , Observation of exotic J / ψ ϕ 𝐽 𝜓 italic-ϕ {{J\mskip-3.0mu/\mskip-2.0mu\psi\mskip 2.0mu}}\phi structures from amplitude analysis of B + → J / ψ ϕ K + → superscript 𝐵 𝐽 𝜓 italic-ϕ superscript 𝐾 {{{B}^{+}}}\rightarrow{{J\mskip-3.0mu/\mskip-2.0mu\psi\mskip 2.0mu}}\phi{{K}^{+}} decays , Phys. Rev. Lett. 118 (2016) 022003 , ar Xiv:1606.07895 · doi ↗
- 6[6] LH Cb collaboration, R. Aaij et al. , Studies of the resonance structure in D 0 → K ∓ π ± π + π − → superscript 𝐷 0 superscript 𝐾 minus-or-plus superscript 𝜋 plus-or-minus superscript 𝜋 superscript 𝜋 {{D}^{0}}\rightarrow K^{\mp}\pi^{\pm}\pi^{+}\pi^{-} decays , Eur. Phys. J. C 78 (2018) 443 , ar Xiv:1712.08609 · doi ↗
- 7[7] LH Cb collaboration, R. Aaij et al. , Dalitz plot analysis of B 0 → D ¯ π + 0 π − → superscript 𝐵 0 ¯ 𝐷 superscript superscript 𝜋 0 superscript 𝜋 {{B}^{0}}\rightarrow{{\kern 1.79997 pt\overline{\kern-1.79997 pt D}{}}{}^{0}}{{\pi}^{+}}{{\pi}^{-}} decays , Phys. Rev. D 92 (2015) 032002 , ar Xiv:1505.01710 · doi ↗
- 8[8] LH Cb collaboration, R. Aaij et al. , Dalitz plot analysis of B s 0 → D ¯ K − 0 π + → subscript superscript 𝐵 0 𝑠 ¯ 𝐷 superscript superscript 𝐾 0 superscript 𝜋 {{B}^{0}_{s}}\rightarrow{{\kern 1.79997 pt\overline{\kern-1.79997 pt D}{}}{}^{0}}{{K}^{-}}{{\pi}^{+}} decays , Phys. Rev. D 90 (2014) 072003 , ar Xiv:1407.7712 · doi ↗
