Enhancing SHAP With Multi-Core Parallelization and Distributed Computation

In recent years, the adoption of complex machine learning algorithms, often perceived as “black box” models, has grown exponentially across various disciplines. However, the lack of understanding regarding how these models come to their predictions often fosters skepticism and mistrust. In response to the demand for transparency and interpretability, Explainable AI techniques, such as SHapley Additive exPlanations (SHAP), have emerged as powerful tools for comprehending and trusting these algorithms. However, SHAP has an exponential computational demand O( x2 ), where x is the number of features. This becomes increasingly problematic with the larger datasets standard in most industries. Many frameworks have aimed to reduce the computation time to address the tractability of SHAP but have achieved limited results. A recently released package, auto-shap, integrates multicore parallelization into the SHAP framework to leverage multiple CPU cores in the computation of marginal feature attributions. This study aims to benchmark this framework using a large dataset and a virtual machine(VM) to evaluate its viability in mitigating the computational load of SHAP calculations. The benchmarking focuses on feature expansion, row expansion, and core expansion across the 16 cores of the VM. Preliminary results show promising improvements: at 10 features a performance increase of blank percentage was observed, and the framework could handle the entire feature set of 54, whereas Kernel SHAP and Tree SHAP became intractable after 15 features and 100,000 observations.

Publication Details

Journal
SMU Scholar (Southern Methodist University)
Published
2024-09-04
Citations
1
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing SHAP With Multi-Core Parallelization and Distributed Computation

1 citations
SMU Scholar (Southern Methodist University)
Explainable Artificial Intelligence (XAI)
0.35
article

Enhancing SHAP With Multi-Core Parallelization and Distributed Computation

article en
1 citations

Abstract

In recent years, the adoption of complex machine learning algorithms, often perceived as “black box” models, has grown exponentially across various disciplines. However, the lack of understanding regarding how these models come to their predictions often fosters skepticism and mistrust. In response to the demand for transparency and interpretability, Explainable AI techniques, such as SHapley Additive exPlanations (SHAP), have emerged as powerful tools for comprehending and trusting these algorithms. However, SHAP has an exponential computational demand O( x2 ), where x is the number of features. This becomes increasingly problematic with the larger datasets standard in most industries. Many frameworks have aimed to reduce the computation time to address the tractability of SHAP but have achieved limited results. A recently released package, auto-shap, integrates multicore parallelization into the SHAP framework to leverage multiple CPU cores in the computation of marginal feature attributions. This study aims to benchmark this framework using a large dataset and a virtual machine(VM) to evaluate its viability in mitigating the computational load of SHAP calculations. The benchmarking focuses on feature expansion, row expansion, and core expansion across the 16 cores of the VM. Preliminary results show promising improvements: at 10 features a performance increase of blank percentage was observed, and the framework could handle the entire feature set of 54, whereas Kernel SHAP and Tree SHAP became intractable after 15 features and 100,000 observations.

SMU Scholar (Southern Methodist University)
Openalex Percentile: Top 28%
Explainable Artificial Intelligence (XAI)
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.