Why Do Machine Learning Practitioners Still Use Manual Tuning? A Qualitative Study

Niklas Hasebrook, Felix Morsbach, Niclas Kannengießer, Jörg K. H. Franke, Frank Hutter, Ali SunyaevarXiv 2022 · OpenReview

Abstract

Current advanced hyperparameter optimization (HPO) methods, such as Bayesian optimization, have high sampling efficiency and facilitate replicability. Nonetheless, machine learning (ML) practitioners (e.g., engineers, scientists) mostly apply less advanced HPO methods, which can increase resource consumption during HPO or lead to underoptimized ML models. Therefore, we suspect that practitioners choose their HPO method to achieve different goals, such as decrease practitioner effort and target audience compliance. To develop HPO methods that align with such goals, the reasons why practitioners decide for specific HPO methods must be unveiled and thoroughly understood. Because qualitative research is most suitable to uncover such reasons and find potential explanations for them, we conducted semi-structured interviews to explain why practitioners choose different HPO methods. The interviews revealed six principal practitioner goals (e.g., increasing model comprehension), and eleven key factors that impact decisions for HPO methods (e.g., available computing resources). We deepen the understanding about why practitioners decide for different HPO methods and outline recommendations for improvements of HPO methods by aligning them with practitioner goals.

Introduction

In the field of Machine Learning (ML), hyperparameter configurations are often the deciding factor between a state-of-the-art model and a failed experiment. To address this, researchers have developed highly efficient programmatic Hyperparameter Optimization (HPO) methods, such as Bayesian Optimization and Evolutionary Algorithms. These tools are mathematically designed to find optimal settings with significantly fewer trials than traditional methods.

However, a persistent "efficiency gap" exists: despite the availability of these advanced tools, many practitioners continue to rely on manual "trial and error" or exhaustive grid searches. This study argues that current HPO research is overly "techno-centric," focusing almost exclusively on performance metrics like accuracy and speed while ignoring the human factor. By investigating the specific motives and contextual constraints of the people building these models, this research aims to bridge the gap between algorithmic potential and real-world adoption.

Methodology

The researchers employed a two-step, mixed-methods approach to capture both the depth of individual experiences and the breadth of common practices:

  1. Qualitative Interviews: The team conducted 20 semi-structured interviews with ML experts. Using thematic analysis, they extracted 241 initial codes, which were synthesized into a conceptual framework consisting of 6 principal goals and 14 contextual factors. The participants represented a wide array of backgrounds, as detailed in the demographics table below.
Demographics of the 20 interview participants, showing a diverse range of experience and ML specializations across academia and industry.
  1. Quantitative Survey: To validate the interview findings, a survey was administered to 49 ML practitioners (27 from academia, 22 from industry). This step measured the frequency of specific goals, the methods used to achieve them, and the practitioners' perceived success rates.

Key Insights: The Human Factor in HPO

The study revealed several critical reasons why practitioners deviate from "optimal" automated methods:

The "Understanding Tax"

Manual tuning is often a deliberate strategy to increase model understanding. Practitioners use manual tweaks to build a mental model of how a system behaves. In contrast, programmatic HPO is frequently viewed as a "black box" that may provide a high-performing result but leaves the developer without an intuitive grasp of the parameter space.

Social and Audience Compliance

Practitioners sometimes choose "inferior" methods like Grid Search because they are easier to justify to external audiences. Whether writing a research paper or presenting to a client, the "explanation tax" required to justify a complex Bayesian optimizer may be higher than the practitioner is willing to pay. Grid search is seen as transparent and easily replicable by others.

The Paradox of Choice and Integration Effort

The sheer variety of HPO tools and the technical friction required to integrate them into specific cluster environments often lead to choice paralysis. Many experts stick to manual tuning simply to avoid the overhead of setting up and debugging a new software framework, especially when deadlines are tight.

Contextual Superiority

Experts with high domain knowledge often believe their "priors" (intuition) allow them to outperform automated tools. In scenarios where compute resources are extremely limited, these practitioners view manual tuning as a more efficient way to navigate the search space than letting an algorithm explore from scratch.

Key Results and Success Metrics

The survey data highlighted a disconnect between practitioner goals and their perceived success:

  • Goal Prevalence: While 95% of participants aim for maximum performance, a significant majority also prioritize decreasing computation (75%) and decreasing practitioner effort (75%).
  • Method Mapping: Bayesian Optimization is the preferred choice for performance and compute reduction. Manual Tuning remains the undisputed leader for "Model Understanding." Interestingly, Evolutionary Algorithms were perceived as significantly more successful for "Satisfying Requirements" (social or technical constraints) than other methods.
  • Perceived Success: Practitioners felt most successful at increasing model performance (~75% success rate). However, they struggled most with reducing computational requirements, where only 62% felt they achieved their goal.

Conclusion and Future Directions

To close the efficiency gap, the authors call for a shift toward Human-Centered HPO. Future HPO tools should not just be faster; they must be more usable and transparent. Recommendations include:

  • Visual Analytics: Developing tools that help users understand why certain parameters were chosen.
  • Expert Integration: Creating "warm-starting" mechanisms that allow practitioners to inject their domain intuition into automated optimizers.
  • Reduced Orchestration Overhead: Automating the infrastructure requirements of HPO to lower the barrier of entry for practitioners in both academia and industry.

Summary updated

Abstract

Current advanced hyperparameter optimization (HPO) methods, such as Bayesian optimization, have high sampling efficiency and facilitate replicability. Nonetheless, machine learning (ML) practitioners (e.g., engineers, scientists) mostly apply less advanced HPO methods, which can increase resource consumption during HPO or lead to underoptimized ML models. Therefore, we suspect that practitioners choose their HPO method to achieve different goals, such as decrease practitioner effort and target audience compliance. To develop HPO methods that align with such goals, the reasons why practitioners decide for specific HPO methods must be unveiled and thoroughly understood. Because qualitative research is most suitable to uncover such reasons and find potential explanations for them, we conducted semi-structured interviews to explain why practitioners choose different HPO methods. The interviews revealed six principal practitioner goals (e.g., increasing model comprehension), and eleven key factors that impact decisions for HPO methods (e.g., available computing resources). We deepen the understanding about why practitioners decide for different HPO methods and outline recommendations for improvements of HPO methods by aligning them with practitioner goals.
BibTeX
@misc{hasebrook2022why,
  author = {Niklas Hasebrook and Felix Morsbach and Niclas Kannengießer and Jörg K. H. Franke and Frank Hutter and Ali Sunyaev},
  title = {{Why Do Machine Learning Practitioners Still Use Manual Tuning? A Qualitative Study}},
  year = {2022},
  eprint = {2203.01717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.01717},
}
Figure