Bayesian optimization is a sequential model-based approach for finding the global optimum of an objective function that is costly to evaluate and lacks a closed-form expression. It constructs a probabilistic surrogate model—typically a Gaussian process—to approximate the unknown function and uses an acquisition function to intelligently select the next evaluation point, balancing exploration of uncertain regions with exploitation of promising areas.
Glossary
Bayesian Optimization

What is Bayesian Optimization?
Bayesian optimization is a sequential design strategy for optimizing expensive-to-evaluate black-box functions, commonly used for hyperparameter tuning and adaptive experimental design in manufacturing process optimization.
In manufacturing, this technique is applied to optimize complex processes like injection molding or chemical vapor deposition where each experiment is time-consuming and expensive. By treating the process as a black-box function mapping parameters to quality outcomes, Bayesian optimization efficiently converges on optimal settings in far fewer iterations than grid search or random sampling, directly improving first-pass yield and reducing scrap.
Key Characteristics
Bayesian Optimization is a sequential design strategy for optimizing expensive-to-evaluate black-box functions. It builds a probabilistic surrogate model to guide the search for the global optimum with minimal evaluations.
Probabilistic Surrogate Model
Instead of evaluating the expensive true objective function directly, Bayesian Optimization constructs a cheap-to-evaluate probabilistic surrogate, most commonly a Gaussian Process (GP). This model approximates the objective function and, crucially, provides well-calibrated uncertainty estimates (predictive variance) for every point in the search space. The surrogate is updated with each new observation, refining its belief about the function's shape.
Acquisition Function
The acquisition function quantifies the utility of evaluating the true objective at any candidate point, balancing the exploration vs. exploitation trade-off. It uses the surrogate's posterior mean and variance to calculate a score. The next point to evaluate is the one that maximizes this function. Common choices include:
- Expected Improvement (EI): Measures the expected gain over the current best observation.
- Upper Confidence Bound (UCB): Optimistically weights the mean by the uncertainty.
- Probability of Improvement (PI): Maximizes the chance of any improvement.
Sequential Decision Process
Bayesian Optimization operates in a closed loop:
- Model: Fit the probabilistic surrogate to all historical observations.
- Acquire: Use the acquisition function to select the most promising next point to sample.
- Evaluate: Run the expensive true objective function at the selected point.
- Update: Add the new observation to the dataset and repeat. This sequential nature makes it highly sample-efficient, ideal for optimizing hyperparameters or physical experiments where each trial is costly.
Hyperparameter Tuning
The most famous application of Bayesian Optimization is in automated machine learning (AutoML). It efficiently searches the space of model hyperparameters (e.g., learning rate, number of layers, regularization strength) to find the configuration that minimizes validation error. Unlike grid or random search, it intelligently focuses on promising regions, often finding superior models in 10-100x fewer trials, saving significant compute cost and time.
Adaptive Experimental Design
In manufacturing and physical sciences, Bayesian Optimization drives self-optimizing experiments. For a chemical vapor deposition process, the algorithm can sequentially suggest the next set of temperature and pressure parameters to test to maximize film quality. It naturally handles noisy observations and can incorporate safety constraints to avoid exploring parameter regions known to damage equipment or produce scrap.
Kernel Function Selection
The behavior of the Gaussian Process surrogate is governed by its covariance kernel, which encodes prior assumptions about the function's smoothness and structure. The Matérn kernel is a common choice for modeling realistic physical processes. Selecting an appropriate kernel is critical; a periodic kernel can model seasonal effects, while an additive kernel can capture decoupled influences of different parameters.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about applying Bayesian optimization to closed-loop manufacturing and hyperparameter tuning.
Bayesian optimization is a sequential design strategy for optimizing expensive-to-evaluate black-box objective functions. It works by building a probabilistic surrogate model—typically a Gaussian Process (GP)—of the unknown objective function and using an acquisition function to intelligently select the next point to evaluate. The process iterates: the surrogate model is updated with new observations, the acquisition function balances exploration of uncertain regions against exploitation of promising areas, and a new candidate is proposed. This loop continues until a budget is exhausted or convergence is reached. Because it requires relatively few function evaluations, Bayesian optimization is ideal for tuning hyperparameters of machine learning models or optimizing physical manufacturing processes where each experiment is costly and time-consuming.
Related Terms
Bayesian optimization is a powerful sequential strategy, but it sits within a broader ecosystem of control theory, probabilistic modeling, and adaptive experimentation. These related concepts are essential for understanding its application in manufacturing.
Gaussian Process Regression
The probabilistic surrogate model that underpins most Bayesian optimization. It provides a posterior distribution over functions, offering both a predicted mean and a well-calibrated uncertainty estimate (variance) for any point in the search space. This uncertainty is critical for guiding the acquisition function to balance exploration and exploitation. Unlike neural networks, GPs naturally quantify 'knowing what you don't know,' making them ideal for optimizing expensive black-box functions with sparse data.
Acquisition Function
The mathematical heuristic that decides where to sample next. It uses the surrogate model's predictions to score the utility of evaluating any candidate point. Common functions include:
- Expected Improvement (EI): Measures the expected gain over the current best observation.
- Upper Confidence Bound (UCB): Optimistically combines the predicted mean and variance.
- Probability of Improvement (PI): Maximizes the chance of finding a better point. The choice of acquisition function directly controls the exploration-exploitation trade-off.
Run-to-Run Control (R2R)
A form of adaptive process control where recipe parameters are modified between processing runs based on post-process metrology. It compensates for slow drift and maintains target quality. Bayesian optimization is a natural fit for R2R on processes with long cycle times and high measurement costs, such as semiconductor wafer fabrication, where it can efficiently learn the optimal recipe adjustments over a minimal number of runs.
Design of Experiments (DoE)
A classical statistical methodology for planning efficient experiments to understand factor effects. Traditional DoE uses fixed designs like factorial or response surface methods. Bayesian optimization represents a sequential, model-based alternative that is often more sample-efficient for high-dimensional or non-linear problems. It treats experimental design as an iterative decision-making problem under uncertainty, adapting the design based on all previous outcomes.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us