Budget-Aware Bayesian Hyperparameter Tuning With Early Stopping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing hyperparameter optimization methods for machine learning pipelines, particularly those involving neural networks, are inefficient in resource utilization and lack effective budget management, leading to suboptimal training times and performance.

Innovation Solution

A budget-aware hyperparameter selection method that identifies an optimal number of training iterations and hyperparameter values by using Gaussian processes to model cost and objective functions, allowing for intelligent resource allocation and early termination of training when performance plateaus.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the model is trained for more iterations to improve model performance, then model accuracy may improve, but training time and computing resources increase

Engineering Contradiction:
Improvemodel accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by performing budget-aware hyperparameter optimization before actual model training. The system pre-determines the optimal number of iterations and selects appropriate hyperparameters by evaluating budget constraints and expected performance gains. This preliminary planning prevents wasting training time on configurations that would not yield significant improvements, thereby resolving the contradiction between achieving higher accuracy and reducing training time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements self-service through automated monitoring and dynamic adjustment during training. The training process automatically tracks performance metrics and computing resource consumption, then autonomously decides when to terminate training based on predefined budget constraints and performance thresholds. This eliminates the need for manual intervention and ensures training stops precisely when further iterations would no longer provide meaningful accuracy improvements, balancing both accuracy and time efficiency.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If neural networks are used to improve model performance, then model capability increases, but computing resource consumption increases

Engineering Contradiction:
Improvemodel capabilityVSAvoidcomputing resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent applies parameter changes by dynamically adjusting hyperparameters such as learning rate, batch size, and number of layers based on budget constraints and performance requirements. The system modifies these parameters during the optimization process to find configurations that achieve the desired model capability while minimizing computing resource consumption. This allows the system to adapt neural network complexity to match available resources, resolving the contradiction between model capability and energy usage.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If hyperparameter optimization is performed exhaustively to find optimal parameters, then model performance improves, but time and computational cost increase

Engineering Contradiction:
Improvemodel performanceVSAvoidoptimization efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies partial action by performing hyperparameter optimization only to the extent necessary to achieve satisfactory performance within budget constraints. Instead of exhaustively searching all possible hyperparameter combinations, the system uses Bayesian optimization with budget-aware stopping criteria to explore only the most promising regions of the hyperparameter space. This partial exploration achieves good enough performance much faster than exhaustive methods, resolving the contradiction between model performance and optimization efficiency.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring performance metrics and computing resource consumption during hyperparameter optimization. The optimization process uses this feedback to dynamically adjust the search strategy, terminating exploration of certain hyperparameter configurations when they show insufficient promise. This feedback-driven approach ensures that optimization efforts are focused on configurations most likely to yield high performance while avoiding wasteful exploration, thereby improving productivity without sacrificing model performance.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12632779B2Hyperparameter selection using budget-aware Bayesian optimization
Publication Date: 2026.05.19 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12632779B2 patent drawing
  • US12632779B2 patent drawing
  • US12632779B2 patent drawing

AI summary

Generally discussed herein are devices, systems, and methods for identifying optimal hyperparameter values within a pre-defined budget. A method can include, while training a model for a number of iterations using values of a hyperparameter vector, recording objective function values of the objective function and cost function values of a cost function, fitting a function model to the objective function values and a cost model to the cost function values resulting in a fitted function model and a fitted cost model, selecting a second hyperparameter vector, determining an optimal number of iterations to perform and after which to stop training using the second hyperparameter vector, re-training the model of the type of model for the optimal number of iterations using the second hyperparameter vector, and providing hyperparameter values, of the hyperparameter vector or the second hyperparameter vector, that maximize an objective defined by the objective function.