Hyperparameter optimization (HPO) is important to leverage the full potential of machine learning (ML). In practice, users are often interested in multi-objective (MO) problems, i.e., optimizing potentially conflicting objectives, like accuracy and energy consumption. To tackle this, the vast majority of MO-ML algorithms return a Pareto front of non-dominated machine learning models to the user. Optimizing the hyperparameters of such algorithms is non-trivial as evaluating a hyperparameter configuration entails evaluating the quality of the resulting Pareto front. In literature, there are known indicators that assess the quality of a Pareto front (e.g., hypervolume, R2) by quantifying different properties (e.g., volume, proximity to a reference point). However, choosing the indicator that leads to the desired Pareto front might be a hard task for a user. In this paper, we propose a human-centered interactive HPO approach tailored towards multi-objective ML leveraging preference learning to extract desiderata from users that guide the optimization. Instead of relying on the user guessing the most suitable indicator for their needs, our approach automatically learns an appropriate indicator. Concretely, we leverage pairwise comparisons of distinct Pareto fronts to learn such an appropriate quality indicator. Then, we optimize the hyperparameters of the underlying MO-ML algorithm towards this learned indicator using a state-of-the-art HPO approach. In an experimental study targeting the environmental impact of ML, we demonstrate that our approach leads to substantially better Pareto fronts compared to optimizing based on a wrong indicator pre-selected by the user, and performs comparable in the case of an advanced user knowing which indicator to pick.
翻译:超参数优化(HPO)对于充分发挥机器学习(ML)的潜力至关重要。在实际应用中,用户通常关注多目标(MO)问题,即优化可能相互冲突的目标(如精确度和能耗)。为解决这一问题,绝大多数多目标机器学习算法会向用户返回一个由非支配机器学习模型构成的帕累托前沿。对此类算法的超参数进行优化并非易事,因为评估一个超参数配置需要评估所生成帕累托前沿的质量。文献中已有多种指标(如超体积、R2)通过量化不同属性(如体积、与参考点的接近度)来评估帕累托前沿质量。然而,用户选择能导向理想帕累托前沿的指标可能是一项艰巨任务。本文提出一种以人为中心的交互式超参数优化方法,该方法专为多目标机器学习设计,利用偏好学习从用户需求中提取优化引导准则。我们的方法不依赖用户猜测最适合其需求的指标,而是自动学习一个恰当的指标。具体而言,我们利用不同帕累托前沿的成对比较来学习这一恰当的质量指标。随后,采用最先进的超参数优化方法,将底层多目标机器学习算法的超参数向该学习指标优化。在一项针对机器学习环境影响的实验研究中,我们证明:与用户预先选择错误指标的优化方案相比,本方法生成的帕累托前沿质量显著更优;即便面对能准确选择指标的资深用户,本方法的表现也与之相当。