Abstract
To mitigate the pain of manually tuning hyperparameters of deep neural networks, automated machine learning (AutoML) methods have been developed to search for an optimal set of hyperparameters in large combinatorial search spaces. However, the search results of AutoML methods significantly depend on initial configurations, making it a non-trivial task to find a proper configuration. Therefore, human intervention via a visual analytic approach bears huge potential in this task. In response, we propose HyperTendril, a web-based visual analytics system that supports user-driven hyperparameter tuning processes in a model-agnostic environment. HyperTendril takes a novel approach to effectively steering hyperparameter optimization through an iterative, interactive tuning procedure that allows users to refine the search spaces and the configuration of the AutoML method based on their own insights from given results. Using HyperTendril, users can obtain insights into the complex behaviors of various hyperparameter search algorithms and diagnose their configurations. In addition, HyperTendril supports variable importance analysis to help the users refine their search spaces based on the analysis of relative importance of different hyperparameters and their interaction effects. We present the evaluation demonstrating how HyperTendril helps users steer their tuning processes via a longitudinal user study based on the analysis of interaction logs and in-depth interviews while we deploy our system in a professional industrial environment.
Introduction
Tuning deep neural networks is a notorious "dark art." While Automated Machine Learning (AutoML) tools like Bayesian Optimization or HyperBand aim to automate this, they are not magic. AutoML performance depends heavily on the initial search ranges and configurations set by the user. Most AutoML frameworks are "set-and-forget" black boxes, leaving users in the dark about why an algorithm is sampling certain areas or why a search failed. HyperTendril addresses this by bringing the human back into the loop, providing the visual evidence needed to "steer" the optimization process.
System Design and Methods
HyperTendril is a web-based system that organizes the hyperparameter optimization (HyperOpt) process into three levels of granularity:
- Search Method-Level: A novel "Exploration Overview" visualizes the history of the search algorithm. It shows how models evolve, mutate, or are discarded over time—particularly useful for complex algorithms like Population-Based Training (PBT).
- Hyperparameter-Level: The system uses functional ANOVA (fANOVA) to quantify the importance of individual hyperparameters and their interactions. This is visualized alongside a parallel coordinates plot, allowing users to see which parameters (e.g., learning rate vs. weight decay) drive performance.
- Model-Level: Users can drill down into individual models to view training logs and loss curves to diagnose issues like over-fitting or under-fitting.
The system is model-agnostic and supports an iterative workflow where users can stop a search, narrow a promising range or drop an irrelevant parameter, and restart the process.
Evaluation and Key Insights
The system was evaluated through a five-month deployment at NAVER, involving 32 professional machine learning engineers.
- Performance Gains: In a ResNet/CIFAR-100 case study, a user diagnosed a configuration error and refined their search, boosting test accuracy from 55.23% to 78.07%.
- Identifying Effective Hyperparameters: Users often guess which parameters matter. HyperTendril showed that certain parameters thought to be critical actually had near-zero impact, allowing users to simplify their search space.
- Diagnosing Early Exits: One case study revealed that the AutoML was performing poorly because the evaluation interval was too short, causing the algorithm to discard potentially great models before they could converge.
Conclusion
HyperTendril successfully bridges the gap between automated search and human expertise. By providing multi-granular visualizations and statistical importance analysis, it empowers users to move beyond "set-and-forget" AutoML. Future work will focus on improving visual scalability for high-dimensional spaces and automating search space refinement suggestions based on observed patterns.
Summary updated