NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HyperTuner: a cross-layer multi-objective hyperparameter auto-tuning framework for data analytic services

Hui Dou, Shanshan Zhu, Yiwen Zhang, Pengfei Chen, Zibin Zheng

TL;DR

HyperTuner is a novel framework that automates hyperparameter tuning across both the machine learning model and the underlying system stack (OS kernel and platform). By balancing conflicting goals like accuracy, training time, and energy consumption, it finds more efficient configurations than traditional methods, often saving over 10% in energy and time without sacrificing model performance.

What Problem Does This Paper Address?

In the world of deep learning, "tuning" usually means tweaking model hyperparameters like learning rate or batch size to maximize accuracy. However, for service providers running these models at scale, accuracy isn't the only metric that matters. Training time and energy consumption (carbon footprint) are increasingly critical.

The authors identify a major gap: traditional Hyperparameter Optimization (HPO) ignores system-level parameters—things like CPU frequency governors, thread counts, and kernel disk-read settings. These "cross-layer" parameters have a massive impact on efficiency but create a "maddeningly complex" search space. Finding the "Pareto front"—the set of optimal trade-offs where you can't improve one objective without hurting another—is a high-dimensional, expensive, black-box problem.

Methods

HyperTuner tackles this complexity using a two-stage approach:

  1. MOPIR (Multi-Objective Parameter Importance Ranking): Before searching, HyperTuner identifies which parameters actually matter. It uses a Gini index-based method to rank parameters across multiple objectives. By selecting only the most "critical" parameters (e.g., the top 15), it drastically shrinks the search space, making the optimization feasible.
  2. ADUMBO (Multi-Objective Bayesian Optimization with Adaptive Uncertainty): This is the "brain" of the framework. It uses Bayesian Optimization, which builds a "surrogate model" to predict how a configuration will perform without actually running it.
  3. What’s new: Unlike previous methods (like USeMO) that only look at the uncertainty (variance) of predictions to explore new areas, ADUMBO uses a novel Adaptive Uncertainty metric. This metric balances the predicted mean (exploitation) with the uncertainty (exploration) and adapts over time as the algorithm learns more about the search space.

The framework is implemented using Python and Ansible, allowing it to automatically deploy configuration changes across distributed clusters (TensorFlow and Spark) and collect runtime metrics.

Datasets

The authors evaluated HyperTuner using representative deep learning models (LeNet, VGG-9, and LSTM) across several standard datasets:

  • MNIST: Handwritten digit recognition.
  • Cats vs. Dogs: Image classification.
  • IMDB Sentiment: Natural language processing.
  • EMNIST (Expressed MNIST): A larger, more complex dataset used specifically to test the framework's adaptability to different data scales.

Key Insights and Ideas

  • System Parameters are Non-Negotiable: The paper demonstrates that tuning only model hyperparameters (like learning rate) leaves significant efficiency on the table. Integrating system-layer tuning (like CPU frequency) allows the framework to find "hidden" Pareto-optimal points that model-only HPO simply cannot reach.
  • The "Mean" Matters in Exploration: A key "aha moment" in the design of ADUMBO is that purely uncertainty-driven exploration is inefficient. By incorporating the predicted mean of the surrogate models into the acquisition function, the algorithm converges on the Pareto front much faster.
  • Dimensionality is the Enemy: You cannot efficiently tune 50+ parameters at once. The MOPIR stage is essential because it filters out "noise" parameters that don't significantly impact the specific objectives (time, energy, accuracy) of the current task.

Key Results

HyperTuner was tested against four state-of-the-art baselines (Random Search, PABO, FlexiBO, and USeMO).

  • Superior Pareto Fronts: In all tests, HyperTuner found a configuration front that was "superior in both convergence and diversity," meaning it found better trade-offs and a wider variety of them.
  • Efficiency Gains: Compared to the best baseline (USeMO), HyperTuner saved between 6.35% and 10.67% in energy consumption while maintaining the same or better training times.
  • Cross-Platform Adaptability: While primarily tested on TensorFlow, the authors successfully extended HyperTuner to a Spark-based cluster, proving it can adapt to different machine learning frameworks and distributed environments.

Limitations and Future Work

While comprehensive, the authors acknowledge a few areas for growth:

  • GPU Support: The current study focuses on CPU-based training. Given the high power draw of GPUs, extending HyperTuner to handle GPU-specific parameters (like memory clock speeds and power limits) is a high-priority next step.
  • Cloud Integration: The framework currently runs on local clusters. The authors suggest that incorporating cloud-specific resource configurations (like instance types and spot pricing) would make the tool even more valuable for industry users.
  • Dynamic Environments: The current model assumes a relatively stable cluster. Future versions could potentially handle "noisy" environments where network jitter or multi-tenancy affects performance metrics.

Summary updated

BibTeX
@article{dou2024hypertuner,
  author = {Hui Dou and Shanshan Zhu and Yiwen Zhang and Pengfei Chen and Zibin Zheng},
  title = {{HyperTuner: a cross-layer multi-objective hyperparameter auto-tuning framework for data analytic services}},
  journal = {Journal of Supercomputing},
  year = {2024},
  doi = {10.1007/s11227-024-06123-8},
}
Figure