Abstract
The Shapley Additive Global Importance (SAGE) value is a theoretically appealing interpretability method that fairly attributes global importance to a model’s surplus performance contributions over an exponential number of feature sets. This is computationally expensive, particularly because estimating the surplus contributions requires sampling from conditional distributions. Thus, SAGE approximation algorithms only take a fraction of the feature sets into account. We propose d-SAGE, a method that accelerates SAGE approximation. d-SAGE is motivated by the observation that conditional independencies (CIs) between a feature and the model target imply zero surplus contributions, such that their computation can be skipped. To identify CIs, we leverage causal structure learning (CSL) to infer a graph that encodes (conditional) independencies in the data as d-separations. This is computationally more efficient because the expense of the one-time graph inference and the d-separation queries is negligible compared to the expense of surplus contribution evaluations. Empirically we demonstrate that d-SAGE enables the efficient and accurate estimation of SAGE values.
Introduction
In the quest for interpretable AI, SAGE (Shapley Additive Global Importance) values have emerged as a "gold standard" for global feature importance. Unlike simpler methods, SAGE fairly attributes a model's total predictive performance across all features while accounting for complex data dependencies. However, SAGE faces a significant "efficiency wall." Calculating it exactly requires evaluating a feature's "surplus contribution" across every possible subset of other features—an exponential task. Even with approximation via sampling, each evaluation requires estimating conditional expectations, which is computationally grueling. Consequently, SAGE is often too slow for high-dimensional datasets or complex models.
Methodology
The proposed method, d-SAGE, leverages the sparsity of real-world data dependencies to optimize these calculations. The core theoretical insight is that if a feature $X_j$ is conditionally independent of the target $Y$ given a subset of features $X_S$, its surplus contribution to the model's performance is exactly zero.
The d-SAGE pipeline consists of three main stages:
- Causal Structure Learning (CSL): The algorithm first learns a Directed Acyclic Graph (DAG) from the data. This graph serves as a map of the dependency structure. Algorithms like TABU search or Hill-Climbing are typically used for this one-time overhead.
- d-Separation Queries: During the SAGE approximation process, the algorithm evaluates various feature coalitions. For each coalition, d-SAGE performs a "d-separation" query on the learned graph—a fast check to determine if the feature is conditionally independent of the target given the coalition.
- Smart Skipping: If the query indicates independence, the expensive conditional sampling step is skipped, and a contribution of zero is recorded. Otherwise, the standard calculation proceeds.
Experimental Evaluation
The authors evaluated d-SAGE using both synthetic and real-world datasets. Synthetic data involved 12 different DAGs (ranging from 10 to 100 nodes) with varying average degrees (2, 3, and 4) to generate linear Gaussian data. Real-world testing was conducted on the UCI Drug Consumption dataset, predicting nicotine consumption based on 12 explanatory variables.
As shown in Figure 2, the F1 score for identifying dependencies improves with sample size, while the runtime increases. Crucially, the graph learning phase remains a small fraction of the total time required for standard SAGE as the number of evaluations grows.
Results and Discussion
The primary advantage of d-SAGE is its efficiency. The runtime reduction is approximately proportional to the frequency of conditional independencies in the data. In the drug dataset, d-SAGE skipped 38% of evaluations.
Importantly, this speedup does not come at the cost of accuracy. Figure 5 demonstrates that d-SAGE values converge to the same importance values as standard SAGE. The "skipped" values were empirically shown to be near zero, validating the theoretical foundation.
The method is robust; even if the learned graph is not perfect, as long as it is a "minimal I-Map" (not falsely claiming independence), the estimates remain unbiased. While the theory assumes an optimal predictor, experiments with Random Forests showed that d-SAGE remains effective for common sub-optimal models.
Conclusion
d-SAGE offers a scalable path for global model interpretability by integrating causal structure learning with Shapley value estimation. By identifying and skipping zero-contribution feature subsets, it achieves significant speedups. Future work may explore combining d-SAGE with advanced permutation sampling techniques and relaxing causal sufficiency assumptions to handle unobserved confounders.
Summary updated