[Paper Review] Deletion and Insertion Tests in Regression Models
This paper extends insertion and deletion tests—originally for image classification—to regression models, deriving analytical expressions for area under the curve (AUC) and area above the curve (ABC) in terms of main effects and interactions via anchored decomposition. It finds that Integrated Gradients (IG) performs nearly as well as Kernel SHAP (KS) in feature importance ranking but is significantly faster, especially on binary variables where IG requires interpolation between discrete levels.
A basic task in explainable AI (XAI) is to identify the most important features behind a prediction made by a black box function $f$. The insertion and deletion tests of Petsiuk et al. (2018) can be used to judge the quality of algorithms that rank pixels from most to least important for a classification. Motivated by regression problems we establish a formula for their area under the curve (AUC) criteria in terms of certain main effects and interactions in an anchored decomposition of $f$. We find an expression for the expected value of the AUC under a random ordering of inputs to $f$ and propose an alternative area above a straight line for the regression setting. We use this criterion to compare feature importances computed by integrated gradients (IG) to those computed by Kernel SHAP (KS) as well as LIME, DeepLIFT, vanilla gradient and input$ imes$gradient methods. KS has the best overall performance in two datasets we consider but it is very expensive to compute. We find that IG is nearly as good as KS while being much faster. Our comparison problems include some binary inputs that pose a challenge to IG because it must use values between the possible variable levels and so we consider ways to handle binary variables in IG. We show that sorting variables by their Shapley value does not necessarily give the optimal ordering for an insertion-deletion test. It will however do that for monotone functions of additive models, such as logistic regression.
Motivation & Objective
- To extend insertion and deletion tests from image classification to regression problems, where predictions are continuous and not necessarily near zero.
- To derive analytical expressions for AUC and ABC metrics in terms of main effects and interactions in an anchored decomposition of the regression function.
- To evaluate and compare the performance of multiple explainable AI methods—IG, KS, LIME, DeepLIFT, vanilla gradient, and input×gradient—on regression tasks.
- To investigate the impact of variable type (especially binary variables) on the performance of IG and propose handling strategies.
- To determine whether sorting features by Shapley values optimizes insertion/deletion test performance, and under what conditions.
Proposed method
- Uses anchored decomposition of the regression function f(x) to express AUC and ABC in terms of main effects and interaction terms.
- Derives the expected AUC under random variable ordering to establish a baseline for comparison.
- Proposes a reference line (straight line) for ABC in regression, replacing the horizontal axis used in classification.
- Applies the insertion/deletion tests to two datasets: Bangalore housing and CERN electron collision data.
- Handles binary variables in IG by interpolating between 0 and 1, using the simplest possible strategy.
- Compares methods using both signed and absolute attribution values in ROAR-style feature removal experiments with retraining.
Experimental results
Research questions
- RQ1How can insertion and deletion tests be meaningfully extended from classification to regression settings?
- RQ2What analytical expressions govern the AUC and ABC metrics in regression, and how do they relate to main effects and interactions in the function?
- RQ3Does sorting features by Shapley values yield optimal performance in insertion/deletion tests, and if not, under what conditions does it fail?
- RQ4How do different explainable AI methods (IG, KS, LIME, etc.) compare in regression tasks using insertion/deletion metrics?
- RQ5What is the impact of binary variables on IG performance, and how can they be handled effectively in this context?
Key findings
- Integrated Gradients (IG) performs nearly as well as Kernel SHAP (KS) in both insertion and deletion tests, despite being much faster to compute.
- KS achieves the best overall AUC and ABC scores on both datasets, but its computational cost is prohibitively high for large-scale use.
- IG with absolute attribution values outperforms signed ordering, especially in the Bangalore housing dataset, where it even surpasses KS.
- The ROAR test shows that both IG and KS fail to identify a clear hierarchy of feature importance, as loss curves are nearly straight lines, indicating minimal performance drop from removing any feature subset.
- Sorting by Shapley values does not always optimize insertion/deletion performance; it only does so for monotone additive models like logistic regression.
- The expected ABC under random ordering is zero, providing a null reference for evaluating method performance.
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.