mlsanityData to 24 Nov 2026

When Feature Representation Changes Local Explanations: A Controlled Comparison of SHAP and LIME under Numerical Discretization

arXiv 2611.21159 ↗Submitted 16 Nov 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Local feature attributions are computed over a feature representation chosen by an upstream data-engineering step, yet they are read as statements about the underlying quantity. We ask how discretizing one continuous feature changes local KernelSHAP and LIME explanations when the classifier is held fixed, and whether the two explainers respond differently. A random forest is trained on UCI Adult and frozen; age is collapsed onto equi-width or quantile bin representatives (k in {3,5,10}) before the model receives it, and the same 120 held-out instances are explained in every condition across multiple seeds. We show analytically and numerically that for KernelSHAP this is exactly equivalent to explaining the unchanged model at the quantized instance against a quantized background, so the comparison is between two effective inputs rather than a pure explainer effect; for LIME no such equivalence holds. Each attribution change is compared with a seed-noise floor from re-running the explainer on the unchanged condition. KernelSHAP's age attribution exceeds its noise floor in all 6 pre-specified conditions (median ratios 2.4-59, all significant after Holm correction); on the raw scale LIME's exceeds its floor in only 2 of 6 and in the rest is no larger than its own run-to-run variation. SHAP's normalized change exceeds LIME's in every condition (rank-biserial 0.81-1.00), while LIME is 2.5-4.6x less consistent across repeats. Predicted classes change for only 0.8-5.8% of instances and held-out ROC-AUC never falls below 0.9097, yet 45-94% of instances show a large SHAP attribution change with no class flip. Feature-importance rankings barely move (median Spearman >= 0.979, top-3 overlap 1.00). The representation change and the change in effective input cannot be separated within a frozen-model design.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 11 of its 15 references that are in the map. Submitted 16 Nov 2026.

Builds on

11 of 15 references.

References · 11

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,783
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,156
  3. 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 465
  4. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 458
  5. 2018On the Robustness of Interpretability Methodscited by 332
  6. 2019On the (In)fidelity and Sensitivity for Explanationscited by 321
  7. 2019Explaining individual predictions when features are dependent: More accurate approximations to Shapley valuescited by 222
  8. 2022The Disagreement Problem in Explainable Machine Learning: A Practitioner's Perspectivecited by 177
  9. 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 162
  10. 2020True to the Model or True to the Data?cited by 139
  11. 2025SHAP-based Explanations are Sensitive to Feature Representationcited by 7

Built on by

Not cited yet.