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

Cost-Sensitive Freeze-thaw Bayesian Optimization for Efficient Hyperparameter Tuning

Dong Bok Lee, Aoxuan Silvia Zhang, Byungjoo Kim, Junhyeon Park, Steven Adriaensen, Juho Lee, Sung Ju Hwang, Hae Beom Lee

Introduction

Hyperparameter optimization (HPO) is a cornerstone of modern deep learning, yet it remains one of the most computationally expensive stages of the model development pipeline. While multi-fidelity methods have significantly reduced costs by leveraging partial training results to prune underperforming models, they typically optimize for a single objective: maximum performance. This "performance-at-all-costs" mentality often leads to diminishing returns, where substantial compute is expended for marginal gains.

In the real world, researchers and engineers often face a trade-off: is a 0.1% increase in accuracy worth a tenfold increase in training costs? Current HPO frameworks lack a formal mechanism to address this question. We present Cost-Sensitive Freeze-thaw Bayesian Optimization (CFBO), a framework designed to explicitly balance model performance against computational expenditure. By integrating user-defined utility functions and adaptive stopping criteria, CFBO ensures that the search process remains economically viable, halting automatically when the cost of further training outweighs the expected improvement.

The CFBO Framework

CFBO moves beyond black-box optimization by treating HPO as a cost-aware decision process. The framework is built upon four primary pillars:

1. User Utility Function

Instead of maximizing accuracy ($y$) in isolation, CFBO maximizes a utility function $U(cost, performance)$. This allows users to define their specific preferences—for instance, a linear trade-off or a quadratic penalty for high costs. For users who find it difficult to define a mathematical function, CFBO can estimate utility from simple "A vs. B" preference data using a Bradley-Terry model.

2. Utility-Based Acquisition

Standard Bayesian Optimization uses metrics like Expected Improvement (EI) to select the next configuration. CFBO redefines EI to account for utility. The system dynamically decides not only which configuration to "thaw" (resume training) but also the optimal number of epochs to run. This ensures that every compute cycle is spent where it is most likely to yield a significant jump in total utility.

3. Adaptive Stopping Criterion

One of the most powerful features of CFBO is its ability to stop the search entirely. It employs a regret-based stopping rule that calculates "normalized regret"—the gap between current utility and potential future utility. By using an adaptive threshold based on the "Probability of Improvement," CFBO shuts down the HPO process the moment the likelihood of finding a better model becomes too low to justify the cost.

4. Transfer Learning with LC Mixup

To ensure accurate predictions even with limited data, CFBO utilizes Prior-Fitted Networks (PFNs). The authors introduce a novel "LC Mixup" strategy, which creates synthetic training data by interpolating between different learning curves and hyperparameter settings. This allows the surrogate model to generalize across diverse tasks and architectures with high sample efficiency.

Experimental Evaluation

The researchers evaluated CFBO against a wide array of benchmarks, including LCBench (MLPs on tabular data), TaskSet (NLP tasks), and PD1 (Transformers on ImageNet/CIFAR-100). Additionally, they tested the framework on RoboFlow100, a real-world object detection dataset.

Key Findings

  • Superior Trade-offs: Across all benchmarks, CFBO consistently achieved lower normalized regret than established baselines such as BOHB, DEHB, and DyHPO. It effectively navigated the Pareto front of cost and performance.
  • Intelligent Early Stopping: In high-cost scenarios, CFBO successfully terminated the search near the point of maximum utility. In contrast, traditional baselines often exhausted their entire budget for negligible performance gains.
  • Transfer Learning Efficacy: The inclusion of pre-trained learning curve models (PFNs) significantly improved early-stage search efficiency, allowing CFBO to identify promising regions of the hyperparameter space faster than models starting from scratch.
  • Real-World Generalization: On the RoboFlow100 task, CFBO outperformed competitors, demonstrating that utility-based optimization translates effectively from synthetic benchmarks to practical computer vision engineering problems.

The development of CFBO revealed critical insights into the nature of HPO. First, the authors noted that utility is irreversible. Unlike standard HPO, where the best model can always be recovered, the budget spent in cost-sensitive HPO is a "sunk cost." This requires the acquisition function to be "greedy" in a unique way: as the budget is consumed, the system naturally shifts from exploration to exploitation, focusing on small, cheap gains before eventually triggering the stop command.

Furthermore, the use of Mixup for learning curves proved to be a powerful augmentation technique. By training Transformer-based surrogates on interpolated curves, the model learns the complex correlations between hyperparameters and training progress without requiring millions of expensive real-world training runs.

Limitations and Future Directions

While CFBO represents a significant step forward, several avenues for improvement remain. Currently, the method selects from a pre-defined pool of hyperparameter configurations; extending this to continuous search spaces via gradient-based optimization of the acquisition function is a priority. Additionally, the current framework focuses on single-task optimization. In cloud computing environments, extending CFBO to manage global budgets across multiple parallel projects would offer even greater value. Finally, moving toward fully differentiable Monte Carlo estimations for the acquisition function could further enhance the surrogate model's efficiency.

Conclusion

CFBO shifts the focus of hyperparameter tuning from pure performance to economic efficiency. By allowing users to define what "value" means in their specific context, CFBO provides a principled way to avoid the waste of computational resources, making large-scale deep learning more accessible and sustainable.

Summary updated

BibTeX
@inproceedings{lee2025cost,
  author = {Dong Bok Lee and Aoxuan Silvia Zhang and Byungjoo Kim and Junhyeon Park and Steven Adriaensen and Juho Lee and Sung Ju Hwang and Hae Beom Lee},
  title = {{Cost-Sensitive Freeze-thaw Bayesian Optimization for Efficient Hyperparameter Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=ZUb4JpNoJe},
}
Figure