Banner Banner

From Flexibility to Manipulation: The Slippery Slope of XAI Evaluation

Kristoffer Wickstrøm
Marina M.-C.Höhne
Anna Hedström

September 29, 2024

The lack of ground truth explanation labels is a fundamental challenge for quantitative evaluation in explainable artificial intelligence (XAI). This challenge becomes especially problematic when evaluation methods have numerous hyperparameters that must be specified by the user, as there is no ground truth to determine an optimal hyperparam- eter selection. It is typically not feasible to do an exhaustive search of hyperparameters so researchers typically make a normative choice based on similar studies in the literature, which provides great flexibility for the user. In this work, we illustrate how this flexibility can be exploited to manipulate the evaluation outcome. We frame this manipulation as an adversarial attack on the evaluation where seemingly innocent changes in hyperparameter setting significantly influence the evaluation outcome. We demonstrate the effectiveness of our manipulation across several datasets with large changes in evaluation outcomes across several ex- planation methods and models. Lastly, we propose a mitigation strategy based on ranking across hyperparameters that aims to provide robust- ness towards such manipulation. This work highlights the difficulty of conducting reliable XAI evaluation and emphasizes the importance of a holistic and transparent approach to evaluation in XAI. Code is available at github.com/Wickstrom/quantitative-xai-manipulation.