Feature Attribution for Dependent Variables

This direction is merged into another direction: feature independence assumption (feature correlation bias). Its last version stays readable and citable here.

Version 1 of 1158 papers181 conceptsfrozen 2026-10-04

In machine learning, the "gold standard" for explaining black-box predictions is the Shapley value. Popularized by Scott M Lundberg and Su-In Lee in A Unified Approach to Interpreting Model Predictions, this game-theoretic framework assigns "credit" to each input feature based on its contribution to a model's output.

However, a fundamental tension exists at the heart of these explanations. Most implementations assume that input features are independent—a mathematical convenience that rarely holds in the real world. When features are correlated, standard attribution methods often produce misleading results, evaluating models on "nonsense" data points that could never exist in reality.

The Independence Trap

To calculate a feature's importance, we must observe how the model's prediction changes when that feature is "missing." Since models cannot actually take missing values, we typically simulate absence by replacing the feature with a random value from the training set.

If features are independent, this works perfectly. But if features are correlated—like "Age" and "Years of Work Experience"—simply swapping one while keeping the other fixed creates impossible samples (e.g., a 20-year-old with 30 years of experience). As Christopher Frye and Damien de Mijolla argue in Shapley explainability on the data manifold, evaluating a model on these out-of-distribution points leads to "untruthful" explanations. The model might behave erratically on these impossible inputs, and the resulting attribution will reflect that noise rather than the model's actual logic on real data.

Distinguishing Correlation from Causation

When features are dependent, the question "How much does Feature A matter?" becomes ambiguous. Does it matter because the model uses it directly, or because it is a proxy for Feature B?

I. Elizabeth Kumar and colleagues highlight in Problems with Shapley-value-based explanations as feature importance measures that this creates a "dummy failure." A feature the model doesn't even use might receive high attribution simply because it is highly correlated with a predictive feature.

To solve this, researchers like Tom Heskes and Tom Claassen proposed Causal Shapley Values. By incorporating Pearl’s do-calculus, this method distinguishes between:

  1. Direct effects: The feature's intrinsic impact on the model.
  2. Indirect effects: The impact the feature has by influencing other features.

This causal lens allows for "human-like" explanations that respect the underlying structure of the data rather than treating the model as a purely statistical mapping.

The Computational Wall

Accounting for dependencies isn't just a conceptual challenge; it's a computational one. Calculating exact Shapley values is generally #P-hard. When we assume independence, we can use shortcuts to make the math tractable. When we drop that assumption, the complexity explodes.

Recent work has focused on finding "islands of tractability." Pablo Barcelo, Marcelo Arenas, and Mikaël Monet proved in The Tractability of SHAP-scores over Deterministic and Decomposable Boolean Circuits that for specific model architectures, exact scores can be computed in polynomial time. Similarly, Reda Marzouk demonstrated in On the Tractability of SHAP Explanations under Markovian Distributions that if feature correlations follow a Markovian structure, we can efficiently calculate explanations for decision trees and automata.

From Individuals to Groups

If two features are perfectly correlated, perhaps they shouldn't be explained individually. Chris Harris and Colin Rowat introduced Joint Shapley values to measure the importance of feature groups. This acknowledges that in complex systems, predictive power is often shared. Instead of forcing a choice between two inseparable variables, joint attribution provides a mathematically rigorous way to explain their collective influence.

By moving away from the simplifying assumption of independence, the field is shifting toward "distribution-aware" interpretability. Whether through causal graphs, manifold constraints, or group-based attribution, these methods aim to provide explanations that are not just mathematically elegant, but grounded in the reality of the data the models actually process.

Papers in this version

Showing 60 of 158 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_feature_attribution_for_dependent_variab_f15cf1a8,
  title = {Feature Attribution for Dependent Variables},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/feature-attribution-for-dependent-variables/rdr_f15cf1a859ee46aa8138b62b558db0eb},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_feature_attribution_for_dependent_variab_f15cf1a8_v1,
  title = {Feature Attribution for Dependent Variables},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/feature-attribution-for-dependent-variables/rdr_f15cf1a859ee46aa8138b62b558db0eb/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}