HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimization
Marcel Wever, Maximilian Muschalik, Fabian Fumagalli, Marius Lindauer
Abstract
Hyperparameter optimization (HPO) is a crucial step in achieving strong predictive performance. Yet, the impact of individual hyperparameters on model generalization is highly context-dependent, prohibiting a one-size-fits-all solution and requiring opaque HPO methods to find optimal configurations. However, the black-box nature of most HPO methods undermines user trust and discourages adoption. To address this, we propose a game-theoretic explainability framework for HPO 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 and their interactions. The framework, named HyperSHAP, offers insights into ablation studies, 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 broad applicability and actionable insights for improving HPO.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces cites Explaining Hyperparameter Optimization via Partial Dependence Plots
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles cites The Many Shapley Values for Model Explanation
Cited by top-tier papers1
Builds on9
- The Many Shapley Values for Model ExplanationMukund Sundararajan, Amir NajmiICML 2020 · 799 citations
- Explaining Hyperparameter Optimization via Partial Dependence PlotsJulia Moosbauer, Julia Herbinger, Giuseppe Casalicchio, Marius Lindauer et al.NeurIPS 2021 · 109 citations
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree EnsemblesMaximilian Muschalik, Fabian Fumagalli, Barbara Hammer, Eyke HüllermeierAAAI 2024 · 35 citations
- AutoML in The Wild: Obstacles, Workarounds, and ExpectationsYuan Sun, Qiurong Song, Xinning Gui, Fenglong Ma et al.CHI 2023 · 28 citations
- NetGAN without GAN: From Random Walks to Low-Rank ApproximationsLuca Rendsburg, Holger Heidrich, Ulrike von LuxburgICML 2020 · 26 citations
Related papers
- Explaining Reinforcement Learning with Shapley ValuesDaniel Beechey, Thomas M. S. Smith, Özgür SimsekICML 2023 · 41 citations
- Succinct Interaction-Aware ExplanationsSascha Xu, Joscha Cüppers, Jilles VreekenKDD 2025
- Unlocking the Game: Estimating Games in Möbius Representation for Explanation and High-Order Interaction DetectionMajid Mohammadi, Ilaria Tiddi, Annette ten TeijeAAAI 2025 · 4 citations
- RankSHAP: Shapley Value Based Feature Attributions for Learning to RankTanya Chowdhury, Yair Zick, James AllanICLR 2025
- Causal Shapley Values: Exploiting Causal Knowledge to Explain Individual Predictions of Complex ModelsTom Heskes, Evi Sijben, Ioan Gabriel Bucur, Tom ClaassenNeurIPS 2020 · 235 citations
