HyperSHAP: Shapley Values and Interactions for Hyperparameter Importance
Abstract
Hyperparameter optimization (HPO) is a crucial step in achieving strong predictive performance, particularly for deep learning with hyperparameters controlling the neural architecture and learning behavior. However, the impact of some hyperparameters on model generalization can vary significantly depending on the dataset and performance measure, making it challenging to generalize their importance. Gaining a better understanding of the importance of hyperparameters is therefore important to deepen our understanding of machine learning and to leverage this knowledge in future downstream HPO tasks, especially if training is expensive and HPO needs to be as efficient as possible. To address these challenges, we propose a game theoretic framework based on Shapley values and interactions for HPO. These methods offer an additive decomposition of a performance measure across hyperparameters, enabling both local and global explanations of hyperparameter importance and interactions. Our framework, named HyperSHAP, provides insights into ablation studies, tunability of specific hyperparameter configurations, and entire configuration spaces. Through experiments, we demonstrate that focusing on the hyperparameters deemed important by our framework can improve performance during subsequent hyperparameter optimization, while ignoring important hyperparameters or interactions degrades performance. This validates the effectiveness of our approach in enhancing model performance and providing meaningful, interpretable explanations of hyperparameter importance.
BibTeX
@inproceedings{wever2026hypershap,
author = {Marcel Wever and Maximilian Muschalik and Fabian Fumagalli and Marius Lindauer},
title = {{HyperSHAP: Shapley Values and Interactions for Hyperparameter Importance}},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2026},
doi = {10.1609/aaai.v40i32.39898},
}Ask Althea to put this paper to the test.