# Amortized Linear-time Exact Shapley Value for Product-Kernel Methods

*Majid Mohammadi, Siu Lun, Krikamol Muandet*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149276) · [OpenReview](https://openreview.net/forum?id=rWupQhgBV4) · [Open on the map](../papers.html#p149276)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Shapley Value Estimation and Attribution](../pgroup/473.md) · Type: new method · Keywords: Shapley value, kernel methods, exact computation, amortized linear time, model explainability

Areas: [Interpretability](../areas/interpretability.md) › Model Explanations › Model explanations

## Summary
PKeX-Shapley computes exact Shapley values for product-kernel methods in amortized linear time, providing a stable, parameter-free attribution framework for kernel models.

## Explained to a 5-year-old
We have a way to figure out which parts of a computer model are most important. The model works like a recipe that mixes ingredients (features) together. By removing one ingredient at a time, we can see how much that ingredient helped the result. This makes the model easier to understand and trust. It helps people use the model safely in important things like doctors' decisions.

## Explained to a 5-year-old, longer
A computer program can make predictions, like guessing what a picture shows. Sometimes we want to know why it made that guess. The program looks at many pieces of information, called features. Each feature is like a clue that helps the program decide. The new idea is a way to measure how important each clue is. It does this by temporarily removing one clue and seeing how the prediction changes. Because the clues are combined in a special way, the math works out exactly. This means we get the right answer without guessing. The method works fast, so it can handle many clues without taking a long time. It also works for other tasks, like checking if two groups of data are similar. All of this helps people trust the computer program more. In the end, it makes using computer models safer in important areas like health care.

## For a technical reader
The method exploits the multiplicative nature of product kernels to define a removal operator that replaces a feature's kernel factor with the identity, creating a parameter-free value function. Shared recursive formulations then compute all feature attributions together, achieving amortized linear time per feature. This yields exact Shapley values without sampling or density estimation, extending naturally to discrepancy measures like MMD and HSIC. The result is a stable, efficient attribution tool for kernel models.

## Problem
Exact Shapley value computation for flexible kernel models is computationally infeasible, forcing reliance on approximate methods that introduce estimation error and limit reliable explainability.

## Method
The approach leverages the multiplicative structure of product kernels to define a removal operator that replaces a feature's kernel factor with the identity, yielding a parameter-free value function. Using this operator, shared recursive formulations compute all feature attributions jointly, achieving amortized linear time per feature with numerical stability.

## Contributions
The paper provides a distribution-free removal operator that defines a parameter-free value function for product kernels, enabling exact Shapley value computation in quadratic time. It also extends the framework to kernel-based discrepancy measures like MMD and HSIC, offering interpretable statistical analysis tools.

## Practical relevance
Enables reliable, exact attribution for kernel models, facilitating their safe deployment in high-stakes domains such as healthcare and finance.

## Research questions this paper is counted under

- [How can we compute Shapley values efficiently and accurately for large-scale machine learning models?](../q/313.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149276)
