atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

X-Hacking: The Threat of Misguided AutoML

ICML 2025 · Probabilistic and scientific modeling › Molecules and proteins · approach: Counterfactual and statistical explanations · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces X-hacking, the manipulation of SHAP-based explanations by searching a Rashomon set of accurate AutoML pipelines, and shows post-hoc cherry-picking and Bayesian multi-objective directed search can find defensible models that flip explanations.

Problem

XAI metrics such as SHAP values can be manipulated by analysts who search over many defensible, similarly accurate models (model multiplicity) to obtain a pre-specified explanation, undermining credibility and reproducibility of XAI.

Approach

Frames explanation hacking as p-hacking on XAI metrics: uses AutoML (auto-sklearn search space) either post-hoc to cherry-pick from a confirmatory Rashomon set, or ad-hoc via Bayesian multi-objective optimisation (Optuna MOTPE, Ray Tune) trading off accuracy against mean absolute SHAP of top features, and shows redundancy among features governs vulnerability.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Bayesian multi-objective optimization instead of random sampling to search for defensible models with lower mean absolute SHAPCustom AutoML X-hacking · Features susceptible to X-hacking across OpenML CC-18 datasetstime to reach the random-sampling minimum mean absolute SHAP: 3 hours earlierHelped
Use Bayesian multi-objective optimization instead of random sampling to search for defensible models with lower mean absolute SHAPCustom AutoML X-hacking · Majority of the 92 selected featuressearch speed: 3 times fasterHelped
Use directed search instead of post-hoc cherry-pickingX-hacking · Datasets and features vulnerable to X-hackingtime to find a confirmatory defensible model: 10x fasterHelped
Search pipelines that use redundant information among featuresSHAP explanations · Simulated data with redundant featuresability to flip SHAP values without loss of predictive accuracyHelped
Remove information redundancy among featuresSHAP explanations · Simulated data with independent featuresability to manipulate SHAP values without changing predictive accuracyHurt
Use off-the-shelf AutoML to vary modeling choices while retaining at least baseline accuracyPost-hoc X-hacking · cardiac-disease, height featureSHAP dependence slopeMixed
Use off-the-shelf AutoML to vary modeling choices while retaining at least baseline accuracyPost-hoc X-hacking · cardiac-disease, top three featureschange in mean absolute SHAPNo clear effect
Apply directed search to features with no defensible solutions in either optimizerCustom AutoML X-hacking · 20/92 selected featuresfinding a defensible model: 20/92No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: OpenML-CC18 binary classification datasets (23) simulated collinear-feature datasets

Benchmarks: OpenML-CC18 binary tasks (23 datasets)

Metrics: accuracy mean absolute SHAP of top features time to first defensible model cumulative minimum SHAP

Baselines: random sampling random forest baseline

Builds on: auto-sklearn Optuna Ray Tune SHAP p-hacking

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy