HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimization

Read full text
Authors: Association for Artificial Intelligence 2026, Fabian Fumagalli, Marius Lindauer, Maximilian Muschalik, Marcel Wever
Cited by: 0

Abstract

Hyperparameter optimization (HPO) is a crucial step in achieving strong predictive performance. The impact of individual hyperparameters on model generalization is highly context-dependent, prohibiting a one-size-fits-all solution and requiring opaque automated machine learning (AutoML) systems to find optimal configurations. However, the black-box nature of most AutoML systems undermines user trust and discourages adoption. To address this, we propose a game-theoretic explainability framework for HPO that is based on Shapley values and interactions. Our approach provides an additive decomposition of a performance measure across hyperparameters, enabling local and global explanations of hyperparameters' contributions to generalization performance and their interactions. The framework, named HyperSHAP, offers insights into ablations, the tunability of learning algorithms, and optimizer behavior across different hyperparameter spaces. We demonstrate HyperSHAP's capabilities on various HPO benchmarks to analyze the interaction structure of the corresponding HPO problems, demonstrating its versatile applicability.

Fields of Study & Subjects

Explainable Artificial Intelligence (XAI) Machine Learning and Data Classification Software Testing and Debugging Techniques

Publication details

Journal / source
Underline Science Inc.
Publication date
7 January 2026
Language
EN