X Hacking: The Threat of Misguided AutoML
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 43 of its 141 references that are in the map. First posted on arXiv 16 Jan 2024.
Builds on
43 of 141 references.
References · 43
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2018BOHB: Robust and Efficient Hyperparameter Optimization at Scalecited by 466
- 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
- 2018Tune: A Research Platform for Distributed Model Selection and Trainingcited by 395
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 368
- 2018All Models are Wrong, but Many are Useful: Learning a Variable's Importance by Studying an Entire Class of Prediction Models Simultaneouslycited by 364
- 2017OpenML Benchmarking Suitescited by 169
31 more
- 2018Auto-Keras: An Efficient Neural Architecture Search Systemcited by 169
- 2019Predictive Multiplicity in Classificationcited by 162
- 2019FLAML: A Fast and Lightweight AutoML Librarycited by 104
- 2020Explainability in Deep Reinforcement Learningcited by 96
- 2019Fairwashing: the risk of rationalizationcited by 81
- 2020On Counterfactual Explanations under Predictive Multiplicitycited by 73
- 2022Post-Hoc Explanations Fail to Achieve their Purpose in Adversarial Contextscited by 53
- 2020Robust and Stable Black Box Explanationscited by 47
- 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 47
- 2022Rashomon Capacity: A Metric for Predictive Multiplicity in Classificationcited by 46
- 2020Fairness Metrics: A Comparative Analysiscited by 45
- 2020Empirical observation of negligible fairness-accuracy trade-offs in machine learning for public policycited by 44
- 2022Multi-Objective Hyperparameter Optimization in Machine Learning -- An Overviewcited by 37
- 2023The Inadequacy of Shapley Values for Explainabilitycited by 30
- 2023Exploring and Interacting with the Set of Good Sparse Generalized Additive Modelscited by 30
- 2019BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameterscited by 25
- 2019AlphaClean: Automatic Generation of Data Cleaning Pipelinescited by 23
- 2021Selective Ensembles for Consistent Predictionscited by 23
- 2020PipelineProfiler: A Visual Analytics Tool for the Exploration of AutoML Pipelinescited by 19
- 2014BayesOpt: A Bayesian Optimization Library for Nonlinear Optimization, Experimental Design and Banditscited by 18
- 2019Do Not Trust Additive Explanationscited by 15
- 2018A Theory of Statistical Inference for Ensuring the Robustness of Scientific Resultscited by 13
- 2017ZOOpt: Toolbox for Derivative-Free Optimizationcited by 12
- 2021Forward Stability and Model Path Selectioncited by 12
- 2021Partial Order in Chaos: Consensus on Feature Attributions in the Rashomon Setcited by 12
- 2022Unfooling Perturbation-Based Post Hoc Explainerscited by 12
- 2014Easy Hyperparameter Search Using Optunitycited by 11
- 2019Machine Learning at Microsoft with ML .NETcited by 11
- 2020Debiasing classifiers: is reality at variance with expectation?cited by 10
- 2022Fool SHAP with Stealthily Biased Samplingcited by 6
- 2021Revisiting Rashomon: A Comment on "The Two Cultures"cited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2025Systemizing Multiplicity: The Curious Case of Arbitrariness in Machine Learningcited by 17
- 2024Rethinking Explainable Machine Learning as Applied Statisticscited by 8
- 2025CleanSurvival: Automated data preprocessing for time-to-event models using reinforcement learningcited by 2
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functionscited by 2
- 2026Equally Good, Yet Different: Benchmarking Rashomon sets in AutoML packagescited by 0
- 2026Equally Good, Yet Different: Benchmarking Rashomon sets in AutoML packages29 Sep 2026
- 2025Informative Post-Hoc Explanations Only Exist for Simple Functions15 Aug 2025
- 2025CleanSurvival: Automated data preprocessing for time-to-event models using reinforcement learning6 Feb 2025
- 2025Systemizing Multiplicity: The Curious Case of Arbitrariness in Machine Learning24 Jan 2025
- 2024Rethinking Explainable Machine Learning as Applied Statistics5 Feb 2024