X-Hacking: The Threat of Misguided AutoML
Rahul Sharma, Sumantrak Mukherjee, Andrea Sipka, Eyke Hüllermeier, Sebastian Josef Vollmer, Sergey Redyuk, David Antony Selby
Abstract
Explainable AI (XAI) and interpretable machine learning methods help to build trust in model predictions and derived insights, yet also present a perverse incentive for analysts to manipulate XAI metrics to support pre-specified conclusions. This paper introduces the concept of X-hacking, a form of p-hacking applied to XAI metrics such as SHAP values. We show how easily an automated machine learning pipeline can be adapted to exploit model multiplicity at scale: searching a Rashomon set of 'defensible' models with similar predictive performance to find a desired explanation. We formulate the trade-off between explanation and accuracy as a multi-objective optimisation problem, and illustrate empirically on familiar real-world datasets that, on average, Bayesian optimisation accelerates X-hacking 3-fold for features susceptible to it, versus random sampling. We show the vulnerability of a dataset to X-hacking can be determined by information redundancy among features. Finally, we suggest possible methods for detection and prevention, and discuss ethical implications for the credibility and reproducibility of XAI.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Rashomon Capacity: A Metric for Predictive Multiplicity in Classification cites Predictive Multiplicity in Classification
- Exploring and Interacting with the Set of Good Sparse Generalized Additive Models cites Predictive Multiplicity in Classification
- Exploring and Interacting with the Set of Good Sparse Generalized Additive Models cites Rashomon Capacity: A Metric for Predictive Multiplicity in Classification
Builds on10
- Predictive Multiplicity in ClassificationCharles T. Marx, Flávio P. Calmon, Berk UstunICML 2020 · 197 citations
- Rashomon Capacity: A Metric for Predictive Multiplicity in ClassificationHsiang Hsu, Flávio P. CalmonNeurIPS 2022 · 65 citations
- Frugal Optimization for Cost-related HyperparametersQingyun Wu, Chi Wang, Silu HuangAAAI 2021 · 51 citations
- PipelineProfiler: A Visual Analytics Tool for the Exploration of AutoML PipelinesJorge Piazentin Ono, Sonia Castelo, Roque Lopez, Enrico Bertini et al.IEEE VIS 2020 · 49 citations
- Exploring and Interacting with the Set of Good Sparse Generalized Additive ModelsChudi Zhong, Zhi Chen, Jiachang Liu, Margo I. Seltzer et al.NeurIPS 2023 · 39 citations
Related papers
- Towards Trustable SHAP ScoresOlivier Létoffé, Xuanxiang Huang, João Marques-SilvaAAAI 2025 · 23 citations
- Fooling SHAP with Stealthily Biased SamplingGabriel Laberge, Ulrich Aïvodji, Satoshi Hara, Mario Marchand et al.ICLR 2023 · 3 citations
- XRand: Differentially Private Defense against Explanation-Guided AttacksTruc D. T. Nguyen, Phung Lai, Hai Phan, My T. ThaiAAAI 2023 · 22 citations
- The Double-Edged Nature of the Rashomon Set for Trustworthy Machine LearningEthan Hsu, Harry Chen, Chudi Zhong, Lesia SemenovaICML 2026 · 1 citation
- Implications of Model Indeterminacy for Explanations of Automated DecisionsMarc-Etienne Brunet, Ashton Anderson, Richard S. ZemelNeurIPS 2022 · 22 citations
