- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes PKeX-Shapley, an exact Shapley attribution method for product-kernel models. The method defines feature removal by replacing the corresponding kernel factor with the multiplicative identity, i.e., one, and then computes Shapley values for the functional-decomposition value function induced by this removal operation. By exploiting the multiplicative product-kernel structure and elementary symmetric polynomial recurrences, the method computes all feature attributions for observations in time. The paper also extends the same idea to kernel-based statistical quantities, in particular MMD for distribution discrepancy and HSIC for dependence analysis. The experiments compare the exact computation with sampling-based approximations and include applications to synthetic feature recovery, MMD attribution, and HSIC-based feature selection.
Strengths and weaknesses
Strengths
-
Natural product-kernel value function. The paper identifies a natural model-specific removal operation for product-kernel methods: replacing absent kernel factors by the multiplicative identity. This gives a clean value function for product-kernel models that does not require sampling, density estimation, or background distributions. The resulting functional-decomposition view is a reasonable way to explain this particular class of models.
-
Useful exact computation. The main algorithmic contribution is useful. The marginal contribution of feature factorizes into a feature-specific term and an elementary symmetric polynomial over the remaining kernel factors. The prefix-suffix dynamic programming construction gives an explicit way to compute all feature attributions exactly in time, which is much better than the naive computation.
-
Extensions beyond prediction. The extensions to MMD and HSIC are a nice aspect of the paper. They show that the product-kernel Shapley idea can be used not only for predictive model explanation, but also for decomposing distribution discrepancy and dependence measures across variables. This broadens the potential use of the method.
Weaknesses
-
Scope of the exactness claim. PKeX-Shapley exactly computes Shapley values for the value function induced by neutral-factor removal, not for standard interventional or observational SHAP value functions. This is a valid model-specific attribution target, but the paper should make this scope very explicit throughout. The practical interpretation of replacing a feature's kernel factor by one can differ substantially from conditional or interventional feature removal, especially under correlated features.
-
Specialized product-kernel setting. The method relies heavily on multiplicative kernel factorization. This includes important kernels such as RBF kernels, but excludes many kernels or representation-learning models with more flexible feature interactions. The paper would benefit from a clearer discussion of how common and practically sufficient this product-kernel assumption is in modern kernel learning pipelines.
-
Scaling and memory for MMD/HSIC. Although is favorable compared with , the prefix-suffix tables store vector-valued quantities, so memory can become large when both and are large. The MMD and HSIC extensions are potentially more demanding because they involve pairwise samples or kernel matrices. The main text should state the precise time and memory complexity of these extensions more explicitly.
-
Empirical evidence is suggestive but limited. The experiments show that exact computation avoids sampling error and can help in several synthetic or kernel-statistical tasks. However, several experiments compare exact PKeX-Shapley against approximations to the same value function, which mainly demonstrates estimator error rather than broader explanatory usefulness. More direct evidence about when the neutral-factor value function gives better or more faithful explanations than standard alternatives would strengthen the paper.
Questions
-
At what level should PKeX-Shapley be compared with TreeSHAP? If they are not directly comparable, what is the precise reason? If they are comparable algorithmically, can you provide runtime, memory, and numerical-stability experiments on the same product-kernel value function?
-
What part of the ESP prefix-suffix algorithm is algorithmically distinct from existing exact methods for multiplicative value functions?
-
How should users interpret PKeX-Shapley under correlated features, where neutral-factor removal differs from conditional SHAP?
-
What are the exact time and memory complexities of the MMD and HSIC extensions, including the cost of pairwise kernel matrices?
-
How sensitive are the attributions to kernel hyperparameters such as bandwidths or ARD length scales?
Limitations
yes
Paper formatting concerns
none
Final justification
The rebuttal addressed my practical scalability concerns through a concrete time and memory analysis, an exact blockwise implementation, and additional real-world experiments. The authors also clarified the scope and interpretation of the proposed value function. However, the method remains specialized to product kernels and this particular attribution target, and its broader explanatory utility remains less fully established. Considering the technical soundness of the work, the rebuttal, and the assessments of the other reviewers and AC, I believe the strengths now slightly outweigh the remaining limitations, and I therefore increase the rating from 3 to 4.
We thank the reviewer for their thoughtful and constructive feedback. Due to the character limit, we refer to responses to Reviewer fyfe for time/memory complexity of HSIC/MMD, and to Reviewer pd8U for additional experiments.
1. Scope of exactness
We thank the reviewer for the comment. We will provide more context on the limitation of the value function in the Introduction, so that this will be even clearer to the readers. We also add a discussion to the Limitation paragraph in Section 6.
2. Memory Complexity
We thank the reviewers for raising this important point. We agree that, in addition to computational complexity, the memory complexity of PKeX-Shapley should also be discussed. Upon further investigation, we realised that the reported O(nd2) memory requirement is not intrinsic to the algorithm.
The ESP recursions are computed independently across kernel centres: the contribution associated with each kernel centre depends only on its d kernel factors and does not interact with the ESP quantities of other centres (see, e.g., Equation (3)). This observation allows the active kernel centres to be partitioned into blocks of size B. For each block, we compute the corresponding prefix–suffix ESP quantities, contract them with the associated model coefficients, and accumulate the resulting d-dimensional partial Shapley contribution. The intermediate quantities are then discarded before processing the next block.
This blockwise implementation remains exact and preserves the overall O(nd2) time complexity, since every active kernel centre is still processed exactly once. However, it reduces the auxiliary working memory from O(nd2) to O(Bd2). Furthermore, kernel predictions often depend on only a subset of the training data. For support vector machines, only the support vectors have non-zero coefficients and therefore contribute to the explanation. In practice, n can thus be replaced by the number of support vectors, which is frequently much smaller than the full training set.
To evaluate the practical impact of this optimisation, we implemented the blockwise algorithm and benchmarked it on real-world datasets. For each dataset, we trained an RBF-SVR using at most 4,000 training instances and compared the original fully materialized implementation against the exact blockwise implementation with block size B=256. We report the mean per-instance explanation time and peak memory usage over 30 explanation calls, measuring only the explanation routine and excluding model training and other wrapper overhead.
As shown in Table blow, the blockwise implementation produces identical Shapley values while reducing peak memory consumption by up to 8.9\times. The largest savings occur for models with many support vectors and high-dimensional feature spaces, where the original implementation stores the largest number of intermediate ESP quantities. The reduction in memory comes at the cost of a modest increase in runtime, as the kernel factors must be processed sequentially across multiple blocks. When the number of support vectors is already small, the memory savings are naturally less pronounced, and the runtime overhead is correspondingly minimal.
We further refer to the response to Reviewer fyfe for the time and memory complexity of HSIC.
3. Comparison with treeSHAP
TreeSHAP and PKeX-Shapley both exploit a multiplicative value-function structure, but they target different games. TreeSHAP's multiplicative structure is over the nodes along a tree's root-to-leaf paths and explains a tree ensemble; our product kernel factorizes directly over the dd d input features and explains a product-kernel model. They are therefore not comparable as attribution targets, only at the level of the algorithmic technique (using elementary-symmetric-polynomial recursions or interpolation to avoid 2d enumeration).
4. What part of ESP is algorithmically distinct
The main algorithmic novelty is the ESP formulation in Eq. (3), together with the coupled prefix and weighted-suffix recursions in Propositions 4–5. These recursions reuse intermediate quantities across features and compute all d Shapley values jointly in O(nd2), instead of independently repeating the single-feature computation. Related multiplicative value functions, including those underlying Linear TreeSHAP, are handled using polynomial interpolation and division.
5. PKeX-Shapley under correlated features
Under correlated features, PKeX-Shapley should be interpreted as a model-based rather than dependence-aware attribution. Neutral-factor removal measures the direct functional contribution of each kernel factor while leaving the remaining factors unchanged; it does not use the joint feature distribution. Therefore, if correlated features both enter the model, they receive credit according to their respective functional contributions, but a feature is not credited merely because it is correlated with another feature used by the model.
This distinction reflects the “indirect influence” debate discussed by Gevaert and Saeys in Section 5.3. In their controlled Gaussian example in Section 5.3.1, conditional SHAP assigns nonzero importance to a feature not used by the model solely because it is correlated with an influential feature. As emphasized in their framework, neither removal operator is universally correct: they answer different explanatory questions. PKeX-Shapley is appropriate for explaining the model’s internal functional dependence, whereas conditional SHAP is preferable when users wish to include dependence-mediated influence. We will make this interpretation explicit in the revised paper.
To evaluate whether feature importance is shared fairly between highly redundant variables, we extend the planted-feature experiment (see the response to Reviewer pd8U), and extend the real dataset by copying the two most important original features and adding a small amount of Gaussian perturbation. We consider each original feature together with its planted near-duplicate and compute the proportion of the pair’s combined absolute attribution assigned to the original feature: \frac{|\phi_{\text{original}}|} {|\phi_{\text{original}}| + |\phi_{\text{duplicate}}|}. A value of approximately 0.5 indicates that the two features receive equal attribution, as expected when they encode nearly identical information.
The following summarises the results. Across all datasets, PKeX-Shapley produces original-feature shares ranging from 0.473 to 0.627, remaining consistently close to the ideal value of 0.5. Compared with RKHS-SHAP, PKeX-Shapley yields estimates that are systematically closer to an equal attribution split, outperforming RKHS-SHAP on every dataset. These results indicate that the proposed value function distributes attribution more symmetrically among highly redundant features.
6. Sensitivity to ARD
PKeX-Shapley is a post-hoc explanation method applied after model training. Kernel hyperparameters, including bandwidths and ARD length scales, are learned or selected during training and remain fixed during attribution; PKeX-Shapley introduces no additional hyperparameters. Naturally, retraining the model with different kernel parameters may change the attributions because it changes the underlying predictive model, but this sensitivity belongs to the model-training stage rather than the explanation algorithm.