[Paper Review] Explaining the data or explaining a model? Shapley values that uncover non-linear dependencies
This paper introduces Sunnies, the first model-independent Shapley value method that explains non-linear feature dependencies in data by using statistical dependence measures—such as energy distance correlation, affine-invariant distance correlation, and Hilbert-Schmidt independence criterion—as the characteristic function. Unlike model-dependent approaches, Sunnies uncovers intrinsic data structure without relying on a trained model, enabling effective exploratory data analysis and model diagnostics by attributing non-linear dependencies to individual features.
Shapley values have become increasingly popular in the machine learning literature thanks to their attractive axiomatisation, flexibility, and uniqueness in satisfying certain notions of `fairness'. The flexibility arises from the myriad potential forms of the Shapley value extit{game formulation}. Amongst the consequences of this flexibility is that there are now many types of Shapley values being discussed, with such variety being a source of potential misunderstanding. To the best of our knowledge, all existing game formulations in the machine learning and statistics literature fall into a category which we name the model-dependent category of game formulations. In this work, we consider an alternative and novel formulation which leads to the first instance of what we call model-independent Shapley values. These Shapley values use a (non-parametric) measure of non-linear dependence as the characteristic function. The strength of these Shapley values is in their ability to uncover and attribute non-linear dependencies amongst features. We introduce and demonstrate the use of the energy distance correlations, affine-invariant distance correlation, and Hilbert-Shmidt independence criterion as Shapley value characteristic functions. In particular, we demonstrate their potential value for exploratory data analysis and model diagnostics. We conclude with an interesting expository application to a classical medical survey data set.
Motivation & Objective
- To address the lack of model-independent Shapley value methods that explain intrinsic data dependencies rather than model behavior.
- To develop a framework for feature importance that is not contingent on a fitted model or model class.
- To enable detection of non-linear and interaction effects in data through a principled, fair attribution mechanism based on statistical dependence.
- To demonstrate the utility of such values in exploratory data analysis and model diagnostics, especially in identifying discrepancies between data and model predictions.
- To provide a new diagnostic lens for uncovering hidden biases or structural mismatches in machine learning models, such as those related to gender in real-world data.
Proposed method
- Proposes a novel game formulation where the characteristic function is a measure of non-linear statistical dependence (e.g., energy distance correlation, HSIC, AIDC) rather than model performance or prediction error.
- Defines Shapley values based on the marginal contribution of each feature to the overall dependence between the feature set and the target variable, using the dependence measure as the payoff function.
- Applies the consistent Monte Carlo algorithm (Song et al., 2016) for approximating Shapley values, as exact computation is infeasible for large feature sets.
- Introduces three diagnostic metrics: attributed dependence on labels (ADL), model predictions (ADP), and residuals (ADR), to compare data structure with model behavior.
- Uses block decomposition when features are known to be independent, reducing computational cost from O(2^n) to O(2^k) per block, where k << n.
- Employs a population-level, asymptotic guarantee for dependence detection via the distance correlation (DC), though acknowledges its bias toward linear relationships.
Experimental results
Research questions
- RQ1Can Shapley values be formulated to explain non-linear dependencies in data without relying on a trained model?
- RQ2How can model-independent Shapley values be constructed using statistical dependence measures as the characteristic function?
- RQ3To what extent can such values detect changes in dependence structures over time or across data subsets?
- RQ4How do model-independent Shapley values compare to model-dependent counterparts in diagnosing model-data misalignment?
- RQ5Can this approach uncover hidden biases or structural discrepancies in models, such as those related to gender in medical data?
Key findings
- Sunnies successfully detects changes in non-linear dependence structures over time in a dynamic data-generating process, attributing shifts to specific features before model performance degrades.
- In model diagnostics, Sunnies reveals that a gender-balanced model fails to capture the true dependence structure for females, even though the training data was balanced—indicating a potential bias in model representation.
- The method summarizes 240 marginal contributions from five features into five interpretable Shapley values per diagnostic metric (ADL, ADP, ADR), enabling clear visual comparison and insight extraction.
- The use of energy distance correlation, AIDC, and HSIC as characteristic functions enables detection of non-linear and non-Gaussian dependencies that linear methods may miss.
- Despite the exponential complexity of Shapley values, computational feasibility is improved by exploiting feature independence through block decomposition, reducing the number of required marginal contributions.
- The approach provides a diagnostic tool that distinguishes between data-driven dependencies (ADL) and model-driven dependencies (ADP), highlighting discrepancies that may indicate model failure or bias.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.