[Paper Review] Explaining the Predictions of Any Image Classifier via Decision Trees
This paper proposes Tree-LIME, a decision tree-based approach to explain predictions of any image classifier by generating locally faithful, interpretable models. Unlike Linear-LIME, which uses linear regression and struggles with nonlinear interactions, Tree-LIME captures complex feature interactions, achieving higher fidelity, better understandability, and faster inference in explaining deep learning models.
Despite outstanding contribution to the significant progress of Artificial Intelligence (AI), deep learning models remain mostly black boxes, which are extremely weak in explainability of the reasoning process and prediction results. Explainability is not only a gateway between AI and society but also a powerful tool to detect flaws in the model and biases in the data. Local Interpretable Model-agnostic Explanation (LIME) is a recent approach that uses an interpretable model to form a local explanation for the individual prediction result. The current implementation of LIME adopts the linear regression as its interpretable function. However, being so restricted and usually over-simplifying the relationships, linear models fail in situations where nonlinear associations and interactions exist among features and prediction results. This paper implements a decision Tree-based LIME approach, which uses a decision tree model to form an interpretable representation that is locally faithful to the original model. Tree-LIME approach can capture nonlinear interactions among features in the data and creates plausible explanations. Various experiments show that the Tree-LIME explanation of multiple black-box models can achieve more reliable performance in terms of understandability, fidelity, and efficiency.
Motivation & Objective
- To address the limitations of Linear-LIME in capturing nonlinear feature interactions and complex relationships in image classifier predictions.
- To develop a model-agnostic explanation method that enhances local faithfulness, understandability, and computational efficiency.
- To provide interpretable, human-readable explanations of black-box image classifiers using decision trees over superpixel-based representations.
- To evaluate the performance of Tree-LIME against Linear-LIME across diverse image classification models and datasets.
- To demonstrate that decision trees can outperform linear models in fidelity and interpretability for local explanation of deep learning predictions.
Proposed method
- The method uses superpixel-based image representations to create a local, interpretable input space for the classifier's prediction.
- It trains a regression decision tree (CART) on perturbed samples around a given input to model the local behavior of the black-box classifier.
- The decision tree captures nonlinear interactions between image features (superpixels) and prediction probabilities, enabling hierarchical, rule-based explanations.
- Feature importance is computed via the Gini impurity reduction, quantifying the contribution of each superpixel to prediction variance.
- Local fidelity is measured by the prediction error between the black-box model and the Tree-LIME surrogate model on the local neighborhood.
- The approach is model-agnostic and can be applied to any pre-trained image classifier, including random forests and Inception networks.
Experimental results
Research questions
- RQ1Can a decision tree-based surrogate model improve local fidelity compared to linear models in explaining image classifier predictions?
- RQ2Does Tree-LIME provide more intuitive and understandable explanations than Linear-LIME due to its ability to model nonlinear interactions?
- RQ3How does the computational efficiency of Tree-LIME compare to Linear-LIME in terms of explanation generation time?
- RQ4To what extent can Tree-LIME capture feature interactions in image data that linear models fail to represent?
- RQ5Does Tree-LIME maintain high fidelity while reducing explanation complexity and improving interpretability across diverse image classification tasks?
Key findings
- Tree-LIME achieved a prediction error of 0.0476 on the Inception model for the 'lamp' class, significantly lower than Linear-LIME’s error of 0.1479, indicating higher local fidelity.
- On the MNIST dataset, Tree-LIME achieved a prediction error of 0.0, outperforming Linear-LIME’s error of 0.0529, demonstrating superior fidelity in local approximation.
- Tree-LIME explanation generation was faster, with a runtime of 0.0060s for the 'lamp' class on Inception, compared to Linear-LIME’s 0.0289s, showing improved efficiency.
- The decision tree structure revealed that feature 0 (importance 0.9416) and feature 3 (importance 0.0402) were the most influential in predicting 'seven' in MNIST, providing clear, interpretable insights.
- Tree-LIME captured nonlinear interactions between features, such as the joint presence of superpixels 28, 22, and 30, which collectively increased prediction probability to 0.991 for 'African chameleon'.
- The use of decision trees enabled more intuitive, hierarchical explanations that are easier for humans to interpret than linear coefficient-based explanations.
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.