X Hacking: The Threat of Misguided AutoML
summary
The gist
The gist The paper introduces X-hacking, a form of p-hacking applied to XAI metrics such as SHAP values, which refers to the practice of deliberately searching for and selecting models that produce a
In short
X-hacking is a form of p-hacking applied to Explainable AI (XAI) metrics like SHAP values, where analysts deliberately search for models that produce a desired explanation while maintaining acceptable accuracy. This exploits model multiplicity—where many models perform similarly—to find
Key concepts
- X-hacking
- "X-hacking" is p-hacking applied to XAI metrics such as SHAP values, involving the deliberate search for models that yield a specific explanation while keeping accuracy at an acceptable level.
- Model Multiplicity
- This occurs when different machine learning models can achieve nearly identical predictive performance on the same data. X-hacking exploits this by searching through a 'Rashomon set' of these similar models to find one with the desired explanation.
- Cherry Picking
- This strategy involves retrieving a pre-selected set of 'good' models that meet an initial baseline and then optimizing another metric, such as the desired explanation quality, from within that chosen group.
Terminology used across episodes
This episode discusses
- X Hacking: The Threat of Misguided AutoML · Paper Radio
- AutoGluon-Tabular: Robust and Accurate AutoML for Structured Data
- Systemizing Multiplicity: The Curious Case of Arbitrariness in Machine Learning
- Do Not Trust Additive Explanations
- The Inadequacy of Shapley Values for Explainability
- Fool SHAP with Stealthily Biased Sampling
- Tune: A Research Platform for Distributed Model Selection and Training
The paper
X Hacking: The Threat of Misguided AutoML · Read on arXiv
Deutsches Forschungszentrum fur¨ Kunstliche Intelligenz GmbH
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "X Hacking: The Threat of Misguided AutoML".
Jane: The gist The paper introduces X-hacking, a form of p-hacking applied to XAI metrics such as SHAP values,
Tom: First, who's behind it and why it matters.
Title and authors: Tom: So we're diving into this paper called "X Hacking: The Threat of Misguided AutoML" today. It's about how people can deliberately mess with AI tools to get explanations that look good but aren't actually true, especially when it comes to things like SHAP values for XAI metrics >
Jane: Right. Basically, the authors introduce this idea of X-hacking, which is like p-hacking applied specifically to those explanation scores we use in machine learning models >
Lu: It’s about finding models that give you a nice explanation while still keeping the accuracy at an acceptable level, which they call "model multiplicity" >
Meng: So what does that actually mean for us, Tom? How easy is it for someone to do this manipulation?
Tom: Well, the paper shows how easily an automated pipeline can be adapted to exploit model multiplicity at scale by searching for a Rashomon set of defensible models >
Jane: It suggests that analysts can find a set of models with similar predictive performance but different explanations just by making smart choices in their analysis pipeline >
Lu: They frame this as a multi-objective optimization problem where you try to balance accuracy and the explanation quality, which is what they call the trade-off >
Tom: So it’s not just about finding *a* good model, but optimizing for both things simultaneously, which is a bigger picture than just picking one model >
Jane: Exactly. And they show that this can be done using tools that are already out there, even with attacks on different types of SHAP summaries in a post-hoc manner >
The paper's summary: Tom: Moving on to the summary of "X Hacking: The Threat of Misguided AutoML," the paper lays out three specific metrics an actor might use when trying to hack those XAI scores >
Jane: That’s interesting because it makes it concrete; they aren't just talking abstractly about manipulation, they’re giving us specific targets >
Lu: They mention explanations SHAP values, where someone could try to find a data point xi that makes a SHAP value go in the desired direction, like making it zero >
Meng: So if I’m trying to hide something, I could be looking for a specific input that makes the explanation look like it doesn't matter >
Tom: Then there’s another metric they discuss involving model- or large grouplevel explanations where you look at rankD(mean(SHAP(x))) to see if your feature of interest is not in the top k most important features >
Jane: And finally, they talk about hacking partial dependence plots by looking at the correlation between SHAP and a specific feature, searching for positive or negative correlations >
Lu: These are all ways an actor can probe the system to find weaknesses in how the XAI is generated across different pipeline stages >
Tom: It really shows that there’s a whole pipeline of decisions where someone could be trying to manipulate things innocuously rather than overtly >
Jane: It paints a picture of how subtle these kinds of manipulations can be when you look at the whole analysis process, not just the final output >
The paper's improvements: Tom: Now for the parts where they suggest ways to improve this situation, specifically their proposed strategies for X-hacking >
Jane: They present two main tactics: cherry picking and a directed search approach, which are different ways of trying to find those defensible models >
Lu: Cherry picking is using off-the-shelf software with attacks on SHAP summaries in a post-hoc manner to retrieve a set of ‘good’ models that exceed some baseline >
Meng: That sounds like something an analyst could do quickly, just grabbing the best ones they can find right now >
Tom: But the paper pushes for something more robust, which is the directed search strategy using Bayesian multi-objective optimization to find defensible models instead of relying on post-hoc cherry picking >
Jane: That means instead of just picking a handful and optimizing one thing, you use a vector of objectives where you try to balance accuracy and explanation metrics simultaneously >
Lu: They detail this directed search by defining a vector QD, where q1 is minimizing performance and q2 is maximizing the explanation metric for your target feature >
Tom: And they show that when you use this Bayesian optimization approach compared to just random sampling, it’s on average three times faster in finding those defensible models >
Jane: It’s a lot faster than what was previously possible with simpler methods, which is important for real-world application >
Conclusion: Tom: So wrapping up the paper "X Hacking: The Threat of Misguided AutoML," the main implication is that we need to be aware of this misuse of XAI tools because they can undermine trust in our AI systems >
Jane: It also highlights a potential avenue for adversarial misuse, which means biased or misleading explanations could have real ethical and legal ramifications >
Lu: The authors suggest that pre-registered analysis plans could be valuable if those plans are comprehensive enough to cover the whole search space of models and hyperparameters in an AutoML search >
Meng: From an engineering standpoint, they show that redundancy among features determines how easy it is to manipulate SHAP values; if all features are independent, manipulation without changing accuracy isn't possible >
Tom: So they end by saying AI methods make these dishonest practices semi-automated and scalable for researchers at lower effort and cost >
Jane: The authors really advocate for us to include detection strategies as a routine part of XAI evaluations to mitigate these risks >
More episodes
- 2605.19469-Sampling-Based Safe Reinforcement Learning
- 2509.23003-Discovering Phase Space Structure in Learned Hamiltonian Systems
- 2605.00457-Fairness-Guided DQN-Based TXOP Control for NR-U/Wi-Fi Coexistence
- 2604.01730-Koopman-Based Nonlinear Identification and Model Predictive Control of a Turbofan Engine
- 2601.18783-Preference-Conditioned Multi-Objective Reinforcement Learning for Tactical Decision Making in Heavy-Duty Vehicles
- 2605.20482-Quadratic Characterizations for Reachability Analysis of Neural Networks
- 2603.07427-AutoControl Arena: Synthesizing Executable Test Environments for Frontier AI Risk Evaluation
- Daily Summary for 2026-10-12
- 2610.12148-Large-Scale Benchmarking of Quantum Neural Network Configurations for Financial Time Series Forecasting
- 2610.10857-Self-Supervised Keyframe Discovery for Horizon-Invariant Behavior Cloning