[Paper Review] A Modified Perturbed Sampling Method for Local Interpretable Model-agnostic Explanation
This paper proposes MPS-LIME, a modified perturbed sampling method for Local Interpretable Model-agnostic Explanation (LIME) that models feature correlations in image data by converting superpixels into an undirected graph and formalizing sampling as a clique set construction problem. Experiments show MPS-LIME achieves significantly higher fidelity (R² ≈ 0.9), better predictive accuracy (MAE ↓ 80%), and faster runtime (≈50% reduction) than standard LIME on Inception and random forest models.
Explainability is a gateway between Artificial Intelligence and society as the current popular deep learning models are generally weak in explaining the reasoning process and prediction results. Local Interpretable Model-agnostic Explanation (LIME) is a recent technique that explains the predictions of any classifier faithfully by learning an interpretable model locally around the prediction. However, the sampling operation in the standard implementation of LIME is defective. Perturbed samples are generated from a uniform distribution, ignoring the complicated correlation between features. This paper proposes a novel Modified Perturbed Sampling operation for LIME (MPS-LIME), which is formalized as the clique set construction problem. In image classification, MPS-LIME converts the superpixel image into an undirected graph. Various experiments show that the MPS-LIME explanation of the black-box model achieves much better performance in terms of understandability, fidelity, and efficiency.
Motivation & Objective
- To address the limitation of standard LIME’s uniform random sampling, which ignores feature correlations in image data.
- To improve the fidelity and understandability of local model explanations by incorporating spatial correlations among superpixels.
- To enhance computational efficiency by reducing the number of ineffective perturbed samples.
- To formalize perturbed sampling as a clique set construction problem on a superpixel graph for better local model fitting.
- To demonstrate the method’s superiority across multiple black-box models, including Inception and random forest classifiers.
Proposed method
- Convert input images into superpixel representations to create an interpretable, low-dimensional feature space.
- Construct an undirected graph from superpixels, where vertices represent superpixels and edges connect spatially adjacent superpixels.
- Formulate the perturbed sampling operation as finding maximal cliques (subsets of mutually connected vertices) in the graph.
- Generate perturbed samples by activating entire cliques rather than randomly selecting individual superpixels.
- Fit a local linear model on the clique-based perturbations to explain the black-box model’s prediction.
- Use the resulting explanation model to assign feature importance weights based on coefficients from the local surrogate model.
Experimental results
Research questions
- RQ1Can modeling feature correlations in image data improve the fidelity of LIME-based explanations?
- RQ2Does clique-based sampling reduce the number of unrealistic perturbed samples compared to uniform random sampling?
- RQ3Can the proposed method improve the efficiency of local explanation without sacrificing accuracy?
- RQ4How does MPS-LIME compare to standard LIME in terms of predictive fidelity and runtime on real-world image classifiers?
- RQ5Can the clique-based sampling approach generalize to other model-agnostic explanation methods?
Key findings
- MPS-LIME achieved an average R² score of 0.9 on the Inception model, significantly higher than LIME’s average of 0.65, indicating superior fidelity in explaining black-box predictions.
- The mean absolute error (MAE) of MPS-LIME was reduced by approximately 80% compared to LIME, with MAE values dropping from 0.35 to 0.015 on average.
- Runtime for MPS-LIME was reduced to approximately 50% of LIME’s time, with average execution times of 120ms vs. 230ms across six test images.
- In all test cases, MPS-LIME produced more accurate and stable probability predictions, with predicted probabilities closer to the true Inception model outputs.
- Visual explanations from MPS-LIME highlighted more semantically coherent and relevant superpixel regions, improving interpretability.
- The method demonstrated consistent performance gains across diverse image classes, including chameleons, butterflies, and castles, confirming robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.