paper-with-me

Papers

GPUTreeShap: Massively Parallel Exact Calculation of SHAP Scores for Tree Ensembles

2020-10-27 · Rory Mitchell, Eibe Frank, Geoffrey Holmes

SHAP (SHapley Additive exPlanation) values provide a game theoretic interpretation of the predictions of machine learning models based on Shapley values. While exact calculation of SHAP values is computationally intractable in general, a recursive polynomial-time algorithm called TreeShap is available for decision tree models. However, despite its polynomial time complexity, TreeShap can become a significant bottleneck in practical machine learning pipelines when applied to large decision tree ensembles. Unfortunately, the complicated TreeShap algorithm is difficult to map to hardware accelerators such as GPUs. In this work, we present GPUTreeShap, a reformulated TreeShap algorithm suitable for massively parallel computation on graphics processing units. Our approach first preprocesses each decision tree to isolate variable sized sub-problems from the original recursive algorithm, then solves a bin packing problem, and finally maps sub-problems to single-instruction, multiple-thread (SIMT) tasks for parallel execution with specialised hardware instructions. With a single NVIDIA Tesla V100-32 GPU, we achieve speedups of up to 19x for SHAP values, and speedups of up to 340x for SHAP interaction values, over a state-of-the-art multi-core CPU implementation executed on two 20-core Xeon E5-2698 v4 2.2 GHz CPUs. We also experiment with multi-GPU computing using eight V100 GPUs, demonstrating throughput of 1.2M rows per second -- equivalent CPU-based performance is estimated to require 6850 CPU cores.

📄 PDF Abstract BibTeX arXiv:2010.13972

Code (4)

rapidsai/gputreeshap 공식 구현
shap/shap tf
slundberg/esvalues tf
slundberg/shap tf

Tasks

BIG-bench Machine LearningCPUGPU

Methods 이 논문이 사용한 방법론

SHAP 설명 없음

Similar Papers 제목 키워드 기반

Massively Parallel Exact Inference for Hawkes Processes

2026-04-01 · Ahmer Raza, Hudson Smith arxiv

Multivariate Hawkes processes are a widely used class of self-exciting point processes, but maximum likelihood estimation naively scales as $O(N^2)$ in the number of events. The canonical linear exponential Hawkes proces…

Point Processes

Exact Discrete Stochastic Simulation with Deep-Learning-Scale Gradient Optimization

2026-02-23 · Jose M. G. Vilar, Leonor Saiz arxiv

Exact stochastic simulation of continuous-time Markov chains (CTMCs) is essential when discreteness and noise drive system behavior, but the hard categorical event selection in Gillespie-type algorithms blocks gradient-b…

Massively Parallel Algorithms and Hardness for Single-Linkage Clustering under $\ell_p$ Distances

2018-07-01 · ICML 2018 7 · Grigory Yaroslavtsev, Adithya Vadapalli

We present first massively parallel (MPC) algorithms and hardness of approximation results for computing Single-Linkage Clustering of n input d-dimensional vectors under Hamming, $\ell_1, \ell_2$ and $\ell_\infty$ d…

Clustering

Scalable and Distributed Silhouette Approximation

2026-07-02 · Ilie Sarpe, Federico Altieri, Andrea Pietracaprina, Geppino Pucci 외 arxiv

The silhouette is one of the most widely used measures to assess the quality of a $k$-clustering of a dataset of $n$ elements. Its evaluation requires no information beyond the clustering assignment. In addition, the sil…

Rapid Exact Signal Scanning with Deep Convolutional Neural Networks

2015-08-27 · Markus Thom, Franz Gritschneder

A rigorous formulation of the dynamics of a signal processing scheme aimed at dense signal scanning without any loss in accuracy is introduced and analyzed. Related methods proposed in the recent past lack a satisfactory…