Practitioner Motives to Use Different Hyperparameter Optimization Methods

Niclas Kannengiesser, Felix Morsbach, Marc-André Zöller, Jörg K. H. Franke, Marius Lindauer, Frank Hutter, Ali SunyaevRepository 2025

TL;DR

Machine learning practitioners often don't use the most sample-efficient hyperparameter optimization (HPO) methods, opting for simpler ones like grid search. This paper investigates why, revealing that practitioners are driven by goals beyond just model performance, such as understanding the model and reducing their own effort, and are heavily influenced by contextual factors like available compute resources and their own knowledge. These insights are crucial for developing more user-centered and effective AutoML tools.

What Problem Does This Paper Address?

The field of machine learning (ML) has developed sophisticated, sample-efficient methods for hyperparameter optimization (HPO), such as Bayesian optimization and evolutionary algorithms. These methods are designed to find optimal ML model configurations with minimal computational cost. However, in practice, many ML practitioners still rely on less efficient methods like grid search or manual tuning. This discrepancy suggests that the choice of HPO method is not solely based on technical performance metrics. The problem this paper addresses is the lack of understanding regarding the motives behind practitioners' HPO method choices. This gap hinders the development of HPO tools that are truly user-centered and adapt to real-world usage scenarios, especially within the broader field of Automated Machine Learning (AutoML).

Methods

The study employed a mixed-methods approach, combining qualitative and quantitative data collection.

  1. Semi-structured Interviews: The researchers conducted 20 in-depth interviews with ML experts. The goal was to explore the HPO methods they commonly use, the goals they pursue with HPO, and the contextual factors influencing their choices.
  2. Online Survey: Following the interviews, a survey was administered to 49 ML practitioners. This survey aimed to validate the findings from the interviews by collecting data on the external validity of identified HPO methods, goals, and contextual factors. Participants were asked to select HPO methods for specific goals and rate the influence of contextual factors on their choices.

Data analysis involved thematic analysis of interview transcripts and statistical analysis of survey responses.

Datasets

Not discussed in the paper. The study focuses on practitioners' experiences and choices rather than evaluating HPO methods on specific datasets.

Key Insights and Ideas

  • Beyond Performance: Practitioners' HPO goals extend far beyond simply maximizing ML model performance. They are also motivated by increasing their understanding of ML models, decreasing computational costs, reducing their own effort, satisfying stakeholder requirements, and aligning with target audiences.
  • Context is King: The choice of HPO method is heavily influenced by contextual factors. These include:
  • Own Knowledge: HPO method comprehension, ML model understanding, and personal experience.
  • Social Environment: Acceptance of advanced HPO methods within their community, literature, and shared opinions.
  • Technical Environment: Available compute resources, cost of objective function, HPO method traceability, setup readiness, parallelization possibilities, search space size, and usability of HPO tools.
  • Manual Tuning's Appeal: Despite the efficiency of programmatic methods, manual tuning remains popular, especially when practitioners have high ML model understanding or when they want to avoid the complexity of learning and integrating new HPO tools.
  • Transparency Matters: A lack of transparency and interpretability in advanced HPO methods (like Bayesian optimization) is a significant barrier to their adoption. Practitioners prefer methods they understand.
  • Academia vs. Industry Nuances: While core goals are similar, there are differences in how academic and industry practitioners weigh contextual factors. For instance, academics may prioritize methods that are easier to integrate into existing workflows, while industry practitioners might be more influenced by usability and setup readiness.

Key Results

  • Six Primary Goals: Identified goals include: Comply with Target Audience, Decrease Necessary Computations, Decrease Practitioner Effort, Increase ML Model Performance, Increase ML Model Understanding, and Satisfy Requirements.
  • Fourteen Contextual Factors: Grouped into Own Knowledge, Social Environment, and Technical Environment.
  • Goal-Method Mappings: The study revealed that practitioners use different HPO methods to achieve similar goals, and conversely, the same HPO method can be used for multiple goals. For example, Bayesian optimization is frequently used to decrease necessary computations, while manual tuning is often preferred for increasing ML model understanding.
  • Perceived Success: While practitioners generally report high success rates across goals, these rates vary significantly depending on the HPO method-goal combination. For instance, Bayesian optimization and evolutionary algorithms are perceived as more successful for decreasing computations, while manual tuning is seen as effective for increasing ML model understanding.

Limitations and Future Work

  • Limitations: The study acknowledges that interview results rely on participants' self-reported knowledge and perceptions, which can be subject to bias. While efforts were made to mitigate bias (e.g., multiple analysts, diverse participants), complete exhaustiveness and elimination of bias cannot be guaranteed. Additional goals and contextual factors might exist.
  • Future Work: The authors suggest investigating potential conflicts between goals and contextual factors, and how practitioners resolve these trade-offs (e.g., through prioritization). Future research should also explore functional human heuristics in HPO to inform the development of more intelligent AutoML systems that mimic human decision-making. Further work could also focus on developing HPO tools that provide better insights into ML model behavior and HPO method internals, and on integrating practitioners' existing knowledge into HPO processes.

Summary updated

Abstract

Programmatic hyperparameter optimization (HPO) methods, such as Bayesian optimization and evolutionary algorithms, are known for their sample efficiency in identifying optimal configurations for machine learning (ML) models. However, practitioners often use less efficient methods, such as grid search, potentially resulting in under-optimized models. This discrepancy suggests that HPO method selection may be influenced by practitioner-specific motives, which remain insufficiently understood hindering user-centered advancement of HPO tools. To uncover these motives, we conducted 20 semi-structured interviews and an online survey with 49 ML practitioners. We revealed six primary goals (e.g., increasing ML model understanding) and 14 contextual factors (e.g., available computational resources) that influence practitioners’ choices of HPO methods. This study provides a conceptual foundation for understanding real-world HPO practices and informs the development of more user-centered and context-adaptive HPO tools in automated ML (AutoML).
BibTeX
@inproceedings{kannengiesser2025practitioner,
  author = {Niclas Kannengiesser and Felix Morsbach and Felix Morsbach and Marc-André Zöller and Jörg K. H. Franke and Marius Lindauer and Frank Hutter and Ali Sunyaev},
  title = {{Practitioner Motives to Use Different Hyperparameter Optimization Methods}},
  booktitle = {Repository},
  year = {2025},
  doi = {10.5445/ir/1000182626},
}
Figure