← Latest papers
🤖 AI

PolySHAP: Extending KernelSHAP with Interaction-Informed Polynomial Regression

This paper introduces PolySHAP, a method that extends KernelSHAP by using higher-degree polynomial regression to better capture feature interactions, while also providing the first theoretical proof that paired sampling is equivalent to second-order PolySHAP, thereby justifying its empirical success.

Original authors: Fabian Fumagalli, R. Teal Witter, Christopher Musco

Published 2026-05-14
📖 5 min read🧠 Deep dive

Original authors: Fabian Fumagalli, R. Teal Witter, Christopher Musco

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Why Do We Need This?

Imagine you have a complex machine (like a machine learning model) that makes a prediction, such as "This loan should be approved" or "This image is a cat." You want to know why. Which specific features (like income, age, or pixel colors) contributed most to that decision?

In the world of AI, we use a mathematical tool called Shapley Values to answer this. Think of Shapley Values as a way to fairly split a "reward" (the prediction) among a team of players (the features) based on how much each one helped the team win.

The Problem:
Calculating the exact Shapley Value is like trying to count every single possible combination of players on a sports team to see who matters most. If you have 10 features, there are over 1,000 combinations. If you have 20 features, there are over a million. It takes too long to check them all.

The Current Solution (KernelSHAP):
The current popular method, called KernelSHAP, is like a smart shortcut. Instead of checking every combination, it picks a few random groups of players, sees how they perform, and then draws a straight line through the data to guess the rest. It assumes the relationship between features is simple and additive (like adding ingredients to a cake: 1 cup of sugar + 2 cups of flour = a specific taste).

The Limitation:
Real life isn't always a straight line. Sometimes, ingredients interact in weird ways. Maybe sugar and flour together make a cake, but sugar alone does nothing, and flour alone is just dust. A straight line can't capture that "magic combination" (interaction).


The New Solution: PolySHAP

The authors introduce PolySHAP. Instead of drawing a straight line through the data, PolySHAP draws a curved, wiggly line (a polynomial).

  • The Analogy: Imagine you are trying to predict the height of a plant based on sunlight and water.
    • KernelSHAP (Linear): Assumes that more sun always equals more height, and more water always equals more height, and they just add up.
    • PolySHAP (Polynomial): Realizes that maybe the plant only grows tall if it gets both sun and water together. It captures that "interaction."

By using these curved lines, PolySHAP can understand that features sometimes work better together than apart. The paper proves that this method gives a more accurate "fair split" of the prediction than the old straight-line method.


The "Magic Trick": Paired Sampling

The paper also investigates a popular trick used in the old method called Paired Sampling.

  • The Trick: Instead of just picking random groups of players, you pick a group (e.g., {Sun, Water}) and immediately pick its opposite (e.g., {No Sun, No Water}). You always look at them in pairs.
  • The Mystery: Everyone knew this trick made the results better, but nobody knew why it worked so well mathematically.

The Paper's Discovery:
The authors proved a surprising connection: Paired Sampling is actually doing the exact same thing as PolySHAP with a specific type of curve (a 2nd-degree polynomial), even though it never actually draws the curve.

  • The Metaphor: It's like a magician who makes a rabbit appear. Everyone thought the magician was just pulling a rabbit out of a hat (a lucky guess). The authors proved that the magician was actually using a hidden mechanical trapdoor (the 2nd-degree polynomial logic) to make the rabbit appear.
  • The Result: This explains why the "Paired Sampling" trick has been so successful for years. It was secretly capturing those "interaction" effects all along, just without the extra math cost of drawing the curve.

What Did They Actually Find?

  1. Better Accuracy: When they tested PolySHAP on various datasets (like predicting house prices, diagnosing diseases, or identifying images), it consistently gave more accurate explanations than the standard method, especially when they allowed the math to look at more complex interactions (like 3-way or 4-way combinations of features).
  2. The "Free" Upgrade: They showed that if you use the "Paired Sampling" trick with the old method, you get the same accuracy as the new "2nd-degree" PolySHAP method, but you don't have to do the extra work of fitting the curve.
  3. When to Use What:
    • If you just want a quick, decent answer, the old method with Paired Sampling is great.
    • If you need the most accurate answer and have the computing power, using PolySHAP with higher-degree curves (looking at 3 or 4 features interacting at once) is the winner.

Summary

The paper introduces PolySHAP, a new way to explain AI decisions that looks for "teamwork" between features, not just individual contributions. It proves that a popular shortcut called Paired Sampling was secretly doing the heavy lifting of this new method all along. Essentially, they gave us a better map for navigating the complex interactions inside AI models and explained why a specific compass (Paired Sampling) has been pointing the right way all this time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →