English

Efficient Shapley Performance Attribution for Least-Squares Regression

Computation 2024-09-11 v5

Abstract

We consider the performance of a least-squares regression model, as judged by out-of-sample R2R^2. Shapley values give a fair attribution of the performance of a model to its input features, taking into account interdependencies between features. Evaluating the Shapley values exactly requires solving a number of regression problems that is exponential in the number of features, so a Monte Carlo-type approximation is typically used. We focus on the special case of least-squares regression models, where several tricks can be used to compute and evaluate regression models efficiently. These tricks give a substantial speed up, allowing many more Monte Carlo samples to be evaluated, achieving better accuracy. We refer to our method as least-squares Shapley performance attribution (LS-SPA), and describe our open-source implementation.

Keywords

Cite

@article{arxiv.2310.19245,
  title  = {Efficient Shapley Performance Attribution for Least-Squares Regression},
  author = {Logan Bell and Nikhil Devanathan and Stephen Boyd},
  journal= {arXiv preprint arXiv:2310.19245},
  year   = {2024}
}

Comments

36 pages, 5 figures

R2 v1 2026-06-28T13:05:27.110Z