Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2023 Mar 14;19(3):e1010963. doi: 10.1371/journal.pcbi.1010963

Inferring feature importance with uncertainties with application to large genotype data

Pål Vegard Johnsen 1,2,*, Inga Strümke 3,4, Mette Langaas 2, Andrew Thomas DeWan 5, Signe Riemer-Sørensen 1
Editor: Shaun Mahony6
PMCID: PMC10038287  PMID: 36917581

Abstract

Estimating feature importance, which is the contribution of a prediction or several predictions due to a feature, is an essential aspect of explaining data-based models. Besides explaining the model itself, an equally relevant question is which features are important in the underlying data generating process. We present a Shapley-value-based framework for inferring the importance of individual features, including uncertainty in the estimator. We build upon the recently published model-agnostic feature importance score of SAGE (Shapley additive global importance) and introduce Sub-SAGE. For tree-based models, it has the advantage that it can be estimated without computationally expensive resampling. We argue that for all model types the uncertainties in our Sub-SAGE estimator can be estimated using bootstrapping and demonstrate the approach for tree ensemble methods. The framework is exemplified on synthetic data as well as large genotype data for predicting feature importance with respect to obesity.

Author summary

Artificial intelligence and machine learning have been increasingly popular tools for modelling complex relationships in medicine and genomics. For example a machine learning model for predicting the likelihood of a particular person developing some disease. The prediction model can for instance be based on genomics data, which consists of a large number of features for each single person. Such prediction models can be very complex and difficult to interpret, hence they are often denoted black-box models. However, to exploit the knowledge the prediction model has gained, we must be able to interpret it, and explain which features are important for the model, but also for the underlying data. We investigate a theoretical approach for extracting feature importance, even when the model input consists of many features. Lastly, we emphasize the need for estimating the uncertainty of the individual feature importance, and provide a bootstrap procedure for doing so.

Introduction

With the strong improvement of black-box machine learning models such as gradient boosting models and deep neural networks, the question of how to infer feature importance, including uncertainty estimates, in these types of models has become increasingly important. This is particularly important if the results from the model can be trustfully investigated further within medicine or genomics such as when applied to drug discovery [1]. The Shapley decomposition, a solution concept from cooperative game theory [2], has enjoyed a surge of interest in the literature on explainable artificial intelligence in recent years, (cf. [3–16]). A widely used Shapley-based framework for deriving feature importance in machine learning models post-training is Shapley additive explanations (SHAP) [4, 6], which explains individual predictions’ deviations from the average model prediction. As such, SHAP attributes feature importance as they are perceived by the model. The more recently introduced Shapley additive global importance (SAGE) is also based on the Shapley decomposition, but attributes feature importance by a global decomposition of the model loss across a whole data set [17]. The SAGE framework thus provides an explanation of the influence of the features taking into account not only the model, but also implicitly the data via the loss function, thus encapsulating that the model might not be—and most likely is not—a perfect description of the data [18].

The SAGE value needs to be estimated, and the SAGE estimator is itself a random variable as the corresponding SAGE estimate is based on data of finite size generated from some unknown probability distribution. As is the case for any feature importance score, we argue that the uncertainty in the estimate is equally important as the estimate itself for drawing conclusions. However, computation of the SAGE-estimate is infeasible even for moderate-sized data, and thus further approximations are needed [17]. To this end, we introduce Sub-SAGE, which is motivated by SAGE but can be estimated exactly for tree-ensemble models, by using a reduced subset of coalitions. Additionally, we describe how to estimate a confidence interval for the Sub-SAGE value. No calculation of such uncertainty exists in the SAGE package or the literature. We estimate the confidence interval using paired bootstrapping, and demonstrate its calculation for tree ensemble models on simulated as well as genotype data. We argue that this procedure provides a way to infer the true feature importance in the underlying data. The remainder of this paper is structured as follows. In Materials and methods we introduce the particular genotype data set to be used, as well as background concepts such as the Shapley value, SHAP and SAGE, before moving on to Sub-SAGE, and its uncertainty. The method is exemplified using synthetic data. In the Results section, the method is applied on the genotype data before we discuss the results in Discussion and conclusion.

Materials and methods

Data and use case

In order to evaluate the Sub-SAGE feature importance score, we will apply it using collected genotype data from the UK Biobank [19, 20]. UK Biobank is a large prospective cohort study in the United Kingdom that began in 2006 consisting of about 500000 participants. As use case, we considered the aim of inferring the feature importance of single nucleotide polymorphisms (SNPs) with respect to a logistic regression model for predicting the susceptibility of obesity (BMI ≥ 30). The model includes a large number of SNPs as features, as well as accounting for non-linear effects. Obesity was selected since this particular trait has been extensively researched in previous genome-wide association studies (GWAS) providing a meaningful way to evaluate our method [21].

Ethics statement

Ethical approval was obtained by the UK Biobank from the North West Multicentre Research Ethics Committee, the National Information Governance Board for Health and Social Care in England and Wales, and the Community Health Index Advisory Group in Scotland. All participants provided written informed consent. The research in this paper has been conducted using the UK Biobank Resource under Application Number 32285. The application for access to the UK Biobank Resource was approved on October 10, 2018.

Shapley-based explanation methods

We provide a brief introduction to the Shapley decomposition-based SHAP and SAGE frameworks to quantify feature importance in machine learning models. An advantage of such Shapley-based frameworks is that they in principle can be applied on any input-output model, parametric or non-parametric, including non-linear machine learning models such as neural networks or tree ensemble models. Consequently, non-linear effects can also be captured using these frameworks. The Shapley decomposition is a solution concept from cooperative game theory [2]. It provides a decomposition of any value function v(S) that characterises the game, and produces a single real number, or payoff, per set of players in the game (coalitions). The resulting decomposition satisfies the three properties of efficiency, monotonicity and symmetry, and is provably the only method to satisfy all three [22, 23, Thm. 2]. For details see S1 File.

Consider a supervised learning task characterised by a set of M features xi and corresponding univariate responses yi, for i = 1, …, N, and a fitted model that is a mapping from feature values to response values, i.e. xi→y^(xi). As usual, uppercase letters denote random variables while lowercase letters denote observed data values. In this work, we assume independent features, implying E[Xj|Xk = xk] = E[Xj] ∀ j ≠ k. This assumption is further discussed in Discussion and conclusion section.

The SHAP value

Definition 1. Let S⊆M\{k}, with M={1,…,M}, denote a subset of all features not including feature k. S‾ denote the corresponding complement subset of excluded features (S∪S‾=M). The SHAP value, ϕkSHAP(x,y^), for a feature with index k with respect to feature values x and a corresponding fitted model y^, is defined as [6]

ϕkSHAP(x,y^)=∑S⊆M\{k}|S|!(M-|S|-1)!M![vx,y^(S∪{k})-vx,y^(S)]. (1)

Here, the value function vx,y^(S) is defined as the expected output of a prediction model conditioned that only a subset S of all features are included in the model,

vx,y^(S)=EXS¯[y^(X|XS=xS)]. (2)

For instance, if XS¯ is a continuous random vector and we assume all features to be mutually independent, we have

EXS¯[y^(X|XS=xS)]=∫xS¯y^(XS=xS,XS¯=xS¯)p(XS¯=xS¯|XS=xS)dxS¯=∫xS¯y^(XS=xS,XS¯=xS¯)p(XS¯=xS¯)dxS¯. (3)

The stochastic behaviour in y^(X|XS=xS) is due to the random vector XS‾ of unknown feature values. We can think of the difference vx,y^(S∪{k})−vx,y^(S) as the mean difference in a single model prediction when using feature k in the model compared to when the value of feature k is absent. The larger absolute SHAP value a feature k has in a single prediction, the more influence the feature is regarded to have on this particular prediction.

The SAGE value

Define a loss function ℓ(yi,y^(xi)) as a measure of how well the fitted model y^(xi) maps the features to a response, compared to the true response value yi. As defined in [17], we take the SAGE value function w(S) as the expected difference in the observed value of the loss function when the features in S are included in the model compared to excluding all features.

Definition 2. Given a data generating process (X, Y), a function y^ to model the relationship between X and Y, and a loss function ℓ(yi,y^(xi)), we define wX,Y,y^(S) as:

wX,Y,y^(S)=EX,Y[ℓ(Y,VX,y^(∅))]-EX,Y[ℓ(Y,VX,y^(S))]. (4)

Here, ∅ denotes the empty set, while VX,y^(S) is the stochastic version of Eq (2). Specifically, VX,y^(S) is a random variable since its observed value varies depending on the random vector XS. vx,y^(S) is a constant as we condition on the observed vector xS. For the case where x and y are continuous, the expected value of the loss function when only a subset S of feature values are known is given by

EX,Y[ℓ(Y,VX,y^(S))]=∫y∫xSℓ(y(x),EXS¯[y^(X|XS=xS)])p(y|xS)p(xS)dxSdy. (5)

Notice that the computation of vx,y^(S)=EXS‾[y^(X|XS=xS)] happens inside the loss function, which is usually non-linear. Also note that in Eq (5), we integrate over all possible values of XS.

Definition 3. The SAGE value for a feature k is defined as [17]

ϕkSAGE(X,Y,y^)=∑S⊆M\{k}|S|!(M-|S|-1)!M![wX,Y,y^(S∪{k})-wX,Y,y^(S)]. (6)

We can think of the difference wX,Y,y^(S∪{k})−wX,Y,y^(S) as the expected difference in the loss function when including feature k in the model compared to excluding feature k with respect to the subset S of known feature values. SAGE is therefore a global feature importance score (as opposed to the local SHAP value) as it does not evaluate a single prediction, but rather the impact feature k has across all predictions. The use of the loss function in the SAGE definition also ensures that the feature importance is not only based on the model, as for the SHAP value, but also on the data itself.

An interpretation of SAGE is that a positive SAGE value for a feature implies that including this feature in the model reduces the expected model loss compared to when not including the feature.

The features and response can be continuous or discrete. In the discrete case, integrals must be replaced by sums in Eqs (3) and (5). The expressions in Eqs. (2) and (4) are in general unknown and need to be estimated for each choice of model and loss function. Consequently, the SHAP and SAGE values become estimates as well.

Tree ensemble models

Consider a tree ensemble model consisting of several regression trees fτ(xi) with predicted response y^(xi), such that y^(xi)=∑τ=1Tfτ(xi) for T trees. By the linearity property of the expected value, we have

vx,y^(S)=EXS¯[∑τ=1Tfτ(X|XS=xS)]=∑τ=1TEXS¯[fτ(X|XS=xS)]. (7)

The computation of EXS‾[fτ(X|XS=xS)] can be understood through a simple example: The regression tree illustrated in Fig 1 has depth two and splits on the two features indexed 1 and 2, which are continuous and mutually independent. The regression tree has parameters such as splitting points, tj, for branch nodes, and leaf values vj, for leaf nodes. For an observed value of x2 = 3 we have

EXS¯[fτ(X|XS=xS)]=EX1[fτ(X1|X2=3)]=P(X1≥20)v3+P(X1<20)v2. (8)
Fig 1. A regression tree including two features X1 and X2.

Fig 1

In general, we do not know the value of P(X1 ≤ 20), and need to estimate it. Consider N data instances with recorded feature values from feature k. An unbiased estimate of P(Xk ≤ t) is then

P^(Xk≤t)=1N∑i=1NI(xi,k≤t), (9)

where xi,k is the observed value of feature k for data instance i, and I(⋅) is the indicator function. Using this estimate, we can also get an unbiased estimate for Eq (8). An unbiased estimate of EXS‾[fτ(X|XS=xS)] for any regression tree can be achieved by a recursive algorithm [4] with running time O(L2M), where L is the number of leaves, see Algorithm 1. This requires the estimated probabilities of ending at a particular node j given previous information from the ancestor nodes. If the feature used for splitting at a particular node j is not used in any of the ancestor nodes of node j, an estimate such as in Eq (9) can be used. If the feature is used for splitting in any of the ancestor nodes, this must be accounted for by restricting to the interval of possible values the particular feature can take at node j.

Algorithm 1. Recursive algorithm for computation of EXS‾[fτ(X|XS=xS)].

1: Input: Tree fτ with depth d, leaf values v=(v1,…,v2d), feature used for splitting f=(f1,…,f2d−1) and corresponding splitting points t=(t1,…,t2d−1). Estimated probabilities of ending at a node j given previous information, for all nodes in the tree, p=(p1,…,p2d−1), by using some data (x1, y1), …, (xN, yN) of size N. The subset of features S with corresponding known values xS. The left and right descendant node for each internal node l=(l1,…,l2d−1) and r=(r1,…,r2d−1). The index of a node j in the tree fτ.

2: Function CondExpTree(j, fτ, v, t, f, l, r, p)

3: if IsLeaf(j) then

4:  return vj

5: else

6:  if fj∈S then

7:   if xj ≤ tj then

8:    return CondExpTree(lj, fτ, v, t, f, l, r, p)

9:   else

10:    return CondExpTree(rj, fτ, v, t, f, l, r, p)

11:   end if

12:  else

13:   return CondExpTree(lj, fτ, v, t, f, l, r, p) plj +

14:       CondExpTree(rj, fτ, v, t, f, l, r, p) prj

15:   end if

16:  end if

17: End Function

18: CondExpTree(1, fτ, v, t, f, l, r, p)     ▹ Start at root node.

SAGE in practice

As the expressions in Eqs (2) and (4) must be estimated, in practice we get a SAGE estimator rather than a SAGE value. However, since the SAGE estimator requires summing over all 2M−1 subsets S⊆M\{k}, for each feature, computing the SAGE estimator for observed data with many features becomes infeasible. In [17], the SAGE estimate is approximated through a Monte Carlo simulation process. Specifically, instead of iterating over all 2M−1 subsets, a subset S is randomly sampled with replacement in each iteration out of I iterations in total. The differences wX,Y,y^(S∪{k})−wX,Y,y^(S) for each S are estimated by sampling data instances with replacement and computing sample means (see [17], S1 File for details). For an arbitrarily large data set, the authors show convergence to the true SAGE estimate as I → ∞. Among other things, both the accuracy and convergence speed of the algorithm naturally depend on the number of features in the prediction model. Notice that [17] provides the degree of convergence of the approximation of the estimate, not the uncertainty in the estimate.

Keeping in mind that the SAGE estimator is a random variable, we argue that its uncertainty is equally important as the estimate itself. No calculation of this inherent uncertainty exists in the SAGE package nor the literature. To this end, we introduce Sub-SAGE, which is inspired by the SAGE framework, but consists of a reduced number of subsets S∈Q. While applicable to any number of features, it is best suited for interpreting a small number of features, or a small subset of features in a large feature set.

Sub-SAGE

Given hundreds or thousands of features in a model, the computation time required to get a satisfactory accurate estimate of SAGE [17] for each feature, quickly becomes unacceptable. A hybrid approach is to select a reduced subset of features of particular interest to investigate. For instance in a GWAS, such a filtering process can be achieved via a generalized linear mixed model [24], and rank importance based on the computed p-values. An alternative filtering procedure that also accounts for non-linear effects is described in [25]. The association between the reduced subset of promising features, and the response can then be more thoroughly investigated via a non-linear machine learning model together with SHAP values. See [25], Figure 10 for an example. To infer whether the model-based importance of the features investigated via SHAP values is also reflected in the underlying data generating process, one can compute SAGE values. However, we typically want the reduced subset of features to be sufficiently large in order to reduce the chance of missing out on important features. Even in this case, computation of SAGE values may be impractical or even infeasible. For this purpose, we introduce Sub-SAGE, where only a selection of the in total 2M−1 subsets are involved in the computation for each feature.

If we want to measure the importance of a feature k based on its marginal effect, as well as potential pairwise interactions it may be involved in, computing S={∅} and S={m} for m = 1, …, k − 1, k + 1, …, M is sufficient. In addition, by including S={1,…,k−1,k+1,…,M}, the set of all features except feature k, can be used to measure the importance of feature k in the presence of all features at the same time.

Definition 4. Let Qk denote the set of subsets including S={∅}, S={m} for m = 1, …, k − 1, k + 1, …, M, and S={1,…,k−1,k+1,…,M}. We define the Sub-SAGE value, ψk, for feature k as

ψk(X,Y,y^)=∑S∈Qk|S|!(M-|S|-1)!3(M-1)![wX,Y,y^(S∪{k})-wX,Y,y^(S)], (10)

Each subset is weighted such that the sum of the weights of all subsets with equal size is the same for each subset size. In addition, the sum of all weights is equal to one. Hence, the construction is similar to the weights defined for Shapley values. See S1 File for details. In this particular case, there are three possible subset sizes, and so the sum of the weights for each subset size is 13. Shapley properties such as symmetry, dummy property and monotonicity still hold for Sub-SAGE. However, as the sum is not over all possible subsets, the Sub-SAGE values do no longer satisfy the efficiency axiom of the Shapley decomposition, which SHAP and SAGE do (see S1 File). However, we still consider the Sub-SAGE to be informative with respect to feature importance via the computed differences wX,Y,y^(S∪{k})−wX,Y,y^(S). In addition, the purpose is only to evaluate a small fraction of all features, not all of them. By only considering a reduced number of subsets S, compared to SAGE, and only considering a reduced number of features to evaluate, both computing the Sub-SAGE estimate as well as the uncertainty in the corresponding Sub-SAGE estimator become feasible for black-box models, such as tree ensemble models and neural networks.

Using Sub-SAGE to infer true relationships in the data

As the goal is to infer feature importance from a black-box model using Sub-SAGE values, similar to calculating p-values without taking into account the effect of model selection, we must be extra careful. Any model selection procedure using training data is likely to overfit, resulting in a model consisting of possibly false relationships that are not a general property of the population from which the data was sampled. It is therefore essential that the Sub-SAGE value is calculated using independent data the model was not fitted on. We denote such independent data as test data, (X10,Y10),…,(XNI0,YNI0), with NI samples in total. The following observation is proven S1 File.

Observation: Sub-SAGE value in multiple linear regression

Consider a fitted linear regression model y^i=β^Txi. By using test data independent of the data used for constructing the linear regression model, and using the squared error loss, one can show that for a feature k, and any S∈Qk:

wX,Y,y^(S∪{k})-wX,Y,y^(S)=2β^kCov(Y,Xk)-β^k2Var(Xk). (11)

As the expression is independent of the subset S, this is also equal to the Sub-SAGE value of feature k.

The first term in Eq (11) can be interpreted as the extent to which the influence of feature k based on the model constructed using training data, is reflected in the independent test data. If the signs of β^k and Cov(Y, Xk) are identical, the first term is positive. If they differ, the Sub-SAGE value will be negative since the second term in Eq (11) is always negative. The second term βk^2Var(Xk) is equal to the increased variance in the model by including feature k. If the model regards the feature as important (resulting in non-zero β^k), and even if the covariance between Xk and Y has the same sign as β^k, the benefit of including feature k in the model will depend on the increased variance of the model. This is by construction in line with the bias-variance trade-off [26].

Sub-SAGE applied on tree ensemble models

SHAP values can be estimated efficiently for tree ensemble models, even with hundreds of thousands of features [25], by improving Algorithm 1 to get a significantly reduced running time of O(TLD2), for T trees each of tree depth D [4]. Unfortunately, there is no similar way to reduce the running time for estimation of SAGE values, as well as Sub-SAGE values, for tree ensemble models with non-linear choices of loss functions [4].

We consider a tree ensemble model consisting of T trees. Consider a particular feature k to compute the Sub-SAGE value as well as a subset S∈Qk. We separate the trees in the model into two groups τk and the complement group (τ¯k) where τk is the set of trees including feature k used at least once for splitting.

Regression with squared error loss

For regression a common loss function is the squared error between the response and prediction per sample, i.e. ℓ=(y(x)−y^(x))2. Then one can show that (see S1 File for the derivation),

wX,Y,y^(S∪{k})-wX,Y,y^(S)=EX,Y[(Y(X)-VX,y^(S))2]-EX,Y[(Y(X)-VX,y^(S∪{k}))2]=EX,Y[2Y(X)(∑j∈τkVX,fj(S∪{k})-VX,fj(S))+(∑j∈τkVX,fj(S))2-(∑j∈τkVX,fj(S∪{k}))2+2(∑j∉τkVX,fj(S))(∑j∈τkVX,fj(S∪{k})-VX,fj(S))]. (12)

Classification with binary cross-entropy loss

A commonly used loss function for binary classification problems is binary cross-entropy, ℓ=−y(x)logy^(x)−(1−y(x))log(1−y^(x))=(1−y(x))∑j=1Tfj(x) +log(1+e−∑j=1Tfj(x)). For this loss function, one can show that (see S1 File)

wX,Y,y^(S∪{k})-wX,Y,y^(S) (13)
=EX,Y[(1-Y(X))∑j=1TVX,fj(S)+log(1+exp(-∑j=1TVX,fj(S)))] (14)
-EX,Y[(1-Y(X))∑j=1TVX,fj(S∪{k})+log(1+exp(-∑j=1TVX,fj(S∪{k})))] (15)
=EX,Y[(1-Y(X))(∑j∈τkVX,fj(S)-VX,fj(S∪{k})) (16)
+log(1+exp(-∑j∈τkVX,fj(S)-∑j∉τkVX,fj(S))1+exp(-∑j∈τkVX,fj(S∪{k})-∑j∉τkVX,fj(S∪{k})))]. (17)

Plug-in estimates

As discussed earlier, the expression wX,Y,y^(S∪{k})−wX,Y,y^(S) needs to be estimated for each S∈Qk, and based on data, (x10,y10),…,(xNI0,yNI0), never used during training of the model. Let v^x0,y0,fτ(S) for a particular observation (x0, y0) and regression tree fτ denote the estimate of vx0,fτ(S)=EXS‾[fτ(X0|XS0=xS0)] as described in Algorithm 1. A plug-in estimate of ψk, denoted ψ^k, for a regression problem with continuous response for a tree ensemble model using the squared error loss is given by

ψ^k=∑S∈Q|S|!(M-|S|-1)!3(M-1)![2NI∑i=1NIyi0(∑j∈τkv^xi0,fj(S∪{k})-v^xi0,fj(S))+1NI∑i=1NI(∑j∈τkv^xi0,fj(S))2-1NI∑i=1NI(∑j∈τkv^xi0,fj(S∪{k}))2+2NI∑i=1NI(∑j∉τkv^xi0,fj(S))(∑j∈τkv^xi0,fj(S∪{k})-v^xi0,fj(S))]. (18)

The corresponding plug-in estimate for the binary cross-entropy loss given in Eq (17) can be found in a similar fashion, basically by estimating expected values as their corresponding sample means. For tree ensemble models with tree stumps (maximum depth of one for each tree), the estimate in (18) is further reduced and can be expressed as sample variance and covariance terms, see S1 File.

Inference of Sub-SAGE via bootstrapping

The importance of any feature may be evaluated by estimating Sub-SAGE values. Similar to SAGE, a positive Sub-SAGE value for a feature k indicates that including the feature in the model is expected, based on the subsets S∈Qk, to reduce the loss function. However, the corresponding Sub-SAGE plug-in estimator given the data generating process (X10,Y10),…,(XNI0,YNI0) from some unknown probability distribution includes uncertainty, and this should be evaluated before making any assumptions about feature importance. The complexity of the Sub-SAGE plug-in estimators makes nonparametric bootstrapping a tempting approach. One possible procedure is to iteratively, given independent data points (x10,y10),…,(xNI0,yNI0), resample the data points with replacement to get a bootstrapped sample (x1*,y1*),…,(xNI*,yNI*), and train a model for each bootstrapped sample (with potential hyperparameters fixed). For each such generated model, a corresponding plug-in estimate, ψ^b*, can be computed, and after B iterations, the sample (ψ^1*,…,ψ^B*) can approximate B realizations arising from the true distribution of the plug-in estimator. However, in a high-dimensional setting, generating even one model may be time-consuming, and there may be circumstances where only one particular model is available for the user together with a test data sample of insufficient size to train additional models. Another option is to leave the model fixed, and only bootstrap the data repeatedly to get the sample (ψ^1*,…,ψ^B*). In this paper, we focus on the latter procedure. A (1 − 2α)100% confidence interval can be approximated by the percentile interval given by [ψ^*(α),ψ^*(1−α)], where ψ^*(α) is the 100α empirical percentile, meaning the B ⋅ αth least value in the ordered list of the samples (ψ^1*,…,ψ^B*). The accuracy in the percentile interval increases for larger number of bootstrap samples. The algorithm of the paired bootstrap applied specifically to tree ensemble models is given in Algorithm 2. Notice that for each bootstrap sample, the probability estimates in the trees need to be updated according to Eq (9). In situations where the plug-in estimator is biased, or there is skewness in the corresponding distribution, the bias-corrected and accelerated bootstrap [27], may give even more accurate confidence intervals at the cost of considerable increase in computational efforts.

Algorithm 2 Paired bootstrap of Sub-SAGE value with percentile interval

1: Given independent test data (x10,y10),…,(xNI0,yNI0), model y^(x)=∑τ=1Tfτ(x), feature k, a loss function and α to estimate (1 − 2α)100% confidence interval:

2: Pre-allocate vector BootVec of length B, the total number of bootstrap samples.

3: for b = 1, 2, …, B do

4:  Resample data NI times with replacement to get

5:  (x1*,y1*),…,(xNI*,yNI*)

6:  Update probabilities estimates in all the trees in y^(x) to get p*

7:  BootVec[b] = ψ^k*

8: end for

9: Percentile interval given by [ψ^*(α),ψ^*(1−α)]

Proof of concept—With known underlying data generating process

In this section, we exemplify the Sub-SAGE method on synthetic data with a known relationship defined as

f(Xi)=a0+a1Xi,1+a2Xi,2+a21Xi,1eXi,2+a3Xi,32+a4sin(Xi,4)+a5log(1+Xi,5)-Xi,5I(Xi,6>7)+ϵi, (19)

with a0 = −0.5, a1 = 0.03, a2 = −0.05, a21 = 0.3, a3 = 0.02, a4 = 0.35, a5 = −0.2, and where the features are sampled from the following distributions

X1∼Binom(size=2,p=0.4)X2∼Binom(size=2,p=0.04)X3∼Γ(shape=10,rate=2)X4∼Unif(0,π)X5∼Poisson(λ=15)X6∼N(μ=0,σ=10)ϵ∼N(μ=0,σ=2). (20)

In addition, we generate 94 noise variables: j = 7, …, 47 with a normal distribution Xj ∼ N(μj, σj) and j = 48, …, 100 with a binomial distribution Xj ∼ Binom(2, pj) where μj, σj and pj are sampled from a uniform distribution. In realistic applications, the data distributions and relations are unknown and the purpose of model fitting is to estimate the relations between variables. Data is generated to give a total of 16000 samples, and then separated randomly in three disjoint subsets: Data for training (50%), data for evaluation during training (30%) and independent test data (20%) used for estimating Sub-SAGE values. We fit an ensemble tree model using XGBoost [28] to the true influential features 1, …, 6 together with the noise variables 7, …, 100.

The hyperparameters are fixed to max_depth = 2, learning rate η = 0.05, subsample = 0.7, regularization parameters λ = 1, γ = 0 and colsample_bytree = 0.8 with early_stopping_rounds = 20 using training data (n = 8000) and validation data (n = 4800), and a squared error loss. See [28] for details about the hyperparameters. This results in a final model including a total of 230 trees and 62 unique features out of the 100 input-features.

From the trained model, each feature is given a score to evaluate its feature importance based on the model. We apply the expected relative feature contribution (ERFC) [25], given data of size N, which is basically a summary score from the corresponding SHAP values for each feature and individual data point,

κk=∑i=1N|ϕi,kSHAP(xi,y^)||ϕ0SHAP|+∑j=1K|ϕi,jSHAP(xi,y^)|, (21)

with ϕ0SHAP=vx,y^(∅). The ERFCs scores can be computed based on the data used to construct the model, as we only need to measure what the model considers important. The features with the largest ERFC-values are then considered the most promising ones based on the model. Depending on your hypothesis of interest, one can evaluate the uncertainty in the feature importance by computing Sub-SAGE estimates with corresponding bootstrap-derived percentile intervals. However, it is important that the Sub-SAGE estimates are calculated based on independent test data never used during training.

From the trained model, we compute the ERFC based on the training data and validation data together (n = 12800), and Table 1 shows the top 10 features with the largest ERFC-values.

Table 1. The resulting ranking based on the expected relative feature contribution (ERFC) after having trained an XGBoost model consisting of six influential features (x1 − x6) and 94 noise features (x7 − x100).

Feature ERFC
x 6 0.48
x 5 0.060
x 3 0.026
x 1 0.022
x 4 0.0036
x 2 0.0030
x 12 0.0028
x 30 0.0022
x 40 0.0019

We see that the XGBoost model has accurately ranked the most influential features among the top 10 list, for this rather simple relationship. These scores, based on SHAP values, are only with respect to what the model considers important. The Sub-SAGE can now be applied to infer whether feature importance from the model is also reflected in the data. As an example, let us consider features 6, 1, 2 and 12 where feature 6 has a strong influence, feature 1 has a weaker influence, and feature 2 has the weakest influence, while feature 12 has no influence with respect to f(xi) in Eq (19). Their Sub-SAGE estimate along with histograms to estimate the corresponding distribution of the Sub-SAGE estimators, using B = 1000 bootstrap samples, are shown in Fig 2 for training plus validation data as well as for independent test data.

Fig 2. The estimate of the Sub-SAGE, and the corresponding bootstrap distribution for the synthetic data for features x6, x2, x1 and x12, when applying data used during training (orange), and independent test data (blue).

Fig 2

We see that Sub-SAGE values inferred using training data overestimate the false influence of feature 12, while using the test data correctly indicates that feature 12 has a weak or no influence. We also see from the other histograms that using the training data underestimates the uncertainty in the Sub-SAGE estimate. By using the test data for computation of the Sub-SAGE estimates, the estimated 95% percentile intervals of the Sub-SAGE values for each feature are 6 : (39.45, 44.15), 1 : (−0.038, 0.14), 2 : (−0.043, 0.040) and 12 : (−0.030, 0.0050). These ranges allow us to conclude that feature 6, correctly, is highly influential, while feature 12 is highly unlikely to have any influence. Moreover, feature 1 is likely to be influential, while the influence of feature 2 is very uncertain.

To correct for a potential bias in the plug-in estimator of the Sub-SAGE as well as potential changes in the standard deviation of the estimator at different levels, the bias-corrected and accelerated bootstrap confidence interval may give more accurate bootstrap confidence intervals [27]. This results in the intervals 6 : (39.45, 44.13), 1 : (−0.034, 0.14), 2 : (−0.047, 0.037) and 12 : (−0.031, 0.0040), with only negligible changes from the percentile confidence intervals. As the data generating process is known, we can compare the true SHAP value at each point with the corresponding SHAP value from the fitted model. Fig 3 shows that the influence of feature 6 is quite accurately modelled, while the effect of feature 1 and particularly feature 2 is highly underestimated when x1 = 1 and x2 = 2. Since there is an interaction effect involving features 1 and 2, the SHAP value of feature 1 depends on the value of feature 2. It also becomes clear that feature 12, according to the model, has a negative trend in the SHAP value, but the true SHAP value is equal to zero (no importance), regardless of the value of feature 12. See S1 File for derivations. This shows an example where feature 12 is erroneously attributed high predictive importance by SHAP, while the corresponding Sub-SAGE value correctly indicates it has no importance.

Fig 3. Comparison of true SHAP value for each data point with the estimated SHAP value from the model fitted on the synthetic data, Eq (19). The deviations explain the reasons behind under- and overestimation of feature importance using SHAP values.

Fig 3

We can explore the results even further by comparing the estimated Sub-SAGE values from the tree ensemble model with the exact Sub-SAGE value from the true model in (19), as well as by comparing with the exact SAGE value. The results are given in Table 2 and the details of the computations in S1 File.

Table 2. Exact Sub-SAGE and SAGE value for features 1, 2, 6 and 12 using true model in (19), denoted TM, together with estimated Sub-SAGE value using the trained XGBoost model, denoted XGB, based on syntetic data based on (19).

Feature Sub-SAGE (TM) Sub-SAGE, (XGB) SAGE (TM)
6 42.37 41.83 42.64
1 0.071 0.057 0.072
2 0.017 0.00073 0.018
12 0 -0.0133 0

The comparison shows that the XGBoost model has captured almost all of the relationship between the response and feature 6, while the influence of feature 1, and particularly feature 2 has been underestimated. It also shows the small difference between the true Sub-SAGE and SAGE value with respect to the model in (19), and therefore the small gain of computing the SAGE value in this particular case. However, as the true relationship in this case is restricted to pairwise interactions, the insignificant difference between SAGE and Sub-SAGE cannot in general be anticipated for instance when the true relationship includes higher-order interactions.

Results

Application on genetic data using the UK Biobank resource

To demonstrate the ability of Sub-SAGE on observed data, we consider a realistic machine learning problem using both genetic and non-genetic data of moderate size from UK Biobank.

The aim is to infer the influence of specific features with respect to obesity (BMI ≥ 30), by training an XGBoost model and computing Sub-SAGE values. We treat this as a classification problem between the categories obese and non-obese (see [25] for details). Of particular interest is whether any genetic markers are important. The most used method in this setting is a so-called genome-wide association study (GWAS), where each genetic variant is tested individually in a general linear (mixed-effects) regression model [24, 29]. A corresponding p-value of less than 5 × 10−8 is often considered statistically significant. This tiny significance level is chosen due to the multiple comparison problem [30]. When the same association is replicated in an independent data set, the association is considered to be robust.

We study a particular XGBoost model constructed in [25]. The model was trained to predict the probability of an individual being obese, p(Yi = 1|xi), given genetic and non-genetic data, xi, such that

logit(p(Yi=1|xi))=∑τ=1Tfτ(xi),

consisting of T regression trees. The genetic data consists of so-called minor allele counts or genotype values from single nucleotide polymorphisms (SNPs) filtered to limit dependence between the SNPs without significant loss of information [25]. In detail, the particular XGBoost model mentioned above was constructed after the so-called ranking process explained in [25], which ranks features by importance and filter for correlation. Using a sample of 207 015 individuals, a total of 529 024 SNPs were split into 50 randomly selected subsets, each consisting of SNPs with mutually small correlation (Pearson’s correlation r2 < 0.2) and unrelated individuals, with the purpose of limiting the correlation between features due to linkage disequilibrium [31], as well as reducing the effect of population stratification and cryptic relatedness [32]. For each such subset, XGBoost models in combination with cross-validation were fitted, and the importance of each SNP, taking into account all the generated models, was measured according to the model-agnostic ERFC score introduced in [25] based on SHAP values. The ranked list of features by importance was again filtered for correlation (Pearson’s correlation r2 < 0.2), and used during the so-called model fitting process based on data not used during the ranking process (see Figure 3 in [25]). The aim in the model fitting process is to find how large the portion of top-ranked features in the training data must be to get the strongest prediction model, using the PR-AUC metric [33], restricted to an ensemble model consisting of XGBoost models constructed via cross-validation (see Figure 9 in [25]). From the best-performing ensemble model, and for simplicity restricted to regression trees of maximum depth equal to two, we picked one of the XGBoost models from this ensemble model as the particular model to investigate further in this paper. Non-genetic features included during the process are sex, age, physical activity frequency, intake of saturated fate, sleep duration, stress and alcohol consumption. Not surprisingly, these non-genetic features are considered most important, and therefore also included in our particular XGBoost model to investigate. During the model fitting process, the hyperparameters were optimized within a restricted region of the hyperparameter space (given in Table 4 in [25]). When restricting to regression trees of maximum depth equal to two, the best performing ensemble model resulted in the following hyperparameter values: Learning rate η = 0.05, colsample = subsample = colsample_by_tree = 0.8, max_depth = 2, λ = 1, γ = 1, early_stopping_rounds = 20, with binary cross-entropy loss. The particular XGBoost model to be investigated is constructed based on 64 000 individuals from UK Biobank, and includes 532 features spread along a total of 607 trees. Computing SAGE values for all features would be very time-consuming, if not infeasible. Other feature importance scores that are faster to compute, yet less trustworthy, such as SHAP or ERFC must typically be used instead when pre-evaluating the importance of each feature. The features with the largest ERFC-scores based on the training data are given in Table 3. We consider those to be the most relevant for further investigation.

Table 3. The resulting ranking based on the expected relative feature contribution (ERFC) for the particular XGBoost model investigated based on training data consisting of 64 000 individuals from UK Biobank.

Feature ERFC
Alcohol intake frequency 0.088
Genetic sex 0.086
Physical activity frequency 0.073
Intake of saturated fat 0.044
Sleep duration 0.036
Stress 0.034
Age at recruitment 0.033
rs17817449 0.017
rs489693 0.012
rs1488830 0.011
rs13393304 0.010
rs10913469 0.01
rs2820312 0.0086

Before we compute the Sub-SAGE values, we check each feature in the context of domain knowledge. While the non-genetic features are considered the most important, the most important SNP according to the model is rs17817449. This SNP is connected to the FTO gene at chromosome 16, and has previously been (statistically significant) associated with obesity in a large number of genome-wide association studies including different independent data sets [21]. The SNP rs13393304 at chromosome 2 has previously been associated with obesity using UK Biobank data [34]. From the PheWeb platform [35], a generalized linear mixed model [24], based on TopMed imputation on each individual [36], was constructed separately on each trait out of a total of 1419 traits in UK Biobank. In this case, the SNP rs489693 is second most associated with obesity, yet not statistically significant with p-value = 2.3 × 10−7. Likewise, for the SNPs rs1488830, rs10913469 and rs2820312 the computed p-values are 2.2 × 10−3, 7.1 × 10−5 and 1.1 × 10−2 respectively, and therefore not declared statistically significant with respect to obesity. However, the association between the SNP rs2820312 and hypertension is in fact statistically significant (2.5 × 10−9) in the PheWeb platform, and obesity is known to be a risk factor for hypertension [37].

The uncertainty of the feature importance of the SNPs rs17817449, rs13393304 and rs2820312 in Table 3 are explored more thoroughly by computing Sub-SAGE estimates including paired bootstrap-derived percentile intervals, with B = 1000 bootstrap samples, by using 20000 (unrelated White-British) participants from UK Biobank not used while training the model. We also compute Sub-SAGE for the randomly selected SNP rs7318381, which has never been associated with obesity, and with a small ERFC in the XGBoost model (0.0016). The results are given in Fig 4.

Fig 4. The estimates and corresponding uncertainties in the Sub-SAGE values for the four SNPs agree with previous studies (GWAS) regarding SNP-association with obesity.

Fig 4

The Sub-SAGE values do indicate that both rs17817449 and rs13393304 are highly likely to be associated with obesity. The 95% percentile interval of the Sub-SAGE value for rs17817449 is (0.0006, 0.0016), and (0.00014, 0.00073) for rs13393304. The SNPs rs2820312 and rs7318381 are less likely to be associated with obesity, and if they are true associations, the uncertainties in the estimates indicate that the effects are microscopic. The 95% percentile intervals for rs2820312 is (−7.08 × 10−5, 2.95 × 10−4), and (−1.13 × 10−5, 6.32 × 10−5) for rs7318381.

When dealing with relatively large data sizes such as for the genetic example above, the bias-corrected and accelerated bootstrap interval can become infeasible due to the estimation of the acceleration parameter. However, as the acceleration parameter is proportional to the skewness of the bootstrap distribution, and if the bootstrap distribution indeed has a small skewness, as is the case here, it is often sufficient to set the acceleration parameter equal to zero. This gives no change in the percentile intervals of rs17817449 and rs13393304, but the bias-corrected 95% bootstrap intervals of rs2820312 and rs7318381 become (−6.10 × 10−5, 3.0 × 10−4) and (−1.18 × 10−5, 6.19 × 10−5) respectively. These are negligible changes, indicating that the plug-in estimates are low-biased.

With the number of individuals and size of the model explained above the provided R and Rcpp code performs a single Sub-SAGE estimate in around 15–20 minutes using CPUs available at the Farnam Cluster from Yale Center for Research Computing. The bootstrap samples were accomplished using job arrays in a high-performance computing environment, and were completed within around 1.5 hours for each feature.

Discussion and conclusion

We present a Shapley-value-based framework for inferring the importance of individual features, including uncertainty in the estimator. We argue that SAGE values, or Sub-SAGE values, are more appropriate for quantifying global feature importance than SHAP values, as SHAP values only depend on the fitted model itself, good or bad, while SAGE and Sub-SAGE values additionally account for the performance with respect to the true data generating process via the loss function. Effectively, using SAGE and Sub-SAGE for inferring feature importance reduces the false positive rate compared to when using SHAP. As the computation of SAGE values quickly becomes challenging for increasing number of features, we introduce the Sub-SAGE value as an appropriate alternative. We demonstrate how to infer feature influence for a tree ensemble model with high-dimensional data using Sub-SAGE and paired bootstrapping. As an example, we use XGBoost, a gradient tree-boosting model, applied to both a known data generating process, as well as realistic high-dimensional data. We emphasize the importance of using test data, independent of data used to construct the model, to compute Sub-SAGE estimates.

The particular choice of Qk in the definition of Sub-SAGE was based on the fact that marginal effects and pairwise interaction effects are accounted for. An alternative is to include all subsets with cardinality restricted to some value. Yet another approach is to sample a restricted number of subsets S following the same probability distribution as for the Kernel SHAP method, see [3] for details. The main idea is that the Shapley consistency property is not a necessity if the question is whether a feature k is regarded as important with respect to a particular prediction model.

It is important to notice that the percentile intervals, constructed to evaluate the uncertainty in the Sub-SAGE estimate, themselves include uncertainty. The uncertainty of the percentile intervals depends on the number of bootstraps, B, as well as the size n of data samples. However, in addition, the uncertainty also depends on the ratio p/n, where p is the total number of features used in the model (not necessarily the number of input features for constructing the model). This fact is particularly important in high-dimensional problems, and it has been discussed for instance in [38]. When applied to linear models, one observation from a simulation is for instance that the paired bootstrap becomes more conservative (loss of power) the larger the ratio p/n is. Observe that for the simulation example above, p/n = 62/3200 = 0.019, while for the genetic data, the ratio is p/n = 533/20000 = 0.027, deliberately chosen to be small in order to account for the problems arising when p/n becomes too large. For the genetic data, a filtering process is first needed as the data from UK Biobank originally includes around 530000 SNPs and 207000 individuals (p/n = 2.56). The applied filtering method and potential pitfalls are described in [25].

It seems reasonable to apply the same loss function in the Sub-SAGE estimate as the loss function that was used to construct the model. However, there may be situations where it is meaningful to compute the Sub-SAGE values for a different loss function than the loss function used during training in order to make more objective interpretations. This may for instance be the case when the model is provided ‘as is’, and you do not know the training loss function, or when using adapted loss functions, e.g. weighted binary cross-entropy, but the interpretation is relevant for a standard cross-entropy.

If we use Sub-SAGE to infer importance of a feature, let the null hypothesis be that the corresponding Sub-SAGE value is less than or equal to zero. A simple procedure to investigate this is to construct a one-sided (1 − α)100% percentile interval, and reject the null hypothesis if the corresponding lower bound is greater than zero. However, the use of a bootstrap confidence interval to construct a hypothesis test often has a low statistical power [39]. If in addition several features are tested simultaneously, a multiple testing procedure would be necessary in order to control the false positive rate [30]. We leave it to future research as to how to construct a more powerful hypothesis testing procedure, and how to control the false positive rate in a multiple testing procedure.

The statistical power when inferring feature importance based on Sub-SAGE will rely on the model uncertainty, the degree to which the prediction model has captured the true relationship between a particular feature and the response.

In this work we have assumed all features to be mutually statistically independent, an unrealistic scenario in most cases. If many features are statistically dependent, one is required to estimate conditional expected values (see [3] for details). Even for medium-size data sets this often becomes very tedious and even infeasible in most cases. One possibility is to use principal component analysis for dimensionality reduction, but this is not straightforward if we need the features of the model to be meaningful, and thereby explainable. In addition, principal component analysis is based on variance in the features and not explanatory power. An important line of future research to allow for evaluation of feature importance in a high-dimensional setting is dimensionality reduction that preserves interpretability.

The estimates provided by Sub-SAGE, as for SHAP values, will be more reliable the better the overall predictions from the model. Recent research has shown the strong benefit of including individual polygenic risk scores [40] as a covariate in the XGBoost model for greater performance in predictions of susceptibility for several phenotypes [41]. Computation of Sub-SAGE values in this case would depend on the correlation between PRS and individuals SNPs used in the XGBoost model, and if so the need for estimating conditional expected values.

In this paper, we have focused on the marginal effect of each feature, which is the total effect of the feature including the isolated effect of the feature as well as possible interaction effects the feature may be involved in. In principle, the construction of SHAP interaction values to quantify pairwise interaction effects, as introduced in [4] and applied in [25], could be extended to also include SAGE or Sub-SAGE interaction values. In this setting, the running time is even more computationally demanding. In that respect, the idea of reducing the number of subsets to include in the Shapley-based computations can be one approach to reduce the computation time. Interesting future research would be how to apply the idea of Sub-SAGE to search for interaction effects.

Supporting information

S1 File. Supporting information including proofs and derivations throughout the paper.

(PDF)

Acknowledgments

We thank the Yale Center for Research Computing for guidance and use of the research computing infrastructure. We thank The Gemini Center for Sepsis Research for establishing cooperation with Yale School of Public Health.

Data Availability

UK Biobank data can be obtained from UK Biobank project site, subject to successful registration and application process. Further details can be found at https://www.ukbiobank.ac.uk/enable-your-research/apply-for-access Source code, including numerical values and scripts for providing the figures in this paper can be found online at: https://github.com/palVJ/subSAGE.

Funding Statement

This research was funded by The Research Council of Norway (https://www.forskningsradet.no/en/), Grant 272402, Ph.D. Scholarship at SINTEF, including funding for a research stay abroad at Yale School of Public Health to PVJ. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Jiménez-Luna J, Grisoni F, Schneider G. Drug discovery with explainable artificial intelligence. Nature Machine Intelligence. 2020;2(10):573–584. doi: 10.1038/s42256-020-00236-4 [DOI] [Google Scholar]
  • 2. Shapley LS. A Value for n-Person Games. In: Contributions to the Theory of Games (AM-28), Volume II; 1953. [Google Scholar]
  • 3. Aas K, Jullum M, Løland A. Explaining individual predictions when features are dependent: More accurate approximations to Shapley values. Artificial Intelligence. 2021;298. doi: 10.1016/j.artint.2021.103502 [DOI] [Google Scholar]
  • 4. Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B, et al. From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence. 2020;2(1). doi: 10.1038/s42256-019-0138-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Sellereite N, Jullum M. shapr: An R-package for explaining machine learning models with dependence-aware Shapley values. Journal of Open Source Software. 2019;5(46):2027. doi: 10.21105/joss.02027 [DOI] [Google Scholar]
  • 6. Lundberg SM, Lee SI. A Unified Approach to Interpreting Model Predictions. In: Guyon I, Luxburg UV, Bengio S, Wallach H, Fergus R, Vishwanathan S, et al., editors. Advances in Neural Information Processing Systems 30. Curran Associates, Inc.; 2017. p. 4765–4774. [Google Scholar]
  • 7. Strumbelj E, Kononenko I. Explaining prediction models and individual predictions with feature contributions. Knowledge and Information Systems. 2013;41:647–665. doi: 10.1007/s10115-013-0679-x [DOI] [Google Scholar]
  • 8. Strumbelj E, Kononenko I. An Efficient Explanation of Individual Classifications using Game Theory. Journal of Machine Learning Research. 2010;11:1–18. [Google Scholar]
  • 9. Lundberg SM, Erion GG, Lee SI. Consistent Individualized Feature Attribution for Tree Ensembles; 2019. [Google Scholar]
  • 10. Redelmeier A, Jullum M, Aas K. Explaining predictive models with mixed features using Shapley values and conditional inference trees; 2020. [Google Scholar]
  • 11. Kwon Y, Rivas MA, Zou J. Efficient computation and analysis of distributional Shapley values; 2021. [Google Scholar]
  • 12. Song E, Nelson B, Staum J. Shapley Effects for Global Sensitivity Analysis: Theory and Computation. SIAM/ASA Journal on Uncertainty Quantification. 2016;4:1060–1083. doi: 10.1137/15M1048070 [DOI] [Google Scholar]
  • 13. Moehle N, Boyd S, Ang A. Portfolio Performance Attribution via Shapley Value; 2021. [Google Scholar]
  • 14. Covert I, Lundberg S, Lee SI. Explaining by Removing: A Unified Framework for Model Explanation; 2020. [Google Scholar]
  • 15. Keinan A, Hilgetag CC, Meilijson I, Ruppin E. Fair Attribution of Functional Contribution in Artificial and Biological Networks. Neural Computation. 2003;16:1887–1915. doi: 10.1162/0899766041336387 [DOI] [PubMed] [Google Scholar]
  • 16. Fryer DV, Strumke I, Nguyen H. Model independent feature attributions: Shapley values that uncover non-linear dependencies. PeerJ Computer Science. 2021;7:e582. doi: 10.7717/peerj-cs.582 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Covert I, Lundberg S, Lee SI. Understanding Global Feature Contributions With Additive Importance Measures; 2020. [Google Scholar]
  • 18. Fryer D, Strümke I, Nguyen H. Shapley values for feature selection: The good, the bad, and the axioms; 2021. [Google Scholar]
  • 19. Sudlow C, Gallacher J, Allen N, Beral V, Burton P, Danesh J, et al. UK biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS medicine. 2015;12(3):e1001779. doi: 10.1371/journal.pmed.1001779 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Bycroft C, Freeman C, Petkova D, Band G, Elliott LT, Sharp K, et al. The UK Biobank resource with deep phenotyping and genomic data. Nature. 2018;562(7726):203–209. doi: 10.1038/s41586-018-0579-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Locke AE, Kahali B, Berndt SI, et al. Genetic studies of body mass index yield new insights for obesity biology. Nature. 2015;518(7538):197–206. doi: 10.1038/nature14177 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Young HP. Monotonic solutions of cooperative games. International Journal of Game Theory. 1985;14:65–72. doi: 10.1007/BF01769885 [DOI] [Google Scholar]
  • 23. Huettner F, Sunder M. Axiomatic arguments for decomposiing goodness of fit according to Shapley and Owen values. Electronic Journal of Statistics. 2012;6:1239–1250. doi: 10.1214/12-EJS710 [DOI] [Google Scholar]
  • 24. Zhou W, Nielsen JB, Fritsche LG, Dey R, Gabrielsen ME, Wolford BN, et al. Efficiently controlling for case-control imbalance and sample relatedness in large-scale genetic association studies. Nature Genetics. 2018;50(9). doi: 10.1038/s41588-018-0184-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Johnsen PV, Riemer-Sørensen S, DeWan AT, Cahill ME, Langaas M. A new method for exploring gene–gene and gene–environment interactions in GWAS with tree ensemble methods and SHAP values. BMC Bioinformatics. 2021;22(1). doi: 10.1186/s12859-021-04041-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Hastie T, Tibshirani R, Friedman J. The Elements of Statistical Learning. 2nd ed. Springer; New York, NY; 2009. p. 223–228. [Google Scholar]
  • 27. Efron B. Better Bootstrap Confidence Intervals. Journal of the American Statistical Association. 1987;82(397):171–185. doi: 10.2307/2289153 [DOI] [Google Scholar]
  • 28.Chen T, Guestrin C. XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining—KDD’16. 2016; p. 785–794.
  • 29. Visscher PM, Wray NR, Zhang Q, Sklar P, McCarthy MI, Brown MA, et al. 10 Years of GWAS Discovery: Biology, Function, and Translation. American Journal of Human Genetics. 2017;101(1):5–22. doi: 10.1016/j.ajhg.2017.06.005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Goeman JJ, Solari A. Multiple hypothesis testing in genomics. Statistics in Medicine. 2014;33(11):1946–1978. doi: 10.1002/sim.6082 [DOI] [PubMed] [Google Scholar]
  • 31. Reich DE, Cargill M, Bolk S, Ireland J, Sabeti PC, Richter DJ, et al. Linkage disequilibrium in the human genome. Nature. 2001;411:199–204. doi: 10.1038/35075590 [DOI] [PubMed] [Google Scholar]
  • 32. Sillanpää MJ. Overview of techniques to account for confounding due to population stratification and cryptic relatedness in genomic data association analyses. Heredity. 2011;106(4):511–519. doi: 10.1038/hdy.2010.91 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Grau J, Grosse I, Keilwagen J. PRROC: computing and visualizing precision-recall and receiver operating characteristic curves in R. Bioinformatics. 2015;31(15):2595–2597. doi: 10.1093/bioinformatics/btv153 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Karlsson T, Rask-Andersen M, Pan G, Höglund J, Wadelius C, Ek WE, et al. Contribution of genetics to visceral adiposity and its relation to cardiovascular and metabolic disease. Nature medicine. 2019;25(9):1390–1395. doi: 10.1038/s41591-019-0563-7 [DOI] [PubMed] [Google Scholar]
  • 35. Gagliano Taliun SA, VandeHaar P, Boughton AP, Welch RP, Taliun D, Schmidt EM, et al. Exploring and visualizing large-scale genetic associations by using PheWeb. Nature Genetics. 2020;52(6). doi: 10.1038/s41588-020-0622-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Taliun D, Harris DN, Kessler MD, et al. Sequencing of 53,831 diverse genomes from the NHLBI TOPMed Program. Nature. 2021;590(7845):290–299. doi: 10.1038/s41586-021-03205-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Hall JE, do Carmo JM, da Silva AA, Wang Z, Hall ME. Obesity-Induced Hypertension. Circulation Research. 2015;116(6):991–1006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Karoui NE, Purdom E. Can We Trust the Bootstrap in High-dimensions? The Case of Linear Models. Journal of Machine Learning Research. 2018;19:66. [Google Scholar]
  • 39. Givens GH, Hoeting JA. Bootstrapping. In: Computational Statistics. John Wiley & Sons, Ltd; 2012. p. 287–321. [Google Scholar]
  • 40. Torkamani A, Wineinger NE, Topol EJ. The personal and clinical utility of polygenic risk scores. Nature Reviews Genetics. 2018;19(9):581–590. doi: 10.1038/s41576-018-0018-x [DOI] [PubMed] [Google Scholar]
  • 41. Elgart M, Lyons G, Romero-Brufau S, Kurniansyah N, Brody JA, Guo X, et al. Non-linear machine learning models incorporating SNPs and PRS improve polygenic prediction in diverse human populations. Communications Biology. 2022;5(1):1–12. doi: 10.1038/s42003-022-03812-z [DOI] [PMC free article] [PubMed] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010963.r001

Decision Letter 0

Ilya Ioshikhes, Shaun Mahony

4 Oct 2022

Dear Mr. Johnsen,

Thank you very much for submitting your manuscript "Inferring feature importance with uncertainties with application to high-dimensional genotype data" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

One of the reviewers pointed out that the Github repository linked in your submission contains code for an earlier work and does not contain the subSAGE method described in your manuscript. In your revision, please advise whether an open source code implementation of your method is available to the community, as required by the journal. 

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Shaun Mahony

Academic Editor

PLOS Computational Biology

Ilya Ioshikhes

Section Editor

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: In this work, Johnsen and colleagues build on SAGE to estimate feature importance with uncertainties. While SAGE has the advantage (compared to SHAP values) of providing a global estimate of feature importance via a loss function, it is ultimately an estimate, and as such, the authors argue, we should be interested in quantifying the uncertainty associated with this estimate. They propose sub-SAGE as an approach to do this in a computationally efficient manner, by using a reduced number of subsets/features and providing bootstrapped confidence intervals. To demonstrate their approach, they provide a proof-of-concept example using a small synthetic dataset, as well as a further example with a tree ensemble model using genotype data from the UK Biobank to infer importance for genetic and non-genetic features in an obesity phenotype. As noted by the authors themselves, there are some potential limitations to this approach, namely: using a limited number of subsets results in sub-SAGE values which no longer satisfy the efficiency axiom, the use of independent test data is required, and the accuracy of percentile confidence intervals may vary depending on number of bootstraps (although admittedly this variance may be relatively minor).

General comment:

Overall, the manuscript is well-written, providing rigorous detail on the methodological approach taken. Improving the interpretability of machine learning algorithms as applied to high-dimensional biological data (as well as more generally) is an important area of research, and understanding the uncertainty associated with SAGE estimates should prove of interest and benefit to the field.

Specific comments:

- The high-dimensional example provided is still a relatively small dataset given the current size of GWAS studies - can the authors provide an indication of run-time to estimate the sub-SAGE values?

- the authors propose selecting the reduced number of features based on either domain knowledge or by "selecting the top tier". In the case of the former, might this limit the ability for discovery of novel genetic relationships? For the latter, there is no indication as to what this entails - some further details would be helpful.

For the UKBiobank example:

- Have the XGBoost hyperparameters mentioned been optimised?

- Is there any attempt to account for correlation in SNP importance, based on e.g. LD structure and if not, how does this affect importance estimates?

- Recently published work (https://www.nature.com/articles/s42003-022-03812-z) has shown the benefit of including both non-linear contributions and interactions between SNPS (ascertained via XGBoost) as well as simple additive PRS when explaining heritability in complex phenotypes - do the authors see any potential benefit to such a combined approach with sub-SAGE estimates?

Reviewer #2: The authors introduce a novel method for feature selection. Although the method and concept is interesting, the methodology and application of this method bears many limitations as outlined below:

The results from synthetic data are not very convincing that the method identifies the most important variables with high confidence. The interpretation of score is difficult and no understanding of the range of the score is provided. The testing dataset helps understand the confidence a bit but in real world identifying a testing data every-time is a big task.

The simulations are only performed on a sample size of 16,000 which is a moderate samples size but would not be considered large dataset. Authors should show power, sensitivity and specificity of the method on a large set of simulations to represent real world datasets. Variables for simulations should include combinations of:

Sample sizes

Minor allele frequencies

Noise to Signal Ratio

Penetrance and prevalence of the disease

Real world data application: UKBB dataset consists of >400K samples, however authors only used 64000 samples. It is unclear why they chose only this subset. If the point of the method is to perform GWAS, then the new proposed method should be able to run GWAS on as large of dataset as the conventional methods. It would be imperative to run the analyses on all samples and all variants (possibly an imputed GWAS dataset).

Non-genetic features such as age, sex, ancestry are among the most important features in the real world analyses. However, no interpretation is provided on the significance of known SNPs while adjusting for these confounders. A standard GWAS analyses would include adjusting for any covariates, how does this method account for covariates?

Standard GWAS methods assume an additive model and are most powered at identifying additive effects. An improvement over existing GWAS methods would be to identify non-additive effects. Is this method able to identify only known signals or any novel signals as well for BMI that might help elucidate the genetic underpinnings of obesity more than standard GWAS fro UKBB? The previous method published in BMC Bioinformatics focussed on GXG and GXE, does this method also identify those effects, unclear from the manuscript?

Reviewer #3: Johnsen et al. consider the problem of computing global feature importance in high-dimensional datasets. Prior work on computing global feature importance such as SAGE do not scale with the number of features (even when using Monte Carlo approximations). This work proposes a modified measure of feature importance, sub-SAGE, that only considers the importance of a feature based on its marginal and pairwise interactions. This definition has the advantage of enabling efficient computation especially when used to explain tree-based models. Further, the authors propose the use of Bootstrap resampling to compute the uncertainty of the sub-SAGE estimates. While there has been increasing attention paid to estimating feature importance, the notion of uncertainty in these estimates has not been adequately studied (beyond the notion of uncertainty due to Monte Carlo sampling). This is the first work that attempts to provide uncertainty estimates to their estimates of sub-Sage values which is an important step to interpret and trust feature importance measures. Nevertheless, there are several major comments that the

Limitations:

Major:

1. The assumption of feature independence is quite strong, especially if the target application is genetic data, as the authors also pointed out. The authors need to better justify the target application given the assumptions underlying their method. When the authors consider SNPs that are associated with obesity in the UK Biobank, many of these SNPs are likely to be highly correlated due to linkage disequilibrium. Do the authors prune SNPs that are in strong LD?

2. The title refers to high-dimensional genotype data which might suggest that these methods are being applied in the setting where the number of SNPs exceeds the number of individuals/samples. However this is not the case from the UK Biobank application (< 3,000 SNPs and 64,000 samples). The authors might want to reword the title to be more accurate.

3. The ability to scale the algorithm to high-dimensional data relies on considering the pair-wise feature interaction and marginal feature contribution in sub-SAGE. While this is a reasonable choice, a systematic analysis of the loss of power due to such an approximation is missing. The comparison of sub-SAGE and SAGE in Table 2 is done under a simulation that assumes only pair-wise feature interactions.

4. One contribution the paper claims is the development of an efficient algorithm for global feature importance uncertainty estimation under the tree structure. An alternative approach to achieve the same goal is to instead estimate instance-wise feature attribution values using Tree-SHAP, approximate the global feature importance using the expectation of individual feature attribution estimates, and then use the bootstrap similarly to estimate uncertainty. (Covert et al. have justified the equivalency between these two approaches). The authors should clearly state the advantage of computing global feature importance directly compared to calculating it with the aggregated instance-wise feature importance.

5. A more general question for the authors is to demonstrate the usefulness of the uncertainty estimates. One natural application is to perform feature selection. If the intention of the uncertainty estimation is for feature selection purposes, it would be valuable to compare it with some commonly used feature selection techniques in the area. Additional analyses and discussion of the utility of uncertainty estimates would strengthen the manuscript.

Minor:

1. What does the notation y(x) in Equation 5 refer to?

2. There is a sign missing in front of the second line of Equation (19).

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: No: The link leads to GitHub page for previously published method in BMC Bioinformatics.

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010963.r003

Decision Letter 1

Ilya Ioshikhes, Shaun Mahony

2 Jan 2023

Dear Mr. Johnsen,

Thank you very much for submitting your manuscript "Inferring feature importance with uncertainties with application to large genotype data" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations.

Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Shaun Mahony

Academic Editor

PLOS Computational Biology

Ilya Ioshikhes

Section Editor

PLOS Computational Biology

***********************

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: I thank the authors for their detailed response to comments and for the additional text added to the manuscript.

Reviewer #3: In the revised version, the authors addressed most of the previous comments in the following aspects:

1. Conceptual advantage of sub-SAGE compared to linear approach of feature selection

2. The advantage of sub-SAGE uncertainty calculating compared to SHAP.

3. Discussion of the advantage and limitations of sub-SAGE approximation compared to SAGE.

Here are some additional comments:

1. In lines 472-475, the authors discussed that the threshold and multiple testing procedure is needed to control the false positive rate. The authors should further expand this part since how to set the threshold and demonstrate calibration is not directly clear from the estimated uncertainty computed using the sub-SAGE approach, but a crucial step in GWAS.

2. In table 3, it would be good to run linear models on the selected feature, compute their feature coefficient and the corresponding p-values and discuss how much benefit we gain from computing feature importance in a nonlinear way using sub-SAGE.

3. In line 398, the SNP rs2820312 exclusively detected by sub-SAGE need further analysis. For example, have any other SNPs in the LD block of SNP rs2820312 been previously detected to be associated with obesity ?

4. In lines 450-454, the authors described several sources of the uncertainty of the Sub-SAGE uncertainty estimate. However, another important source of uncertainty, the model uncertainty, needs to be mentioned. I suggest the authors add it to the text.

Overall, the proposed algorithm is novel and could potentially benefit the understanding of large-genetic dataset. However, the advantage of sub-SAGE on actual genetic applications still has room for improvement.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #3: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

References:

Review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript.

If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010963.r005

Decision Letter 2

Ilya Ioshikhes, Shaun Mahony

20 Feb 2023

Dear Mr. Johnsen,

We are pleased to inform you that your manuscript 'Inferring feature importance with uncertainties with application to large genotype data' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Shaun Mahony

Academic Editor

PLOS Computational Biology

Ilya Ioshikhes

Section Editor

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #3: The authors have addressed major concerns from the previous revision. Overall, this work presents an innovative algorithm that will motivate additional work in the community.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #3: No

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1010963.r006

Acceptance letter

Ilya Ioshikhes, Shaun Mahony

8 Mar 2023

PCOMPBIOL-D-22-01012R2

Inferring feature importance with uncertainties with application to large genotype data

Dear Dr Johnsen,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Anita Estes

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 File. Supporting information including proofs and derivations throughout the paper.

    (PDF)

    Attachment

    Submitted filename: Review_PlosComp.pdf

    Attachment

    Submitted filename: Response to reviewers - Minor revision.pdf

    Data Availability Statement

    UK Biobank data can be obtained from UK Biobank project site, subject to successful registration and application process. Further details can be found at https://www.ukbiobank.ac.uk/enable-your-research/apply-for-access Source code, including numerical values and scripts for providing the figures in this paper can be found online at: https://github.com/palVJ/subSAGE.


    Articles from PLOS Computational Biology are provided here courtesy of PLOS

    RESOURCES