In the first article of this series, we explored why traditional experimentation methods struggle in modern R&D. When a product or process developer faces a parameter space with thousands of potential recipes and a budget of only a few lab runs, grid searches and static plans either explode the budget or leave optimal recipes undiscovered.
This brings us to the central question: what is Bayesian optimisation (BO), and how does its mathematical engine make experiments dramatically smarter and cheaper?
At its core, Bayesian optimisation is a closed-loop system designed to answer a single question after every trial: given everything measured so far, where should the next experiment go?
To understand why this approach is so effective for low-data bench work, we need to examine its origins, how its underlying surrogate model visualises uncertainty, and how it calculates the true value of unexplored space.
1. The mining origin: estimating gold and measuring doubt
The story of Bayesian optimisation began in the early 1950s in the gold fields of the Witwatersrand in South Africa. A mining engineer named Daniel Krige faced a costly problem: drilling boreholes into solid rock to measure gold content was extremely expensive. The mine had data from only a few scattered locations across a vast territory, yet a decistion had to be made on where to dig next.
Krige realised that standard averages gave poor predictions. Points close to a high-grade borehole were likely to be rich, while distant points were completely uncertain. He developed a statistical method to estimate gold grades between boreholes while simultaneously keeping track of uncertainty. In the 1960s, French mathematician Georges Matheron formalised this work and named it kriging.
Decades later, computer scientists and statisticians recognised that Krige’s mining challenge was identical to the challenge faced by product and process developers:
- A borehole is a physical lab experiment.
- The gold concentration is your target property—such as yield, viscosity, or cure strength.
- The underground ore body is your multi-variable formulation or process space.
- The cost of drilling is your R&D lab budget and development time.
In 1998, researchers demonstrated that Krige’s spatial estimation model could do more than just map data—it could actively decide where to run the next experiment to find an optimal solution with the fewest possible trials.
2. Visualising the Gaussian process: the “pinned elastic sheet”
At the heart of Bayesian optimisation is a surrogate model called a Gaussian process. While the name sounds intimidating, the physical intuition is straightforward.
Imagine a flexible elastic sheet stretched across your entire experimental landscape. The elastic sheet is flat with your first few points because there is not much information available on the shape the sheet could take.
Now as you run more experiments you get more information and you start to pin the elastic sheets at multiple places. The elastic sheet rises, sags, bends to conform to your data. Figure 1 shows that progression: three measured points, then four, then five—the predicted curve reshapes itself each time a new pin is added.
3 pins
4 pins
5 pins
3. Many curves through the same points: where uncertainty comes from
The pinned sheet raises a natural question: if only a few points have been measured, which curve is the right one? No one knows. Many different smooth curves can pass through exactly the same measured points, and each one is a plausible description of your system.
Figure 2 makes that concrete showing many curves can be drawn through the same points. Close to a pin, they all agree, because every curve is forced through the measured value. Far from the pins, they spread apart: one climbs to a peak, another dips into a valley, a third stays flat. The data measured so far cannot rules any of them out.
As you add more pins across your experimental space, the elastic sheet sags and bends to conform to your data. Where pins are dense, the sheet is tightly constrained; where pins are missing, the sheet billows out and can take many different shapes, essentially, the many curves you see in the Figure 2. The divergence of curves flags where your knowledge is weak.
The Gaussian process keeps track of this whole family of curves at once, and two things come out of it:
- The prediction: the average of all the plausible curves. This is the model’s best guess for any untested setting.
- The uncertainty: the spread between the curves. A narrow spread means the curves agree and the model is confident. A wide spread means they disagree and the model is guessing.
Figure 3 collapses that family of curves into a single predicted curve with a shaded uncertainty band. Describing this in elastic sheet terms:
- At the pin: uncertainty pinches sheet exactly to one position because you have directly measured the outcome.
- In between pins: uncertainty is higher as the sheet has room to bulge in either direction
- Far from the pin: in unexplored regions far from your test, the elastic sheet remains unconstrained, floating in a wide cloud of uncertainty. This you can see at the edges in Figure 3.
4. Deciding where to test next: the acquisition function
The fit we have obtained is a surrogate model - surrogate because it is an approximation of the unknown true model. Having the model is however only half the battle. You still need a rule to decide where to place the next pin.
If you rely on simple instincts, you usually fall into one of two traps:
- Pure exploitation (chasing highs): you only test settings where the model already predicts a high score. This causes you to get stuck on small local bumps, missing larger global peaks in unmapped territory.
- Pure exploration (blind wandering): you only test settings where uncertainty is widest. This acts like an aimless grid search, wasting expensive lab trials in regions that are obviously unpromising.
Bayesian optimisation solves this using a scoring tool called an acquisition function.
Think of the acquisition function as a single recommendation engine that evaluates every unmeasured point across your design space. It balances two competing priorities:
- Predicted performance: how high is the expected result based on current pins? (assuming you are gunning for the maximum value of your target property)
- Uncertainty value: how wide is the uncertainty cloud in that region?
By combining these two factors into a single score, the acquisition function automatically rewards candidate trials that offer high predicted performance while also placing intrinsic value on unexplored space. It mathematically answers the developer’s core question: where will the next experiment give us the greatest chance of breaking our current record? Figure 4 marks those two pulls on the same surrogate: exploitation near a known peak, exploration where the uncertainty band is still wide.
5. The engine of modern R&D: closed-loop experimentation
The true power of Bayesian optimisation lies in closed-loop experimentation.
Traditional Design of Experiments (DoE) operates in an open loop: you plan a fixed matrix of 30 or 40 experiments upfront, execute all of them over several weeks, and analyse the data only when the entire batch is finished. If early trials fail or reveal that your temperature bounds were set incorrectly, the fixed plan cannot adjust on the fly.
Closed-loop optimisation turns static planning into a dynamic, iterative conversation between the scientist and the model, as in Figure 5: fit the surrogate, recommend a trial, run it, log the result, and ask again whether the target is met or the budget is exhausted.
The “good enough” model principle
A common concern among developers is whether a surrogate model can accurately represent complex physical chemistry. Industrial optimisation research highlights a reassuring principle: your surrogate model does not need to be 100% globally accurate across the entire space to find the optimum.
Think of closed-loop optimisation like Newton’s method in calculus. To find the root of a complex curve, you do not need a formula that describes the entire function across the planet. You only need a local approximation that points in the right direction, combined with rapid feedback to correct course after each step.
Because closed-loop Bayesian optimisation updates its surrogate model after every single trial, the feedback loop continually corrects minor modelling errors. The model only needs to be “good enough” in local neighbourhoods to guide you directly to the optimal recipe, saving massive experimental effort.
6. Proven benchmarks and real-world applications
Bayesian optimisation is no longer just an academic concept; it is widely deployed across modern industrial R&D. Some examples:
- Reaction optimisation. Chemists use BO to tune multi-variable reaction conditions (such as temperature, catalyst loading, solvent choice, and reaction time) to maximise yield and selectivity while minimising the number of experiments needed. Because the algorithm tracks interactions between variables systematically, it can often match or beat expert intuition within a modest experimental budget.
- Materials and 3D printing. Developers use closed-loop BO to tune multi-parameter additive manufacturing processes (such as print speed, layer thickness, and temperature offsets) to maximise tensile strength while preventing part warping.
- Formulation design. Companies in cosmetics, paints, consumer goods, and pharmaceuticals use BO to balance competing properties—such as viscosity, shelf stability, and raw material cost—without getting bogged down in massive experimental grids.
By combining human domain expertise with a closed-loop surrogate model, developers can navigate complex parameter landscapes faster and at lower cost.
In the next article of this series, we show why you do not have to wait for a perfect data foundation—and how a scientist can start Bayesian optimisation on a live project in minutes.
If you want to try the loop yourself, open Formulation Advisor—load a small table, set one goal, and see the next suggested experiment. Even simpler just try it with a pre-configured example dataset.
Frequently asked questions
What is Bayesian optimisation for product and process development?
It is a closed-loop way to choose the next lab experiment after every trial. Given the recipes or process settings you have already measured, Bayesian optimisation predicts outcomes and uncertainty, then recommends one next run that is most likely to improve your target—viscosity, yield, stability, cost, or a similar property.
How does Bayesian optimisation decide the next lab experiment?
A surrogate model, usually a Gaussian process, estimates the result at untested settings and how uncertain that estimate is. An acquisition function then scores every candidate by combining predicted performance with the value of reducing uncertainty, and the highest score becomes the recommended next trial.
What is a Gaussian process in simple terms for R&D experiments?
Think of an elastic sheet pinned by your measured lab results. At each pin, uncertainty collapses because you measured the outcome. Nearby, the sheet is pulled along; far from your data, it still floats in a wide cloud of uncertainty. The model’s prediction is the average of the plausible curves; the cloud is their spread.
What is the difference between exploration and exploitation in experiment design?
Exploitation tests where the model already predicts a high score—near a known good recipe or process setting. Exploration tests where uncertainty is still wide—regions that might hide a better peak. Bayesian optimisation balances both so you neither get stuck on a local bump nor waste runs on aimless wandering.
Does my surrogate model need to be perfectly accurate to find a good recipe?
No. Closed-loop Bayesian optimisation updates after every logged trial, so the model only needs to be good enough locally to point in the right direction. Rapid feedback corrects modelling errors as you go—similar to Newton’s method, which finds a root with local approximations rather than a perfect global formula.
How is closed-loop Bayesian optimisation different from a fixed DoE plan?
A fixed DoE plan commits to a matrix of trials upfront and analyses them as a batch. Closed-loop Bayesian optimisation fits the model, recommends one trial, you run and log it, then asks again whether the target is met or the budget is exhausted—so the plan can change when early runs fail or bounds were set wrong.