From Black-Box Tuning to Guided Optimization via Hyperparameters Interaction Analysis
Moncef Garouani, Ayah Barhrhouj
TL;DR
Hyperparameter optimization is costly and often lacks guidance on which hyperparameters matter or how they interact across datasets. MetaSHAP combines meta-learning, SHAP-based attribution, and a massive knowledge base to deliver dataset-aware importance scores, interaction insights, and actionable tuning ranges before starting optimization. Empirical evaluation shows that MetaSHAP-guided Bayesian optimization converges faster and with interpretable guidance while reducing the search space, illustrating substantial gains in efficiency and transparency for AutoML workflows. The framework offers a scalable, transferable approach applicable to a range of parameterized learning systems beyond the tested settings.
Abstract
Hyperparameters tuning is a fundamental, yet computationally expensive, step in optimizing machine learning models. Beyond optimization, understanding the relative importance and interaction of hyperparameters is critical to efficient model development. In this paper, we introduce MetaSHAP, a scalable semi-automated eXplainable AI (XAI) method, that uses meta-learning and Shapley values analysis to provide actionable and dataset-aware tuning insights. MetaSHAP operates over a vast benchmark of over 09 millions evaluated machine learning pipelines, allowing it to produce interpretable importance scores and actionable tuning insights that reveal how much each hyperparameter matters, how it interacts with others and in which value ranges its influence is concentrated. For a given algorithm and dataset, MetaSHAP learns a surrogate performance model from historical configurations, computes hyperparameters interactions using SHAP-based analysis, and derives interpretable tuning ranges from the most influential hyperparameters. This allows practitioners not only to prioritize which hyperparameters to tune, but also to understand their directionality and interactions. We empirically validate MetaSHAP on a diverse benchmark of 164 classification datasets and 14 classifiers, demonstrating that it produces reliable importance rankings and competitive performance when used to guide Bayesian optimization.
