Interactive Hyperparameter Optimization in Multi-Objective Problems via Preference Learning

Joseph Giovanelli, Alexander Tornede, Tanja Tornede, Marius Lindauer

Abstract

Optimizing machine learning models for multiple conflicting objectives often requires users to select complex mathematical quality indicators. This paper presents an interactive framework that leverages human preference learning to replace technical indicator selection with simple pairwise comparisons. By learning a latent utility function from user choices, the system automates hyperparameter optimization (HPO) tailored to specific user needs.

Introduction

In real-world machine learning, practitioners frequently face trade-offs between conflicting goals, such as maximizing accuracy while minimizing energy consumption or latency. This Multi-Objective Machine Learning (MO-ML) task typically results in a Pareto front—a set of models where no single objective can be improved without degrading another.

The challenge arises during Hyperparameter Optimization (HPO). Automated tools require a scalar "score" to evaluate and compare different Pareto fronts. Traditionally, users must choose a mathematical quality indicator (e.g., Hypervolume or R2) to serve as this score. However, selecting the appropriate indicator requires deep expertise, as different indicators favor different "shapes" of the Pareto front. Misalignment between the chosen indicator and actual user preferences leads to sub-optimal model selection.

Methodology: Putting the Human in the Loop

The proposed framework simplifies MO-ML HPO by shifting the burden from mathematical definition to intuitive preference. The approach consists of three distinct phases:

Overview of the three-phase interactive preference learning framework for HPO.
  1. Preliminary Sampling: The system generates an initial set of Pareto fronts by running the MO-ML algorithm with random hyperparameter configurations.
  2. Interactive Preference Learning: Users are presented with pairs of Pareto fronts and asked to select their preferred outcome. A RankSVM model learns a "latent utility function" from these binary choices, effectively creating a personalized quality indicator.
  3. Utility-driven HPO: The learned utility function guides a standard HPO tool (such as SMAC) to search for the optimal hyperparameters that satisfy the user's implicit criteria.

Feature Representation of Pareto Fronts

A significant technical challenge is converting a variable-sized set of models (the Pareto front) into a fixed-length input for the preference learning model. The authors developed a pipeline involving evaluation, imputation of missing values, and normalization to create a robust feature vector.

The process of transforming a Pareto front into a fixed-length feature vector for RankSVM.

Experimental Evaluation

The framework was evaluated using the LCBench benchmark, which includes neural network evaluations across 35 OpenML datasets. The primary objectives were validation accuracy and energy consumption (Watts), reflecting the growing importance of "Green AI."

Key Insights

  • Learning Efficiency: The system achieves high reliability with minimal user effort. Experiments demonstrated that a robust ranking model could be established with as few as 28 pairwise comparisons.
  • Indicator Complexity: The system more easily learns "external" indicators (like Hypervolume, which measures total covered area) compared to "internal" geometric properties (like Spacing). This suggests that global trade-offs are more intuitive for both humans and the learning model than fine-grained distribution patterns.

Results and Discussion

The Preference-Based (PB) approach was compared against standard Indicator-Based (IB) methods. Key findings include:

  • Robustness to Mis-specification: The PB approach significantly outperforms IB methods when a non-expert user might otherwise select an inappropriate mathematical indicator.
  • Expert-Level Performance: When compared to an "expert" who knows the ideal indicator, the interactive framework achieves comparable results without requiring the same level of technical knowledge.
  • Success Rate: In head-to-head testing across various scenarios, the PB approach proved superior or equal to traditional methods in 11 out of 16 scenarios.

Conclusion and Future Directions

This research demonstrates that interactive preference learning is a viable and efficient alternative to manual indicator selection in multi-objective HPO. While effective for two objectives, future work will explore scaling to higher dimensions, where visual comparison becomes more complex. Additionally, investigating "set-based" feature representations that do not rely on model ordering could further enhance the system's flexibility and reduce user fatigue through active learning techniques.

Summary updated

BibTeX
@inproceedings{giovanelli2024interactive,
  author = {Joseph Giovanelli and Alexander Tornede and Tanja Tornede and Marius Lindauer},
  title = {{Interactive Hyperparameter Optimization in Multi-Objective Problems via Preference Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29106},
}
Figure