Abstract
DeepCAVE is an interactive, real-time dashboard designed to demystify the "black box" of Automated Machine Learning (AutoML). By providing modular visualizations and analysis tools, it allows researchers to monitor optimization runs as they happen, compare different search strategies, and gain the insights necessary to trust and refine automated pipelines.
Introduction
While AutoML has become a powerful tool for finding efficient hyperparameters and neural architectures, it suffers from a significant "transparency gap." Because the optimization process is automated, users often don't understand why a specific configuration was chosen or how the optimizer explored the search space. This lack of insight leads to a lack of trust; many practitioners still prefer manual tuning because they feel they learn more from the process. Existing analysis tools are often static, designed only for experts, or can only be used after a long-running job has completely finished. DeepCAVE addresses this by providing an interactive, real-time framework that brings the "human back into the loop."
System Architecture
DeepCAVE is built as a modular Python framework using Dash and Plotly. Its architecture is designed for extensibility and performance:
- Converters: These act as bridges, allowing DeepCAVE to natively ingest data from popular AutoML packages like BOHB, DEHB, SMAC, and Auto-Sklearn.
- Real-Time Monitoring: Unlike previous tools, DeepCAVE can monitor runs while they are still in progress. This allows users to catch non-fatal errors or crashes early, saving days of compute time.
- Modular Plugins: The framework is structured into "plugins" that handle specific analysis tasks, such as hyperparameter importance or Pareto front visualization.
- Asynchronous Processing: To keep the UI responsive during heavy data crunching, DeepCAVE utilizes a worker queue and a caching system.
Case Study: Outlier Detection
To demonstrate the tool's utility, the authors conducted an exemplary study on outlier detection using the pendigits dataset (a collection of handwritten digits). They used two different Hyperparameter Optimization (HPO) tools, SMAC3 and DEHB, to maximize the Area Under the Precision-Recall (AUPR) curve across a search space of 39 hyperparameters.
Analytical Capabilities
DeepCAVE introduces several novel ways to inspect AutoML runs:
- Multi-Fidelity Support: DeepCAVE is the first tool specifically designed to analyze multi-fidelity optimization—where an optimizer evaluates configurations on small "budgets" (like a few epochs) before committing to a full run. It helps users verify if performance on low budgets actually correlates with high-budget success.
- The "Configuration Footprint": By using multi-dimensional scaling (MDS) to project a high-dimensional search space into 2D, DeepCAVE allows users to see exactly where the optimizer has spent its time. This reveals whether the search is densely sampling promising areas or leaving large gaps unexplored.
- Sanity Checking via Heatmaps: The "Trial Statuses" plugin provides an immediate visual cue for failed runs. If a specific region of the hyperparameter space consistently leads to crashes, the user can identify and prune it immediately.
- Interactive Pareto Fronts: For users balancing multiple goals (like accuracy vs. training time), DeepCAVE visualizes the trade-offs dynamically. Users can click on points on the Pareto front to see the exact configuration and auto-generated code to replicate that result.
Experimental Results
The authors used DeepCAVE to answer several critical questions during their outlier detection study:
- Issue Detection: A heatmap of trial statuses quickly showed that while 96.66% of trials succeeded, 3.24% crashed, allowing for immediate debugging.
- Space Coverage: The Configuration Footprint visualized how the optimizer explored the space, distinguishing between random configurations and those chosen by the optimization model.
- Multi-Objective Trade-offs: The Pareto Front plugin allowed for a direct comparison between the SMAC and DEHB optimizers, showing which one found better "cost vs. time" trade-offs.
- Importance Ranking: Using fANOVA, the tool identified that the learning rate, batch size, and the choice of model (e.g., DAGMM vs. VAE) were the most critical factors for performance.
Conclusion
The authors acknowledge that in highly complex, hierarchical search spaces, 2D projections like MDS might not capture every nuance of the space's structure. Additionally, while the tool is "optimizer agnostic," it still requires a "converter" for each new AutoML framework. Future work will likely involve expanding the library of default plugins and further refining the interactive elements to support even more diverse machine learning tasks beyond HPO and NAS. DeepCAVE is open-source and available on GitHub, inviting the community to contribute new modules.
Summary updated