arXiv:2610.17053stat.MLOct 2026

Manuscript Offprint

arXiv:2610.17053

Measuring Variable Importance Using Proportional Inclusive Marginal Effects

Youngseo Cho, V. Roshan Joseph

Abstract

Shapley-based measures are widely used for measuring variable importance in statistics and machine learning. However, these measures have a serious issue—a nonactive variable can get a positive importance measure when it is correlated with an active variable. Herin et al. recently proposed a measure called proportional marginal effects (PME) that mitigates this spurious effect. However, PME is developed for deterministic models and has high computational cost. In this article, we propose a new measure called proportional inclusive marginal effects (PRIME) that overcomes these two limitations of PME. The key idea in PRIME is to use a novel model-free variable selection technique to identify the active variables and include only them in the computation of the importance measure. Analysis of test functions and real datasets show that PRIME can accurately and reliably quantify variable importance from noisy input-output data.

Keywords: Global sensitivity analysis; Nonparametric estimation; Local-linear Regression; Proportional marginal effects; Variable selection.

1 Introduction

Variable importance is a central problem in statistics: given a dataset consisting of a set of inputs and an output, which inputs are important for predicting the output, and how should their importance be quantified? Familiar measures such as the standardized coefficients or ∣t∣|t|-values in linear regression and tree-based scores in random forest models are all model-based: they describe importance with respect to a particular fitted model. Related work studies reliance within a specified model class (Fisher et al., 2019) and algorithm-agnostic population importance (Williamson et al., 2023). Here we study population measures defined directly by the joint distribution of input and output.

The literature on variable importance measures is huge and spans many diverse fields including statistics, machine learning, and applied mathematics. Classical global sensitivity analysis often assumes a known input-output relationship and specified, independent input distributions (Saltelli et al., 2008; Da Veiga et al., 2021). On the other hand, the problems in statistics and machine learning

∗^{*}roshan@gatech.edu are more complex because they deal with datasets most often collected using an observational study. Here we know neither the input-output relationship nor the input distributions. To make things worse, the inputs are likely to be correlated in the dataset and the output is noisy. Although we are more interested in the statistical/ML problems, we will first describe some techniques used in the field of global sensitivity analysis because they are closely related to the techniques proposed in this paper.

When the input-output relationship (computer model) is known and when the input distributions are independent, we can decompose the overall variability of the output induced by the input distributions using functional analysis of variance and compute certain variance-based global sensitivity measures (Sobol', 1993). Among the various global sensitivity measures, the total Sobol' index proposed by Homma and Saltelli (1996) is of particular interest because it can be shown that the total Sobol' index of an input is 0 if and only if the output is independent of this input given the other inputs (Hart and Gremaud, 2018). With independent inputs, total effects collect all main and interaction variance components involving an input. Under dependence, their interpretation is a conditional deletion loss. Consider a simple model: y=x1+x2y = x_1 + x_2, where x1,x2∼idN(0,1)x_1, x_2 \stackrel{id}{\sim} \mathcal{N}(0,1). Then the total Sobol' indices of x1x_1 and x2x_2 are 0.5. However, if cor{x1,x2}=1cor\{x_1, x_2\} = 1, then the total Sobol' indices of both are 0. This is because x1x_1 is a constant given x2x_2 and therefore x1x_1 does not introduce any variability in yy (similarly for x2x_2). These zeros express conditional redundancy: either input predicts the response exactly once the other is known. Total effects therefore remain useful deletion-loss measures, but need not provide an additive allocation of importance under dependence.

Song et al. (2016) suggested that the Shapley effect introduced by Owen (2014) can be used as a variable importance measure when inputs are dependent. The Shapley effect is a modification of the Shapley value (Shapley, 1953) widely used in economics and game theory that is modified to incorporate variance-based sensitivity measures. For the earlier example, Shapley effects of both x1x_{1} and x2x_{2} are 0.5 even when they are perfectly correlated. Shapley-based measures such as SHAP (Lundberg and Lee, 2017) are extremely popular for measuring variable importance in real data analysis. See also SAGE in Covert et al. (2020) and SPVIM in Williamson and Feng (2020). However, Verdinelli and Wasserman (2024b) recently pointed out that Shapley effects are also adversely affected by the dependence of input distributions. To see this, consider a modified model: y=x1+x2+0x3+…+0xpy = x_{1} + x_{2} + 0x_{3} + \ldots + 0x_{p}, where all variables are perfectly correlated. Now the Shapley effects of all the variables become 1/p and thus tend toward 0 as p increases, spreading importance equally over redundant variables. In this perfectly collinear example, the coefficient support of the written regression function is not identifiable from the joint distribution. Verdinelli and Wasserman (2024b) went on to propose a decorrelated version of Leave Out COvariates (LOCO) (Lei et al., 2018) as a remedy but noted that it also has several issues. See also Verdinelli and Wasserman (2024a). Interestingly, the LOCO measure is exactly the same as the unnormalized total Sobol' index under a squared-error loss.

Huang and Joseph (2025) recently proposed a two-stage version of the Shapley effects: first select the active inputs using FIRST (Factor Importance Ranking and Selection using Total indices). Then, estimate the Shapley effects of only the active inputs and set the Shapley effects of the inactive inputs to 0. Their method is termed as FIRST-SHAP. Selecting a subset removes variables excluded by the screen, but retained weak variables can still receive substantial Shapley importance through dependence with stronger variables. This motivates reconsidering the allocation rule as well as the selection step.

Herin et al. (2024) proposed proportional marginal effects (PME) to overcome the above issue with Shapley effects that integrate total Sobol' indices with proportional values used in cooperative game theory (Feldman, 1999). For example, consider y=x1+x2+0.001x3y = x_{1} + x_{2} + 0.001x_{3} with jointly Gaussian, mean-zero, unit-variance inputs, cor(x1,x3)=0.9\mathrm{cor}(x_{1}, x_{3}) = 0.9, and x2x_{2} independent of (x1,x3)(x_{1}, x_{3}). The Shapley effect of x3x_{3} is 0.2028, while its PME is 5.0×10−75.0 \times 10^{-7}; PME assigns much less importance to the input with coefficient 0.001 in this nonsingular design. This issue of inactive (or exogenous) inputs receiving large positive Shapley effect when correlated with active (or endogenous) inputs has been known for a long time in the case of linear regression (Grömping, 2007), where the method of Lindeman et al. (1980) (LMG) produces measures that correspond to the Shapley values and the method of proportional marginal variance decomposition (PMVD) (Feldman, 2005) was developed to overcome the issues with LMG. PME can be viewed as an extension of PMVD to nonlinear and complex deterministic models. In this article, we extend PMEs for measuring variable importance from real noisy data.

Table 1: Analogy among some of the variable importance measures in linear regression, global sensitivity analysis, and real data analysis.

Linear regressionGlobal sensitivity analysisNonparametric data analysis
t2t^2Total Sobol' indicesLOCO, FIRST
LMGShapley effectsSHAP, SAGE, SPVIM, FIRST-SHAP
PMVDPMEPRIME (proposed measure)

The second main contribution of our work is in computation. If there are pp inputs, we need to consider 2p2^p submodels for computing PME which can be a daunting task when pp is large. Following the idea of FIRST-SHAP (Huang and Joseph, 2025), we will reduce this computational burden using a FIRST-inspired forward-backward screening procedure. If there are q≪pq \ll p selected variables, then the final allocation step evaluates 2q2^q submodels. Proposition 1 shows that retaining a mean-sufficient set preserves the population PME target after zero padding. Thus, surplus retained coordinates leave this population allocation unchanged under the stated identifiability condition. We call the resulting procedure Proportional Inclusive Marginal Effects (PRIME), reflecting the inclusion of only selected coordinates in the allocation step. Table 1 shows the connections among the different measures in the literature that we have reviewed so far.

A third main contribution of our work is in selection and estimation. FIRST uses the nearest neighbor technique proposed in Broto et al. (2020) for the estimation of the total Sobol' indices. We found that these estimates can be inaccurate, especially when the sample size is small. We therefore propose a local-linear regression approach that removes affine conditional-mean drift from the risk estimates. These estimates are used in both coordinate selection and PRIME allocation, and their accuracy is evaluated in our experiments.

The article is organized as follows. Section 2 reviews variance-based sensitivity measures and defines PME. Section 3 proposes PRIME. Section 4 develops local-linear risk estimation and Section 5 develops a model-free variable selection technique. Section 6 evaluates the proposed method through test functions and real data experiments. We conclude with some remarks in Section 7. Proofs and additional experimental details are provided in the Supplementary materials.

References (42)