Skip to main content
QUICK REVIEW

[Paper Review] Using Shapley Values and Variational Autoencoders to Explain Predictive Models with Dependent Mixed Features

Lars Henry Berge Olsen, Ingrid K. Glad|arXiv (Cornell University)|Nov 26, 2021
Explainable Artificial Intelligence (XAI)Computer Science5 citations
TL;DR

This paper proposes a novel method using Variational Autoencoders with Arbitrary Conditioning (VAEAC) to model complex dependencies among mixed, continuous, and categorical features for accurate Shapley value estimation in interpretable machine learning. By leveraging VAEAC to capture high-dimensional feature dependencies, the approach significantly outperforms state-of-the-art methods in both low- and high-dimensional settings, especially with non-uniform masking in high dimensions.

ABSTRACT

Shapley values are today extensively used as a model-agnostic explanation framework to explain complex predictive machine learning models. Shapley values have desirable theoretical properties and a sound mathematical foundation in the field of cooperative game theory. Precise Shapley value estimates for dependent data rely on accurate modeling of the dependencies between all feature combinations. In this paper, we use a variational autoencoder with arbitrary conditioning (VAEAC) to model all feature dependencies simultaneously. We demonstrate through comprehensive simulation studies that our VAEAC approach to Shapley value estimation outperforms the state-of-the-art methods for a wide range of settings for both continuous and mixed dependent features. For high-dimensional settings, our VAEAC approach with a non-uniform masking scheme significantly outperforms competing methods. Finally, we apply our VAEAC approach to estimate Shapley value explanations for the Abalone data set from the UCI Machine Learning Repository.

Motivation & Objective

  • Address the critical challenge of explaining predictive models with dependent, mixed-type features (continuous and categorical) in high-stakes applications.
  • Overcome the limitations of existing Shapley value estimation methods that assume feature independence or use simplistic dependency models.
  • Develop a scalable, differentiable framework capable of modeling complex, high-dimensional feature dependencies for precise local model explanations.
  • Improve the accuracy and reliability of Shapley value explanations in real-world scenarios where feature dependencies are common and ignored by standard approaches.
  • Demonstrate the method’s robustness and superiority across diverse simulation settings and a real-world abalone dataset.

Proposed method

  • Propose a Variational Autoencoder with Arbitrary Conditioning (VAEAC) to model the joint distribution of all feature combinations, capturing complex dependencies in mixed-type data.
  • Use Monte Carlo sampling from the VAEAC's latent space to estimate conditional probabilities required for Shapley value computation, enabling efficient approximation of high-dimensional integrals.
  • Incorporate non-uniform masking schemes in high-dimensional settings to improve estimation efficiency and accuracy by focusing on informative feature subsets.
  • Condition the VAEAC on specific feature values to generate realistic counterfactual feature combinations for each Shapley value term, ensuring faithful representation of data dependencies.
  • Leverage the VAEAC’s generative capability to model both continuous and categorical features simultaneously, avoiding the need for separate modeling pipelines.
  • Train the VAEAC using a variational lower bound objective, enabling end-to-end optimization of the model for accurate conditional density estimation.

Experimental results

Research questions

  • RQ1How can Shapley values be accurately estimated for predictive models when features are dependent and of mixed types?
  • RQ2Can a deep generative model like a VAEAC outperform traditional statistical dependency models (e.g., copulas, vine copulas) in Shapley value estimation under feature dependence?
  • RQ3What is the impact of non-uniform masking strategies on Shapley value estimation accuracy in high-dimensional feature spaces?
  • RQ4How does the VAEAC-based approach compare to state-of-the-art methods in terms of mean absolute error and computational efficiency across diverse simulation settings?
  • RQ5Can the VAEAC framework provide reliable and interpretable explanations for real-world datasets with complex feature dependencies, such as the Abalone dataset?

Key findings

  • The VAEAC approach significantly outperforms state-of-the-art methods in terms of mean absolute error for Shapley value estimation across a wide range of simulation settings with dependent continuous and mixed features.
  • In high-dimensional settings (M=10), the VAEAC with non-uniform masking reduces estimation error more effectively than uniform masking and competing methods, demonstrating superior scalability.
  • The method achieves stable and accurate Shapley value estimates with K=250 Monte Carlo samples, balancing precision and computational cost.
  • The VAEAC model effectively captures complex, non-linear dependencies in mixed-type data, as evidenced by its ability to model conditional distributions that align with training data structure.
  • On the Abalone dataset, the VAEAC-based explanation framework provides more reliable and consistent feature importance rankings compared to independence-based or simpler dependency models.
  • The VAEAC framework is robust to varying degrees of feature dependence and maintains high estimation accuracy even under strong correlation structures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.